1 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
6 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10 AUTH_DES and cindex for FIPS 140-2.
11 (DES Encryption): Add cindex FIPS 46-3.
13 * locale/locarchive.h (struct locarhandle): Add fname.
14 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15 if an optional argument was specified to --list-archive,
17 * locale/programs/locarchive.c (show_archive_content): Take new
18 argument fname and pass it via ah.fname to open_archive.
19 * locale/programs/localedef.h: Update decl.
20 (open_archive): If AH->fname is non-null, open that file
21 rather than the default file name, and don't ignore ENOENT.
22 (create_archive): Set AH.fname to NULL.
23 (delete_locales_from_archive): Likewise.
24 (add_locales_to_archive): Likewise.
25 * locale/programs/locfile.c (write_all_categories): Likewise.
27 2013-10-18 Joseph Myers <joseph@codesourcery.com>
28 Aldy Hernandez <aldyh@redhat.com>
30 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
32 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
33 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
39 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
52 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
53 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
56 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
57 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
62 * sysdeps/powerpc/preconfigure: Likewise.
63 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
65 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
66 Replace contents of file by #include of <fenv_libc.h>.
67 * sysdeps/powerpc/soft-fp/sfp-machine.h
68 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
70 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
71 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
72 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
73 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
74 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
75 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
76 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
77 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
78 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
79 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
80 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
81 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
82 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
83 Allow copysignl PLT reference to be missing.
85 2013-10-18 Richard Sandiford <richard@codesourcery.com>
86 Joseph Myers <joseph@codesourcery.com
89 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
91 (add_to_tablewc): Assert sequence of wide characters is nonempty.
93 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
95 * elf/tst-tls-dlinfo.c: Don't include tls.h.
96 * elf/tst-tls1.c: Likewise.
97 * elf/tst-tls10.h: Likewise.
98 * elf/tst-tls14.c: Likewise.
99 * elf/tst-tls2.c: Likewise.
100 * elf/tst-tls3.c: Likewise.
101 * elf/tst-tls4.c: Likewise.
102 * elf/tst-tls5.c: Likewise.
103 * elf/tst-tls6.c: Likewise.
104 * elf/tst-tls7.c: Likewise.
105 * elf/tst-tls8.c: Likewise.
106 * elf/tst-tls9.c: Likewise.
107 * elf/tst-tlsmod1.c: Likewise.
108 * elf/tst-tlsmod13.c: Likewise.
109 * elf/tst-tlsmod13a.c: Likewise.
110 * elf/tst-tlsmod14a.c: Likewise.
111 * elf/tst-tlsmod16a.c: Likewise.
112 * elf/tst-tlsmod16b.c: Likewise.
113 * elf/tst-tlsmod2.c: Likewise.
114 * elf/tst-tlsmod3.c: Likewise.
115 * elf/tst-tlsmod4.c: Likewise.
116 * elf/tst-tlsmod5.c: Likewise.
117 * elf/tst-tlsmod6.c: Likewise.
119 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
122 * malloc/malloc.c: remove checks for statistics.
124 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
127 * inet/inet_net.c (inet_network): Detect additional invalid strings.
128 * inet/tst-network.c: Add testcase.
130 2013-10-17 Andreas Schwab <schwab@suse.de>
133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
134 to determine canonical name.
136 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
138 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
139 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
141 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
143 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
144 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
145 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
146 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
147 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
148 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
149 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
150 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
151 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
152 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
153 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
155 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
156 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
157 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
161 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
162 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
163 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
164 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
165 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
166 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
167 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
168 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
169 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
170 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
171 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
172 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
174 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
175 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
176 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
177 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
178 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
179 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
180 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
181 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
182 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
183 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
184 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
185 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
186 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
187 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
188 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
189 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
190 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
191 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
192 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
193 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
195 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
197 2013-10-17 Joseph Myers <joseph@codesourcery.com>
200 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
201 make result into a quiet NaN.
203 2013-10-16 Joseph Myers <joseph@codesourcery.com>
205 * soft-fp/adddf3.c: Fix horizontal whitespace.
206 * soft-fp/addsf3.c: Likewise.
207 * soft-fp/addtf3.c: Likewise.
208 * soft-fp/divdf3.c: Likewise.
209 * soft-fp/divsf3.c: Likewise.
210 * soft-fp/divtf3.c: Likewise.
211 * soft-fp/double.h: Likewise.
212 * soft-fp/eqdf2.c: Likewise.
213 * soft-fp/eqsf2.c: Likewise.
214 * soft-fp/eqtf2.c: Likewise.
215 * soft-fp/extenddftf2.c: Likewise.
216 * soft-fp/extended.h: Likewise.
217 * soft-fp/extendsfdf2.c: Likewise.
218 * soft-fp/extendsftf2.c: Likewise.
219 * soft-fp/extendxftf2.c: Likewise.
220 * soft-fp/fixdfdi.c: Likewise.
221 * soft-fp/fixdfsi.c: Likewise.
222 * soft-fp/fixdfti.c: Likewise.
223 * soft-fp/fixsfdi.c: Likewise.
224 * soft-fp/fixsfsi.c: Likewise.
225 * soft-fp/fixsfti.c: Likewise.
226 * soft-fp/fixtfdi.c: Likewise.
227 * soft-fp/fixtfsi.c: Likewise.
228 * soft-fp/fixtfti.c: Likewise.
229 * soft-fp/fixunsdfdi.c: Likewise.
230 * soft-fp/fixunsdfsi.c: Likewise.
231 * soft-fp/fixunsdfti.c: Likewise.
232 * soft-fp/fixunssfdi.c: Likewise.
233 * soft-fp/fixunssfsi.c: Likewise.
234 * soft-fp/fixunssfti.c: Likewise.
235 * soft-fp/fixunstfdi.c: Likewise.
236 * soft-fp/fixunstfsi.c: Likewise.
237 * soft-fp/fixunstfti.c: Likewise.
238 * soft-fp/floatdidf.c: Likewise.
239 * soft-fp/floatdisf.c: Likewise.
240 * soft-fp/floatditf.c: Likewise.
241 * soft-fp/floatsidf.c: Likewise.
242 * soft-fp/floatsisf.c: Likewise.
243 * soft-fp/floatsitf.c: Likewise.
244 * soft-fp/floattidf.c: Likewise.
245 * soft-fp/floattisf.c: Likewise.
246 * soft-fp/floattitf.c: Likewise.
247 * soft-fp/floatundidf.c: Likewise.
248 * soft-fp/floatundisf.c: Likewise.
249 * soft-fp/floatunditf.c: Likewise.
250 * soft-fp/floatunsidf.c: Likewise.
251 * soft-fp/floatunsisf.c: Likewise.
252 * soft-fp/floatunsitf.c: Likewise.
253 * soft-fp/floatuntidf.c: Likewise.
254 * soft-fp/floatuntisf.c: Likewise.
255 * soft-fp/floatuntitf.c: Likewise.
256 * soft-fp/fmadf4.c: Likewise.
257 * soft-fp/fmasf4.c: Likewise.
258 * soft-fp/fmatf4.c: Likewise.
259 * soft-fp/gedf2.c: Likewise.
260 * soft-fp/gesf2.c: Likewise.
261 * soft-fp/getf2.c: Likewise.
262 * soft-fp/ledf2.c: Likewise.
263 * soft-fp/lesf2.c: Likewise.
264 * soft-fp/letf2.c: Likewise.
265 * soft-fp/muldf3.c: Likewise.
266 * soft-fp/mulsf3.c: Likewise.
267 * soft-fp/multf3.c: Likewise.
268 * soft-fp/negdf2.c: Likewise.
269 * soft-fp/negsf2.c: Likewise.
270 * soft-fp/negtf2.c: Likewise.
271 * soft-fp/op-1.h: Likewise.
272 * soft-fp/op-2.h: Likewise.
273 * soft-fp/op-4.h: Likewise.
274 * soft-fp/op-8.h: Likewise.
275 * soft-fp/op-common.h: Likewise.
276 * soft-fp/quad.h: Likewise.
277 * soft-fp/single.h: Likewise.
278 * soft-fp/soft-fp.h: Likewise.
279 * soft-fp/sqrtdf2.c: Likewise.
280 * soft-fp/sqrtsf2.c: Likewise.
281 * soft-fp/sqrttf2.c: Likewise.
282 * soft-fp/subdf3.c: Likewise.
283 * soft-fp/subsf3.c: Likewise.
284 * soft-fp/subtf3.c: Likewise.
285 * soft-fp/truncdfsf2.c: Likewise.
286 * soft-fp/trunctfdf2.c: Likewise.
287 * soft-fp/trunctfsf2.c: Likewise.
288 * soft-fp/trunctfxf2.c: Likewise.
289 * soft-fp/unorddf2.c: Likewise.
290 * soft-fp/unordsf2.c: Likewise.
291 * soft-fp/unordtf2.c: Likewise.
293 2013-10-15 Joseph Myers <joseph@codesourcery.com>
295 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
296 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
298 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
300 * elf/dl-libc.c: Clear initfini list after freeing.
302 2013-10-14 Joseph Myers <joseph@codesourcery.com>
304 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
305 * soft-fp/addsf3.c: Likewise.
306 * soft-fp/addtf3.c: Likewise.
307 * soft-fp/divdf3.c: Likewise.
308 * soft-fp/divsf3.c: Likewise.
309 * soft-fp/divtf3.c: Likewise.
310 * soft-fp/double.h: Likewise.
311 * soft-fp/eqdf2.c: Likewise.
312 * soft-fp/eqsf2.c: Likewise.
313 * soft-fp/eqtf2.c: Likewise.
314 * soft-fp/extenddftf2.c: Likewise.
315 * soft-fp/extended.h: Likewise.
316 * soft-fp/extendsfdf2.c: Likewise.
317 * soft-fp/extendsftf2.c: Likewise.
318 * soft-fp/extendxftf2.c: Likewise.
319 * soft-fp/fixdfdi.c: Likewise.
320 * soft-fp/fixdfsi.c: Likewise.
321 * soft-fp/fixdfti.c: Likewise.
322 * soft-fp/fixsfdi.c: Likewise.
323 * soft-fp/fixsfsi.c: Likewise.
324 * soft-fp/fixsfti.c: Likewise.
325 * soft-fp/fixtfdi.c: Likewise.
326 * soft-fp/fixtfsi.c: Likewise.
327 * soft-fp/fixtfti.c: Likewise.
328 * soft-fp/fixunsdfdi.c: Likewise.
329 * soft-fp/fixunsdfsi.c: Likewise.
330 * soft-fp/fixunsdfti.c: Likewise.
331 * soft-fp/fixunssfdi.c: Likewise.
332 * soft-fp/fixunssfsi.c: Likewise.
333 * soft-fp/fixunssfti.c: Likewise.
334 * soft-fp/fixunstfdi.c: Likewise.
335 * soft-fp/fixunstfsi.c: Likewise.
336 * soft-fp/fixunstfti.c: Likewise.
337 * soft-fp/floatdidf.c: Likewise.
338 * soft-fp/floatdisf.c: Likewise.
339 * soft-fp/floatditf.c: Likewise.
340 * soft-fp/floatsidf.c: Likewise.
341 * soft-fp/floatsisf.c: Likewise.
342 * soft-fp/floatsitf.c: Likewise.
343 * soft-fp/floattidf.c: Likewise.
344 * soft-fp/floattisf.c: Likewise.
345 * soft-fp/floattitf.c: Likewise.
346 * soft-fp/floatundidf.c: Likewise.
347 * soft-fp/floatundisf.c: Likewise.
348 * soft-fp/floatunsidf.c: Likewise.
349 * soft-fp/floatunsisf.c: Likewise.
350 * soft-fp/floatuntidf.c: Likewise.
351 * soft-fp/floatuntisf.c: Likewise.
352 * soft-fp/floatuntitf.c: Likewise.
353 * soft-fp/fmadf4.c: Likewise.
354 * soft-fp/fmasf4.c: Likewise.
355 * soft-fp/fmatf4.c: Likewise.
356 * soft-fp/gedf2.c: Likewise.
357 * soft-fp/gesf2.c: Likewise.
358 * soft-fp/getf2.c: Likewise.
359 * soft-fp/ledf2.c: Likewise.
360 * soft-fp/lesf2.c: Likewise.
361 * soft-fp/letf2.c: Likewise.
362 * soft-fp/muldf3.c: Likewise.
363 * soft-fp/mulsf3.c: Likewise.
364 * soft-fp/multf3.c: Likewise.
365 * soft-fp/negdf2.c: Likewise.
366 * soft-fp/negsf2.c: Likewise.
367 * soft-fp/negtf2.c: Likewise.
368 * soft-fp/op-1.h: Likewise.
369 * soft-fp/op-2.h: Likewise.
370 * soft-fp/op-4.h: Likewise.
371 * soft-fp/op-8.h: Likewise.
372 * soft-fp/op-common.h: Likewise.
373 * soft-fp/quad.h: Likewise.
374 * soft-fp/single.h: Likewise.
375 * soft-fp/soft-fp.h: Likewise.
376 * soft-fp/sqrtdf2.c: Likewise.
377 * soft-fp/sqrtsf2.c: Likewise.
378 * soft-fp/sqrttf2.c: Likewise.
379 * soft-fp/subdf3.c: Likewise.
380 * soft-fp/subsf3.c: Likewise.
381 * soft-fp/subtf3.c: Likewise.
382 * soft-fp/truncdfsf2.c: Likewise.
383 * soft-fp/trunctfdf2.c: Likewise.
384 * soft-fp/trunctfsf2.c: Likewise.
385 * soft-fp/trunctfxf2.c: Likewise.
386 * soft-fp/unorddf2.c: Likewise.
387 * soft-fp/unordsf2.c: Likewise.
388 * soft-fp/unordtf2.c: Likewise.
390 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
393 * misc/error.c (error_tail): Fix possible buffer overflow.
395 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
398 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
401 2013-10-14 P. J. McDermott <pj@pehjota.net>
404 * elf/ldd.bash.in (try_trace): New function. Delete previous code
405 testing pipefail option.
407 2013-10-12 Joseph Myers <joseph@codesourcery.com>
409 * soft-fp/double.h: Indent preprocessor directives inside #if.
410 * soft-fp/extended.h: Likewise.
411 * soft-fp/op-2.h: Likewise.
412 * soft-fp/op-4.h: Likewise.
413 * soft-fp/op-common.h: Likewise.
414 * soft-fp/quad.h: Likewise.
415 * soft-fp/single.h: Likewise.
416 * soft-fp/soft-fp.h: Likewise.
418 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
420 * iconv/iconv_prog.c: Fix typos.
421 * stdio-common/psiginfo-data.h: Likewise.
423 2013-10-12 Reuben Thomas <rrt@sc3d.org>
426 * locale/setlocale.c: Fix typo.
428 2013-10-12 Joseph Myers <joseph@codesourcery.com>
431 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
432 signaling NaN arguments.
433 * soft-fp/unordsf2.c (__unordsf2): Likewise.
434 * soft-fp/unordtf2.c (__unordtf2): Likewise.
437 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
439 * soft-fp/gesf2.c (__gesf2): Likewise.
440 * soft-fp/getf2.c (__getf2): Likewise.
441 * soft-fp/ledf2.c (__ledf2): Likewise.
442 * soft-fp/lesf2.c (__lesf2): Likewise.
443 * soft-fp/letf2.c (__letf2): Likewise.
445 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
446 * soft-fp/eqsf2.c (__eqsf2): Likewise.
447 * soft-fp/eqtf2.c (__eqtf2): Likewise.
448 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
449 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
450 * soft-fp/fixdfti.c (__fixdfti): Likewise.
451 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
452 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
453 * soft-fp/fixsfti.c (__fixsfti): Likewise.
454 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
455 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
456 * soft-fp/fixtfti.c (__fixtfti): Likewise.
457 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
458 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
459 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
460 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
461 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
462 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
463 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
464 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
465 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
466 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
467 * soft-fp/floatdisf.c (__floatdisf): Likewise.
468 * soft-fp/floatsisf.c (__floatsisf): Likewise.
469 * soft-fp/floattidf.c (__floattidf): Likewise.
470 * soft-fp/floattisf.c (__floattisf): Likewise.
471 * soft-fp/floattitf.c (__floattitf): Likewise.
472 * soft-fp/floatundidf.c (__floatundidf): Likewise.
473 * soft-fp/floatundisf.c (__floatundisf): Likewise.
474 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
475 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
476 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
477 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
478 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
479 * soft-fp/gesf2.c (__gesf2): Likewise.
480 * soft-fp/getf2.c (__getf2): Likewise.
481 * soft-fp/ledf2.c (__ledf2): Likewise.
482 * soft-fp/lesf2.c (__lesf2): Likewise.
483 * soft-fp/letf2.c (__letf2): Likewise.
485 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
486 Undefine and redefine.
487 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
488 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
489 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
490 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
491 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
492 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
493 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
494 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
495 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
496 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
497 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
498 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
499 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
500 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
501 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
504 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
505 without decrementing exponent if mantissa >= that for the
507 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
508 denominator, not >. Decrement exponent in < case instead of
509 incrementing in >= case.
510 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
511 without decrementing exponent if mantissa >= that for the
514 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
515 computing saturated result for unsigned overflow.
517 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
518 Jeff Law <law@redhat.com>
520 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
521 (atan2Mp): Add systemtap probe marker.
522 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
523 (__ieee754_log): Add systemtap probe marker.
524 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
525 (atanMp): Add systemtap probe marker.
526 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
527 (tanMp): Add systemtap probe marker.
528 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
529 (__slowexp): Add systemtap probe marker.
530 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
531 (__slowpow): Add systemtap probe marker.
532 * manual/probes.texi: Document probes.
534 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
537 * libio/fileops.c (_IO_new_file_write): Return count of bytes
539 (_IO_new_file_xsputn): Don't return EOF if nothing has been
541 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
542 written to buffer but not flushed.
543 * libio/iofwrite_u.c: Likewise.
544 * libio/iopadn.c: Return bytes returned even if EOF was
546 * libio/iowpadn.c: Likewise.
547 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
548 if _IO_padn does not write the whole buffer.
549 [!COMPILE_WPRINTF] (PAD): Likewise.
551 2013-10-10 David S. Miller <davem@davemloft.net>
553 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
556 2013-10-10 Joseph Myers <joseph@codesourcery.com>
558 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
559 instead of FSF address.
560 * soft-fp/fixdfti.c: Likewise.
561 * soft-fp/fixsfti.c: Likewise.
562 * soft-fp/fixtfti.c: Likewise.
563 * soft-fp/fixunsdfti.c: Likewise.
564 * soft-fp/fixunssfti.c: Likewise.
565 * soft-fp/fixunstfti.c: Likewise.
566 * soft-fp/floattidf.c: Likewise.
567 * soft-fp/floattisf.c: Likewise.
568 * soft-fp/floattitf.c: Likewise.
569 * soft-fp/floatuntidf.c: Likewise.
570 * soft-fp/floatuntisf.c: Likewise.
571 * soft-fp/floatuntitf.c: Likewise.
572 * soft-fp/trunctfxf2.c: Likewise.
574 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
575 * soft-fp/fixdfti.c: Likewise.
576 * soft-fp/fixsfti.c: Likewise.
577 * soft-fp/fixtfti.c: Likewise.
578 * soft-fp/fixunsdfti.c: Likewise.
579 * soft-fp/fixunssfti.c: Likewise.
580 * soft-fp/fixunstfti.c: Likewise.
581 * soft-fp/floattidf.c: Likewise.
582 * soft-fp/floattisf.c: Likewise.
583 * soft-fp/floattitf.c: Likewise.
584 * soft-fp/floatuntidf.c: Likewise.
585 * soft-fp/floatuntisf.c: Likewise.
586 * soft-fp/floatuntitf.c: Likewise.
587 * soft-fp/trunctfxf2.c: Likewise.
589 2013-10-10 David S. Miller <davem@davemloft.net>
591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
593 2013-10-10 Joseph Myers <joseph@codsourcery.com>
595 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
596 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
597 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
598 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
599 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
600 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
601 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
603 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
604 for NaNs before doing comparisons on argument.
605 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
608 2013-10-10 Will Newton <will.newton@linaro.org>
610 * malloc/hooks.c (memalign_check): Ensure the value of bytes
611 passed to _int_memalign does not overflow.
613 2013-10-10 Torvald Riegel <triegel@redhat.com>
615 * scripts/bench.pl: Add include-sources directive.
616 * benchtests/README: Update documentation.
618 2013-10-10 Joseph Myers <joseph@codesourcery.com>
620 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
621 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
622 instead of FP_INIT_ROUNDMODE.
623 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
624 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
627 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
628 copy class of input value.
629 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
630 not handle exceptions.
631 * soft-fp/negsf2.c (__negsf2): Likewise.
632 * soft-fp/negtf2.c (__negtf2): Likewise.
633 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
635 2013-10-09 Joseph Myers <joseph@codesourcery.com>
637 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
638 semicolon. From Linux kernel.
640 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
642 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
644 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
647 * manual/socket.texi: Added statement about buffer
648 for gethostbyname2_r.
650 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
652 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
653 Use .p2align directive instead, throughout.
654 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
655 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
656 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
657 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
658 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
659 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
660 * sysdeps/x86_64/strchr.S: Likewise.
661 * sysdeps/x86_64/strrchr.S: Likewise.
663 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
665 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
667 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
669 * sysdeps/generic/math_private.h (__mpsin1): Remove
671 (__mpcos1): Likewise.
672 (__mpsin): New argument __range_reduce.
674 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
675 (slow): Use __mpsin and __mpcos.
688 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
689 range_reduce. Merge in __mpsin1.
692 (__mpcos1): Likewise.
694 2013-10-07 Joseph Myers <joseph@codesourcery.com>
696 * locale/loadlocale.c (_nl_intern_locale_data): Use
698 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
699 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
700 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
701 obstack data is appropriately aligned.
702 (obstack_int32_grow_fast): Likewise.
703 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
704 * locale/programs/locfile.c (add_locale_uint32): Likewise.
705 (add_locale_uint32_array): Likewise.
707 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
709 * benchtests/Makefile: Remove ARGLIST and RET variables.
710 ($(objpfx)bench-%.c): Pass only function name to the script.
711 * benchtests/README: Update documentation.
712 * benchtests/acos-inputs: Add new directives.
713 * benchtests/acosh-inputs: Likewise.
714 * benchtests/asin-inputs: Likewise.
715 * benchtests/asinh-inputs: Likewise.
716 * benchtests/atan-inputs: Likewise.
717 * benchtests/atanh-inputs: Likewise.
718 * benchtests/cos-inputs: Likewise.
719 * benchtests/cosh-inputs: Likewise.
720 * benchtests/exp-inputs: Likewise.
721 * benchtests/log-inputs: Likewise.
722 * benchtests/pow-inputs: Likewise.
723 * benchtests/rint-inputs: Likewise.
724 * benchtests/sin-inputs: Likewise.
725 * benchtests/sinh-inputs: Likewise.
726 * benchtests/tan-inputs: Likewise.
727 * benchtests/tanh-inputs: Likewise.
728 * scripts/bench.pl: Add support for new directives.
730 2013-10-07 Alan Modra <amodra@gmail.com>
732 * README: Fix careless merge.
734 2013-10-05 Alan Modra <amodra@gmail.com>
736 * NEWS: Mention powerpc64le support and bugs fixed.
737 * README: Both big-endian and little-endian powerpc64 supported.
739 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
741 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
742 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
743 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
744 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
746 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
748 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
751 2013-10-04 Joseph Myers <joseph@codesourcery.com>
753 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
754 Move -mhard-float appending from
755 ports/sysdeps/powerpc/powerpc32/Makefile.
756 [$(with-fp) = yes] (ASFLAGS): Likewise.
757 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
758 * sysdeps/powerpc/nofpu: Move directory from
759 ports/sysdeps/powerpc/nofpu.
760 * sysdeps/powerpc/soft-fp: Move directory from
761 ports/sysdeps/powerpc/soft-fp.
762 * sysdeps/powerpc/powerpc32/405: Move directory from
763 ports/sysdeps/powerpc/powerpc32/405.
764 * sysdeps/powerpc/powerpc32/440: Move directory from
765 ports/sysdeps/powerpc/powerpc32/440.
766 * sysdeps/powerpc/powerpc32/464: Move directory from
767 ports/sysdeps/powerpc/powerpc32/464.
768 * sysdeps/powerpc/powerpc32/476: Move directory from
769 ports/sysdeps/powerpc/powerpc32/476.
770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
771 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
773 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
775 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
777 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
779 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
780 * README: Update for powerpc-*-linux-gnu software floating point
783 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
784 case to powerpc/powerpc32*.
785 * sysdeps/unix/sysv/linux/configure: Regenerated.
787 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
788 (_FPU_MASK_OM): Define as 0x04.
789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
797 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
800 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
803 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
806 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
808 * locale/iso-3166.def: Update iso-1366.def and related occurrences
810 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
812 * manual/threads.texi (Default Thread Attributes): Fix typo.
814 2013-10-04 Will Newton <will.newton@linaro.org>
816 * malloc/Makefile: Add tst-memalign.
817 * malloc/tst-memalign.c: New file.
819 * malloc/tst-posix_memalign.c: Add comments.
820 (do_test): Add comments and call free on all potentially
821 allocated pointers. Add space after cast.
823 * malloc/tst-pvalloc.c: Add comments.
824 (do_test): Add comments and call free on all potentially
825 allocated pointers. Remove duplicate check for NULL pointer.
826 Add space after cast.
828 * malloc/tst-valloc.c: Add comments.
829 (do_test): Add comments and call free on all potentially
830 allocated pointers. Remove duplicate check for NULL pointer.
831 Add space after cast.
833 2013-10-04 Alan Modra <amodra@gmail.com>
835 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
836 Use stdint types in rather than __attribute__((mode())).
837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
839 2013-10-04 Alan Modra <amodra@gmail.com>
841 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
842 Correct handling of unaligned relocs for little-endian.
843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
845 2013-10-04 Alan Modra <amodra@gmail.com>
847 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
848 * configure: Regenerate.
849 * nptl/shlib-versions: Powerpc*le starts at 2.18.
850 * shlib-versions: Likewise.
852 2013-10-04 Alan Modra <amodra@gmail.com>
854 * string/tester.c (test_memrchr): Increment reported test cycle.
856 2013-10-04 Alan Modra <amodra@gmail.com>
858 * string/test-memcpy.c (do_one_test): When reporting errors, print
859 string address and don't overrun end of string.
861 2013-10-04 Alan Modra <amodra@gmail.com>
863 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
864 insrdi. Make better use of reg selection to speed exit slightly.
865 Schedule entry path a little better. Remove useless "are we done"
866 checks on entry to main loop. Handle wrapping around zero address.
867 Correct main loop count. Handle single left-over word from main
868 loop inline rather than by using loop_small. Remove extra word
869 case in loop_small caused by wrong loop count. Add little-endian
871 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
872 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
874 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
875 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
876 support. Avoid rlwimi.
877 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
879 2013-10-04 Alan Modra <amodra@gmail.com>
881 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
883 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
884 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
885 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
886 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
887 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
888 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
890 2013-10-04 Alan Modra <amodra@gmail.com>
892 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
893 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
894 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
895 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
896 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
897 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
898 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
899 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
900 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
901 use of regs. Use power7 mtocrf. Tidy function tails.
903 2013-10-04 Alan Modra <amodra@gmail.com>
905 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
906 Formatting. Consistently use rXXX register defines or rN defines.
907 Use early exit labels that avoid restoring unused non-volatile regs.
908 Make cr field use more consistent with rWORDn compares. Rename
909 regs used as shift registers for unaligned loop, using rN defines
910 for short lifetime/multiple use regs.
911 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
912 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
913 addi 1,1,64 to pop stack frame. Simplify return value code.
914 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
916 2013-10-04 Alan Modra <amodra@gmail.com>
918 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
919 support. Correct typos, formatting. Optimize tail. Use insrdi
921 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
923 little-endian support. Correct typos.
924 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
926 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
927 in loop and entry code to keep "and." results.
928 (strchr): Add little-endian support. Comment. Move cntlzd
930 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
932 2013-10-04 Alan Modra <amodra@gmail.com>
934 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
935 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
936 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
937 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
939 2013-10-04 Alan Modra <amodra@gmail.com>
941 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
942 (rTMP): Define as r11.
943 (strcmp): Add little-endian support. Optimise tail.
944 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
945 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
946 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
947 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
948 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
952 2013-10-04 Alan Modra <amodra@gmail.com>
954 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
955 little-endian support. Remove unnecessary "are we done" tests.
956 Handle "s" wrapping around zero and extremely large "size".
957 Correct main loop count. Handle single left-over word from main
958 loop inline rather than by using small_loop. Correct comments.
959 Delete "zero" tail, use "end_max" instead.
960 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
962 2013-10-04 Alan Modra <amodra@gmail.com>
964 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
965 support. Don't branch over align.
966 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
967 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
968 support. Rearrange tmp reg use to suit. Comment.
969 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
971 2013-10-04 Alan Modra <amodra@gmail.com>
973 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
975 2013-10-04 Alan Modra <amodra@gmail.com>
977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
978 conditional form of branch and link when obtaining pc.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
981 2013-10-04 Alan Modra <amodra@gmail.com>
983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
988 2013-10-04 Alan Modra <amodra@gmail.com>
990 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
991 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
992 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
993 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
994 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
995 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
996 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
997 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
998 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
999 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1001 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1002 Alistair Popple <alistair@ozlabs.au.ibm.com>
1003 Alan Modra <amodra@gmail.com>
1006 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1007 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1008 _dl_hwcap access for little-endian.
1009 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1010 destroy vmx regs when saving unaligned.
1011 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1012 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1013 destroy vmx regs when saving unaligned.
1015 2013-10-04 Alan Modra <amodra@gmail.com>
1017 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1018 Don't use a union to pack hi/low value.
1020 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1022 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1024 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1025 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1026 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1027 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1028 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1030 2013-10-04 Alan Modra <amodra@gmail.com>
1032 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1033 constants to usual value for .cst8 section, and remove redundant
1035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1036 constant for 0x1p52. Load little-endian words of double from
1037 correct stack offsets.
1039 2013-10-04 Alan Modra <amodra@gmail.com>
1041 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1042 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1043 words of double from correct stack offsets.
1044 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1045 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1046 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1047 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1048 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1049 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1051 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1052 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1054 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1055 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1056 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1057 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1058 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1059 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1060 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1062 2013-10-04 Alan Modra <amodra@gmail.com>
1064 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1065 64-bit int/double union.
1066 (_FPU_SETCW): Likewise.
1067 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1068 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1070 2013-10-04 Alan Modra <amodra@gmail.com>
1072 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1073 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1075 2013-10-04 Alan Modra <amodra@gmail.com>
1077 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1078 use vector int constants.
1079 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1081 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1083 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1084 array with long long.
1085 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1086 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1087 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1088 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1089 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1090 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1091 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1092 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1093 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1094 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1095 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1096 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1097 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1099 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1101 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1102 (__signbit): Likewise. Correct for little-endian.
1103 (__signbitl): Call __signbit.
1104 (lrint): Correct for little-endian.
1105 (lrintf): Call lrint.
1107 2013-10-04 Alan Modra <amodra@gmail.com>
1109 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1110 union 32-bit int array member with 64-bit int array.
1111 (t515, tm256): Double rather than long double.
1112 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1114 2013-10-04 Alan Modra <amodra@gmail.com>
1116 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1118 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1119 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1120 version of math_ldbl.h.
1122 2013-10-04 Alan Modra <amodra@gmail.com>
1124 [BZ #15734], [BZ #15735]
1125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1126 all uses of ieee875 long double macros and unions. Simplify test
1127 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1128 ldbl_extract_mantissa value for ix,iy exponents. Properly
1129 normalize after ldbl_extract_mantissa, and don't add hidden bit
1130 already handled. Don't treat low word of ieee854 mantissa like
1131 low word of IBM long double and mask off bit when testing for
1133 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1134 all uses of ieee875 long double macros and unions. Simplify tests
1135 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1136 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1137 two1022, instead use their values. Recognise that tests for large
1138 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1139 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1140 Rewrite all uses of ieee875 long double macros and unions. Simplify
1141 test for 0.0L and nan. Correct negation.
1142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1143 ieee875 long double macros and unions. Correct output for large
1144 magnitude x. Correct absolute value calculation.
1145 (__erfcl): Likewise.
1146 * math/libm-test.inc: Add tests for errors discovered in IBM long
1147 double versions of fmodl, remainderl, erfl and erfcl.
1149 2013-10-04 Alan Modra <amodra@gmail.com>
1151 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1152 all uses of ieee854 long double macros and unions. Simplify tests
1153 for long doubles that are fully specified by the high double.
1154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1156 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1157 Remove dead code too.
1158 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1159 (__ieee754_ynl): Likewise.
1160 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1161 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1162 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1163 Remove dead code too.
1164 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1165 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1167 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1169 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1171 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1172 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1173 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1174 Comment on variable precision.
1175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1178 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1181 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1182 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1184 2013-10-04 Alan Modra <amodra@gmail.com>
1186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1188 all uses of ieee854 long double macros and unions.
1189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1191 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1192 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1193 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1194 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1197 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1198 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1199 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1200 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1202 Simplify sign and nan test too.
1203 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1204 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1205 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1206 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1208 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1209 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1212 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1214 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1215 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1218 2013-10-04 Alan Modra <amodra@gmail.com>
1220 * stdio-common/printf_size.c (__printf_size): Don't use
1221 union ieee854_long_double in fpnum union.
1222 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1223 signbit macro to retrieve sign from long double.
1224 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1225 retrieve sign from long double.
1226 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1227 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1228 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1229 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1230 * math/test-misc.c (main): Don't use union ieee854_long_double.
1232 2013-10-04 Alan Modra <amodra@gmail.com>
1235 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1236 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1237 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1238 calculation. Remove unnecessary test for denormal exponent.
1239 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1240 Correct handling of denormals. Avoid undefined shift behaviour.
1241 Correct normalisation of low mantissa when low double is denormal.
1242 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1243 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1244 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1245 Correct normalisation of low mantissa. Test for overflow of high
1246 mantissa and normalise.
1247 (ldbl_nearbyint): Use more readable constant for two52.
1248 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1249 (__mpn_construct_long_double): Fix test for overflow of high
1250 mantissa and correct normalisation. Avoid undefined shift.
1252 2013-10-04 Alan Modra <amodra@gmail.com>
1254 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1255 (union ibm_extended_long_double): Define as an array of ieee754_double.
1256 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1257 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1258 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1259 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1260 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1261 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1263 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1268 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1270 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1271 page size instead of calling getpagesize.
1273 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1274 (LOCFILE_ALIGN_MASK): Likewise.
1275 (LOCFILE_ALIGN_UP): Likewise.
1276 (LOCFILE_ALIGNED_P): Likewise.
1277 * locale/programs/ld-collate.c (collate_output): Use the new
1278 macros instead of __alignof__ (int32_t).
1279 * locale/weight.h (findidx): Likewise.
1281 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1284 * manual/string.texi: Fix strncat and wcsncat.
1286 2013-10-03 Brooks Moses <bmoses@google.com>
1289 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1290 * Makerules: ...here, and adjust associated comments.
1292 2013-10-02 Will Newton <will.newton@linaro.org>
1294 * malloc/Makefile: Add tst-pvalloc.
1295 * malloc/tst-pvalloc.c: New file.
1297 2013-10-02 Will Newton <will.newton@linaro.org>
1299 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1300 improve test coverage.
1302 2013-10-02 Will Newton <will.newton@linaro.org>
1304 * malloc/Makefile: Add tst-posix_memalign.
1305 * malloc/tst-posix_memalign.c: New file.
1307 2013-10-01 Eric Blake <eblake@redhat.com>
1309 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1310 Use __THROWNL rather than __THROW on static functions.
1312 2013-09-30 Petr Machata <pmachata@redhat.com>
1314 * elf/elf.h (R_AARCH64_ABS16): New macro.
1315 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1316 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1317 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1318 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1319 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1320 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1321 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1322 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1323 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1324 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1325 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1326 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1327 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1328 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1329 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1330 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1331 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1332 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1333 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1334 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1335 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1336 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1337 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1338 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1339 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1340 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1341 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1342 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1343 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1344 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1345 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1346 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1347 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1348 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1349 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1350 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1351 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1352 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1353 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1354 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1355 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1356 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1357 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1358 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1359 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1360 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1361 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1362 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1363 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1364 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1365 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1366 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1367 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1368 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1369 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1370 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1371 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1372 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1373 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1374 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1375 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1376 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1377 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1378 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1379 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1380 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1381 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1382 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1383 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1384 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1385 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1386 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1387 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1388 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1389 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1390 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1391 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1392 (R_AARCH64_TLSDESC_LDR): Likewise.
1393 (R_AARCH64_TLSDESC_ADD): Likewise.
1394 (R_AARCH64_TLSDESC_CALL): Likewise.
1396 2013-09-30 Andreas Schwab <schwab@suse.de>
1399 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1400 the nss database lookup.
1401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1404 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1406 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1408 2013-09-28 P. J. McDermott <pj@pehjota.net>
1410 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1411 ${Bash-specific parameter/pattern/string} parameter expansion.
1412 * sysdeps/unix/make-syscalls.sh: Likewise.
1414 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1416 * sysdeps/sh/stackguard-macros.h: New file.
1418 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1422 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1423 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1424 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1425 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1427 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1429 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1430 Fix thread ID register.
1432 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1434 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1435 [POSIX || UNIX98]: Require rather than permitting all symbols from
1437 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1438 element of struct sched_param.
1439 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1440 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1441 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1442 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1445 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1447 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1448 argument calculation.
1450 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1452 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1454 [POSIX] (pthread_attr_t): Do not require type.
1455 [POSIX] (pthread_cond_t): Likewise.
1456 [POSIX] (pthread_condattr_t): Likewise.
1457 [POSIX] (pthread_key_t): Likewise.
1458 [POSIX] (pthread_mutex_t): Likewise.
1459 [POSIX] (pthread_mutexattr_t): Likewise.
1460 [POSIX] (pthread_once_t): Likewise.
1461 [POSIX] (pthread_t): Likewise.
1462 [POSIX-based standards] (pthread_atfork): Expect function.
1464 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1465 Richard Sandiford <richard@codesourcery.com>
1467 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1468 (swap_endianness_p): New extern variable.
1469 (set_big_endian): New inline function.
1470 (maybe_swap_uint32): Likewise.
1471 (maybe_swap_uint32_array): Likewise.
1472 (maybe_swap_uint32_obstack): Likewise.
1473 * locale/programs/locfile.c: Include <stdbool.h>.
1474 (swap_endianness_p): New variable.
1475 (add_locale_uint32): Call maybe_swap_uint32.
1476 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1477 (write_locale_data): Call maybe_swap_uint32_array.
1478 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1480 (obstack_int32_grow_fast): Likewise.
1481 (output_weightwc): Call maybe_swap_uint32_obstack.
1482 (collate_output): Likewise.
1483 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1484 (OPT_LITTLE_ENDIAN): Likewise.
1485 (options): Add --little-endian and --big-endian options.
1486 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1487 * locale/programs/locarchive.c: Include "locfile.h".
1491 (create_archive): Use the new macros to access fields of
1492 structures directly mapped from or written to locale archives.
1493 (oldlocrecentcmp): Likewise.
1494 (enlarge_archive): Likewise.
1495 (insert_name): Likewise.
1496 (add_alias): Likewise.
1497 (add_locale): Likewise.
1498 (delete_locales_from_archive): Likewise.
1499 (show_archive_content): Likewise.
1500 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1503 2013-09-24 Roland McGrath <roland@hack.frob.com>
1505 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1506 http://www.gnu.org/doc/freemanuals.texi.
1507 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1509 2013-09-24 Will Newton <will.newton@linaro.org>
1511 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1514 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1516 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1519 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1521 * manual/threads.texi (POSIX Threads): Fix a typo.
1523 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1526 * string/tst-strcoll-overflow.c: New test case.
1527 * string/Makefile (xtests): Add tst-strcoll-overflow.
1528 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1529 cache if string sizes may cause integer overflow.
1532 * string/strcoll_l.c (coll_seq): New members rule, idx,
1533 save_idx and back_us.
1534 (get_next_seq_nocache): New function.
1535 (do_compare_nocache): New function.
1536 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1539 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1542 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1543 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1544 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1547 * elf/Makefile (tests): Add tst-ptrguard1.
1548 (tests-static): Add tst-ptrguard1-static.
1549 (tst-ptrguard1-ARGS): Define.
1550 (tst-ptrguard1-static-ARGS): Define.
1551 * elf/tst-ptrguard1.c: New file.
1552 * elf/tst-ptrguard1-static.c: New file.
1553 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1554 * sysdeps/i386/stackguard-macros.h: Likewise.
1555 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1556 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1557 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1558 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1559 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1560 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1562 2013-09-23 Hector Marco <hecmargi@upv.es>
1563 Ismael Ripoll <iripoll@disca.upv.es>
1564 Carlos O'Donell <carlos@redhat.com>
1567 * sysdeps/generic/stackguard-macros.h: Define
1568 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1569 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1570 Define __pointer_chk_guard_local.
1571 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1572 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1574 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1577 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1579 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1581 * include/string.h (__ffs): Declare as hidden.
1582 * string/ffs.c (__ffs): Define as hidden.
1583 * sysdeps/i386/ffs.c (__ffs): Likewise.
1584 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1585 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1586 * sysdeps/s390/ffs.c (__ffs): Likewise.
1587 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1589 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1591 * NEWS: Mention malloc probes.
1593 * malloc/arena.c (new_heap): New memory_heap_new probe.
1594 (grow_heap): New memory_heap_more probe.
1595 (shrink_heap): New memory_heap_less probe.
1596 (heap_trim): New memory_heap_free probe.
1597 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1598 (systrim): New memory_sbrk_less probe.
1599 * manual/probes.texi: Document them.
1601 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1602 * manual/probes.texi: Document it.
1604 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1605 (__libc_realloc): Add memory_realloc_retry probe.
1606 (__libc_memalign): Add memory_memalign_retry probe.
1607 (__libc_valloc): Add memory_valloc_retry probe.
1608 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1609 (__libc_calloc): Add memory_calloc_retry probe.
1610 * manual/probes.texi: Document them.
1612 * malloc/arena.c (get_free_list): Add probe
1613 memory_arena_reuse_free_list.
1614 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1615 and memory_arena_reuse.
1616 (arena_get2) [!PER_THREAD]: Likewise.
1617 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1618 memory_arena_reuse_realloc.
1619 * manual/probes.texi: Document them.
1621 * malloc/malloc.c (__libc_free): Add
1622 memory_mallopt_free_dyn_thresholds probe.
1623 (__libc_mallopt): Add multiple memory_mallopt probes.
1624 * manual/probes.texi: Document them.
1626 * malloc/malloc.c: Include stap-probe.h.
1627 (__libc_mallopt): Add memory_mallopt probe.
1628 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1629 * manual/probes.texi: New.
1630 * manual/Makefile (chapters): Add probes.
1631 * manual/threads.texi: Set next node.
1633 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1636 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1637 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1638 Add `Chinese' to `nan' entry name.
1640 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1642 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1643 (POLYNOMIAL): Likewise.
1644 (TAYLOR_SINCOS): Likewise.
1645 (TAYLOR_SLOW): Likewise.
1646 (__sin): Use TAYLOR_SINCOS.
1648 (slow): Use TAYLOR_SLOW.
1653 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1655 * stdlib/strtod_l.c: Fix buffer overrun.
1657 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1659 * benchtests/Makefile (bench): Add sincos.
1660 * benchtests/bench-sincos.c: New file.
1662 * math/libm-test.inc (cos_test_data): New test inputs.
1663 (sin_test_data): Likewise.
1665 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1673 (bsloww1): Likewise.
1674 (bsloww2): Likewise.
1676 (csloww1): Likewise.
1677 (csloww2): Likewise.
1679 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1684 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1688 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1690 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1691 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1692 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1693 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1694 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1695 * elf/cache.c (print_entry): Handle the new cache flags.
1697 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1698 Aldy Hernandez <aldyh@redhat.com>
1700 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1701 Change condition to [_SOFT_FLOAT].
1702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1714 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1717 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1720 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1722 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1723 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1724 (__longjmp): Use LOAD_GP to load saved GPRs.
1725 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1726 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1727 (__sigsetjmp): Use SAVE_GP to save GPRs.
1729 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1730 Do not append -msoft-float.
1731 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1733 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1735 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1737 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1740 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1741 (_FPU_GETCW): Use initial "__" on variable and field names but not
1742 on macro parameter name.
1743 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1744 parentheses around reference to macro parameter.
1746 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1748 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1750 (ctype_startup): Use uint32_t in cast and sizeof for
1753 2013-09-11 Jia Liu <proljc@gmail.com>
1755 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1757 [__FreeBSD__]: Likewise.
1759 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1762 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1763 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1764 (strchr): Remove __strchr_sse42 ifunc selection.
1765 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1766 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1768 2013-09-11 Will Newton <will.newton@linaro.org>
1770 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1771 parameter to RES. Remove hardcoded 1000 value.
1772 * benchtests/bench-skeleton.c (main): Pass RES parameter
1773 to TIMING_INIT and multiply result by 1000.
1775 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1779 2013-09-11 Andreas Schwab <schwab@suse.de>
1781 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1783 (O_TMPFILE) [__USE_GNU]: Define.
1784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1787 2013-09-11 Will Newton <will.newton@linaro.org>
1790 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1793 2013-09-11 Will Newton <will.newton@linaro.org>
1796 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1799 2013-09-11 Will Newton <will.newton@linaro.org>
1802 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1805 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1807 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1808 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1809 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1810 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1811 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1813 2013-09-10 Allan McRae <allan@archlinux.org>
1816 * manual/arith.texi (Parsing of Floats): Clarify
1820 * manual/install.texi (Running make install): Mention
1822 * INSTALL: Regenerated.
1824 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1826 * csu/init-first.c (_init): Remove the !SHARED condition around
1827 FPU control word initialization.
1828 * elf/dl-support.c (_dl_fpu_control): New variable.
1829 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1830 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1831 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1832 * math/test-fpucw-static.c: New file.
1833 * math/test-fpucw-ieee.c: New file.
1834 * math/test-fpucw-ieee-static.c: New file.
1835 * math/Makefile (tests): Add `test-fpucw-ieee' and
1837 (tests-static): New variable.
1838 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1840 [($(build-shared),yes)]
1841 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1843 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1846 2013-09-09 Allan McRae <allan@archlinux.org>
1849 * manual/string.texi (Collation Functions): Fix typo in
1851 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1854 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1857 * libio/memstream.c (open_memstream): Fix memory leak.
1858 * libio/wmemstream.c (open_wmemstream): Likewise.
1861 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1863 2013-09-09 Will Newton <will.newton@linaro.org>
1865 * malloc/Makefile: Add tst-realloc to tests.
1866 * malloc/tst-realloc.c: New file.
1868 2013-09-09 Allan McRae <allan@archlinux.org>
1871 * COPYING: Update from GNU website to fix FSF address.
1872 * COPYING.LIB: Likewise.
1874 2013-09-06 David S. Miller <davem@davemloft.net>
1876 * po/zh_TW.po: Update Chinese (traditional) translation from
1877 translation project.
1879 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1880 Joseph Myers <joseph@codesourcery.com>
1882 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1884 (obstack_chunk_alloc): New macro.
1885 (obstack_chunk_free): Likewise.
1886 (record_offset): New function.
1887 (init_locale_data): Likewise.
1888 (align_locale_data): Likewise.
1889 (add_locale_empty): Likewise.
1890 (add_locale_raw_data): Likewise.
1891 (add_locale_raw_obstack): Likewise.
1892 (add_locale_string): Likewise.
1893 (add_locale_wstring): Likewise.
1894 (add_locale_uint32): Likewise.
1895 (add_locale_uint32_array): Likewise.
1896 (add_locale_char): Likewise.
1897 (start_locale_structure): Likewise.
1898 (end_locale_structure): Likewise.
1899 (start_locale_prelude): Likewise.
1900 (end_locale_prelude): Likewise.
1901 (write_locale_data): Take locale_file structure rather than an
1903 * locale/programs/locfile.h: Include "obstack.h".
1904 (struct locale_file): Change to store locale file contents instead
1906 (init_locale_data): New prototype.
1907 (align_locale_data): Likewise.
1908 (add_locale_empty): Likewise.
1909 (add_locale_raw_data): Likewise.
1910 (add_locale_raw_obstack): Likewise.
1911 (add_locale_string): Likewise.
1912 (add_locale_wstring): Likewise.
1913 (add_locale_uint32): Likewise.
1914 (add_locale_uint32_array): Likewise.
1915 (add_locale_char): Likewise.
1916 (start_locale_structure): Likewise.
1917 (end_locale_structure): Likewise.
1918 (start_locale_prelude): Likewise.
1919 (end_locale_prelude): Likewise.
1920 (write_locale_data): Update prototype.
1921 * locale/programs/3level.h (struct TABLE): Remove result field.
1922 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1923 Use new locale_file interface.
1924 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1925 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1926 * locale/programs/ld-address.c (address_output): Use new
1927 locale_file interface.
1928 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1930 (collate_finish): Don't call collseq_table_finalize.
1931 (collate_output): Use new locale_file interface.
1932 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1934 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1935 (TABLE): Move defines earlier in file.
1936 (ELEMENT): Likewise.
1937 (DEFAULT): Likewise.
1938 (wctrans_table_add): Move macro and inline function earlier in
1940 (struct wctype_table): Move type earlier in file.
1941 (add_locale_wctype_table): New static prototype.
1942 (struct locale_ctype_t): Use logical types instead of struct iovec
1943 pointers for members.
1944 (ctype_output): Use new locale_file interface.
1945 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1946 new locale_file interface.
1947 (allocate_arrays): Update for use of new locale_file interface.
1948 * locale/programs/ld-identification.c (identification_output): Use
1949 new locale_file interface.
1950 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1951 * locale/programs/ld-messages.c (messages_output): Likewise.
1952 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1953 * locale/programs/ld-name.c (name_output): Likewise.
1954 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1955 * locale/programs/ld-paper.c (paper_output): Likewise.
1956 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1957 * locale/programs/ld-time.c (time_output): Likewise.
1959 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1961 * benchtests/Makefile: Add memrchr benchmark.
1962 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1963 benchmark as memrchr.
1964 * benchtests/bench-memrchr-ifunc.c: New file.
1965 * benchtests/bench-memrchr.c: New file.
1967 2013-09-06 Will Newton <will.newton@linaro.org>
1969 * benchtests/Makefile (string-bench): Add memcpy.
1971 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1972 Cong Wang <amwang@redhat.com>
1974 * sysdeps/unix/sysv/linux/bits/in.h
1975 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1976 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1977 before __USE_KERNEL_IPV6_DEFS uses.
1978 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1980 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1981 sockaddr_in6, or ipv6_mreq.
1983 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1985 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1986 memory access for final bytes in some large inputs.
1987 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1989 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1991 * string/test-memrchr.c: New file.
1992 * string/test-memrchr-ifunc.c: New file.
1993 * string/Makefile: Add new memrchr testcase.
1995 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1997 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1998 fanotify_init returns EPERM.
2000 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2002 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2004 (top level): Treat second token from macro or constant entries for
2005 allowed headers as allowed.
2006 * include/complex.h: Condition internal declarations on
2008 * include/fenv.h: Condition include of <stdbool.h> and internal
2009 declarations on [!_ISOMAC].
2011 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2014 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2016 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2018 * configure.in (--enable-versioning): Remove configure option.
2019 (libc_cv_asm_symver_directive): Remove configure test.
2020 (libc_cv_ld_version_script_option): Likewise.
2021 (VERSIONING): Remove variable and AC_SUBST.
2022 (DO_VERSIONING): Remove AC_DEFINE.
2023 * configure: Regenerated.
2024 * config.h.in (DO_VERSIONING): Remove macro.
2025 * Makerules [$(versioning) = yes]: Change conditionals to
2026 [$(build-shared) = yes].
2027 * config.make.in (versioning): Remove variable.
2028 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2029 [$(build-shared) = yes].
2030 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2031 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2032 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2033 [$(build-shared) = yes].
2034 * extra-lib.mk [$(versioning) = yes]: Likewise.
2035 * hurd/Makefile [$(versioning) = yes]: Likewise.
2036 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2038 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2040 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2041 [SHARED && !NO_HIDDEN].
2042 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2044 [SHARED && DO_VERSIONING]: Likewise..
2045 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2046 [$(build-shared) = yes].
2047 * manual/install.texi (--disable-versioning): Remove
2049 * INSTALL: Regenerated.
2050 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2052 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2053 [$(build-shared) = yes].
2054 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2055 * sysdeps/i386/i686/multiarch/strstr-c.c
2056 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2057 [SHARED && !NO_HIDDEN].
2058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2059 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2060 * sysdeps/powerpc/powerpc32/dl-machine.c
2061 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2062 * sysdeps/powerpc/powerpc32/sysdep.h
2063 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2064 to [SHARED && PIC && !NO_HIDDEN].
2065 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2066 conditional to [SHARED].
2068 2013-09-04 Will Newton <will.newton@linaro.org>
2070 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2071 * benchtests/bench-string.h: Include bench-timing.h instead
2072 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2073 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2074 call to HP_TIMING_DIFF_INIT.
2075 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2076 instead of hp-timing.h macros.
2077 * benchtests/bench-memchr.c: Likewise.
2078 * benchtests/bench-memcmp.c: Likewise.
2079 * benchtests/bench-memcpy.c: Likewise.
2080 * benchtests/bench-memmem.c: Likewise.
2081 * benchtests/bench-memmove.c: Likewise.
2082 * benchtests/bench-memset.c: Likewise.
2083 * benchtests/bench-rawmemchr.c: Likewise.
2084 * benchtests/bench-strcasecmp.c: Likewise.
2085 * benchtests/bench-strcasestr.c: Likewise.
2086 * benchtests/bench-strcat.c: Likewise.
2087 * benchtests/bench-strchr.c: Likewise.
2088 * benchtests/bench-strcmp.c: Likewise.
2089 * benchtests/bench-strcpy.c: Likewise.
2090 * benchtests/bench-strcpy_chk.c: Likewise.
2091 * benchtests/bench-strlen.c: Likewise.
2092 * benchtests/bench-strncasecmp.c: Likewise.
2093 * benchtests/bench-strncat.c: Likewise.
2094 * benchtests/bench-strncmp.c: Likewise.
2095 * benchtests/bench-strncpy.c: Likewise.
2096 * benchtests/bench-strnlen.c: Likewise.
2097 * benchtests/bench-strpbrk.c: Likewise.
2098 * benchtests/bench-strrchr.c: Likewise.
2099 * benchtests/bench-strspn.c: Likewise.
2100 * benchtests/bench-strstr.c: Likewise.
2102 2013-09-04 Will Newton <will.newton@linaro.org>
2104 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2106 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2109 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2110 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2111 * math/libm-test.inc (lgamma_test_data): Add more tests.
2112 * sysdeps/i386/fpu/libm-test-ulps: Update.
2113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2115 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2117 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2121 Add strcmp-sse2-unaligned
2122 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2124 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2126 * Versions.def (libc): Add GLIBC_2.19.
2128 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2130 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2131 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2133 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2136 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2137 intermediate calculations in recurrence.
2138 (__ieee754_ynf): Likewise.
2139 * math/libm-test.inc (jn_test_data): Do not allow spurious
2140 underflow exception. Add more tests.
2141 (yn_test_data): Add more tests.
2142 * sysdeps/i386/fpu/libm-test-ulps: Update.
2143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2145 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2147 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2149 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2151 * csu/init-first.c: Fix then/than typos.
2152 * locale/programs/ld-collate.c: Likewise.
2153 * locale/programs/linereader.h: Likewise.
2154 * manual/charset.texi: Likewise.
2155 * manual/filesys.texi: Likewise.
2156 * manual/stdio.texi: Likewise.
2157 * manual/string.texi: Likewise.
2158 * stdlib/fmtmsg.c: Likewise.
2159 * sysdeps/i386/stpncpy.S: Likewise.
2160 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2161 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2162 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2163 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2165 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2167 * elf/dl-open.c: Fix typos.
2168 * iconvdata/gbbig5.c: Likewise.
2169 * iconvdata/iso-2022-jp.c: Likewise.
2170 * iconv/gconv_int.h: Likewise.
2171 * iconv/loop.c: Likewise.
2172 * nis/rpcsvc/nis.h: Likewise.
2173 * resolv/ns_name.c: Likewise.
2174 * stdio-common/vfscanf.c: Likewise.
2175 * streams/stropts.h: Likewise.
2176 * sunrpc/rpc_thread.c: Likewise.
2177 * sysdeps/i386/strpbrk.S: Likewise.
2178 * sysdeps/ieee754/k_standard.c: Likewise.
2179 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2181 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2182 * sysdeps/mach/hurd/profil.c: Likewise.
2183 * sysdeps/s390/dl-procinfo.h: Likewise.
2184 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2185 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2186 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2187 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2188 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2190 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2192 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2193 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2195 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2197 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2199 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2200 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2201 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2202 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2203 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2204 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2205 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2208 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2209 Roland McGrath <roland@hack.frob.com>
2211 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2212 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2214 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2216 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2217 __executable_start symbol instead of _start.
2219 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2221 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2222 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2224 * sysdeps/gnu/ldsodefs.h: ... this new file.
2226 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2227 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2228 instead of ELFOSABI_LINUX.
2230 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2231 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2232 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2233 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2235 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2236 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2237 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2239 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2240 (ibm_extended_long_double): Add ieee_nan member.
2241 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2242 (do_test): New function.
2244 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2246 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2247 functions, renamed from truncdfsf_test, trunctfsf_test,
2249 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2251 (do_test): Run all these.
2253 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2255 * argp/argp-help.c: Fix typos.
2256 * argp/argp-parse.c: Likewise.
2257 * debug/backtracesyms.c: Likewise.
2258 * elf/elf.h: Likewise.
2259 * malloc/malloc.c: Likewise.
2260 * nis/nis_print.c: Likewise.
2261 * resolv/res_comp.c: Likewise.
2262 * stdlib/stdlib.h: Likewise.
2263 * sunrpc/clnt_tcp.c: Likewise.
2264 * sunrpc/clnt_udp.c: Likewise.
2265 * sunrpc/clnt_unix.c: Likewise.
2266 * sysdeps/unix/bsd/ptsname.c: Likewise.
2267 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2268 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2275 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2277 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2279 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2282 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2285 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2286 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2287 ($(objpfx)bug-dl-leaf): New rule.
2288 ($(objpfx)bug-dl-leaf.so): Likewise.
2289 ($(objpfx)bug-dl-leaf.out): Likewise.
2290 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2291 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2292 * dlfcn/bug-dl-leaf.c: New test.
2293 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2294 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2295 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2296 (dlclose): Likewise.
2297 (dlmopen): Likewise.
2299 2013-08-27 Roland McGrath <roland@hack.frob.com>
2301 * include/netdb.h [!_ISOMAC]:
2302 Don't include <tls.h>.
2303 (h_errno, __libc_h_errno): Move declaration and macros out of
2306 * include/resolv.h [_RESOLV_H_]:
2307 Don't include <tls.h>.
2308 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2309 * resolv/res_libc.c: Don't include <tls.h>.
2310 (_res): Use __attribute__ ((nocommon)) in place of
2311 __attribute__ ((section (".bss"))).
2313 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2314 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2316 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2318 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2319 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2321 * resolv/res_mkquery.c: Include <sys/time.h>.
2323 * inet/ifreq.c: Moved to ...
2324 * sysdeps/unix/ifreq.c: ... here.
2325 * inet/ifreq.c: New file, true stub version.
2327 * socket/sa_len.c: New file.
2328 * socket/Makefile (aux): Add it.
2329 * sysdeps/unix/sysv/linux/Makefile
2330 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2331 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2332 and #include <socket/sa_len.c>.
2333 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2334 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2336 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2337 * bits/socket.h: ... here.
2339 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2340 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2341 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2343 2013-08-27 Andreas Schwab <schwab@suse.de>
2346 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2347 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2348 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2349 * string/test-strcasecmp.c (test_main): Run tests in several
2351 * string/test-strncasecmp.c (test_main): Likewise.
2353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2354 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2355 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2357 (__strncasecmp_ssse3) [PIC]: Likewise.
2359 2013-08-26 Roland McGrath <roland@hack.frob.com>
2361 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2363 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2364 instead of explicitly declaring xdecrypt.
2365 * nis/nss_nis/nis-publickey.c: Likewise.
2367 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2370 * nscd/aicache.c: Include res_hconf.h.
2371 (addhstaiX): Initialize res_hconf.
2373 2013-08-26 Andreas Schwab <schwab@suse.de>
2375 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2376 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2378 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2380 * nscd/aicache.c (addhstaiX): Fix indentation.
2382 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2384 * configure.ac: Quote $build_pt_chown test.
2385 * configure: Regenerated.
2387 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2390 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2391 * math/s_cexpf.c (__cexpf): Likewise.
2392 * math/s_cexpl.c (__cexpl): Likewise.
2393 * math/libm-test.inc (cexp_test_data): Correct expected return
2394 value for NaN + i0. Add another test.
2396 2013-08-22 David S. Miller <davem@davemloft.net>
2398 * po/ca.po: Update Catalan translation from translation project.
2399 * po/uk.po: Add Ukrainian translations from translation project.
2401 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2404 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2405 is infinite, not alongside NaN test.
2406 * math/s_fdimf.c (__fdimf): Likewise.
2407 * math/s_fdiml.c (__fdiml): Likewise.
2408 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2411 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2413 * argp/argp-help.c: Fix typos.
2414 * crypt/speeds.c: Likewise.
2415 * csu/check_fds.c: Likewise.
2416 * elf/dl-load.c: Likewise.
2417 * elf/dl-open.c: Likewise.
2418 * elf/reldep3.c: Likewise.
2419 * elf/reldep.c: Likewise.
2420 * elf/sprof.c: Likewise.
2421 * iconv/iconv_charmap.c: Likewise.
2422 * iconv/skeleton.c: Likewise.
2423 * iconv/strtab.c: Likewise.
2424 * io/lockf64.c: Likewise.
2425 * libio/libioP.h: Likewise.
2426 * resolv/gai_notify.c: Likewise.
2427 * resolv/ns_name.c: Likewise.
2428 * resolv/ns_samedomain.c: Likewise.
2429 * resolv/res_send.c: Likewise.
2430 * stdlib/random.c: Likewise.
2431 * sunrpc/rpc/xdr.h: Likewise.
2432 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2433 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2434 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2435 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2436 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2437 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2439 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2440 * sysdeps/mach/hurd/check_fds.c: Likewise.
2441 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2442 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2443 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2444 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2445 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2446 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2447 * sysdeps/pthread/aio_notify.c: Likewise.
2448 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2449 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2450 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2451 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2452 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2454 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2456 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2457 version if bit_Slow_SSE4_2 is set.
2458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2461 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2464 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2465 trampoline stack frame information.
2466 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2467 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2468 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2469 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2470 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2471 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2472 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2473 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2475 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2476 interrupting a syscall and set with option SA_SIGINFO.
2478 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2481 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2482 argument is infinite.
2483 * math/s_cprojf.c (__cprojf): Likewise.
2484 * math/s_cprojl.c (__cprojl): Likewise.
2485 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2486 * math/libm-test.inc (cproj_test_data): Add more tests.
2488 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2490 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2491 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2492 size. Use __ffs to determine corresponding shift.
2494 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2495 Roland McGrath <roland@hack.frob.com>
2497 * Makefile (INSTALL): Remove trailing blank lines from output of
2500 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2502 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2503 Align 32 bit compat elf_greg to 8 bytes.
2505 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2507 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2509 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2511 * string/strcoll_l.c (coll_seq): New structure.
2512 (get_next_seq_cached): New function.
2513 (get_next_seq): New function.
2514 (do_compare): New function.
2515 (STRCOLL): Use GNU style definition. Simplify implementation
2516 by using get_next_seq, get_next_seq_cached and do_compare.
2518 2013-08-16 Florian Weimer <fweimer@redhat.com>
2522 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2524 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2526 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2527 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2528 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2530 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2531 GETDENTS_64BIT_ALIGNED.
2532 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2533 * manual/filesys.texi (Reading/Closing Directory): Document
2534 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2536 * manual/conf.texi (Limits for Files): Add portability note to
2538 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2540 2013-08-13 Andreas Schwab <schwab@suse.de>
2543 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2545 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2546 LDBL_MAX_EXP >= 16384]: Add tests for it.
2548 2013-08-12 David S. Miller <davem@davemloft.net>
2550 * version.h (RELEASE): Set to "development".
2551 (VERSION): Set to "2.18.90".
2552 * NEWS: Add 2.19 section.
2554 2013-08-03 David S. Miller <davem@davemloft.net>
2556 * po/ko.po: Update Korean translation from translation project.
2558 2013-08-01 David S. Miller <davem@davemloft.net>
2560 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2561 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2564 2013-07-30 David S. Miller <davem@davemloft.net>
2566 * po/fr.po: Update French translation from translation project.
2568 2013-07-28 David S. Miller <davem@davemloft.net>
2570 * po/cs.po: Update Czech translation from translation project.
2572 * po/sv.po: Update Swedish translation from translation project.
2574 2013-07-27 David S. Miller <davem@davemloft.net>
2576 * po/eo.po: Update Esperanto translation from translation project.
2578 * po/vi.po: Update Vietnamese translation from translation project.
2580 * po/de.po: Update German translation from translation project.
2582 2013-07-26 David S. Miller <davem@davemloft.net>
2584 * po/bg.po: Update Bulgarian translation from translation project.
2586 * po/nl.po: Update Dutch translation from translation project.
2587 * po/pl.po: Update Polish translation from translation project.
2588 * po/ru.po: Update Russian translation from translation project.
2590 2013-07-24 David S. Miller <davem@davemloft.net>
2592 * po/libc.pot: Update.
2594 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2596 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2598 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2599 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2600 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2602 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2604 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2606 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2607 Andreas Schwab <schwab@suse.de>
2608 Roland McGrath <roland@hack.frob.com>
2609 Joseph Myers <joseph@codesourcery.com>
2610 Carlos O'Donell <carlos@redhat.com>
2613 * config.h.in: Define HAVE_PT_CHOWN.
2614 * config.make.in (build-pt-chown): New variable.
2615 * configure.in (--enable-pt_chown): New configure option.
2616 * configure: Regenerate.
2617 * login/Makefile: Include Makeconfig. Build pt_chown only if
2618 build-pt-chown is enabled.
2619 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2620 pt_chown to fix pty ownership.
2621 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2623 * manual/install.texi (Configuring and compiling): Mention
2624 --enable-pt_chown. Add @findex for grantpt.
2625 * INSTALL: Regenerate.
2627 2013-07-20 David S. Miller <davem@davemloft.net>
2629 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2630 difference between 32-bit and 64-bit.
2632 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2635 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2636 Avoid system header dependency with -ffreestanding.
2637 ($(objpfx)bits/syscall%d): Likewise.
2639 2013-07-13 David S. Miller <davem@davemloft.net>
2641 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2642 underflows from atanl/atan2l due to bug 15319.
2643 (casinh_test_data): Likewise.
2645 2013-07-07 David S. Miller <davem@davemloft.net>
2647 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2649 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2651 * sysdeps/i386/fpu/libm-test-ulps: Update.
2652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2654 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2656 * configure.in (--enable-lock-elision): Fix message text.
2657 * INSTALL: Regenerate.
2658 * configure: Regenerate.
2660 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2664 2013-07-03 Andreas Jaeger <aj@suse.de>
2666 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2668 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2669 (ptrace_peeksiginfo_args): Add.
2670 (__ptrace_peeksiginfo_flags): Add.
2671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2672 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2673 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2675 2013-07-03 Allan McRae <allan@archlinux.org>
2677 * sysdeps/i386/fpu/libm-test-ulps: Update.
2679 2013-07-02 David S. Miller <davem@davemloft.net>
2681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2683 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2687 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2689 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2692 2013-07-02 Andi Kleen <ak@linux.intel.com>
2694 * config.h.in (ENABLE_LOCK_ELISION): Add.
2695 * configure.in (--enable-lock-elision): Add option.
2696 * manual/install.texi: Document --enable lock elision.
2697 * configure: Regenerate
2698 * INSTALL: Regenerate.
2700 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2702 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2703 SSE4.2 strcasecmp for libc.a.
2704 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2706 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2709 * soft-fp/op-common.h (_FP_FMA): New macro.
2710 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2711 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2712 (_FP_MUL_MEAT_1_imm): ... here.
2713 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2714 (_FP_MUL_MEAT_1_wide): ... here.
2715 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2716 (_FP_MUL_MEAT_1_hard): ... here.
2717 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2718 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2719 (_FP_MUL_MEAT_2_wide): ... here.
2720 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2721 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2722 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2723 (_FP_MUL_MEAT_2_gmp): ... here.
2724 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2725 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2726 (_FP_MUL_MEAT_4_wide): ... here.
2727 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2728 (_FP_MUL_MEAT_4_gmp): ... here.
2729 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2730 (_FP_WFRACBITS_DW_S): Likewise.
2731 (_FP_WFRACXBITS_DW_S): Likewise.
2732 (_FP_HIGHBIT_DW_S): Likewise.
2733 (FP_FMA_S): Likewise.
2734 (_FP_FRAC_HIGH_DW_S): Likewise.
2735 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2736 (_FP_WFRACBITS_DW_D): Likewise.
2737 (_FP_WFRACXBITS_DW_D): Likewise.
2738 (_FP_HIGHBIT_DW_D): Likewise.
2739 (FP_FMA_D): Likewise.
2740 (_FP_FRAC_HIGH_DW_D): Likewise.
2741 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2742 (_FP_WFRACBITS_DW_E): Likewise.
2743 (_FP_WFRACXBITS_DW_E): Likewise.
2744 (_FP_HIGHBIT_DW_E): Likewise.
2745 (FP_FMA_E): Likewise.
2746 (_FP_FRAC_HIGH_DW_E): Likewise.
2747 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2748 (_FP_WFRACBITS_DW_Q): Likewise.
2749 (_FP_WFRACXBITS_DW_Q): Likewise.
2750 (_FP_HIGHBIT_DW_Q): Likewise.
2751 (FP_FMA_Q): Likewise.
2752 (_FP_FRAC_HIGH_DW_Q): Likewise.
2753 * soft-fp/fmasf4.c: New file.
2754 * soft-fp/fmadf4.c: Likewise.
2755 * soft-fp/fmatf4.c: Likewise.
2757 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2760 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2762 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2764 (index_Slow_SSE4_2): Likewise.
2765 (index_Prefer_PMINUB_for_stringop): Likewise.
2766 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2767 bit_Slow_SSE4_2 is set.
2768 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2769 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2771 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2773 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2774 rtld_global._dl_hwcap2.
2775 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2777 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2778 POWER8 feature descriptions defined in _dl_hwcap2.
2779 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2780 string handling for POWER8 feature bits.
2781 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2782 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2783 _dl_powerpc_cap_flags.
2784 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2785 * sysdeps/powerpc/rtld-global-offsets.sym
2786 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2787 _dl_hwcap2 in the rtld_global_ro structure.
2789 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2791 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2792 hardware capabilities in support of AT_HWCAP2.
2793 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2794 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2796 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2797 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2798 explicitly the unknown a_type display mechanism is used.
2799 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2800 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2802 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2803 to macro prototype for AT_HWCAP2 support.
2804 * sysdeps/i386/dl-procinfo.h: Likewise.
2805 * sysdeps/s390/dl-procinfo.h: Likewise.
2806 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2807 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2808 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2809 return -1 for unknown a_type display fallback.
2810 * sysdeps/sparc/dl-procinfo.h: Likewise.
2811 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2812 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2814 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2816 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2817 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2819 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2822 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2823 mprotect making __stack_prot writable.
2825 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2826 Joseph Myers <joseph@codesourcery.com>
2828 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2829 as being properly aligned.
2831 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2833 * dlfcn/modstatic5.c: New file.
2834 * dlfcn/tststatic5.c: New file.
2835 * dlfcn/Makefile (tests): Add tststatic5.
2836 (tests-static): Likewise.
2837 (modules-names): Add modstatic5.
2838 (tststatic5-ENV): New variable.
2839 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2842 * elf/dl-support.c (_dl_main_map): New variable.
2843 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2844 (_dl_nns, _dl_load_adds): Set to 1.
2845 (_dl_initial_searchlist): Refer to _dl_main_map.
2846 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2847 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2848 call to _dl_get_origin.
2849 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2851 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2852 * dlfcn/modstatic3.c: New file.
2853 * dlfcn/tststatic3.c: New file.
2854 * dlfcn/tststatic4.c: New file.
2855 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2856 (tests-static): Likewise.
2857 (modules-names): Add modstatic3.
2858 (tststatic3-ENV, tststatic4-ENV): New variables.
2859 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2860 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2862 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2864 * configure.in (CC): Require GCC version 4.4 or later.
2865 * configure: Regenerated.
2866 * manual/install.texi (Tools for Compilation): Update GCC version
2868 * INSTALL: Regenerated.
2870 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2873 * string/test-memcmp.c (check2): New.
2874 (main): Call check2.
2876 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2878 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2881 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2883 (dl_open_worker) [!SHARED]: ... here.
2885 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2887 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2889 2013-06-25 Richard Henderson <rth@redhat.com>
2891 * locale/programs/locarchive.c: Include <libc-internal.h>
2893 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2895 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2896 trailing whitespace removed.
2898 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2901 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2902 * locale/programs/locarchive.c: Include libc-mmap.h.
2903 (prepare_address_space): Take two new outputs (the mmap base and len).
2904 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2906 (create_archive): Declare new mmap base and len values for
2907 prepare_address_space, and store the result in ah.
2908 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2909 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2910 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2911 Declare new mmap base and len values for
2912 prepare_address_space, and store the result in new_ah.
2913 (open_archive): Declare new mmap base and len values for
2914 prepare_address_space, and store the result in ah.
2915 (close_archive): If ah->mmap_base is not NULL, use that and
2916 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2917 * sysdeps/generic/libc-mmap.h: New file.
2919 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2921 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2922 (ALIGN_UP): Likewise.
2923 (PTR_ALIGN_DOWN): Likewise.
2924 (PTR_ALIGN_UP): Likewise.
2926 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2928 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2929 entry mapped to PPC_PLATFORM_POWER8.
2930 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2932 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2933 (_dl_string_platform): Add case for exporting platform position for
2935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2936 search path to sysdeps/powerpc/powerpc32/power8 directory.
2937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2938 search path to sysdeps/powerpc/powerpc64/power8 directory.
2939 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2941 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2944 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2946 * INSTALL: Regenerate.
2948 * nscd/connections.c (nscd_init): Fix comment.
2950 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2952 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2955 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2956 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2958 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2960 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2962 (DL_DST_REQ_STATIC): Remove macro.
2964 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2967 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2968 with a shift of 0 bits.
2970 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2972 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2975 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2978 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2980 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2982 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2983 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2984 accepts -fno-tree-loop-distribute-patterns.
2985 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2986 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2988 * string/memset.c (memset): Likewise.
2989 * string/test-memmove.c (simple_memmove): Disable loop transformation
2991 * string/test-memset.c (simple_memset): Likewise.
2992 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2993 * benchtests/bench-memset.c (simple_memset): Likewise.
2994 * configure: Regenerated.
2996 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2998 * math/test-misc.c (main): Ignore fesetround failure when failures
2999 of subsequent rounding tests would be ignored.
3002 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3003 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3004 * math/fegetenv.c (__fegetenv): Return 0.
3005 * math/fegetexcept.c (fegetexcept): Return 0.
3006 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3008 * math/feholdexcpt.c (feholdexcept): Return 0.
3009 * math/fesetenv.c (__fesetenv): Return 0.
3010 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3011 argument FE_TONEAREST.
3012 * math/feupdateenv.c (__feupdateenv): Return 0.
3013 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3015 2013-06-18 Roland McGrath <roland@hack.frob.com>
3017 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3018 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3019 ($(objpfx)rtld-%.os rules): Use them.
3021 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3026 2013-06-17 Roland McGrath <roland@hack.frob.com>
3028 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3029 length of target pattern, then descending length of dependency pattern.
3030 * configure.in (AWK): Require gawk 3.1.2 or newer.
3031 * manual/install.texi (Tools for Compilation): Say that we do.
3032 * configure: Regenerated.
3034 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3035 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3036 * scripts/sysd-rules.awk: ... this new script.
3037 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3038 than a glob-style pattern.
3040 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3042 * math/test-misc.c (main): Do not treat incorrectly rounded
3043 conversions as failure unless ROUNDING_TESTS passes.
3045 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3048 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3049 restore exception state around main square root computation, then
3050 check for inexactness explicitly.
3052 * math/libm-test.inc (fma_test_data): Add another test.
3054 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3056 * manual/threads.texi (Non-POSIX Extensions): New document
3057 node. Document pthread_getattr_default_np and
3058 pthread_setattr_default_np.
3060 * Versions.def (libpthread): Add GLIBC_2.18.
3061 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3070 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3081 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3084 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3086 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3087 H.J. Lu <hjl.tools@gmail.com>
3090 * sysdeps/x86_64/rtld-memset.c: Remove file.
3091 * sysdeps/x86_64/rtld-memset.S: New file.
3093 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3095 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3096 (test_in_one_mode): Take arguments for whether the rounding mode
3097 is supported for each floating-point type.
3098 (do_test): Pass new arguments to test_in_one_mode using
3101 2013-06-13 Roland McGrath <roland@hack.frob.com>
3103 * posix/tst-waitid.c (do_test): Distinguish different instances of
3104 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3105 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3106 before entering the kernel for waitpid.
3108 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3110 * NEWS: Fix note on clock function precision. Text by Roland
3113 2013-06-13 Roland McGrath <roland@hack.frob.com>
3115 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3116 it into place only when and if the sanity check passes.
3118 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3120 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3121 output for whether conversion result is exact. Take argument
3122 indicating whether type is IBM long double.
3123 (round_for_all): Change need_exact field to ibm_ld.
3124 * stdlib/tst-strtod-round.c (struct exactness): New type.
3125 (struct test): Change bool ld_ok field to struct exactness exact.
3126 (TEST): Update all definitions for change to field.
3127 (tests): Regenerate array contents.
3128 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3129 field value. Check for IBM long double here.
3130 (do_test): Update calls to test_in_one_mode.
3132 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3135 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3136 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3138 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3141 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3142 generated by the compiler on loop optimizations.
3143 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3144 general definitions.
3146 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3148 * math/bug-nextafter.c: Include <math-tests.h>.
3149 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3151 * math/bug-nexttoward.c: Include <math-tests.h>.
3152 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3154 * math/test-misc.c: Include <math-tests.h>.
3155 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3158 2013-06-12 Andreas Jaeger <aj@suse.de>
3160 * po/ia.po: Update Interlingua translation from translation
3163 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3165 * include/fenv.h: Include stdbool.h.
3166 (struct rm_ctx): New structure.
3167 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3169 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3170 (SET_RESTORE_ROUNDF): Likewise.
3171 (SET_RESTORE_ROUNDL): Likewise.
3172 (SET_RESTORE_ROUND_NOEX): Likewise.
3173 (SET_RESTORE_ROUND_NOEXF): Likewise.
3174 (SET_RESTORE_ROUND_NOEXL): Likewise.
3175 (SET_RESTORE_ROUND_53BIT): Likewise.
3176 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3177 (libc_feresetround_noexf_ctx): Likewise.
3178 (libc_feresetround_noexl_ctx): Likewise.
3179 (libc_feholdsetround_53bit_ctx): Likewise.
3180 (libc_feresetround_53bit_ctx): Likewise.
3181 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3182 (libc_feholdexcept_setround_sse_ctx): New function.
3183 (libc_fesetenv_sse_ctx): Likewise.
3184 (libc_feupdateenv_sse_ctx): Likewise.
3185 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3186 (libc_feholdexcept_setround_387_ctx): Likewise.
3187 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3188 (libc_feholdsetround_387_prec_ctx): Likewise.
3189 (libc_feholdsetround_387_ctx): Likewise.
3190 (libc_feholdsetround_387_53bit_ctx): Likewise.
3191 (libc_feholdsetround_sse_ctx): Likewise.
3192 (libc_feresetround_sse_ctx): Likewise.
3193 (libc_feresetround_387_ctx): Likewise.
3194 (libc_feupdateenv_387_ctx): Likewise.
3195 (libc_feholdexcept_setroundf_ctx): Define macro.
3196 (libc_fesetenvf_ctx): Likewise.
3197 (libc_feupdateenvf_ctx): Likewise.
3198 (libc_feholdsetroundf_ctx): Likewise.
3199 (libc_feresetroundf_ctx): Likewise.
3200 (libc_feholdexcept_setround_ctx): Likewise.
3201 (libc_fesetenv_ctx): Likewise.
3202 (libc_feupdateenv_ctx): Likewise.
3203 (libc_feholdsetround_ctx): Likewise.
3204 (libc_feresetround_ctx): Likewise.
3205 (libc_feholdexcept_setroundl_ctx): Likewise.
3206 (libc_feupdateenvl_ctx): Likewise.
3207 (libc_feholdsetroundl_ctx): Likewise.
3208 (libc_feresetroundl_ctx): Likewise.
3209 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3210 (libc_feresetround_53bit_ctx): Likewise.
3212 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3214 * locale/iso-639.def: Convert to UTF-8.
3216 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3218 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3219 (EXCEPTION_TESTS_double): Likewise.
3220 (EXCEPTION_TESTS_long_double): Likewise.
3221 (EXCEPTION_TESTS): Likewise.
3222 * math/libm-test.inc (test_exceptions): Only test exceptions if
3223 EXCEPTION_TESTS (FLOAT).
3225 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3227 * benchtests/Makefile (string-bench): Add strcpy_chk and
3229 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3230 * benchtests/bench-stpcpy_chk.c: New file.
3231 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3232 * benchtests/bench-strcpy_chk.c: New file.
3233 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3235 (do_test): Likewise.
3237 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3239 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3240 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3241 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3242 with tabs where appropriate.
3243 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3245 [PPC_PLATFORM_PPC440]: Likewise.
3246 [PPC_PLATFORM_PPC464]: Likewise.
3247 [PPC_PLATFORM_PPC476]: Likewise.
3248 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3249 ppc464, and ppc476 platform strings merging from ports/
3252 2013-06-11 Andreas Schwab <schwab@suse.de>
3255 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3256 (from_ucs4_idx): Regenerate.
3257 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3258 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3259 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3260 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3261 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3262 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3263 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3264 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3265 from FROM_LOOP and TO_LOOP specific macros.
3266 (BODY): Handle combining characters.
3267 * iconvdata/BIG5HKSCS.irreversible: Update.
3268 * iconvdata/BIG5HKSCS.precomposed: New file.
3269 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3271 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3273 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3275 * include/sys/time.h: Fix indentation and add copyright header.
3277 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3278 (do_test): Likewise.
3279 * string/test-memchr.c (do_one_test): Likewise.
3280 (do_test): Likewise.
3281 * string/test-memcmp.c (do_one_test): Likewise.
3282 (do_test): Likewise.
3283 * string/test-memcpy.c (do_one_test): Likewise.
3284 (do_test): Likewise.
3285 * string/test-memmem.c (do_one_test): Likewise.
3286 (do_test): Likewise.
3287 (do_random_tests): Likewise.
3288 * string/test-memmove.c (do_one_test): Likewise.
3289 (do_test): Likewise.
3290 * string/test-memset.c (do_one_test): Likewise.
3291 (do_test): Likewise.
3292 * string/test-rawmemchr.c (do_one_test): Likewise.
3293 (do_test): Likewise.
3294 * string/test-strcasecmp.c (do_one_test): Likewise.
3295 (do_test): Likewise.
3296 * string/test-strcasestr.c (do_one_test): Likewise.
3297 (do_test): Likewise.
3298 * string/test-strcat.c (do_one_test): Likewise.
3299 (do_test): Likewise.
3300 * string/test-strchr.c (do_one_test): Likewise.
3301 (do_test): Likewise.
3302 * string/test-strcmp.c (do_one_test): Likewise.
3303 (do_test): Likewise.
3304 * string/test-strcpy.c (do_one_test): Likewise.
3305 (do_test): Likewise.
3306 * string/test-string.h: Likewise.
3307 (test_init): Likewise.
3308 * string/test-strlen.c (do_one_test): Likewise.
3309 (do_test): Likewise.
3310 * string/test-strncasecmp.c (do_one_test): Likewise.
3311 (do_test): Likewise.
3312 * string/test-strncat.c (do_one_test): Likewise.
3313 (do_test): Likewise.
3314 * string/test-strncmp.c (do_one_test): Likewise.
3315 (do_test_limit): Likewise.
3316 (do_test): Likewise.
3317 * string/test-strncpy.c (do_one_test): Likewise.
3318 (do_test): Likewise.
3319 * string/test-strnlen.c (do_one_test): Likewise.
3320 (do_test): Likewise.
3321 * string/test-strpbrk.c (do_one_test): Likewise.
3322 (do_test): Likewise.
3323 * string/test-strrchr.c (do_one_test): Likewise.
3324 (do_test): Likewise.
3325 * string/test-strspn.c (do_one_test): Likewise.
3326 (do_test): Likewise.
3327 * string/test-strstr.c (do_one_test): Likewise.
3328 (do_test): Likewise.
3330 * benchtests/Makefile (string-bench): Add string benchmarks.
3331 * benchtests/bench-bcopy-ifunc.c: New file.
3332 * benchtests/bench-bcopy.c: New file.
3333 * benchtests/bench-bzero-ifunc.c: New file.
3334 * benchtests/bench-bzero.c: New file.
3335 * benchtests/bench-memccpy-ifunc.c: New file.
3336 * benchtests/bench-memccpy.c: New file.
3337 * benchtests/bench-memchr-ifunc.c: New file.
3338 * benchtests/bench-memchr.c: New file.
3339 * benchtests/bench-memcmp-ifunc.c: New file.
3340 * benchtests/bench-memcmp.c: New file.
3341 * benchtests/bench-memmem-ifunc.c: New file.
3342 * benchtests/bench-memmem.c: New file.
3343 * benchtests/bench-memmove-ifunc.c: New file.
3344 * benchtests/bench-memmove.c: New file.
3345 * benchtests/bench-mempcpy-ifunc.c: New file.
3346 * benchtests/bench-mempcpy.c: New file.
3347 * benchtests/bench-memset-ifunc.c: New file.
3348 * benchtests/bench-memset.c: New file.
3349 * benchtests/bench-rawmemchr-ifunc.c: New file.
3350 * benchtests/bench-rawmemchr.c: New file.
3351 * benchtests/bench-stpcpy-ifunc.c: New file.
3352 * benchtests/bench-stpcpy.c: New file.
3353 * benchtests/bench-stpncpy-ifunc.c: New file.
3354 * benchtests/bench-stpncpy.c: New file.
3355 * benchtests/bench-strcasecmp-ifunc.c: New file.
3356 * benchtests/bench-strcasecmp.c: New file.
3357 * benchtests/bench-strcasestr-ifunc.c: New file.
3358 * benchtests/bench-strcasestr.c: New file.
3359 * benchtests/bench-strcat-ifunc.c: New file.
3360 * benchtests/bench-strcat.c: New file.
3361 * benchtests/bench-strchr-ifunc.c: New file.
3362 * benchtests/bench-strchr.c: New file.
3363 * benchtests/bench-strchrnul-ifunc.c: New file.
3364 * benchtests/bench-strchrnul.c: New file.
3365 * benchtests/bench-strcmp-ifunc.c: New file.
3366 * benchtests/bench-strcmp.c: New file.
3367 * benchtests/bench-strcpy-ifunc.c: New file.
3368 * benchtests/bench-strcpy.c: New file.
3369 * benchtests/bench-strcspn-ifunc.c: New file.
3370 * benchtests/bench-strcspn.c: New file.
3371 * benchtests/bench-strlen-ifunc.c: New file.
3372 * benchtests/bench-strlen.c: New file.
3373 * benchtests/bench-strncasecmp-ifunc.c: New file.
3374 * benchtests/bench-strncasecmp.c: New file.
3375 * benchtests/bench-strncat-ifunc.c: New file.
3376 * benchtests/bench-strncat.c: New file.
3377 * benchtests/bench-strncmp-ifunc.c: New file.
3378 * benchtests/bench-strncmp.c: New file.
3379 * benchtests/bench-strncpy-ifunc.c: New file.
3380 * benchtests/bench-strncpy.c: New file.
3381 * benchtests/bench-strnlen-ifunc.c: New file.
3382 * benchtests/bench-strnlen.c: New file.
3383 * benchtests/bench-strpbrk-ifunc.c: New file.
3384 * benchtests/bench-strpbrk.c: New file.
3385 * benchtests/bench-strrchr-ifunc.c: New file.
3386 * benchtests/bench-strrchr.c: New file.
3387 * benchtests/bench-strspn-ifunc.c: New file.
3388 * benchtests/bench-strspn.c: New file.
3389 * benchtests/bench-strstr-ifunc.c: New file.
3390 * benchtests/bench-strstr.c: New file.
3392 * benchtests/Makefile: Disable parallel execution of targets.
3393 (string-bench): Add memcpy.
3394 (benchset): New variable to store a list of benchmark sets.
3395 (bench-func): Renamed from bench.
3396 (bench-set): New target.
3397 (bench): Depend on bench-func and bench-set.
3398 * benchtests/README: Add section on benchmark sets.
3399 * benchtests/bench-memcpy-ifunc.c: New file.
3400 * benchtests/bench-memcpy.c: New file.
3401 * benchtests/bench-string.h: New file.
3403 2013-06-11 Andreas Schwab <schwab@suse.de>
3406 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3407 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3408 values in the triple.
3409 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3410 terminator in the group key.
3412 2013-06-11 Andreas Jaeger <aj@suse.de>
3414 * po/zh_TW.po: Update Chinese (traditional) translation from
3415 translation project.
3417 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3419 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3420 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3421 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3422 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3423 (clock_getcpuclockid): Likewise.
3424 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3425 Add weak_alias and libc_hidden_def.
3426 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3427 * rt/clock_gettime.c (clock_gettime): Rename to
3428 __clock_gettime. Add weak_alias and libc_hidden_def.
3429 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3430 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3431 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3432 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3433 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3435 * rt/clock_settime.c (clock_settime): Rename to
3436 __clock_settime. Add weak_alias and libc_hidden_def.
3437 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3439 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3441 * mach/err_boot.sub: Remove trailing whitespace.
3442 * mach/err_ipc.sub: Likewise.
3443 * mach/err_mach.sub: Likewise.
3445 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3446 (ROUNDING_TESTS_double): Likewise.
3447 (ROUNDING_TESTS_long_double): Likewise.
3448 (ROUNDING_TESTS): Likewise.
3449 * math/libm-test.inc: Include <math-tests.h>.
3450 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3451 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3452 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3453 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3455 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3457 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3460 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3462 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3463 otherwise empty TRANS lines.
3464 * sysdeps/gnu/errlist.c: Regenerated.
3466 * catgets/gencat.c (error_print): Use (void) in function
3468 * crypt/crypt_util.c (__init_des): Likewise.
3469 * crypt/speeds.c (Stop): Likewise.
3471 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3472 * inet/ruserpass.c (token): Likewise.
3473 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3474 * intl/localealias.c (extend_alias_table): Likewise.
3475 * intl/plural-exp.c (init_germanic_plural): Likewise.
3476 * libio/fcloseall.c (__fcloseall): Likewise.
3477 * libio/genops.c (_IO_flush_all): Likewise.
3478 (_IO_flush_all_linebuffered): Likewise.
3479 (_IO_cleanup): Likewise.
3480 (_IO_iter_begin): Likewise.
3481 (_IO_iter_end): Likewise.
3482 (_IO_list_lock): Likewise.
3483 (_IO_list_unlock): Likewise.
3484 (_IO_list_resetlock): Likewise.
3485 * libio/getchar.c (getchar): Likewise.
3486 * libio/getchar_u.c (getchar_unlocked): Likewise.
3487 * libio/getwchar.c (getwchar): Likewise.
3488 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3489 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3490 * login/getpt.c (__getpt): Likewise.
3491 * login/tst-utmp.c (main): Likewise.
3492 * malloc/hooks.c (__malloc_check_init): Likewise.
3493 * malloc/malloc.c (__malloc_stats): Likewise.
3494 * malloc/mtrace.c (tr_break): Likewise.
3496 (muntrace): Likewise.
3497 * misc/fstab.c (endfsent): Likewise.
3498 * misc/getclktck.c (__getclktck): Likewise.
3499 * misc/getdtsz.c (__getdtablesize): Likewise.
3500 * misc/gethostid.c (gethostid): Likewise.
3501 * misc/getpagesize.c (__getpagesize): Likewise.
3502 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3503 (__get_nprocs): Likewise.
3504 (__get_phys_pages): Likewise.
3505 (__get_avphys_pages): Likewise.
3506 * misc/getttyent.c (getttyent): Likewise.
3507 (setttyent): Likewise.
3508 (endttyent): Likewise.
3509 * misc/getusershell.c (getusershell): Likewise.
3510 (endusershell): Likewise.
3511 (setusershell): Likewise.
3512 (initshells): Likewise.
3513 * misc/hsearch.c (__hdestroy): Likewise.
3514 * misc/sync.c (sync): Likewise.
3515 * misc/syslog.c (closelog_internal): Likewise.
3516 (closelog): Likewise.
3517 * misc/ttyslot.c (ttyslot): Likewise.
3518 * misc/vhangup.c (vhangup): Likewise.
3519 * posix/fork.c (__fork): Likewise.
3520 * posix/getegid.c (__getegid): Likewise.
3521 * posix/geteuid.c (__geteuid): Likewise.
3522 * posix/getgid.c (__getgid): Likewise.
3523 * posix/getpid.c (__getpid): Likewise.
3524 * posix/getppid.c (__getppid): Likewise.
3525 * posix/getuid.c (__getuid): Likewise.
3526 * posix/pause.c (pause): Likewise.
3527 * posix/setpgrp.c (setpgrp): Likewise.
3528 * posix/setsid.c (__setsid): Likewise.
3529 * posix/test-vfork.c (noop): Likewise.
3530 * resolv/gethnamaddr.c (_endhtent): Likewise.
3531 (_gethtent): Likewise.
3532 (ht_endhostent): Likewise.
3533 (gethostent): Likewise.
3534 (dns_service): Likewise.
3535 * stdlib/drand48.c (drand48): Likewise.
3536 * stdlib/lrand48.c (lrand48): Likewise.
3537 * stdlib/mrand48.c (mrand48): Likewise.
3538 * stdlib/rand.c (rand): Likewise.
3539 * stdlib/random.c (__random): Likewise.
3540 * stdlib/setenv.c (clearenv): Likewise.
3541 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3542 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3543 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3544 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3545 (__get_nprocs): Likewise.
3546 (__get_phys_pages): Likewise.
3547 (__get_avphys_pages): Likewise.
3548 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3549 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3550 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3551 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3552 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3553 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3554 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3555 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3556 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3557 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3558 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3559 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3560 * sysdeps/posix/clock.c (clock): Likewise.
3561 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3562 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3563 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3564 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3565 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3567 (__get_nprocs_conf): Likewise.
3568 (__get_phys_pages): Likewise.
3569 (__get_avphys_pages): Likewise.
3570 * time/clock.c (clock): Likewise.
3571 * time/tzset.c (__tzname_max): Likewise.
3573 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3575 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3576 (__bswap_32): Do not use "register".
3577 * crypt/crypt.c (_ufc_doit_r): Likewise.
3578 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3579 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3580 * gmon/gmon.c (__monstartup): Likewise.
3581 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3582 * hurd/hurdmalloc.c (more_memory): Likewise.
3585 (realloc): Likewise.
3586 (malloc_fork_prepare): Likewise.
3587 (malloc_fork_parent): Likewise.
3588 (malloc_fork_child): Likewise.
3589 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3590 (_svcauth_des): Likewise.
3591 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3592 * inet/inet_net.c (inet_network): Likewise.
3593 * inet/inet_netof.c (inet_netof): Likewise.
3594 * inet/rcmd.c (__validuser2_sa): Likewise.
3595 * io/fts.c (fts_open): Likewise.
3596 (fts_load): Likewise.
3597 (fts_close): Likewise.
3598 (fts_read): Likewise.
3599 (fts_children): Likewise.
3600 (fts_build): Likewise.
3601 (fts_stat): Likewise.
3602 (fts_sort): Likewise.
3603 (fts_alloc): Likewise.
3604 (fts_lfree): Likewise.
3605 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3606 (_IO_file_xsgetn): Likewise.
3607 (_IO_file_xsgetn_mmap): Likewise.
3608 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3609 (_IO_cookie_write): Likewise.
3610 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3611 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3612 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3613 * malloc/obstack.c (_obstack_begin): Likewise.
3614 (_obstack_begin_1): Likewise.
3615 (_obstack_newchunk): Likewise.
3616 (_obstack_allocated_p): Likewise.
3617 (obstack_free): Likewise.
3618 (_obstack_memory_used): Likewise.
3619 * misc/getttyent.c (getttynam): Likewise.
3620 (getttyent): Likewise.
3623 * misc/getusershell.c (initshells): Likewise.
3624 * misc/syslog.c (__vsyslog_chk): Likewise.
3625 * misc/ttyslot.c (ttyslot): Likewise.
3626 * nis/nis_hash.c (__nis_hash): Likewise.
3627 * posix/fnmatch_loop.c (FCT): Likewise.
3628 * posix/getconf.c (print_all): Likewise.
3630 * posix/getopt.c (exchange): Likewise.
3631 * posix/glob.c (globfree): Likewise.
3632 (prefix_array): Likewise.
3633 (__glob_pattern_type): Likewise.
3634 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3635 (NS_GET32): Likewise.
3636 (NS_PUT16): Likewise.
3637 (NS_PUT32): Likewise.
3638 * resolv/gethnamaddr.c (getanswer): Likewise.
3639 (gethostbyname2): Likewise.
3640 (gethostbyaddr): Likewise.
3641 (_gethtent): Likewise.
3642 (_gethtbyname2): Likewise.
3643 (_gethtbyaddr): Likewise.
3644 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3645 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3646 * resolv/res_init.c (__res_vinit): Likewise.
3647 (net_mask): Likewise.
3648 * resolv/res_mkquery.c (outchar): Likewise.
3650 * stdio-common/printf_fp.c (outchar): Likewise.
3652 * stdio-common/printf_fphex.c (outchar): Likewise.
3654 * stdio-common/printf_size.c (outchar): Likewise.
3656 * stdio-common/test_rdwr.c (main): Likewise.
3657 * stdio-common/tfformat.c (matches): Likewise.
3658 * stdio-common/vfprintf.c (outchar): Likewise.
3659 (printf_unknown): Likewise.
3660 (buffered_vfprintf): Likewise.
3661 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3662 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3663 (ReadFile): Likewise.
3664 * stdlib/qsort.c (SWAP): Likewise.
3665 (_quicksort): Likewise.
3666 * stdlib/setenv.c (__add_to_environ): Likewise.
3667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3668 * stdlib/strtol_l.c (__strtol_l): Likewise.
3669 * stdlib/tst-strtod.c (main): Likewise.
3670 * stdlib/tst-strtol.c (main): Likewise.
3671 * stdlib/tst-strtoll.c (main): Likewise.
3672 * string/bits/string2.h (__strcmp_cc): Likewise.
3673 (__strcmp_cg): Likewise.
3674 (__strcspn_c1): Likewise.
3675 (__strcspn_c2): Likewise.
3676 (__strcspn_c3): Likewise.
3677 (__strspn_c1): Likewise.
3678 (__strspn_c2): Likewise.
3679 (__strspn_c3): Likewise.
3680 (__strsep_1c): Likewise.
3681 (__strsep_2c): Likewise.
3682 (__strsep_3c): Likewise.
3683 * string/memccpy.c (__memccpy): Likewise.
3684 * string/stpcpy.c (__stpcpy): Likewise.
3685 * string/strcmp.c (strcmp): Likewise.
3686 * string/strrchr.c (strrchr): Likewise.
3687 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3689 * sysdeps/mach/hurd/getcwd.c
3690 (_hurd_canonicalize_directory_name_internal): Likewise.
3691 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3692 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3693 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3694 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3695 Likewise, in both definitions.
3696 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3698 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3699 64] (__bswap_64): Likewise.
3700 * time/test_time.c (main): Likewise.
3701 * time/tzfile.c (__tzfile_read): Likewise.
3702 (__tzfile_compute): Likewise.
3703 * time/tzset.c (__tzset_parse_tz): Likewise.
3704 (tzset_internal): Likewise.
3705 (compute_change): Likewise.
3706 * wcsmbs/wcscat.c (__wcscat): Likewise.
3707 * wcsmbs/wcschr.c (wcschr): Likewise.
3708 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3709 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3710 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3711 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3712 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3713 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3714 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3715 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3716 * wcsmbs/wmemset.c (wmemset): Likewise.
3718 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3720 * scripts/config.guess: Update to version 2013-05-16.
3721 * scripts/config.sub: Update to version 2013-04-24.
3722 * scripts/install-sh: Update to version 2011-11-20.07.
3723 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3724 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3726 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3728 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3729 * elf/sln.c: Likewise.
3730 * hurd/hurd/ioctl.h: Likewise.
3731 * hurd/hurdmalloc.c: Likewise.
3732 * hurd/xattr.c: Likewise.
3733 * include/shlib-compat.h: Likewise.
3734 * inet/ruserpass.c: Likewise.
3735 * libio/iofgets_u.c: Likewise.
3736 * libio/iofgetws_u.c: Likewise.
3737 * locale/programs/ld-identification.c: Likewise.
3738 * locale/programs/ld-time.c: Likewise.
3739 * mach/msg-destroy.c: Likewise.
3740 * nss/nss_files/files-netgrp.c: Likewise.
3741 * resolv/res_data.c: Likewise.
3742 * soft-fp/op-1.h: Likewise.
3743 * soft-fp/op-2.h: Likewise.
3744 * soft-fp/op-4.h: Likewise.
3745 * soft-fp/op-common.h: Likewise.
3746 * stdio-common/printf_fphex.c: Likewise.
3747 * stdlib/strtod_l.c: Likewise.
3748 * sunrpc/rpc/clnt.h: Likewise.
3749 * sysdeps/generic/framestate.c: Likewise.
3750 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3751 * sysdeps/i386/bsd-setjmp.S: Likewise.
3752 * sysdeps/i386/__longjmp.S: Likewise.
3753 * sysdeps/i386/setjmp.S: Likewise.
3754 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3755 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3756 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3764 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3772 * sysdeps/ieee754/support.c: Likewise.
3773 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3774 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3775 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3776 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3777 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3778 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3779 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3780 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3781 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3782 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3783 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3784 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3785 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3786 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3787 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3788 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3789 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3792 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3794 * posix/transbug.c: Remove executable mode.
3796 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3798 * crypt/speeds.c: Remove trailing whitespace.
3799 * dlfcn/default.c: Likewise.
3800 * elf/ifuncdep2.c: Likewise.
3801 * elf/ifuncmain1.c: Likewise.
3802 * elf/ifuncmain1vis.c: Likewise.
3803 * elf/testobj.h: Likewise.
3804 * elf/tst-stackguard1.c: Likewise.
3805 * gmon/sys/gmon.h: Likewise.
3806 * hurd/hurdmsg.c: Likewise.
3807 * hurd/new-fd.c: Likewise.
3808 * hurd/ports-get.c: Likewise.
3809 * iconvdata/ibm1008_420.c: Likewise.
3810 * inet/tst-getni1.c: Likewise.
3811 * inet/tst-getni2.c: Likewise.
3812 * libio/ioungetc.c: Likewise.
3813 * libio/wfiledoalloc.c: Likewise.
3814 * manual/libm-err-tab.pl: Likewise.
3815 * math/w_dremf.c: Likewise.
3816 * misc/ftruncate.c: Likewise.
3817 * posix/bug-glob2.c: Likewise.
3818 * posix/tst-pcre.c: Likewise.
3819 * posix/wait4.c: Likewise.
3820 * resolv/README: Likewise.
3821 * resolv/res_debug.h: Likewise.
3822 * resolv/tst-inet_ntop.c: Likewise.
3823 * setjmp/bug269-setjmp.c: Likewise.
3824 * soft-fp/extended.h: Likewise.
3825 * soft-fp/op-1.h: Likewise.
3826 * soft-fp/op-2.h: Likewise.
3827 * soft-fp/op-4.h: Likewise.
3828 * soft-fp/op-8.h: Likewise.
3829 * soft-fp/testit.c: Likewise.
3830 * stdio-common/bug16.c: Likewise.
3831 * stdlib/random.c: Likewise.
3832 * sunrpc/rpcsvc/rquota.x: Likewise.
3833 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3834 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3835 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3836 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3837 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3838 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3839 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3840 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3841 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3842 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3843 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3849 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3851 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3852 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3862 * sysdeps/ieee754/s_lib_version.c: Likewise.
3863 * sysdeps/mach/hurd/check_fds.c: Likewise.
3864 * sysdeps/mach/hurd/getsockname.c: Likewise.
3865 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3866 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3867 * sysdeps/powerpc/bits/link.h: Likewise.
3868 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3869 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3870 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3871 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3872 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3873 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3874 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3875 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3876 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3877 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3878 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3879 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3880 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3881 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3882 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3883 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3884 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3885 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3887 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3888 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3889 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3890 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3892 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3893 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3895 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3896 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3897 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3898 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3900 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3901 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3902 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3903 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3904 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3905 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3906 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3907 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3908 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3909 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3910 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3911 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3912 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3913 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3914 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3916 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3917 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3920 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3921 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3922 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3923 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3926 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3927 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3928 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3929 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3932 * sysdeps/powerpc/sysdep.h: Likewise.
3933 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3934 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3935 * sysdeps/sh/dl-trampoline.S: Likewise.
3936 * sysdeps/sh/memset.S: Likewise.
3937 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3938 * sysdeps/sh/strlen.S: Likewise.
3939 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3940 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3941 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3942 * sysdeps/sparc/sparc32/rem.S: Likewise.
3943 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3944 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3945 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3946 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3947 * sysdeps/sparc/sparc32/urem.S: Likewise.
3948 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3949 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3950 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3951 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3952 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3953 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3954 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3955 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3956 * sysdeps/unix/bsd/times.c: Likewise.
3957 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3958 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3962 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3963 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3964 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3965 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3966 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3967 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3968 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3969 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3970 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3971 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3972 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3973 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3974 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3975 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3976 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3977 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3978 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3979 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3980 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3981 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3982 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3983 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3984 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3985 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3986 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3987 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3988 * sysdeps/x86_64/strcspn.S: Likewise.
3990 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3992 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3993 generated file. Regenerate properly from gen-translit.pl.
3994 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3995 locale/C-translit.h.
3997 2013-06-05 Andreas Schwab <schwab@suse.de>
4000 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4001 week as 6 instead of -1.
4002 * time/tst-strptime.c (day_tests): Add test case.
4004 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4006 * sysdeps/generic/math_private.h
4007 (libc_feholdexcept_setround_53bit): Replace with
4008 libc_feholdsetround_53bit.
4009 (libc_feupdateenv_53bit): Replace with
4010 libc_feresetround_53bit.
4011 (SET_RESTORE_ROUND_53BIT): Adjust.
4013 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4015 * string/test-strchrnul.c: Add copyright header.
4017 * posix/tst-getaddrinfo4.c: Increase test timeout.
4019 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4022 * math/libm-test.inc (MAX_EXP): Remove
4024 (ulp): Use MIN_EXP - MANT_DIG.
4025 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4027 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4029 * po/be.po: Revert last change.
4030 * po/zh_CN.po: Likewise.
4031 * po/header.pot: Likewise.
4033 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4035 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4036 link-libc-deps to empty as target-specific variable.
4037 * Makerules (link-libc-args): New variable.
4038 (libc-for-link): Likewise.
4039 (link-libc-deps): Likewise.
4040 (lib%.so): Depend on $(link-libc-deps). Link with
4042 (build-module): Link with $(link-libc-args).
4043 (build-module-asneeded): Likewise.
4044 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4046 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4047 target-specific variable.
4048 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4049 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4050 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4052 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4054 ($(objpfx)libpcprofile.so): Likewise.
4055 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4057 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4058 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4059 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4061 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4062 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4063 * login/Makefile ($(objpfx)libutil.so): Likewise.
4064 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4065 * math/Makefile ($(objpfx)libm.so): Likewise.
4066 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4067 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4068 variable instead of depending directly on libc.
4069 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4070 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4072 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4074 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4075 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4076 ($(objpfx)libanl.so): Likewise.
4077 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4079 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4081 * sysdeps/i386/fpu/Makefile: Remove file.
4082 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4083 ($(objpfx)libm.so): Remove dependency on ld.so.
4085 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4088 * nis/yp_xdr.c (XDRMAXNAME): Define.
4089 (XDRMAXRECORD): Define.
4090 (xdr_domainname): Use XDRMAXNAME.
4091 (xdr_mapname): Likewise.
4092 (xdr_peername): Likewise.
4093 (xdr_keydat): Use XDRMAXRECORD.
4094 (xdr_valdat): Likewise.
4096 2013-05-30 Jeff Law <law@redhat.com>
4099 * manual/errno.texi (ESTALE): Update to account for more than
4100 just NFS file systems.
4101 * sysdeps/gnu/errlist.c: Regenerated.
4103 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4106 * elf/Makefile (tests): Add tst-null-argv.
4107 (modules-names): Add tst-null-argv-lib.
4108 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4109 (tst-null-argv-ENV): Set environment for tst-null-argv.
4110 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4111 (RTLD_PROGNAME): New macro.
4112 * elf/tst-null-argv.c: New test case.
4113 * elf/tst-null-argv-lib.c: Library for test case.
4114 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4115 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4116 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4117 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4118 * elf/dl-init.c (call_init): Likewise.
4119 (_dl_init): Likewise.
4120 * elf/dl-load.c (print_search_path): Likewise.
4121 (_dl_map_object): Likewise.
4122 * elf/dl-lookup.c (do_lookup_x): Likewise.
4123 (add_dependency): Likewise.
4124 (_dl_lookup_symbol_x): Likewise.
4125 (_dl_debug_bindings): Likewise.
4126 * elf/dl-open.c (_dl_show_scope): Likewise.
4127 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4128 * elf/dl-version.c (match_symbol): Likewise.
4129 (_dl_check_map_versions): Likewise.
4130 * elf/rtld.c (dl_main): Likewise.
4131 (print_unresolved): Use RTLD_PROGNAME.
4132 (print_missing_version): Likewise.
4133 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4134 (elf_machine_rela): Likewise.
4135 * sysdeps/powerpc/powerpc32/dl-machine.c
4136 (__process_machine_rela): Likewise.
4137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4139 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4141 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4143 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4144 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4148 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4150 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4152 * po/be.po: Add descriptive title.
4153 * po/zh_CN.po: Likewise.
4154 * po/header.pot: Likewise.
4156 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4158 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4160 (enlarge_archive): Likewise.
4162 2013-05-28 Ben North <ben@redfrontdoor.org>
4164 * manual/arith.texi (frexp): It is the magnitude of the return
4165 value which lies in [0.5, 1), not the return value itself.
4167 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4171 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4173 * stdio-common/bug26.c (main): Correct fscanf template.
4175 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4176 declare _dl_skip_args.
4178 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4181 * manual/platform.texi: Add missing @end deftypefun.
4183 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4186 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4187 bit of mantissa of 2^16382.
4188 * math/libm-test.inc (hypot_test_data): Add more tests.
4190 * math/libm-test.inc: Add drem and pow10 to list of tested
4192 (pow10_test): New function.
4193 (drem_test): Likewise.
4194 (drem_test_tonearest): Likewise.
4195 (drem_test_towardzero): Likewise.
4196 (drem_test_downward): Likewise.
4197 (drem_test_upward): Likewise.
4198 (main): Call the new functions.
4200 * math/libm-test.inc (finite_test_data): Remove.
4201 (finite_test): Run tests from isfinite_test_data.
4202 (gamma_test_data): Remove.
4203 (gamma_test): Run tests from lgamma_test_data.
4204 * sysdeps/i386/fpu/libm-test-ulps: Update.
4205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4207 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4209 * manual/platform.texi: Add PowerPC PPR function set documentation.
4210 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4213 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4215 * math/libm-test.inc (MAX_EXP): Define.
4217 (ulp): New function.
4218 (check_float_internal): Use ULPDIFF.
4219 (cpow_test): Disable failing test.
4220 (check_ulp): Test ulp() implemetnation.
4221 (main): Call check_ulp before starting tests.
4223 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4225 * math/gen-libm-test.pl (generate_testfile): Do not handle
4226 START_DATA and END_DATA.
4227 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4229 (acos_tonearest_test_data): Likewise.
4230 (acos_towardzero_test_data): Likewise.
4231 (acos_downward_test_data): Likewise.
4232 (acos_upward_test_data): Likewise.
4233 (acosh_test_data): Likewise.
4234 (asin_test_data): Likewise.
4235 (asin_tonearest_test_data): Likewise.
4236 (asin_towardzero_test_data): Likewise.
4237 (asin_downward_test_data): Likewise.
4238 (asin_upward_test_data): Likewise.
4239 (asinh_test_data): Likewise.
4240 (atan_test_data): Likewise.
4241 (atanh_test_data): Likewise.
4242 (atan2_test_data): Likewise.
4243 (cabs_test_data): Likewise.
4244 (cacos_test_data): Likewise.
4245 (cacosh_test_data): Likewise.
4246 (carg_test_data): Likewise.
4247 (casin_test_data): Likewise.
4248 (casinh_test_data): Likewise.
4249 (catan_test_data): Likewise.
4250 (catanh_test_data): Likewise.
4251 (cbrt_test_data): Likewise.
4252 (ccos_test_data): Likewise.
4253 (ccosh_test_data): Likewise.
4254 (ceil_test_data): Likewise.
4255 (cexp_test_data): Likewise.
4256 (cimag_test_data): Likewise.
4257 (clog_test_data): Likewise.
4258 (clog10_test_data): Likewise.
4259 (conj_test_data): Likewise.
4260 (copysign_test_data): Likewise.
4261 (cos_test_data): Likewise.
4262 (cos_tonearest_test_data): Likewise.
4263 (cos_towardzero_test_data): Likewise.
4264 (cos_downward_test_data): Likewise.
4265 (cos_upward_test_data): Likewise.
4266 (cosh_test_data): Likewise.
4267 (cosh_tonearest_test_data): Likewise.
4268 (cosh_towardzero_test_data): Likewise.
4269 (cosh_downward_test_data): Likewise.
4270 (cosh_upward_test_data): Likewise.
4271 (cpow_test_data): Likewise.
4272 (cproj_test_data): Likewise.
4273 (creal_test_data): Likewise.
4274 (csin_test_data): Likewise.
4275 (csinh_test_data): Likewise.
4276 (csqrt_test_data): Likewise.
4277 (ctan_test_data): Likewise.
4278 (ctan_tonearest_test_data): Likewise.
4279 (ctan_towardzero_test_data): Likewise.
4280 (ctan_downward_test_data): Likewise.
4281 (ctan_upward_test_data): Likewise.
4282 (ctanh_test_data): Likewise.
4283 (ctanh_tonearest_test_data): Likewise.
4284 (ctanh_towardzero_test_data): Likewise.
4285 (ctanh_downward_test_data): Likewise.
4286 (ctanh_upward_test_data): Likewise.
4287 (erf_test_data): Likewise.
4288 (erfc_test_data): Likewise.
4289 (exp_test_data): Likewise.
4290 (exp_tonearest_test_data): Likewise.
4291 (exp_towardzero_test_data): Likewise.
4292 (exp_downward_test_data): Likewise.
4293 (exp_upward_test_data): Likewise.
4294 (exp10_test_data): Likewise.
4295 (exp2_test_data): Likewise.
4296 (expm1_test_data): Likewise.
4297 (fabs_test_data): Likewise.
4298 (fdim_test_data): Likewise.
4299 (finite_test_data): Likewise.
4300 (floor_test_data): Likewise.
4301 (fma_test_data): Likewise.
4302 (fma_towardzero_test_data): Likewise.
4303 (fma_downward_test_data): Likewise.
4304 (fma_upward_test_data): Likewise.
4305 (fmax_test_data): Likewise.
4306 (fmin_test_data): Likewise.
4307 (fmod_test_data): Likewise.
4308 (fpclassify_test_data): Likewise.
4309 (frexp_test_data): Likewise.
4310 (gamma_test_data): Likewise.
4311 (hypot_test_data): Likewise.
4312 (ilogb_test_data): Likewise.
4313 (isfinite_test_data): Likewise.
4314 (isgreater_test_data): Likewise.
4315 (isgreaterequal_test_data): Likewise.
4316 (isinf_test_data): Likewise.
4317 (isless_test_data): Likewise.
4318 (islessequal_test_data): Likewise.
4319 (islessgreater_test_data): Likewise.
4320 (isnan_test_data): Likewise.
4321 (isnormal_test_data): Likewise.
4322 (issignaling_test_data): Likewise.
4323 (isunordered_test_data): Likewise.
4324 (j0_test_data): Likewise.
4325 (j1_test_data): Likewise.
4326 (jn_test_data): Likewise.
4327 (ldexp_test_data): Likewise.
4328 (lgamma_test_data): Likewise.
4329 (lrint_test_data): Likewise.
4330 (lrint_tonearest_test_data): Likewise.
4331 (lrint_towardzero_test_data): Likewise.
4332 (lrint_downward_test_data): Likewise.
4333 (lrint_upward_test_data): Likewise.
4334 (llrint_test_data): Likewise.
4335 (llrint_tonearest_test_data): Likewise.
4336 (llrint_towardzero_test_data): Likewise.
4337 (llrint_downward_test_data): Likewise.
4338 (llrint_upward_test_data): Likewise.
4339 (log_test_data): Likewise.
4340 (log10_test_data): Likewise.
4341 (log1p_test_data): Likewise.
4342 (log2_test_data): Likewise.
4343 (logb_test_data): Likewise.
4344 (logb_downward_test_data): Likewise.
4345 (lround_test_data): Likewise.
4346 (llround_test_data): Likewise.
4347 (modf_test_data): Likewise.
4348 (nearbyint_test_data): Likewise.
4349 (nextafter_test_data): Likewise.
4350 (nexttoward_test_data): Likewise.
4351 (pow_test_data): Likewise.
4352 (pow_tonearest_test_data): Likewise.
4353 (pow_towardzero_test_data): Likewise.
4354 (pow_downward_test_data): Likewise.
4355 (pow_upward_test_data): Likewise.
4356 (remainder_test_data): Likewise.
4357 (remainder_tonearest_test_data): Likewise.
4358 (remainder_towardzero_test_data): Likewise.
4359 (remainder_downward_test_data): Likewise.
4360 (remainder_upward_test_data): Likewise.
4361 (remquo_test_data): Likewise.
4362 (rint_test_data): Likewise.
4363 (rint_tonearest_test_data): Likewise.
4364 (rint_towardzero_test_data): Likewise.
4365 (rint_downward_test_data): Likewise.
4366 (rint_upward_test_data): Likewise.
4367 (round_test_data): Likewise.
4368 (scalb_test_data): Likewise.
4369 (scalbn_test_data): Likewise.
4370 (scalbln_test_data): Likewise.
4371 (signbit_test_data): Likewise.
4372 (sin_test_data): Likewise.
4373 (sin_tonearest_test_data): Likewise.
4374 (sin_towardzero_test_data): Likewise.
4375 (sin_downward_test_data): Likewise.
4376 (sin_upward_test_data): Likewise.
4377 (sincos_test_data): Likewise.
4378 (sinh_test_data): Likewise.
4379 (sinh_tonearest_test_data): Likewise.
4380 (sinh_towardzero_test_data): Likewise.
4381 (sinh_downward_test_data): Likewise.
4382 (sinh_upward_test_data): Likewise.
4383 (sqrt_test_data): Likewise.
4384 (tan_test_data): Likewise.
4385 (tan_tonearest_test_data): Likewise.
4386 (tan_towardzero_test_data): Likewise.
4387 (tan_downward_test_data): Likewise.
4388 (tan_upward_test_data): Likewise.
4389 (tanh_test_data): Likewise.
4390 (tgamma_test_data): Likewise.
4391 (trunc_test_data): Likewise.
4392 (y0_test_data): Likewise.
4393 (y1_test_data): Likewise.
4394 (yn_test_data): Likewise.
4395 (significand_test_data): Likewise.
4397 * math/gen-libm-test.pl (@functions): Remove variable.
4398 (generate_testfile): Don't handle START and END lines.
4399 * math/libm-test.inc (START): New macro.
4401 (END_COMPLEX): Likewise.
4402 (acos_test): Use END macro without arguments.
4403 (acos_test_tonearest): Likewise.
4404 (acos_test_towardzero): Likewise.
4405 (acos_test_downward): Likewise.
4406 (acos_test_upward): Likewise.
4407 (acosh_test): Likewise.
4408 (asin_test): Likewise.
4409 (asin_test_tonearest): Likewise.
4410 (asin_test_towardzero): Likewise.
4411 (asin_test_downward): Likewise.
4412 (asin_test_upward): Likewise.
4413 (asinh_test): Likewise.
4414 (atan_test): Likewise.
4415 (atanh_test): Likewise.
4416 (atan2_test): Likewise.
4417 (cabs_test): Likewise.
4418 (cacos_test): Use END_COMPLEX macro without arguments.
4419 (cacosh_test): Likewise.
4420 (carg_test): Use END macro without arguments.
4421 (casin_test): Use END_COMPLEX macro without arguments.
4422 (casinh_test): Likewise.
4423 (catan_test): Likewise.
4424 (catanh_test): Likewise.
4425 (cbrt_test): Use END macro without arguments.
4426 (ccos_test): Use END_COMPLEX macro without arguments.
4427 (ccosh_test): Likewise.
4428 (ceil_test): Use END macro without arguments.
4429 (cexp_test): Use END_COMPLEX macro without arguments.
4430 (cimag_test): Use END macro without arguments.
4431 (clog_test): Use END_COMPLEX macro without arguments.
4432 (clog10_test): Likewise.
4433 (conj_test): Likewise.
4434 (copysign_test): Use END macro without arguments.
4435 (cos_test): Likewise.
4436 (cos_test_tonearest): Likewise.
4437 (cos_test_towardzero): Likewise.
4438 (cos_test_downward): Likewise.
4439 (cos_test_upward): Likewise.
4440 (cosh_test): Likewise.
4441 (cosh_test_tonearest): Likewise.
4442 (cosh_test_towardzero): Likewise.
4443 (cosh_test_downward): Likewise.
4444 (cosh_test_upward): Likewise.
4445 (cpow_test): Use END_COMPLEX macro without arguments.
4446 (cproj_test): Likewise.
4447 (creal_test): Use END macro without arguments.
4448 (csin_test): Use END_COMPLEX macro without arguments.
4449 (csinh_test): Likewise.
4450 (csqrt_test): Likewise.
4451 (ctan_test): Likewise.
4452 (ctan_test_tonearest): Likewise.
4453 (ctan_test_towardzero): Likewise.
4454 (ctan_test_downward): Likewise.
4455 (ctan_test_upward): Likewise.
4456 (ctanh_test): Likewise.
4457 (ctanh_test_tonearest): Likewise.
4458 (ctanh_test_towardzero): Likewise.
4459 (ctanh_test_downward): Likewise.
4460 (ctanh_test_upward): Likewise.
4461 (erf_test): Use END macro without arguments.
4462 (erfc_test): Likewise.
4463 (exp_test): Likewise.
4464 (exp_test_tonearest): Likewise.
4465 (exp_test_towardzero): Likewise.
4466 (exp_test_downward): Likewise.
4467 (exp_test_upward): Likewise.
4468 (exp10_test): Likewise.
4469 (exp2_test): Likewise.
4470 (expm1_test): Likewise.
4471 (fabs_test): Likewise.
4472 (fdim_test): Likewise.
4473 (finite_test): Likewise.
4474 (floor_test): Likewise.
4475 (fma_test): Likewise.
4476 (fma_test_towardzero): Likewise.
4477 (fma_test_downward): Likewise.
4478 (fma_test_upward): Likewise.
4479 (fmax_test): Likewise.
4480 (fmin_test): Likewise.
4481 (fmod_test): Likewise.
4482 (fpclassify_test): Likewise.
4483 (frexp_test): Likewise.
4484 (gamma_test): Likewise.
4485 (hypot_test): Likewise.
4486 (ilogb_test): Likewise.
4487 (isfinite_test): Likewise.
4488 (isgreater_test): Likewise.
4489 (isgreaterequal_test): Likewise.
4490 (isinf_test): Likewise.
4491 (isless_test): Likewise.
4492 (islessequal_test): Likewise.
4493 (islessgreater_test): Likewise.
4494 (isnan_test): Likewise.
4495 (isnormal_test): Likewise.
4496 (issignaling_test): Likewise.
4497 (isunordered_test): Likewise.
4498 (j0_test): Likewise.
4499 (j1_test): Likewise.
4500 (jn_test): Likewise.
4501 (ldexp_test): Likewise.
4502 (lgamma_test): Likewise.
4503 (lrint_test): Likewise.
4504 (lrint_test_tonearest): Likewise.
4505 (lrint_test_towardzero): Likewise.
4506 (lrint_test_downward): Likewise.
4507 (lrint_test_upward): Likewise.
4508 (llrint_test): Likewise.
4509 (llrint_test_tonearest): Likewise.
4510 (llrint_test_towardzero): Likewise.
4511 (llrint_test_downward): Likewise.
4512 (llrint_test_upward): Likewise.
4513 (log_test): Likewise.
4514 (log10_test): Likewise.
4515 (log1p_test): Likewise.
4516 (log2_test): Likewise.
4517 (logb_test): Likewise.
4518 (logb_test_downward): Likewise.
4519 (lround_test): Likewise.
4520 (llround_test): Likewise.
4521 (modf_test): Likewise.
4522 (nearbyint_test): Likewise.
4523 (nextafter_test): Likewise.
4524 (nexttoward_test): Likewise.
4525 (pow_test): Likewise.
4526 (pow_test_tonearest): Likewise.
4527 (pow_test_towardzero): Likewise.
4528 (pow_test_downward): Likewise.
4529 (pow_test_upward): Likewise.
4530 (remainder_test): Likewise.
4531 (remainder_test_tonearest): Likewise.
4532 (remainder_test_towardzero): Likewise.
4533 (remainder_test_downward): Likewise.
4534 (remainder_test_upward): Likewise.
4535 (remquo_test): Likewise.
4536 (rint_test): Likewise.
4537 (rint_test_tonearest): Likewise.
4538 (rint_test_towardzero): Likewise.
4539 (rint_test_downward): Likewise.
4540 (rint_test_upward): Likewise.
4541 (round_test): Likewise.
4542 (scalb_test): Likewise.
4543 (scalbn_test): Likewise.
4544 (scalbln_test): Likewise.
4545 (signbit_test): Likewise.
4546 (sin_test): Likewise.
4547 (sin_test_tonearest): Likewise.
4548 (sin_test_towardzero): Likewise.
4549 (sin_test_downward): Likewise.
4550 (sin_test_upward): Likewise.
4551 (sincos_test): Likewise.
4552 (sinh_test): Likewise.
4553 (sinh_test_tonearest): Likewise.
4554 (sinh_test_towardzero): Likewise.
4555 (sinh_test_downward): Likewise.
4556 (sinh_test_upward): Likewise.
4557 (sqrt_test): Likewise.
4558 (tan_test): Likewise.
4559 (tan_test_tonearest): Likewise.
4560 (tan_test_towardzero): Likewise.
4561 (tan_test_downward): Likewise.
4562 (tan_test_upward): Likewise.
4563 (tanh_test): Likewise.
4564 (tgamma_test): Likewise.
4565 (trunc_test): Likewise.
4566 (y0_test): Likewise.
4567 (y1_test): Likewise.
4568 (yn_test): Likewise.
4569 (significand_test): Likewise.
4571 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4574 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4576 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4579 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4580 __ppc_mdoio and __ppc_mdoom.
4581 * manual/platform.texi: Document new functions __ppc_yield,
4582 __ppc_mdoio and __ppc_mdoom.
4584 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4586 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4587 (main): Mention "tls" pseudo-hwcap is legacy.
4588 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4590 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4592 * math/gen-libm-test.pl (parse_args): Output only string of
4593 arguments as text for test name, not full call or descriptions of
4594 tests for extra outputs.
4595 (generate_testfile): Do not pass function name to parse_args.
4596 Generate this_func variable from START.
4597 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4599 (struct test_ff_f_data): Likewise.
4600 (test_ff_f_data_nexttoward): Likewise.
4601 (struct test_fi_f_data): Likewise.
4602 (struct test_fl_f_data): Likewise.
4603 (struct test_if_f_data): Likewise.
4604 (struct test_fff_f_data): Likewise.
4605 (struct test_c_f_data): Likewise.
4606 (struct test_f_f1_data): Likewise. Remove field extra_name.
4607 (struct test_fF_f1_data): Likewise.
4608 (struct test_ffI_f1_data): Likewise.
4609 (struct test_c_c_data): Rename test_name field to arg_str.
4610 (struct test_cc_c_data): Likewise.
4611 (struct test_f_i_data): Likewise.
4612 (struct test_ff_i_data): Likewise.
4613 (struct test_f_l_data): Likewise.
4614 (struct test_f_L_data): Likewise.
4615 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4617 (COMMON_TEST_SETUP): New macro.
4618 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4619 (COMMON_TEST_CLEANUP): Likewise.
4620 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4621 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4623 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4624 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4626 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4627 (RUN_TEST_fff_f): Take argument string. Call new setup and
4629 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4630 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4632 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4633 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4635 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4636 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4638 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4639 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4641 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4642 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4644 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4645 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4647 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4648 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4650 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4651 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4653 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4654 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4656 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4657 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4659 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4660 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4662 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4663 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4665 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4666 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4668 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4669 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4671 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4672 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4674 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4676 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4678 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4679 to _sifields.sigfault.
4680 (si_addr_lsb): Define new macro.
4681 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4683 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4685 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4688 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4690 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4692 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4695 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4697 * math/gen-libm-test.pl (parse_args): Do not include expected
4698 result in test name.
4699 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4700 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4701 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4702 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4703 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4706 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4708 * benchtests/Makefile: Sort function entries.
4710 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4711 tanh, asinh, acosh, atanh.
4712 * benchtests/acos-inputs: New file.
4713 * benchtests/acosh-inputs: New file.
4714 * benchtests/asin-inputs: New file.
4715 * benchtests/asinh-inputs: New file.
4716 * benchtests/atanh-inputs: New file.
4717 * benchtests/cosh-inputs: New file.
4718 * benchtests/log-inputs: New file.
4719 * benchtests/sinh-inputs: New file.
4720 * benchtests/tanh-inputs: New file.
4722 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4725 * posix/tst-getaddrinfo4.c: New test.
4726 * posix/Makefile (tests): Add it.
4728 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4731 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4732 when no services were used.
4733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4734 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4736 2013-05-21 Andreas Schwab <schwab@suse.de>
4739 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4740 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4742 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4743 redundant variable declarations and reallocation of buffer when
4744 parsing as IPv6 address. Always set NSS status when called from
4745 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4746 buffer too small. Correct computation of needed size.
4747 * nss/Makefile (tests): Add test-digits-dots.
4748 * nss/test-digits-dots.c: New test.
4750 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4752 * benchtests/Makefile: Remove instructions for adding
4754 * benchtests/README: New file to explain how to execute and
4755 enhance the benchmark tests.
4757 2013-05-21 Andreas Schwab <schwab@suse.de>
4760 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4761 * setjmp/tst-sigsetjmp.c: New test.
4763 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4765 * sysdeps/x86_64/memset.S (memset): New implementation.
4766 (__bzero): Likewise.
4767 (__memset_tail): New function.
4769 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4771 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4772 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4773 __memcpy_sse2_unaligned ifunc selection.
4774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4775 Add memcpy-sse2-unaligned.S.
4776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4777 Add: __memcpy_sse2_unaligned.
4779 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4782 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4783 math_force_eval before restoring floating-point envrionment.
4784 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4787 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4789 (__nearbyintl): Use math_force_eval before restoring
4790 floating-point environment.
4791 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4793 * math/gen-libm-test.pl (special_functions): Remove.
4794 (parse_args): Don't handle TEST_extra. Handle functions with no
4796 * math/libm-test.inc (struct test_sincos_data): Replace with
4797 struct test_fFF_11_data.
4798 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4799 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4800 (sincos_test_data): Change element type to struct
4801 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4802 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4803 RUN_TEST_LOOP_sincos.
4804 * math/README.libm-test: Don't mention special handling of
4805 individual functions.
4806 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4807 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4808 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4809 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4810 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4813 * math/gen-libm-test.pl (get_variable): Remove function.
4814 (parse_args): Don't show pointer parameters to call in test
4815 names. Use "extra output N" in test names for extra outputs
4816 rather than naming variables.
4818 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4821 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4822 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4823 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4825 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4827 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4830 * math/gen-libm-test.pl (@tests): Remove variable.
4832 (new_test): Remove function.
4833 (show_exceptions): New function.
4834 (special_functions): Use show_exceptions instead of new_test.
4835 (parse_args): Likewise.
4836 (generate_testfile): Pass only function name in generated call to
4837 print_max_error or print_complex_max_error.
4838 (get_ulps): Do not handle complex tests specially.
4839 (output_test): Rename to ...
4840 (get_all_ulps_for_test): ... this. Return a string rather than
4841 printing to a file. Require ulps to be present.
4842 (output_ulps): Generate arrays rather than #defines.
4843 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4844 (struct ulp_data): New type.
4845 (BUILD_COMPLEX_ULP): Remove macro.
4846 (compare_ulp_data): New function.
4847 (find_ulps): Likewise.
4848 (find_test_ulps): Likewise.
4849 (find_function_ulps): Likewise.
4850 (find_complex_function_ulps): Likewise.
4851 (print_max_error): Determine allowed ulps using
4853 (print_complex_max_error): Determine allowed ulps using
4854 find_complex_function_ulps.
4855 (check_float_internal): Determine max ulps using find_test_ulps.
4856 (check_float): Do not take max_ulp parameter. Update call to
4857 check_float_internal.
4858 (check_complex): Likewise.
4859 (check_int): Do not take max_ulp parameter.
4860 (check_long): Likewise.
4861 (check_bool): Likewise.
4862 (check_longlong): Likewise.
4863 (struct test_f_f_data): Remove max_ulp field.
4864 (struct test_ff_f_data): Likewise.
4865 (struct test_ff_f_data_nexttoward): Likewise.
4866 (struct test_fi_f_data): Likewise.
4867 (struct test_fl_f_data): Likewise.
4868 (struct test_if_f_data): Likewise.
4869 (struct test_fff_f_data): Likewise.
4870 (struct test_c_f_data): Likewise.
4871 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4872 (struct test_fF_f1_data): Likewise.
4873 (struct test_ffI_f1_data): Likewise.
4874 (struct test_c_c_data): Remove max_ulp field.
4875 (struct test_cc_c_data): Likewise.
4876 (struct test_f_i_data): Likewise.
4877 (struct test_ff_i_data): Likewise.
4878 (struct test_f_l_data): Likewise.
4879 (struct test_f_L_data): Likewise.
4880 (struct test_sincos_data): Likewise.
4881 (RUN_TEST_f_f): Do not handle ulps.
4882 (RUN_TEST_LOOP_f_f): Likewise.
4883 (RUN_TEST_2_f): Likewise.
4884 (RUN_TEST_LOOP_2_f): Likewise.
4885 (RUN_TEST_fff_f): Likewise.
4886 (RUN_TEST_LOOP_fff_f): Likewise.
4887 (RUN_TEST_c_f): Likewise.
4888 (RUN_TEST_LOOP_c_f): Likewise.
4889 (RUN_TEST_f_f1): Likewise.
4890 (RUN_TEST_LOOP_f_f1): Likewise.
4891 (RUN_TEST_fF_f1): Likewise.
4892 (RUN_TEST_LOOP_fF_f1): Likewise.
4893 (RUN_TEST_fI_f1): Likewise.
4894 (RUN_TEST_LOOP_fI_f1): Likewise.
4895 (RUN_TEST_ffI_f1): Likewise.
4896 (RUN_TEST_LOOP_ffI_f1): Likewise.
4897 (RUN_TEST_c_c): Likewise.
4898 (RUN_TEST_LOOP_c_c): Likewise.
4899 (RUN_TEST_cc_c): Likewise.
4900 (RUN_TEST_LOOP_cc_c): Likewise.
4901 (RUN_TEST_f_i): Likewise.
4902 (RUN_TEST_LOOP_f_i): Likewise.
4903 (RUN_TEST_f_i_tg): Likewise.
4904 (RUN_TEST_LOOP_f_i_tg): Likewise.
4905 (RUN_TEST_ff_i_tg): Likewise.
4906 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4907 (RUN_TEST_f_b): Likewise.
4908 (RUN_TEST_LOOP_f_b): Likewise.
4909 (RUN_TEST_f_b_tg): Likewise.
4910 (RUN_TEST_LOOP_f_b_tg): Likewise.
4911 (RUN_TEST_f_l): Likewise.
4912 (RUN_TEST_LOOP_f_l): Likewise.
4913 (RUN_TEST_f_L): Likewise.
4914 (RUN_TEST_LOOP_f_L): Likewise.
4915 (RUN_TEST_sincos): Likewise.
4916 (RUN_TEST_LOOP_sincos): Likewise.
4918 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4922 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4923 main case of finite arguments, set rounding mode to FE_TONEAREST
4924 and discard exceptions.
4925 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4927 (remainder_tonearest_test_data): New variable.
4928 (remainder_test_tonearest): New function.
4929 (remainder_towardzero_test_data): New variable.
4930 (remainder_test_towardzero): New function.
4931 (remainder_downward_test_data): New variable.
4932 (remainder_test_downward): New function.
4933 (remainder_upward_test_data): New variable.
4934 (remainder_test_upward): New function.
4935 (main): Call the new test functions.
4937 * math/libm-test.inc (struct test_f_f1_data): Remove field
4939 (struct test_fF_f1_data): Likewise.
4940 (struct test_ffI_f1_data): Likewise.
4941 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4942 based on value of EXTRA_EXPECTED.
4943 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4944 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4945 EXTRA_VAR based on value of EXTRA_EXPECTED.
4946 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4947 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4948 EXTRA_VAR based on value of EXTRA_EXPECTED.
4949 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4950 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4951 EXTRA_VAR based on value of EXTRA_EXPECTED.
4952 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4953 * math/gen-libm-test.pl (parse_args): Don't output initializers
4954 for extra output values.
4956 * math/libm-test.inc (check_int): Expect result to be exactly
4957 equal to expected value and do not handle ulps.
4958 (check_long): Likewise.
4959 (check_longlong): Likewise.
4961 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4963 (cimag_test_data): Likewise.
4964 (conj_test_data): Likewise.
4965 (copysign_test_data): Likewise.
4966 (cproj_test_data): Likewise.
4967 (creal_test_data): Likewise.
4968 (fabs_test_data): Likewise.
4969 (fdim_test_data): Likewise.
4970 (finite_test_data): Likewise.
4971 (floor_test_data): Likewise.
4972 (fmax_test_data): Likewise.
4973 (fmin_test_data): Likewise.
4974 (fmod_test_data): Likewise.
4975 (fpclassify_test_data): Likewise.
4976 (frexp_test_data): Likewise.
4977 (ilogb_test_data): Likewise.
4978 (isfinite_test_data): Likewise.
4979 (isgreater_test_data): Likewise.
4980 (isgreaterequal_test_data): Likewise.
4981 (isinf_test_data): Likewise.
4982 (isless_test_data): Likewise.
4983 (islessequal_test_data): Likewise.
4984 (islessgreater_test_data): Likewise.
4985 (isnan_test_data): Likewise.
4986 (isnormal_test_data): Likewise.
4987 (issignaling_test_data): Likewise.
4988 (isunordered_test_data): Likewise.
4989 (ldexp_test_data): Likewise.
4990 (lrint_test_data): Likewise.
4991 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4992 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4993 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4994 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4995 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4996 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4998 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4999 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5000 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5001 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5003 (lrint_downward_test_data): Test for "inexact" exceptions.
5004 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5005 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5006 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5008 (lrint_upward_test_data): Test for "inexact" exceptions.
5009 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5011 (llrint_test_data): Test for "inexact" exceptions.
5012 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5013 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5014 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5015 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5016 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5017 (llrint_downward_test_data): Test for "inexact" exceptions.
5018 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5019 (llrint_upward_test_data): Test for "inexact" exceptions.
5020 (logb_test_data): Likewise.
5021 (logb_downward_test_data): Likewise.
5022 (nextafter_test_data): Likewise.
5023 (nexttoward_test_data): Likewise.
5024 (remainder_test_data): Likewise.
5025 (remquo_test_data): Likewise.
5026 (scalbn_test_data): Likewise.
5027 (scalbln_test_data): Likewise.
5028 (signbit_test_data): Likewise.
5029 (sqrt_test_data): Likewise.
5030 (significand_test_data): Likewise.
5032 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5035 * benchtests/bench-modf.c (struct args): Mark arg0 as
5037 * scripts/bench.pl: Mark members of struct args as volatile.
5039 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5042 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5043 negative infinity on POWER6 or lower.
5044 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5046 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5049 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5050 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5051 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5052 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5053 (_FP_SETQNAN): New macro.
5054 (_FP_SETQNAN_SEMIRAW): Likewise.
5055 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5056 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5057 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5058 (FP_EXTEND): Use _FP_FRAC_SNANP.
5059 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5060 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5062 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5064 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5067 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5069 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5070 with DIVIDE_BY_ZERO_EXCEPTION.
5071 (gamma_test_data): Likewise.
5072 (lgamma_test_data): Likewise.
5073 (log_test_data): Likewise.
5074 (log10_test_data): Likewise.
5075 (log2_test_data): Likewise.
5076 (tgamma_test_data): Likewise.
5078 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5079 (acos_test_tonearest): Likewise.
5080 (acos_test_towardzero): Likewise.
5081 (acos_test_downward): Likewise.
5082 (acos_test_upward): Likewise.
5083 (acosh_test): Likewise.
5084 (asin_test): Likewise.
5085 (asin_test_tonearest): Likewise.
5086 (asin_test_towardzero): Likewise.
5087 (asin_test_downward): Likewise.
5088 (asin_test_upward): Likewise.
5089 (asinh_test): Likewise.
5090 (atan_test): Likewise.
5091 (atanh_test): Likewise.
5092 (atan2_test): Likewise.
5093 (cabs_test): Likewise.
5094 (cacos_test): Likewise.
5095 (cacosh_test): Likewise.
5096 (casin_test): Likewise.
5097 (casinh_test): Likewise.
5098 (catan_test): Likewise.
5099 (catanh_test): Likewise.
5100 (cbrt_test): Likewise.
5101 (ccos_test): Likewise.
5102 (ccosh_test): Likewise.
5103 (cexp_test): Likewise.
5104 (clog_test): Likewise.
5105 (clog10_test): Likewise.
5106 (cos_test): Likewise.
5107 (cos_test_tonearest): Likewise.
5108 (cos_test_towardzero): Likewise.
5109 (cos_test_downward): Likewise.
5110 (cos_test_upward): Likewise.
5111 (cosh_test): Likewise.
5112 (cosh_test_tonearest): Likewise.
5113 (cosh_test_towardzero): Likewise.
5114 (cosh_test_downward): Likewise.
5115 (cosh_test_upward): Likewise.
5116 (cpow_test): Likewise.
5117 (csin_test): Likewise.
5118 (csinh_test): Likewise.
5119 (csqrt_test): Likewise.
5120 (ctan_test): Likewise.
5121 (ctan_test_tonearest): Likewise.
5122 (ctan_test_towardzero): Likewise.
5123 (ctan_test_downward): Likewise.
5124 (ctan_test_upward): Likewise.
5125 (ctanh_test): Likewise.
5126 (ctanh_test_tonearest): Likewise.
5127 (ctanh_test_towardzero): Likewise.
5128 (ctanh_test_downward): Likewise.
5129 (ctanh_test_upward): Likewise.
5130 (erf_test): Likewise.
5131 (erfc_test): Likewise.
5132 (exp_test): Likewise.
5133 (exp_test_tonearest): Likewise.
5134 (exp_test_towardzero): Likewise.
5135 (exp_test_downward): Likewise.
5136 (exp_test_upward): Likewise.
5137 (exp10_test): Likewise.
5138 (exp2_test): Likewise.
5139 (expm1_test): Likewise.
5140 (fmod_test): Likewise.
5141 (gamma_test): Likewise.
5142 (hypot_test): Likewise.
5143 (j0_test): Likewise.
5144 (j1_test): Likewise.
5145 (jn_test): Likewise.
5146 (lgamma_test): Likewise.
5147 (log_test): Likewise.
5148 (log10_test): Likewise.
5149 (log1p_test): Likewise.
5150 (log2_test): Likewise.
5151 (logb_test_downward): Likewise.
5152 (pow_test): Likewise.
5153 (pow_test_tonearest): Likewise.
5154 (pow_test_towardzero): Likewise.
5155 (pow_test_downward): Likewise.
5156 (pow_test_upward): Likewise.
5157 (remainder_test): Likewise.
5158 (remquo_test): Likewise.
5159 (sin_test): Likewise.
5160 (sin_test_tonearest): Likewise.
5161 (sin_test_towardzero): Likewise.
5162 (sin_test_downward): Likewise.
5163 (sin_test_upward): Likewise.
5164 (sincos_test): Likewise.
5165 (sinh_test): Likewise.
5166 (sinh_test_tonearest): Likewise.
5167 (sinh_test_towardzero): Likewise.
5168 (sinh_test_downward): Likewise.
5169 (sinh_test_upward): Likewise.
5170 (sqrt_test): Likewise.
5171 (tan_test): Likewise.
5172 (tan_test_tonearest): Likewise.
5173 (tan_test_towardzero): Likewise.
5174 (tan_test_downward): Likewise.
5175 (tan_test_upward): Likewise.
5176 (tanh_test): Likewise.
5177 (tgamma_test): Likewise.
5178 (y0_test): Likewise.
5179 (y1_test): Likewise.
5180 (yn_test): Likewise.
5182 * math/gen-libm-test.pl (adjust_arg): Remove function.
5183 (special_function): Remove argument $in_func. Only handle
5184 generating output for tables of tests, not inside functions.
5185 (parse_args): Likewise.
5186 (generate_testfile): Remove variable $in_func. Update call to
5188 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5189 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5190 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5191 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5192 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5193 (MAX_VALUE_INIT): Rename macro to max_value.
5194 (MIN_VALUE_INIT): Rename macro to min_value.
5195 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5196 (plus_zero): Remove variable.
5197 (minus_zero): Likewise.
5198 (plus_infty): Likewise.
5199 (minus_infty): Likewise.
5200 (qnan_value): Likewise.
5201 (max_value): Likewise.
5202 (min_value): Likewise.
5203 (min_subnorm_value): Likewise.
5205 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5207 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5208 uint64_t or uint32_t usage.
5209 * crypt/sha256-block.c: Likewise.
5210 * crypt/sha256-crypt.c: Likewise.
5211 * crypt/sha256.c: Likewise.
5212 * crypt/sha512-block.c: Likewise.
5213 * crypt/sha512-crypt.c: Likewise.
5214 * crypt/sha512.c: Likewise.
5215 * debug/backtrace-tst.c: Likewise.
5216 * debug/pcprofiledump.c: Likewise.
5217 * elf/cache.c: Likewise.
5218 * elf/dl-cache.c: Likewise.
5219 * elf/dl-misc.c: Likewise.
5220 * elf/dl-profile.c: Likewise.
5221 * elf/dl-support.c: Likewise.
5222 * elf/ldconfig.c: Likewise.
5223 * elf/sprof.c: Likewise.
5224 * iconv/dummy-repertoire.c: Likewise.
5225 * iconv/iconv_charmap.c: Likewise.
5226 * iconv/skeleton.c: Likewise.
5227 * iconvdata/8bit-generic.c: Likewise.
5228 * iconvdata/cp737.h: Likewise.
5229 * iconvdata/cp775.h: Likewise.
5230 * iconvdata/ibm1008.h: Likewise.
5231 * iconvdata/ibm1025.h: Likewise.
5232 * iconvdata/ibm1046.h: Likewise.
5233 * iconvdata/ibm1097.h: Likewise.
5234 * iconvdata/ibm1112.h: Likewise.
5235 * iconvdata/ibm1122.h: Likewise.
5236 * iconvdata/ibm1123.h: Likewise.
5237 * iconvdata/ibm1124.h: Likewise.
5238 * iconvdata/ibm1129.h: Likewise.
5239 * iconvdata/ibm1130.h: Likewise.
5240 * iconvdata/ibm1132.h: Likewise.
5241 * iconvdata/ibm1133.h: Likewise.
5242 * iconvdata/ibm1137.h: Likewise.
5243 * iconvdata/ibm1140.h: Likewise.
5244 * iconvdata/ibm1141.h: Likewise.
5245 * iconvdata/ibm1142.h: Likewise.
5246 * iconvdata/ibm1143.h: Likewise.
5247 * iconvdata/ibm1144.h: Likewise.
5248 * iconvdata/ibm1145.h: Likewise.
5249 * iconvdata/ibm1146.h: Likewise.
5250 * iconvdata/ibm1147.h: Likewise.
5251 * iconvdata/ibm1148.h: Likewise.
5252 * iconvdata/ibm1149.h: Likewise.
5253 * iconvdata/ibm1153.h: Likewise.
5254 * iconvdata/ibm1154.h: Likewise.
5255 * iconvdata/ibm1155.h: Likewise.
5256 * iconvdata/ibm1156.h: Likewise.
5257 * iconvdata/ibm1157.h: Likewise.
5258 * iconvdata/ibm1158.h: Likewise.
5259 * iconvdata/ibm1160.h: Likewise.
5260 * iconvdata/ibm1161.h: Likewise.
5261 * iconvdata/ibm1162.h: Likewise.
5262 * iconvdata/ibm1163.h: Likewise.
5263 * iconvdata/ibm1164.h: Likewise.
5264 * iconvdata/ibm1166.h: Likewise.
5265 * iconvdata/ibm1167.h: Likewise.
5266 * iconvdata/ibm12712.h: Likewise.
5267 * iconvdata/ibm1390.h: Likewise.
5268 * iconvdata/ibm1399.h: Likewise.
5269 * iconvdata/ibm16804.h: Likewise.
5270 * iconvdata/ibm4517.h: Likewise.
5271 * iconvdata/ibm4899.h: Likewise.
5272 * iconvdata/ibm4909.h: Likewise.
5273 * iconvdata/ibm4971.h: Likewise.
5274 * iconvdata/ibm5347.h: Likewise.
5275 * iconvdata/ibm803.h: Likewise.
5276 * iconvdata/ibm856.h: Likewise.
5277 * iconvdata/ibm901.h: Likewise.
5278 * iconvdata/ibm902.h: Likewise.
5279 * iconvdata/ibm9030.h: Likewise.
5280 * iconvdata/ibm9066.h: Likewise.
5281 * iconvdata/ibm921.h: Likewise.
5282 * iconvdata/ibm922.h: Likewise.
5283 * iconvdata/ibm9448.h: Likewise.
5284 * iconvdata/isiri-3342.h: Likewise.
5285 * iconvdata/jis0201.h: Likewise.
5286 * include/link.h: Likewise.
5287 * include/netdb.h: Likewise.
5288 * inet/check_native.c: Likewise.
5289 * inet/check_pf.c: Likewise.
5290 * inet/getipv4sourcefilter.c: Likewise.
5291 * inet/getnameinfo.c: Likewise.
5292 * inet/getsourcefilter.c: Likewise.
5293 * inet/htonl.c: Likewise.
5294 * inet/setipv4sourcefilter.c: Likewise.
5295 * inet/setsourcefilter.c: Likewise.
5296 * inet/test-inet6_opt.c: Likewise.
5297 * inet/tst-network.c: Likewise.
5298 * locale/C-collate.c: Likewise.
5299 * locale/C-ctype.c: Likewise.
5300 * locale/C-time.c: Likewise.
5301 * locale/C-translit.h: Likewise.
5302 * locale/loadarchive.c: Likewise.
5303 * locale/programs/3level.h: Likewise.
5304 * locale/programs/charmap.c: Likewise.
5305 * locale/programs/charmap.h: Likewise.
5306 * locale/programs/ld-address.c: Likewise.
5307 * locale/programs/ld-collate.c: Likewise.
5308 * locale/programs/ld-ctype.c: Likewise.
5309 * locale/programs/ld-identification.c: Likewise.
5310 * locale/programs/ld-measurement.c: Likewise.
5311 * locale/programs/ld-messages.c: Likewise.
5312 * locale/programs/ld-monetary.c: Likewise.
5313 * locale/programs/ld-name.c: Likewise.
5314 * locale/programs/ld-numeric.c: Likewise.
5315 * locale/programs/ld-paper.c: Likewise.
5316 * locale/programs/ld-telephone.c: Likewise.
5317 * locale/programs/ld-time.c: Likewise.
5318 * locale/programs/linereader.c: Likewise.
5319 * locale/programs/locale.c: Likewise.
5320 * locale/programs/locarchive.c: Likewise.
5321 * locale/programs/locfile.h: Likewise.
5322 * locale/programs/repertoire.c: Likewise.
5323 * locale/programs/simple-hash.c: Likewise.
5324 * locale/programs/simple-hash.h: Likewise.
5325 * malloc/memusage.c: Likewise.
5326 * malloc/memusagestat.c: Likewise.
5327 * nis/nis_defaults.c: Likewise.
5328 * nis/nis_hash.c: Likewise.
5329 * nis/nis_print.c: Likewise.
5330 * nis/nis_xdr.c: Likewise.
5331 * nscd/connections.c: Likewise.
5332 * nscd/hstcache.c: Likewise.
5333 * nscd/nscd_gethst_r.c: Likewise.
5334 * nscd/nscd_getserv_r.c: Likewise.
5335 * nscd/nscd_helper.c: Likewise.
5336 * nscd/servicescache.c: Likewise.
5337 * nss/makedb.c: Likewise.
5338 * nss/nss_db/db-XXX.c: Likewise.
5339 * nss/nss_db/db-initgroups.c: Likewise.
5340 * nss/nss_db/db-netgrp.c: Likewise.
5341 * nss/nss_files/files-network.c: Likewise.
5342 * nss/nss_files/files-parse.c: Likewise.
5343 * posix/bug-regex5.c: Likewise.
5344 * posix/fnmatch_loop.c: Likewise.
5345 * posix/regcomp.c: Likewise.
5346 * posix/regexec.c: Likewise.
5347 * posix/tst-rfc3484-2.c: Likewise.
5348 * posix/tst-rfc3484-3.c: Likewise.
5349 * posix/tst-rfc3484.c: Likewise.
5350 * resolv/nss_dns/dns-canon.c: Likewise.
5351 * resolv/nss_dns/dns-network.c: Likewise.
5352 * resolv/res_init.c: Likewise.
5353 * resolv/res_mkquery.c: Likewise.
5354 * resolv/tst-aton.c: Likewise.
5355 * stdlib/cxa_atexit.c: Likewise.
5356 * stdlib/cxa_finalize.c: Likewise.
5357 * stdlib/gen-fpioconst.c: Likewise.
5358 * stdlib/strtol_l.c: Likewise.
5359 * string/tst-endian.c: Likewise.
5360 * sunrpc/auth_des.c: Likewise.
5361 * sunrpc/clnt_udp.c: Likewise.
5362 * sunrpc/rtime.c: Likewise.
5363 * sunrpc/svcauth_des.c: Likewise.
5364 * sunrpc/xdr.c: Likewise.
5365 * sunrpc/xdr_intXX_t.c: Likewise.
5366 * sunrpc/xdr_rec.c: Likewise.
5367 * sysdeps/generic/ldconfig.h: Likewise.
5368 * sysdeps/generic/ldsodefs.h: Likewise.
5369 * sysdeps/generic/memusage.h: Likewise.
5370 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5373 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5379 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5380 * sysdeps/posix/getaddrinfo.c: Likewise.
5381 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5382 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5383 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5384 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5385 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5386 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5387 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5388 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5389 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5390 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5391 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5392 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5393 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5394 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5395 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5396 * sysdeps/x86_64/dl-tls.h: Likewise.
5397 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5398 * time/alt_digit.c: Likewise.
5399 * time/era.c: Likewise.
5400 * wcsmbs/tst-c16c32-1.c: Likewise.
5402 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5404 * math/libm-test.inc (struct test_sincos_data): New type.
5405 (RUN_TEST_LOOP_sincos): New macro.
5406 (sincos_test_data): New variable.
5407 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5409 2013-05-16 Richard Henderson <rth@redhat.com>
5411 * math/atest-exp2.c (LIMB64): New macro.
5412 (CONSTSZ): New macro.
5413 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5415 (print_mpn_fp): ... to function scope.
5416 (read_mpn_hex): Remove.
5418 (exp2_mpn): Use mp_log2.
5419 (main): Use mp_exp1.
5421 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5423 * math/libm-test.inc: Remove comment about not testing "inexact"
5425 (INEXACT_EXCEPTION): New macro.
5426 (NO_INEXACT_EXCEPTION): Likewise.
5427 (INVALID_EXCEPTION_OK): Update value.
5428 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5429 (OVERFLOW_EXCEPTION_OK): Likewise.
5430 (UNDERFLOW_EXCEPTION_OK): Likewise.
5431 (IGNORE_ZERO_INF_SIGN): Likewise.
5432 (ERRNO_UNCHANGED): Likewise.
5433 (ERRNO_EDOM): Likewise.
5434 (ERRNO_ERANGE): Likewise.
5435 (test_exceptions): Handle testing "inexact" exceptions.
5436 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5437 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5438 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5439 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5441 (rint_towardzero_test_data): Likewise.
5442 (rint_downward_test_data): Likewise.
5443 (rint_upward_test_data): Likewise.
5445 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5446 with OVERFLOW_EXCEPTION.
5447 (exp10_test_data): Likewise.
5448 (exp2_test_data): Likewise.
5449 (expm1_test_data): Likewise.
5450 (lgamma_test_data): Likewise.
5451 (pow_test_data): Likewise.
5452 (tgamma_test_data): Likewise.
5453 (yn_test_data): Remove duplicate test of overflow.
5455 * math/libm-test.inc (struct test_cc_c_data): New type.
5456 (RUN_TEST_LOOP_cc_c): New macro.
5457 (cpow_test_data): New variable.
5458 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5460 * math/libm-test.inc (struct test_f_L_data): New type.
5461 (RUN_TEST_LOOP_f_L): New macro.
5462 (llrint_test_data): New variable.
5463 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5464 (llrint_tonearest_test_data): New variable.
5465 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5466 (llrint_towardzero_test_data): New variable.
5467 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5468 (llrint_downward_test_data): New variable.
5469 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5470 (llrint_upward_test_data): New variable.
5471 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5472 (llround_test_data): New variable.
5473 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5475 2013-05-13 Peter Collingbourne <pcc@google.com>
5477 * math/atest-exp2.c (get_log2): Remove const attribute.
5479 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5481 * math/libm-test.inc (struct test_f_l_data): New type.
5482 (RUN_TEST_LOOP_f_l): New macro.
5483 (lrint_test_data): New variable.
5484 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5485 (lrint_tonearest_test_data): New variable.
5486 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5487 (lrint_towardzero_test_data): New variable.
5488 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5489 (lrint_downward_test_data): New variable.
5490 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5491 (lrint_upward_test_data): New variable.
5492 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5493 (lround_test_data): New variable.
5494 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5496 2013-05-15 Peter Collingbourne <pcc@google.com>
5498 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5499 (EXTRACT_WORDS64) Use where appropriate.
5500 (INSERT_WORDS64) Likewise.
5502 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5503 constraints with x constraints.
5504 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5506 * malloc/obstack.c (_obstack_compat): Add initializer.
5508 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5510 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5511 si_trapno and add si_addr_lsb to _sifields.sigfault.
5512 (si_trapno): Remove macro.
5513 (si_addr_lsb): Define new macro.
5514 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5516 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5518 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5519 instead of TEST_f_l.
5520 (llrint_test_tonearest): Likewise.
5521 (llrint_test_towardzero): Likewise.
5522 (llrint_test_downward): Likewise.
5523 (llrint_test_upward): Likewise.
5524 (llround_test): Likewise.
5526 * math/libm-test.inc (struct test_f_i_data): Add comment.
5527 (RUN_TEST_LOOP_f_b): New macro.
5528 (RUN_TEST_LOOP_f_b_tg): Likewise.
5529 (finite_test_data): New variable.
5530 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5531 (isfinite_test_data): New variable.
5532 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5533 (isinf_test_data): New variable.
5534 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5535 (isnan_test_data): New variable.
5536 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5537 (isnormal_test_data): New variable.
5538 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5539 (issignaling_test_data): New variable.
5540 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5541 (signbit_test_data): New variable.
5542 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5544 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5545 with INVALID_EXCEPTION.
5546 (acosh_test_data): Likewise.
5547 (asin_test_data): Likewise.
5548 (atanh_test_data): Likewise.
5549 (fmod_test_data): Likewise.
5550 (log_test_data): Likewise.
5551 (log10_test_data): Likewise.
5552 (log2_test_data): Likewise.
5553 (pow_test_data): Likewise.
5554 (sqrt_test_data): Likewise.
5555 (y0_test_data): Likewise.
5556 (y1_test_data): Likewise.
5557 (yn_test_data): Likewise.
5559 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5562 * math/libm-test.inc (struct test_ff_i_data): New type.
5563 (RUN_TEST_LOOP_ff_i_tg): New macro.
5564 (isgreater_test_data): New variable.
5565 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5566 (isgreaterequal_test_data): New variable.
5567 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5568 (isless_test_data): New variable.
5569 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5570 (islessequal_test_data): New variable.
5571 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5572 (islessgreater_test_data): New variable.
5573 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5574 (isunordered_test_data): New variable.
5575 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5577 2013-05-14 David S. Miller <davem@davemloft.net>
5579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5581 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5583 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5585 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5587 (struct test_f_i_data): Change type of max_ulp to int.
5589 * math/libm-test.inc (test_ffI_f1_data): New type.
5590 (RUN_TEST_LOOP_ffI_f1): New macro.
5591 (remquo_test_data): New variable.
5592 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5594 * setjmp/tst-setjmp-fp.c: New file.
5595 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5596 (link-libm): New variable.
5597 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5599 * math/libm-test.inc (struct test_f_i_data): New type.
5600 (RUN_TEST_LOOP_f_i): New macro.
5601 (RUN_TEST_LOOP_f_i_tg): Likewise.
5602 (fpclassify_test_data): New variable.
5603 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5604 (ilogb_test_data): New variable.
5605 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5607 * math/libm-test.inc (scalbln_test): Correct function name in END
5610 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5611 (RUN_TEST_LOOP_fI_f1): New macro.
5612 (frexp_test_data): New variable.
5613 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5615 * math/libm-test.inc (struct test_fF_f1_data): New type.
5616 (RUN_TEST_LOOP_fF_f1): New macro.
5617 (modf_test_data): New variable.
5618 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5620 * math/libm-test.inc (struct test_f_f1_data): New type.
5621 (RUN_TEST_LOOP_f_f1): New macro.
5622 (gamma_test_data): New variable.
5623 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5624 (lgamma_test_data): New variable.
5625 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5627 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5629 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5630 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5631 (main): Comment "tls" pseudo-hwcap.
5633 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5635 * math/libm-test.inc (struct test_fl_f_data): New type.
5636 (RUN_TEST_LOOP_fl_f): New variable.
5637 (scalbln_test_data): New variable.
5638 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5640 * math/libm-test.inc (struct test_fi_f_data): New type.
5641 (RUN_TEST_LOOP_fi_f): New macro.
5642 (ldexp_test_data): New variable.
5643 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5644 (scalbn_test_data): New variable.
5645 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5647 * math/libm-test.inc (struct test_c_f_data): New type.
5648 (RUN_TEST_LOOP_c_f): New macro.
5649 (cabs_test_data): New variable.
5650 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5651 (carg_test_data): New variable.
5652 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5653 (cimag_test_data): New variable.
5654 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5655 (creal_test_data): New variable.
5656 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5658 * math/libm-test.inc (struct test_if_f_data): New type.
5659 (RUN_TEST_LOOP_if_f): New macro.
5660 (jn_test_data): New variable.
5661 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5662 (yn_test_data): New variable.
5663 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5665 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5667 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5669 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5670 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5672 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5674 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5675 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5676 (bench-deps): Add bench-timing.h.
5677 * benchtests-bench-skeleton.c: Include bench-timing.h.
5678 (main): Use TIMING_* macros instead of clock_gettime.
5679 * benchtests/bench-timing.h: New file.
5682 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5683 Renamed from _LIB_VERSION.
5684 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5686 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5688 * math/libm-test.inc (struct test_fff_f_data): New type.
5689 (RUN_TEST_LOOP_fff_f): New macro.
5690 (fma_test_data): New variable.
5691 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5692 (fma_towardzero_test_data): New variable.
5693 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5694 (fma_downward_test_data): New variable.
5695 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5696 (fma_upward_test_data): New variable.
5697 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5699 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5700 (struct test_c_c_data): New type.
5701 (RUN_TEST_LOOP_c_c): New macro.
5702 (cacos_test_data): New variable.
5703 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5704 (cacosh_test_data): New variable.
5705 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5706 (casin_test_data): New variable.
5707 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5708 (casinh_test_data): New variable.
5709 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5710 (catan_test_data): New variable.
5711 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5712 (catanh_test_data): New variable.
5713 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5714 (ccos_test_data): New variable.
5715 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5716 (ccosh_test_data): New variable.
5717 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5718 (cexp_test_data): New variable.
5719 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5720 (clog_test_data): New variable.
5721 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5722 (clog10_test_data): New variable.
5723 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5724 (conj_test_data): New variable.
5725 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5726 (cproj_test_data): New variable.
5727 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5728 (csin_test_data): New variable.
5729 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5730 (csinh_test_data): New variable.
5731 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5732 (csqrt_test_data): New variable.
5733 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5734 (ctan_test_data): New variable.
5735 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5736 (ctan_tonearest_test_data): New variable.
5737 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5738 (ctan_towardzero_test_data): New variable.
5739 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5740 (ctan_downward_test_data): New variable.
5741 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5742 (ctan_upward_test_data): New variable.
5743 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5744 (ctanh_test_data): New variable.
5745 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5746 (ctanh_tonearest_test_data): New variable.
5747 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5748 (ctanh_towardzero_test_data): New variable.
5749 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5750 (ctanh_downward_test_data): New variable.
5751 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5752 (ctanh_upward_test_data): New variable.
5753 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5754 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5757 * math/libm-test.inc (struct test_ff_f_data): New type.
5758 (struct test_ff_f_data_nexttoward): Likewise.
5759 (RUN_TEST_LOOP_2_f): New macro.
5760 (RUN_TEST_LOOP_ff_f): Likewise.
5761 (atan2_test_data): New variable.
5762 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5763 (copysign_test_data): New variable.
5764 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5765 (fdim_test_data): New variable.
5766 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5767 (fmax_test_data): New variable.
5768 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5769 (fmin_test_data): New variable.
5770 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5771 (fmod_test_data): New variable.
5772 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5773 (hypot_test_data): New variable.
5774 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5775 (nextafter_test_data): New variable.
5776 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5777 (nexttoward_test_data): New variable.
5778 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5779 (pow_test_data): New variable.
5780 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5781 (pow_tonearest_test_data): New variable.
5782 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5783 (pow_towardzero_test_data): New variable.
5784 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5785 (pow_downward_test_data): New variable.
5786 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5787 (pow_upward_test_data): New variable.
5788 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5789 (remainder_test_data): New variable.
5790 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5791 (scalb_test_data): New variable.
5792 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5793 * sysdeps/i386/fpu/libm-test-ulps: Update.
5795 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5797 * math/libm-test.inc (fma_test): Use max_value instead of local
5799 (nextafter_test): Likewise.
5801 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5802 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5803 (acos_downward_test_data): New variable.
5804 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5805 (acos_upward_test_data): New variable.
5806 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5807 (acosh_test_data): New variable.
5808 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5809 (asin_test_data): New variable.
5810 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5811 (asin_tonearest_test_data): New variable.
5812 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5813 (asin_towardzero_test_data): New variable.
5814 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5815 (asin_downward_test_data): New variable.
5816 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5817 (asin_upward_test_data): New variable.
5818 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5819 (asinh_test_data): New variable.
5820 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5821 (atan_test_data): New variable.
5822 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5823 (atanh_test_data): New variable.
5824 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5825 (cbrt_test_data): New variable.
5826 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5827 (ceil_test_data): New variable.
5828 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5829 (cos_test_data): New variable.
5830 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5831 (cos_tonearest_test_data): New variable.
5832 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5833 (cos_towardzero_test_data): New variable.
5834 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5835 (cos_downward_test_data): New variable.
5836 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5837 (cos_upward_test_data): New variable.
5838 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5839 (cosh_test_data): New variable.
5840 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5841 (cosh_tonearest_test_data): New variable.
5842 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5843 (cosh_towardzero_test_data): New variable.
5844 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5845 (cosh_downward_test_data): New variable.
5846 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5847 (cosh_upward_test_data): New variable.
5848 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5849 (erf_test_data): New variable.
5850 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5851 (erfc_test_data): New variable.
5852 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5853 (exp_test_data): New variable.
5854 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5855 (exp_tonearest_test_data): New variable.
5856 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5857 (exp_towardzero_test_data): New variable.
5858 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5859 (exp_downward_test_data): New variable.
5860 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5861 (exp_upward_test_data): New variable.
5862 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5863 (exp10_test_data): New variable.
5864 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5865 (exp2_test_data): New variable.
5866 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5867 (expm1_test_data): New variable.
5868 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5869 (fabs_test_data): New variable.
5870 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5871 (floor_test_data): New variable.
5872 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5873 (j0_test_data): New variable.
5874 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5875 (j1_test_data): New variable.
5876 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5877 (log_test_data): New variable.
5878 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5879 (log10_test_data): New variable.
5880 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5881 (log1p_test_data): New variable.
5882 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5883 (log2_test_data): New variable.
5884 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5885 (logb_test_data): New variable.
5886 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5887 (logb_downward_test_data): New variable.
5888 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5889 (nearbyint_test_data): New variable.
5890 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5891 (rint_test_data): New variable.
5892 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5893 (rint_tonearest_test_data): New variable.
5894 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5895 (rint_towardzero_test_data): New variable.
5896 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5897 (rint_downward_test_data): New variable.
5898 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5899 (rint_upward_test_data): New variable.
5900 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5901 (round_test_data): New variable.
5902 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5903 (sin_test_data): New variable.
5904 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5905 (sin_tonearest_test_data): New variable.
5906 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5907 (sin_towardzero_test_data): New variable.
5908 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5909 (sin_downward_test_data): New variable.
5910 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5911 (sin_upward_test_data): New variable.
5912 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5913 (sinh_test_data): New variable.
5914 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5915 (sinh_tonearest_test_data): New variable.
5916 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5917 (sinh_towardzero_test_data): New variable.
5918 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5919 (sinh_downward_test_data): New variable.
5920 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5921 (sinh_upward_test_data): New variable.
5922 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5923 (sqrt_test_data): New variable.
5924 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5925 (tan_test_data): New variable.
5926 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5927 (tan_tonearest_test_data): New variable.
5928 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5929 (tan_towardzero_test_data): New variable.
5930 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5931 (tan_downward_test_data): New variable.
5932 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5933 (tan_upward_test_data): New variable.
5934 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5935 (tanh_test_data): New variable.
5936 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5937 (tgamma_test_data): New variable.
5938 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5939 (trunc_test_data): New variable.
5940 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5941 (y0_test_data): New variable.
5942 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5943 (y1_test_data): New variable.
5944 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5945 (significand_test_data): New variable.
5946 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5948 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5951 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5953 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5955 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5957 2013-05-10 Andreas Jaeger <aj@suse.de>
5960 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5961 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5963 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5965 * math/gen-libm-test.pl (adjust_arg): New function.
5966 (special_functions): Handle generating output in both functions
5968 (parse_args): Likewise.
5969 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5970 $in_func argument to parse_args.
5971 * math/libm-test.inc (struct test_f_f_data): New type.
5972 (IF_ROUND_INIT_): New macro.
5973 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5974 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5975 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5976 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5977 (ROUND_RESTORE_): Likewise.
5978 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5979 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5980 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5981 (ROUND_RESTORE_FE_UPWARD): Likewise.
5982 (RUN_TEST_LOOP_f_f): New macro.
5983 (acos_test_data): New variable.
5984 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5985 (acos_tonearest_test_data): New variable.
5986 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5988 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5990 * benchtests/bench-skeleton.c (startup): Fix coding style.
5992 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5995 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5996 negative infinity argument.
5997 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5998 negative infinity argument.
5999 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6000 negative infinity argument.
6001 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6004 2013-05-10 Florian Weimer <fweimer@redhat.com>
6006 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6007 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6008 * iconv/iconv_prog.c (main): Likewise.
6009 * locale/programs/charmap-dir.c (charmap_readdir)
6010 (fopen_uncompressed): Likewise.
6011 * locale/programs/locfile.c (siblings_uncached)
6012 (write_locale_data): Use lstat64 instead of lstat.
6013 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6016 2013-05-10 Andreas Jaeger <aj@suse.de>
6019 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6023 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6025 * elf/dl-close.c (_dl_close_worker): Add comments.
6027 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6030 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6032 (__ieee754_rem_pio2l): Update comments.
6035 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6037 (__ieee754_rem_pio2l): Update comments.
6039 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6040 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6042 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6045 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6046 (M_PI_34_LOG10El): Likewise.
6047 (M_PI2_LOG10El): Likewise.
6048 (M_PI4_LOG10El): Likewise.
6049 (M_PI_LOG10El): Likewise.
6051 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6055 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6057 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6058 (MINUS_ZERO_INIT): Likewise.
6059 (PLUS_INFTY_INIT): Likewise.
6060 (MINUS_INFTY_INIT): Likewise.
6061 (QNAN_VALUE_INIT): Likewise.
6062 (MAX_VALUE_INIT): Likewise.
6063 (MIN_VALUE_INIT): Likewise.
6064 (MIN_SUBNORM_VALUE_INIT): Likewise.
6065 (plus_zero): Initialize with PLUS_ZERO_INIT.
6066 (minus_zero): Initialize with MINUS_ZERO_INIT.
6067 (plus_infty): Initialize with PLUS_INFTY_INIT.
6068 (minus_infty): Initialize with MINUS_INFTY_INIT.
6069 (qnan_value): Initialize with QNAN_VALUE_INIT.
6070 (max_value): Initialize with MAX_VALUE_INIT.
6071 (min_value): Initialize with MIN_VALUE_INIT.
6072 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6074 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6075 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6076 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6077 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6079 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6080 (RUN_TEST_2_f): Likewise.
6081 (RUN_TEST_ff_f): Likewise.
6082 (RUN_TEST_fi_f): Likewise.
6083 (RUN_TEST_fl_f): Likewise.
6084 (RUN_TEST_fff_f): Likewise.
6085 (RUN_TEST_c_f): Likewise.
6086 (RUN_TEST_f_f1): Likewise.
6087 (RUN_TEST_fF_f1): Likewise.
6088 (RUN_TEST_fI_f1): Likewise.
6089 (RUN_TEST_ffI_f1): Likewise.
6090 (RUN_TEST_c_c): Likewise.
6091 (RUN_TEST_cc_c): Likewise.
6092 (RUN_TEST_f_i): Likewise.
6093 (RUN_TEST_f_i_tg): Likewise.
6094 (RUN_TEST_ff_i_tg): Likewise.
6095 (RUN_TEST_f_b): Likewise.
6096 (RUN_TEST_f_b_tg): Likewise.
6097 (RUN_TEST_f_l): Likewise.
6098 (RUN_TEST_f_L): Likewise.
6099 (RUN_TEST_sincos): Likewise.
6100 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6101 whether to show exceptions. Do not include ");\n" in return
6103 (special_functions): Output call to RUN_TEST_sincos instead of
6104 check_float calls. Update calls to new_test.
6105 (parse_args): Output call to single RUN_TEST_* macro instead of
6106 check_* calls and other assignments. Update calls to new_test.
6112 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6113 input to result for tgamma overflow.
6114 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6115 (gamma_coeff): New variable.
6116 (NCOEFF): New macro.
6117 (gamma_positive): New function.
6118 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6119 underflow here. Use gamma_positive instead of exp (lgamma) for
6121 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6122 (gamma_coeff): New variable.
6123 (NCOEFF): New macro.
6124 (gammaf_positive): New function.
6125 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6126 underflow here. Use gamma_positive instead of exp (lgamma) for
6128 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6129 (gamma_coeff): New variable.
6130 (NCOEFF): New macro.
6131 (gammal_positive): New function.
6132 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6133 underflow here. Use gamma_positive instead of exp (lgamma) for
6135 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6136 (gamma_coeff): New variable.
6137 (NCOEFF): New macro.
6138 (gammal_positive): New function.
6139 (__ieee754_gammal_r): Handle positive infinity, overflow and
6140 underflow here. Handle NaN the same as positive infinity. Remove
6141 check x < 0xffffffff for negative integers. Use gamma_positive
6142 instead of exp (lgamma) for other arguments.
6143 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6144 (gamma_coeff): New variable.
6145 (NCOEFF): New macro.
6146 (gammal_positive): New function.
6147 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6148 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6149 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6153 * sysdeps/generic/math_private.h (__gamma_productf): New
6155 (__gamma_product): Likewise.
6156 (__gamma_productl): Likewise.
6157 * math/Makefile (libm-calls): Add gamma_product.
6158 * math/libm-test.inc (tgamma_test): Add more tests.
6159 * sysdeps/i386/fpu/libm-test-ulps: Update.
6160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6162 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6164 * benchtests/bench-skeleton.c (main): Preheat CPU.
6166 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6168 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6170 2013-05-07 Roland McGrath <roland@hack.frob.com>
6172 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6173 and _dl_skip_args_internal.
6175 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6177 * manual/message.texi (Message Translation): Talk about users.
6178 Message to key mapping impacts design.
6180 2013-05-06 Roland McGrath <roland@hack.frob.com>
6182 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6184 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6186 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6187 * sysdeps/wordsize-64/glob64.c: ... here.
6189 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6190 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6193 * debug/getlogin_r_chk.c: Moved to ...
6194 * login/getlogin_r_chk.c: ... here.
6195 * debug/Makefile (routines): Move getlogin_r_chk to ...
6196 * login/Makefile (routines): ... here.
6197 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6198 * login/Versions (libc: GLIBC_2.4): ... here.
6200 * io/poll.c (__poll): Renamed from poll.
6201 Add libc_hidden_def.
6202 (poll): Define as weak alias.
6204 * debug/ptsname_r_chk.c: Moved to ...
6205 * login/ptsname_r_chk.c: ... here.
6206 * debug/Makefile (routines): Move ptsname_r_chk to ...
6207 * login/Makefile (routines): ... here.
6208 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6209 * login/Versions (libc: GLIBC_2.4): ... here.
6211 * posix/getlogin.c: Moved to ...
6212 * login/getlogin.c: ... here.
6213 * posix/getlogin_r.c: Moved to ...
6214 * login/getlogin_r.c: ... here.
6215 * posix/getlogin_r.c: Moved to ...
6216 * login/getlogin_r.c: ... here.
6217 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6218 * login/Makefile (routines): ... here.
6219 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6220 * login/Versions (libc: GLIBC_2.0): ... here.
6222 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6223 (setrlimit): Define as weak alias.
6225 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6226 Call __ names for open, ftruncate, and close.
6227 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6228 (truncate): Define as weak alias.
6230 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6232 * math/gen-libm-test.pl (parse_args): Initialize x before each
6233 test of frexp, modf and remquo.
6235 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6238 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6242 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6244 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6246 2013-05-06 Roland McGrath <roland@hack.frob.com>
6248 * elf/dl-writev.h: New file.
6249 * elf/dl-misc.c: Include it.
6250 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6251 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6253 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6255 * math/libm-test.inc (noXFails): Remove variable.
6256 (noXPasses): Likewise.
6257 (BUILD_COMPLEX_INT): Remove macro.
6258 (print_screen): Remove xfail argument.
6259 (print_screen_max_error): Likewise.
6260 (update_stats): Likewise.
6261 (print_max_error): Likewise. Update calls to other affected
6263 (print_complex_max_error): Likewise.
6264 (test_single_exception): Update calls to print_screen.
6265 (test_single_errno): Likewise.
6266 (check_float_internal): Remove xfail argument. Update calls to
6267 other affected functions.
6268 (check_float): Likewise.
6269 (check_complex): Likewise.
6270 (check_int): Likewise.
6271 (check_long): Likewise.
6272 (check_bool): Likewise.
6273 (check_longlong): Likewise.
6274 (main): Don't print noXFails and noXPasses.
6275 * math/gen-libm-test.pl (top level): Don't mention expected
6276 failure handling in comment.
6277 (new_test): Don't handle expected failures.
6278 (parse_args): Don't mention expected failure handling in comment.
6279 (generate_testfile): Don't handle expected failures.
6280 (parse_ulps): Likewise.
6281 (print_ulps_file): Likewise.
6282 (get_failure): Remove function.
6283 (output_test): Don't handle expected failures.
6284 * make/README.libm-test: Don't mention expected failure handling.
6286 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6287 (minus_zero): Likewise.
6288 (plus_infty): Likewise.
6289 (minus_infty): Likewise.
6290 (qnan_value): Likewise.
6291 (max_value): Likewise.
6292 (min_value): Likewise.
6293 (min_subnorm_value): Likewise.
6294 (initialize): Do not initialize those variables dynamically.
6296 2013-05-03 Roland McGrath <roland@hack.frob.com>
6298 * io/open.c (__open_2): Moved to ...
6299 * io/open_2.c: ... this new file.
6300 * io/open64.c (__open64_2): Moved to ...
6301 * io/open64_2.c: ... this new file.
6302 * io/openat.c (__openat_2): Moved to ...
6303 * io/openat_2.c: ... this new file.
6304 * io/openat64.c (__openat64_2): Moved to ...
6305 * io/openat64_2.c: ... this new file.
6306 * io/Makefile (routines): Add them.
6307 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6308 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6309 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6310 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6311 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6312 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6313 (__openat64): Add hidden_ver.
6314 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6315 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6317 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6318 Separately conditionalize setting of GLRO(dl_sysinfo) so
6319 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6320 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6322 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6324 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6325 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6327 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6328 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6329 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6330 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6331 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6333 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6335 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6338 * math/libm-test.inc (hypot_test): Do not use
6339 IGNORE_ZERO_INF_SIGN.
6341 2013-05-03 Andreas Jaeger <aj@suse.de>
6343 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6345 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6346 (PF_MAX): Adjust for VSOCK change.
6348 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6352 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6355 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6356 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6357 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6359 2013-05-02 David S. Miller <davem@davemloft.net>
6361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6363 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6365 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6367 2013-05-01 Roland McGrath <roland@hack.frob.com>
6369 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6371 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6374 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6375 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6376 Use __attribute__ ((__gnu_inline__)).
6377 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6378 Don't use __attribute__ ((__gnu_inline__)).
6380 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6383 * math/s_catan.c (__catan): Handle small real or imaginary part of
6384 input specially to avoid spurious underflow.
6385 * math/s_catanf.c (__catanf): Likewise.
6386 * math/s_catanh.c (__catanh): Likewise.
6387 * math/s_catanhf.c (__catanhf): Likewise.
6388 * math/s_catanhl.c (__catanhl): Likewise.
6389 * math/s_catanl.c (__catanl): Likewise.
6390 * math/libm-test.inc (catan_test): Add more tests.
6391 (catanh_test): Likewise.
6392 * sysdeps/i386/fpu/libm-test-ulps: Update.
6393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6395 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6399 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6402 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6403 accurately for denominator in atan2.
6404 * math/s_catanf.c (__catanf): Likewise.
6405 * math/s_catanh.c (__catanh): Likewise.
6406 * math/s_catanhf.c (__catanhf): Likewise.
6407 * math/s_catanhl.c (__catanhl): Likewise.
6408 * math/s_catanl.c (__catanl): Likewise.
6409 * math/libm-test.inc (catan_test): Add more tests.
6410 (catanh_test): Likewise.
6411 * sysdeps/i386/fpu/libm-test-ulps: Update.
6412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6414 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6416 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6418 * benchtests/Makefile (bench): Remove slow benchmarks.
6419 * benchtests/atan-inputs: Add slow benchmark inputs.
6420 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6421 (BENCH_FUNC): Accept variant offset.
6423 * benchtests/bench-skeleton.c (main): Run benchmark for each
6425 * benchtests/cos-inputs: Add slow benchmark inputs.
6426 * benchtests/exp-inputs: Likewise.
6427 * benchtests/pow-inputs: Likewise.
6428 * benchtests/sin-inputs: Likewise.
6429 * benchtests/slowatan-inputs: Remove.
6430 * benchtests/slowatan.c: Remove.
6431 * benchtests/slowcos-inputs: Remove.
6432 * benchtests/slowcos.c: Remove.
6433 * benchtests/slowexp-inputs: Remove.
6434 * benchtests/slowexp.c: Remove.
6435 * benchtests/slowpow-inputs: Remove.
6436 * benchtests/slowpow.c: Remove.
6437 * benchtests/slowsin-inputs: Remove.
6438 * benchtests/slowsin.c: Remove.
6439 * benchtests/slowtan-inputs: Remove.
6440 * benchtests/slowtan.c: Remove.
6441 * benchtests/tan-inputs: Add slow benchmark inputs.
6442 * scripts/bench.pl: Parse comments and directives.
6444 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6446 ($(objpfx)bench-%.c): Remove *-ITER.
6447 * benchtests/bench-modf.c: Remove definition of ITER.
6448 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6449 (main): Loop for DURATION seconds instead of fixed number of
6451 * scripts/bench.pl: Don't expect iterations in parameters.
6453 2013-04-29 Roland McGrath <roland@hack.frob.com>
6455 * io/fchdir.c (__fchdir): Renamed from fchdir.
6456 (fchdir): Define as weak alias.
6458 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6460 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6461 (ERRNO_EDOM): Likewise.
6462 (ERRNO_ERANGE): Likewise.
6463 (noErrnoTests): New variable.
6464 (init_max_error): Set errno to 0.
6465 (test_single_errno): New function.
6466 (test_errno): Likewise.
6467 (check_float_internal): Call test_errno. Set errno to 0.
6468 (check_complex): Refer to errno tests in comment.
6469 (check_int): Call test_errno. Set errno to 0.
6470 (check_long): Likewise.
6471 (check_bool): Likewise.
6472 (check_longlong): Likewise.
6473 (cos_test): Use ERRNO_* flags for errno tests instead of
6475 (expm1_test): Likewise.
6476 (fmod_test): Likewise.
6477 (ilogb_test): Likewise.
6478 (lgamma_test): Likewise.
6479 (pow_test): Likewise.
6480 (remainder_test): Likewise.
6481 (sin_test): Likewise.
6482 (tan_test): Likewise.
6483 (yn_test): Likewise.
6484 (initialize): Set errno to 0.
6485 (main): Print number of errno tests.
6486 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6488 2013-04-29 Andreas Jaeger <aj@suse.de>
6491 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6495 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6496 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6500 * stdlib/random.c (__initstate): Return NULL if
6504 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6505 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6508 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6512 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6514 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6515 of individual tests.
6516 (casin_test): Likewise.
6517 (casinh_test): Likewise.
6519 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6522 * math/s_catan.c (__catan): Handle arguments with large real or
6523 imaginary part separately without squaring.
6524 * math/s_catanf.c (__catanf): Likewise.
6525 * math/s_catanh.c (__catanh): Likewise.
6526 * math/s_catanhf.c (__catanhf): Likewise.
6527 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6529 (__catanhl): Handle arguments with large real or imaginary part
6530 separately without squaring.
6531 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6533 (__catanl): Handle arguments with large real or imaginary part
6534 separately without squaring.
6535 * math/libm-test.inc (catan_test): Add more tests.
6536 (catanh_test): Likewise.
6537 * sysdeps/i386/fpu/libm-test-ulps: Update.
6538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6540 2013-04-27 Andreas Jaeger <aj@suse.de>
6543 * stdlib/stdlib.h: Update guards for qecvt.
6544 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6547 2013-04-27 Allan McRae <allan@archlinux.org>
6549 * sysdeps/i386/fpu/libm-test-ulps: Update.
6551 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6554 * math/s_catan.c: Include <float.h>.
6555 (__catan): Ensure underflow exception occurs for underflowed
6557 * math/s_catanf.c: Include <float.h>.
6558 (__catanf): Ensure underflow exception occurs for underflowed
6560 * math/s_catanh.c: Include <float.h>.
6561 (__catanh): Ensure underflow exception occurs for underflowed
6563 * math/s_catanhf.c: Include <float.h>.
6564 (__catanhf): Ensure underflow exception occurs for underflowed
6566 * math/s_catanhl.c: Include <float.h>.
6567 (__catanhl): Ensure underflow exception occurs for underflowed
6569 * math/s_catanl.c: Include <float.h>.
6570 (__catanl): Ensure underflow exception occurs for underflowed
6572 * math/libm-test.inc (catan_test): Add more tests.
6573 (catanh_test): Likewise.
6576 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6578 * math/s_ccoshf.c (__ccoshf): Likewise.
6579 * math/s_ccoshl.c (__ccoshl): Likewise.
6580 * math/s_csin.c (__csin): Likewise.
6581 * math/s_csinf.c (__csinf): Likewise.
6582 * math/s_csinh.c (__csinh): Likewise.
6583 * math/s_csinhf.c (__csinhf): Likewise.
6584 * math/s_csinhl.c (__csinhl): Likewise.
6585 * math/s_csinl.c (__csinl): Likewise.
6586 * math/libm-test.inc (ccos_test): Add more tests.
6587 (ccosh_test): Likewise.
6588 (csin_test): Likewise.
6589 (csinh_test): Likewise.
6591 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6593 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6594 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6595 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6596 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6597 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6598 powerpc/power5+/fpu folders.
6599 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6602 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6606 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6608 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6609 additions to variable.
6610 [$(config-machine) = x86_64] (modules-names): Likewise.
6611 ($(objpfx)tst-audit3): Remove dependency.
6612 ($(objpfx)tst-audit3.out): Likewise.
6613 ($(objpfx)tst-audit4): Likewise.
6614 ($(objpfx)tst-audit4.out): Likewise.
6615 ($(objpfx)tst-audit5): Likewise.
6616 ($(objpfx)tst-audit5.out): Likewise.
6617 ($(objpfx)tst-audit6): Likewise.
6618 ($(objpfx)tst-audit6.out): Likewise.
6619 ($(objpfx)tst-audit7): Likewise.
6620 ($(objpfx)tst-audit7.out): Likewise.
6621 (tst-audit3-ENV): Remove variable.
6622 (tst-audit4-ENV): Likewise.
6623 (tst-audit5-ENV): Likewise.
6624 (tst-audit6-ENV): Likewise.
6625 (tst-audit7-ENV): Likewise.
6626 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6627 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6628 addition to variable.
6629 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6630 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6631 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6632 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6633 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6634 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6635 tst-audit3, tst-audit4 and tst-audit5.
6636 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6637 tst-audit6 and tst-audit7.
6638 [$(subdir) = elf] (modules-names): Add audit modules for those
6640 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6641 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6642 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6643 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6644 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6645 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6646 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6647 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6648 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6649 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6650 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6651 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6652 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6653 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6654 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6655 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6657 [$(subdir) = elf && $(config-cflags-avx) = yes]
6658 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6659 [$(subdir) = elf && $(config-cflags-avx) = yes]
6660 (CFLAGS-tst-auditmod4a.c): Likewise.
6661 [$(subdir) = elf && $(config-cflags-avx) = yes]
6662 (CFLAGS-tst-auditmod4b.c): Likewise.
6663 [$(subdir) = elf && $(config-cflags-avx) = yes]
6664 (CFLAGS-tst-auditmod6b.c): Likewise.
6665 [$(subdir) = elf && $(config-cflags-avx) = yes]
6666 (CFLAGS-tst-auditmod6c.c): Likewise.
6667 [$(subdir) = elf && $(config-cflags-avx) = yes]
6668 (CFLAGS-tst-auditmod7b.c): Likewise.
6669 * elf/tst-audit3.c: Move to ...
6670 * sysdeps/x86_64/tst-audit3.c: ... here.
6671 * elf/tst-audit4.c: Move to ...
6672 * sysdeps/x86_64/tst-audit4.c: ... here.
6673 * elf/tst-audit5.c: Move to ...
6674 * sysdeps/x86_64/tst-audit5.c: ... here.
6675 * elf/tst-audit6.c: Move to ...
6676 * sysdeps/x86_64/tst-audit6.c: ... here.
6677 * elf/tst-audit7.c: Move to ...
6678 * sysdeps/x86_64/tst-audit7.c: ... here.
6679 * elf/tst-auditmod3a.c: Move to ...
6680 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6681 * elf/tst-auditmod3b.c: Move to ...
6682 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6683 * elf/tst-auditmod4a.c: Move to ...
6684 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6685 * elf/tst-auditmod4b.c: Move to ...
6686 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6687 * elf/tst-auditmod5a.c: Move to ...
6688 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6689 * elf/tst-auditmod5b.c: Move to ...
6690 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6691 * elf/tst-auditmod6a.c: Move to ...
6692 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6693 * elf/tst-auditmod6b.c: Move to ...
6694 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6695 * elf/tst-auditmod6c.c: Move to ...
6696 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6697 * elf/tst-auditmod7a.c: Move to ...
6698 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6699 * elf/tst-auditmod7b.c: Move to ...
6700 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6702 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6705 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6706 define unconditionally.
6707 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6708 define unconditionally.
6709 (INT8_C, INT16_C, etc.): Likewise.
6711 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6713 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6714 __ehdr_start with hidden visibility.
6716 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6718 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6720 * math/libm-test.inc (cos_test): Use accurate hex constants.
6721 (sincost_test): Likewise.
6723 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6725 * math/libm-test.inc (catan_test): Add more tests.
6726 (catanh_test): Likewise.
6728 * math/s_catanf.c (__catanf): Use suffixed floating-point
6730 * math/s_catanhf.c (__catanhf): Likewise.
6731 * math/s_catanhl.c (__catanhl): Likewise.
6732 * math/s_catanl.c (__catanl): Likewise.
6735 * math/s_catan.c (__catan): Calculate imaginary part of result
6736 with log1p not log unless computing log of number close to 0.
6737 * math/s_catanf.c (__catanf): Likewise.
6738 * math/s_catanl.c (__catanl): Likewise.
6739 * math/s_catanh.c (__catanh): Calculate real part of result with
6740 log1p not log unless computing log of number close to 0.
6741 * math/s_catanhf.c (__catanhf): Likewise.
6742 * math/s_catanhl.c (__catanhl): Likewise.
6743 * math/libm-test.inc (catan_test): Add more tests.
6744 (catanh_test): Likewise.
6745 * sysdeps/i386/fpu/libm-test-ulps: Update.
6746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6748 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6750 * benchtests/Makefile: Mention files in which fast and slow
6751 paths of math functions are implemented.
6753 2013-04-23 Roland McGrath <roland@hack.frob.com>
6755 * sysdeps/posix/timespec_get.c: New file.
6757 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6759 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6761 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6763 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6764 powerpc/power5/fpu folders.
6765 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6766 * benchtests/Makefile: Add modf testcase.
6767 * benchtests/bench-modf.c: New file: Benchmark test for mo
6769 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6772 * time/Makefile (tests): Add tst-strptime-whitespace.
6773 * time/strptime_l.c (get_number): Use ISSPACE.
6774 (__strptime_internal): Likewise.
6775 * time/tst-strptime-whitespace.c: New test case.
6777 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6779 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6781 (_nss_files_init): Set it here.
6783 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6785 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6786 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6789 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6791 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6793 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6795 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6798 2013-04-21 David S. Miller <davem@davemloft.net>
6800 * po/ru.po: Update Russion translation from translation project.
6802 2013-04-17 Adam Conrad <adconrad@0c3.net>
6804 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6807 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6809 * configure.in: Remove i386 configure warning. Remove i386 case.
6810 * configure: Regenerate.
6811 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6812 Add example to error message.
6813 * sysdeps/i386/configure: Regenerate.
6815 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6817 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6819 * benchtests/cos-inputs: New file.
6820 * benchtests/slowcos-inputs: New file.
6821 * benchtests/slowcos.c: New file.
6822 * benchtests/slowtan-inputs: New file.
6823 * benchtests/slowtan.c: New file.
6824 * benchtests/tan-inputs: New file.
6826 2013-04-16 Roland McGrath <roland@hack.frob.com>
6828 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6831 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6833 * benchtests/Makefile: Include cppflags-iterator.mk to add
6834 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6836 * Makefile.in (bench-clean): New target.
6837 * benchtests/Makefile (bench-clean): Likewise.
6839 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6841 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6843 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6845 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6847 2013-04-15 Andreas Schwab <schwab@suse.de>
6849 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6851 * nscd/pwdcache.c (cache_addpw): Likewise.
6852 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6855 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6857 * benchtests/Makefile (bench): Write all output to
6858 bench-out.tmp together.
6860 2013-04-15 Andreas Schwab <schwab@suse.de>
6862 * nscd/nscd.c (main): Don't fork again after closing files.
6864 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6866 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6868 * benchtests/Rules (bench-deps): Collect dependencies into a
6869 single variable. Add Makefile to dependencies.
6870 ($(objpfx)bench-%.c): Depend on bench-deps.
6872 2013-04-12 Roland McGrath <roland@hack.frob.com>
6873 Xavier Roche <roche+kml2@exalead.com>
6876 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6877 just that it's a file descriptor.
6878 * manual/llio.texi (Synchronizing AIO Operations): Update description
6879 for EBADF error from aio_fsync.
6881 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6883 * Rules (bench): Move target definition...
6884 * benchtests/Makefile: ... here.
6886 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6888 * math/libm-test.inc (cos_test): Fix PI/2 test.
6889 (sincos_test): Likewise.
6890 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6891 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6893 2013-04-11 Andreas Schwab <schwab@suse.de>
6896 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6897 accept exponent character only when digits were seen.
6898 * stdio-common/Makefile (tests): Add bug26.
6899 * stdio-common/bug26.c: New file.
6902 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6905 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6907 * Makeconfig (rtld-prefix): Define built linker prefix.
6908 * Rules (run-bench): Use it.
6909 * math/Makefile (run-regen-ulps): Likewise.
6911 * Rules (bench): Remove eval.
6913 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6914 Roland McGrath <roland@hack.frob.com>
6915 Ondrej Bilka <neleai@seznam.cz>
6918 * time/getdate.c: Include ctype.h and alloca.h.
6919 (__getdate_r): Trim leading and trailing spaces of input.
6920 * time/tst-getdate.c (tests): Add tests with leading and
6923 2013-04-08 Roland McGrath <roland@hack.frob.com>
6926 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6927 when computing value.
6929 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6931 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6932 Use testrun.sh to run libm tests.
6935 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6937 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6940 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6942 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6944 * Makefile.in (regen-ulps): New target.
6945 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6946 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6947 [ifneq (no,$(PERL)] (regen-ulps): New target.
6948 [ifeq (no,$(PERL)] (regen-ulps): New target.
6949 * math/libm-test.inc (ulps_file_name): Define.
6950 (output_dir): New variable.
6951 (options): Add "output-dir" option.
6952 (parse_opt): Handle 'o' case.
6953 (main): If output_dir is non-NULL use it as a prefix
6955 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6957 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6960 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6961 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6962 fail configure if __sync_val_compare_and_swap is not inlined.
6963 * sysdeps/i386/configure: Regenerate.
6964 * configure.in: Build for i686 when configured for i386.
6965 * configure: Regenerate.
6966 * README: Remove i386 reference.
6968 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6970 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6971 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6973 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6975 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6976 (lmsnanval): New variables.
6977 (F): Add conversion tests.
6978 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6979 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6981 * stdio-common/tstdiomisc.c (F): Properly collect individual
6985 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6986 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6987 Instead, use input NaN values or generate a qNaN by arithmetic
6988 operation. Also fix bugs to comply with the standard.
6989 * math/libm-test.inc (remainder_test): Add more tests.
6992 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6994 input NaN values or generate a qNaN by arithmetic operation.
6996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6999 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7002 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7005 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7007 * math/s_cexpf.c (__cexpf): Likewise.
7008 * math/s_cexpl.c (__cexpl): Likewise.
7009 * math/libm-test.inc (cexp_test): Add more tests.
7011 2013-04-03 Andreas Schwab <schwab@suse.de>
7014 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7015 order arrays from heap if bigger than alloca cutoff.
7017 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7019 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7020 (SNAN_TESTS_double): Refer to GCC PR56831.
7021 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7024 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7026 * Rules (bench): Move bench.out after the run is complete.
7028 * Rules (bench): Echo currently running benchmark.
7030 * benchtests/Makefile (bench): Add atan and slowatan.
7031 * benchtests/atan-inputs: New file.
7032 * benchtests/slowatan-inputs: New file.
7033 * benchtests/slowatan.c: New file.
7035 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7036 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7040 * sysdeps/unix/sysv/linux/kernel-features.h
7041 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7042 __ASSUME_XFS_RESTRICTED_CHOWN.
7043 * sysdeps/unix/sysv/linux/pathconf.c
7044 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7045 Save and restore errno.
7047 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7050 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7051 arguments using __kernel_casinh.
7052 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7053 arguments using __kernel_casinhf.
7054 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7055 arguments using __kernel_casinhl.
7056 * math/libm-test.inc (cacosh_test): Add more tests.
7057 * sysdeps/i386/fpu/libm-test-ulps: Update.
7058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7060 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7062 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7065 * bench/Makefile (bench): Add sin and slowsin.
7066 * benchtests/sin-inputs: New file.
7067 * benchtests/slowsin-inputs: New file.
7068 * benchtests/slowsin.c: New file.
7070 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7071 (bench): Add slowexp and slowpow.
7072 (exp-ITER): Increase iterations.
7073 (pow-ITER): Likewise.
7074 * benchtests/exp-inputs: Change input.
7075 * benchtests/pow-inputs: Likewise.
7076 * benchtests/slowexp-inputs: New file.
7077 * benchtests/slowexp.c: New file.
7078 * benchtests/slowpow-inputs: New file.
7079 * benchtests/slowpow.c: New file.
7081 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7083 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7085 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7086 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7087 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7088 * benchtests/Makefile: Add rint benchtest.
7089 * benchtests/rint-inputs: Input for rint benchtest.
7091 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7093 * Versions.def (libm): Add GLIBC_2.18.
7094 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7095 hidden libm prototypes.
7096 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7097 * math/Makefile (libm-calls): Add s_issignaling.
7098 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7099 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7100 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7102 * math/math.h [__USE_GNU] (issignaling): New macro.
7103 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7104 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7105 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7106 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7109 * manual/arith.texi (issignaling): New section.
7110 * manual/libm-err-tab.pl (@all_functions): Update comment.
7111 * math/gen-libm-test.pl (parse_args): Apply special handling for
7113 * math/libm-test.inc (print_float, issignaling_test): New
7115 (check_float_internal): Add issignaling checks.
7116 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7118 * sysdeps/powerpc/math-tests.h: New file.
7119 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7121 * math/test-snan.c (TEST_FUNC): Likewise.
7123 2013-03-30 David S. Miller <davem@davemloft.net>
7125 * po/de.po: Update from translation team.
7127 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7130 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7131 imaginary part less than 1.0 and real part less than 0.5
7133 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7134 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7135 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7136 (cacos_test): Add more tests.
7137 (casin_test): Likewise.
7138 (casinh_test): Likewise.
7139 * sysdeps/i386/fpu/libm-test-ulps: Update.
7140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7142 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7144 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7147 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7148 (__pow_mp): Replace ONE and MONE with their values.
7149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7150 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7152 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7153 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7154 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7156 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7158 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7159 (__pow_mp): Replace ZERO and MZERO with their values.
7160 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7162 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7164 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7165 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7168 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7170 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7172 2013-03-28 Roland McGrath <roland@hack.frob.com>
7174 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7175 Declare with __attribute__ ((weak)).
7176 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7177 Call __call_tls_dtors only if it's not NULL.
7179 2013-03-28 Roland McGrath <roland@hack.frob.com>
7181 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7182 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7183 magic __ehdr_start linker symbol if it's defined.
7184 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7185 them up here if it was already done.
7187 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7188 (_dl_aux_init): Use const in cast when setting it.
7189 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7190 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7191 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7193 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7195 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7196 * csu/libc-tls.c: Nor here.
7197 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7199 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7200 (__libc_message): Never call vsyslog.
7202 2013-03-28 Alan Modra <amodra@gmail.com>
7204 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7206 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7209 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7212 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7216 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7219 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7220 Don't add gid passed as argument.
7222 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7224 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7227 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7228 imaginary part between 1.0 and 1.5 and real part less than 0.5
7230 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7231 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7232 * math/libm-test.inc (cacos_test): Add more tests.
7233 (casin_test): Likewise.
7234 (casinh_test): Likewise.
7235 * sysdeps/i386/fpu/libm-test-ulps: Update.
7236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7238 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7240 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7244 (__dbl_mp): Likewise.
7245 (add_magnitudes): Likewise.
7246 (sub_magnitudes): Likewise.
7254 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7256 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7257 (__dubcos): Likewise.
7258 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7259 (__ieee754_acos): Likewise.
7260 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7261 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7263 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7264 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7266 (my_log2): Likewise.
7267 (checkint): Likewise.
7268 * sysdeps/ieee754/dbl-64/e_remainder.c
7269 (__ieee754_remainder): Likewise.
7270 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7273 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7275 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7276 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7277 MANTISSA_STORE_T to store computations on mantissa. Use
7278 macros for rounding and division.
7280 (__dbl_mp): Likewise.
7281 (add_magnitudes): Likewise.
7282 (sub_magnitudes): Likewise.
7285 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7286 powers of two in terms of TWOPOW macro.
7287 (mp_no): Make type of mantissa as MANTISSA_T.
7288 [!RADIXI]: Define RADIXI.
7289 [!TWO52]: Define TWO52.
7290 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7292 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7294 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7295 llroundl symbol when building for PPC32.
7297 2013-03-24 Mark H Weaver <mhw@netris.org>
7299 * manual/arith.texi (Normalization Functions): Fix prototypes for
7300 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7302 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7305 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7306 high value to check if expl overflow.
7307 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7308 to check for underflow and overflow.
7309 * math/libm-test.inc: Add exp test.
7311 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7314 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7317 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7319 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7322 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7324 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7325 wrap blocks consisting of several statements.
7327 * sysdeps/generic/math-tests.h: New file.
7328 * sysdeps/i386/fpu/math-tests.h: Likewise.
7329 * math/test-snan.c: Include it.
7330 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7332 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7335 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7336 (__ieee754_j0l): Do not improve calculations using cos of twice
7337 input for inputs above LDBL_MAX / 2.0L.
7338 (__ieee754_y0l): Likewise.
7339 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7340 (__ieee754_j1l): Do not improve calculations using cos of twice
7341 input for inputs above LDBL_MAX / 2.0L.
7342 (__ieee754_y1l): Likewise.
7343 * math/libm-test.inc (j0_test): Add another test.
7344 (j1_test): Likewise.
7345 (y0_test): Likewise.
7346 (y1_test): Likewise.
7347 * sysdeps/i386/fpu/libm-test-ulps: Update.
7349 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7351 * Rules ($(objpfx)bench-%.c): Include code from a C source
7354 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7357 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7358 imaginary part 1.0 and real part less than 0.5 specially.
7359 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7360 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7361 * math/libm-test.inc (cacos_test): Add more tests.
7362 (casin_test): Likewise.
7363 (casinh_test): Likewise.
7364 * sysdeps/i386/fpu/libm-test-ulps: Update.
7365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7367 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7369 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7370 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7372 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7374 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7375 * config.make.in (config-cflags-sse4): Remove variable.
7376 (config-cflags-avx): Likewise.
7377 (config-cflags-sse2avx): Likewise.
7378 (config-cflags-novzeroupper): Likewise.
7379 (config-asflags-i686): Likewise.
7380 (have-mfma4): Likewise.
7381 (have-as-vis3): Likewise.
7383 * configure.in (MIG): Do not AC_SUBST.
7384 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7385 (libc_cv_cc_sse4): Do not AC_SUBST.
7386 (libc_cv_cc_avx): Likewise.
7387 (libc_cv_cc_sse2avx): Likewise.
7388 (libc_cv_cc_novzeroupper): Likewise.
7389 (libc_cv_cc_fma4): Likewise.
7390 (libc_cv_as_i686): Likewise.
7391 (libc_cv_sparc_as_vis3): Likewise.
7392 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7394 (config-asflags-i686): Likewise.
7395 (config-cflags-avx): Likewise.
7396 (config-cflags-sse2avx): Likewise.
7397 (have-mfma4): Likewise.
7398 (config-cflags-novzeroupper): Likewise.
7399 * sysdeps/mach/configure.in (MIG): Likewise.
7400 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7401 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7403 (config-cflags-avx): Likewise.
7404 (config-cflags-sse2avx): Likewise.
7405 (have-mfma4): Likewise.
7406 (config-cflags-novzeroupper): Likewise.
7407 * configure: Regenerated.
7408 * sysdeps/i386/configure: Likewise.
7409 * sysdeps/mach/configure: Likewise.
7410 * sysdeps/sparc/configure: Likewise.
7411 * sysdeps/x86_64/configure: Likewise.
7413 2013-03-20 Roland McGrath <roland@hack.frob.com>
7416 * locale/programs/localedef.c (options): Put N_ translation marker
7417 on argument names, not just descriptions.
7419 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7421 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7423 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7426 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7428 2013-03-19 Roland McGrath <roland@hack.frob.com>
7430 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7431 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7432 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7433 [!BEFORE_ABORT] (before_abort): New function.
7434 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7435 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7436 (writev_for_fatal): New function.
7437 (WRITEV_FOR_FATAL): New macro; call that.
7438 (backtrace_and_maps): New function.
7439 (BEFORE_ABORT): New macro; call that.
7440 (struct str_list): Type removed.
7441 (__libc_message, __libc_fatal): Functions removed.
7442 Include <sysdeps/posix/libc_fatal.c> instead.
7444 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7446 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7448 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7451 2013-03-19 Andreas Schwab <schwab@suse.de>
7453 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7454 * sysdeps/gnu/configure: Regenerate.
7456 * configure.in: Substitute libc_cv_rtlddir.
7457 * configure: Regenerate.
7458 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7459 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7460 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7461 * elf/Makefile (install-others, CFLAGS-interp.c)
7462 (ldso_install, common-ldd-rewrite): Likewise.
7463 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7464 $(inst_slibdir)/$(rtld-installed-name).
7465 * scripts/rellns-sh: Add -p option.
7466 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7469 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7471 * manual/nptl.texi: Renamed to ...
7472 * manual/threads.texi: ... this.
7473 * manual/Makefile (chapters): Update.
7475 2013-03-18 Roland McGrath <roland@hack.frob.com>
7478 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7479 on argument names, not just descriptions.
7480 * malloc/memusagestat.c (options): Likewise.
7481 * nss/getent.c (options): Likewise.
7483 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7486 * iconv/iconv_prog.c (options): Put N_ translation marker
7487 on argument names, not just descriptions.
7488 * iconv/iconvconfig.c (options): Likewise.
7490 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7492 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7493 implementation which is faster on all x86_64 architectures.
7494 Tested on AMD, Intel Nehalem, SNB, IVB.
7495 * sysdeps/x86_64/strnlen.S: Likewise.
7497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7498 Remove all multiarch strlen and strnlen versions.
7499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7500 Remove strlen and strnlen related parts.
7502 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7504 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7506 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7507 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7508 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7509 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7510 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7511 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7513 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7515 * manual/memory.texi (Malloc Tunable Parameters):
7516 Sort parameters alphabetically. Add comments for missing entries.
7518 2013-03-17 David S. Miller <davem@davemloft.net>
7520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7522 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7525 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7526 for arguments at most half maximum finite value.
7527 * math/libm-test.inc (j0_test): Add more tests.
7528 (j1_test): Likewise.
7529 (y0_test): Likewise.
7530 (y1_test): Likewise.
7531 * sysdeps/i386/fpu/libm-test-ulps: Update.
7532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7535 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7536 1 / x and functions P and Q for arguments above 0x1p256L.
7537 (__ieee754_y0l): Likewise.
7538 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7539 (__ieee754_y1l): Likewise.
7540 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7541 (j1_test): Likewise.
7542 (y0_test): Likewise.
7543 (y1_test): Likewise.
7545 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7547 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7550 2013-03-15 Roland McGrath <roland@hack.frob.com>
7552 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7553 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7554 zero since it's initialized to EXEC_PAGESIZE.
7556 * sysdeps/unix/sysv/linux/ldsodefs.h
7557 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7558 * sysdeps/generic/ldsodefs.h: ... here.
7560 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7562 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7564 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7566 * math/test-snan.c: Renamed from
7567 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7568 * math/Makefile (tests): Add test-snan.
7569 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7572 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7573 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7575 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7576 __builtin_nan family of functions.
7577 * math/libm-test.inc (initialize): Initialize qnan_value with
7578 __builtin_nan family of functions.
7579 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7581 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7583 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7584 storage class. Initialize qNaN_var and sNaN_var with
7585 __builtin_nan and __builtin_nans families of functions,
7588 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7589 (sqrt_test): Remove duplicate test with qNaN input.
7590 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7591 (round_test, signbit_test, significand_test): Note missing +/-Inf
7592 as well as qNaN tests.
7594 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7595 qNaN_var. Fix a few strings, too.
7596 * math/libm-test.inc (nan_value): Rename to qnan_value.
7597 * math/gen-libm-test.pl (%beautify): Adjust to that.
7598 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7599 * math/test-misc.c (main): Likewise.
7600 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7601 to __qnan_bytes, and __qnan_union, respectively.
7602 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7604 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7605 and lqnanval, respectively.
7606 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7607 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7608 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7609 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7611 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7612 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7615 * math/test-misc.c (main): Fix copy'n'pastos.
7616 * misc/tst-efgcvt.c (special): Likewise.
7618 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7619 Remove declarations.
7621 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7623 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7624 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7625 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7626 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7628 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7630 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7631 macro to return vdso values correctly in IFUNC implementations.
7632 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7633 Optimization by using IFUNC.
7635 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7636 Richard Henderson <rth@redhat.com>
7637 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7639 * Makefile.in (bench): New target.
7640 * NEWS: Mention the benchmark framework.
7641 * Rules (bench): Likewise.
7642 (binaries-bench): Generate binaries for functions to
7644 * benchtests/Makefile: New makefile for benchmark tests.
7645 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7647 * benchtests/exp-inputs: New input file for EXP function.
7648 * benchtests/pow-inputs: New input file for POW function.
7649 * scripts/bench.pl: New script to generate source files for
7652 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7654 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7655 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7656 computations on mantissa. Use macros for rounding and
7659 (__dbl_mp): Likewise.
7660 (add_magnitudes): Likewise.
7661 (sub_magnitudes): Likewise.
7664 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7665 powers of two in terms of TWOPOW macro.
7666 (mp_no): Make type of mantissa as MANTISSA_T.
7667 [!RADIXI]: Define RADIXI.
7668 [!TWO52]: Define TWO52.
7669 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7671 * manual/nptl.texi (cindex): Modify threads to pthreads.
7673 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7675 * sysdeps/x86_64/preconfigure: Regenerated.
7677 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7680 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7682 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7683 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7685 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7686 * math/libm-test.inc (j0_test): Do not allow one spurious
7687 underflow exception.
7688 (y1_test): Likewise.
7690 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7692 * manual/Makefile (chapters): Add nptl.
7693 * manual/debug.texi (Debugging Support): Add link to Threads
7695 * manual/nptl.texi: New file.
7697 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7699 2013-03-14 Petr Baudis <pasky@ucw.cz>
7701 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7702 for non-NULL pointer before the memory validity test. Pointed
7703 out by Holger Brunck <holger.brunck@keymile.com>.
7705 2013-03-13 Andreas Schwab <schwab@suse.de>
7707 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7710 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7712 * timezone/zic.c: Update from tzcode 2013b.
7714 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7716 * manual/install.texi (Configuring and compiling):
7717 Mention i686 and i586.
7718 * INSTALL: Regenerate.
7720 2013-03-12 Roland McGrath <roland@hack.frob.com>
7722 * sysdeps/init_array/elf-init.c: New file.
7724 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7725 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7727 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7728 __gmon_start__ as global, but as static with a .preinit_array pointer.
7729 * sysdeps/init_array/gmon-start.c: New file. Use that.
7730 * sysdeps/init_array/crti.S: New file, empty except for comments.
7731 * sysdeps/init_array/crtn.S: Likewise.
7733 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7735 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7738 Remove Prefer_SSE_for_memop.
7739 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7740 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7741 HAS_PREFER_SSE_FOR_MEMOP.
7742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7745 Remove bzero, memset ifunc support.
7746 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7747 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7748 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7749 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7751 2013-03-11 Andreas Schwab <schwab@suse.de>
7754 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7757 (GLIBC_2.16): Remove pthread_atfork.
7759 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7761 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7762 (ptestcases.h): Likewise.
7764 2013-03-08 Roland McGrath <roland@hack.frob.com>
7766 * Makeconfig ($(common-objpfx)config.status): Depend on
7767 sysdeps/*/preconfigure{,.in} too.
7769 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7771 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7772 (__free_hook): Use void * instead of __malloc_ptr_t.
7773 (__malloc_hook): Likewise.
7774 (__realloc_hook): Likewise.
7775 (__memalign_hook): Likewise.
7776 (__after_morecore_hook): Likewise.
7777 * malloc/arena.c (save_malloc_hook): Likewise.
7778 (save_free_hook): Likewise.
7779 * malloc/hooks.c (malloc_hook_ini): Likewise.
7780 (realloc_hook_ini): Likewise.
7781 (memalign_hook_ini): Likewise.
7782 * malloc/malloc.c (malloc_hook_ini): Likewise.
7783 (realloc_hook_ini): Likewise.
7784 (memalign_hook_ini): Likewise.
7785 (__free_hook): Likewise.
7786 (__malloc_hook): Likewise.
7787 (__realloc_hook): Likewise.
7788 (__memalign_hook): Likewise.
7789 (__libc_malloc): Likewise.
7790 (__libc_free): Likewise.
7791 (__libc_realloc): Likewise.
7792 (__libc_memalign): Likewise.
7793 (__libc_valloc): Likewise.
7794 (__libc_pvalloc): Likewise.
7795 (__libc_calloc): Likewise.
7796 (__posix_memalign): Likewise.
7797 * malloc/morecore.c (__sbrk): Likewise.
7798 (__default_morecore): Likewise.
7800 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7802 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7803 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7806 * malloc/malloc.h (__malloc_size_t): Remove macro.
7807 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7809 (old_memalign_hook): Likewise.
7810 (old_realloc_hook): Likewise.
7811 (struct hdr): Likewise.
7813 (mallochook): Likewise.
7814 (memalignhook): Likewise.
7815 (reallochook): Likewise.
7816 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7817 (tr_old_realloc_hook): Likewise.
7818 (tr_old_memalign_hook): Likewise.
7819 (tr_mallochook): Likewise.
7820 (tr_reallochook): Likewise.
7821 (tr_memalignhook): Likewise.
7823 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7826 default_ldbl_pack and using as default implementation.
7827 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7829 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7830 redundant definition.
7831 (ldbl_insert_mantissa): Likewise.
7832 (ldbl_canonicalize): Likewise.
7833 (ldbl_nearbyint): Likewise.
7834 (ldbl_pack): Rename to ldbl_pack_ppc.
7835 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7836 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7837 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7839 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7842 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7843 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7844 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7846 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7847 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7848 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7850 2013-03-07 Andreas Jaeger <aj@suse.de>
7852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7855 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7857 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7858 Include mpa.h and declare __MPEXP.
7859 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7860 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7861 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7862 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7863 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7864 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7865 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7867 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7868 (__slowpow): Use long double EXPL and LOGL functions to
7870 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7871 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7872 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7873 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7874 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7875 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7878 intermediate variable to calculate exponent.
7880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7884 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7885 [!NO__SQR]: Define __sqr.
7886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7887 and NO__SQR. Remove all code except __mul and __sqr. Include
7888 sysdeps/ieee754/dbl-64/mpa.c.
7889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7892 * posix/Makefile (tests): Add tst-pathconf.
7893 * posix/tst-pathconf.c: New test case.
7894 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7896 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7898 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7900 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7902 2013-03-06 Andreas Jaeger <aj@suse.de>
7904 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7905 definition via __MAP_ANONYMOUS.
7907 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7908 it's not part of Linux headers.
7910 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7911 (MAP_HUGE_MASK): Define.
7913 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7915 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7918 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7919 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7921 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7924 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7926 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7927 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7928 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7929 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7930 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7931 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7933 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7936 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7937 Handle f2fs and efivarfs.
7939 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7942 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7943 (EFIVARFS_MAGIC): Add.
7944 (F2FS_LINK_MAX): Add.
7946 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7948 * stdio-common/vfprintf.c: Replace __builtin_expect with
7951 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7954 * sysdeps/generic/bp-sym.h: Remove file.
7955 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7956 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7957 <bp-sym.h> and <bp-asm.h>.
7958 (__longjmp): Don't use BP_SYM.
7959 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7961 (memcpy): Don't use BP_SYM.
7962 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7963 <bp-sym.h> and <bp-asm.h>.
7964 (memcpy): Don't use BP_SYM.
7965 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7967 (memcpy): Don't use BP_SYM.
7968 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7970 (memset): Don't use BP_SYM.
7971 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7972 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7973 (__bzero): Don't use BP_SYM.
7974 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7975 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7976 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7977 <bp-sym.h> and <bp-asm.h>.
7978 (memcmp): Don't use BP_SYM. Remove comment about bounded
7980 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7981 <bp-sym.h> and <bp-asm.h>.
7982 (memcpy): Don't use BP_SYM.
7983 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7984 <bp-sym.h> and <bp-asm.h>.
7985 (memset): Don't use BP_SYM.
7986 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7987 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7988 (__bzero): Don't use BP_SYM.
7989 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7990 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7991 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7992 <bp-sym.h> and <bp-asm.h>.
7993 (strncmp): Don't use BP_SYM. Remove comment about bounded
7995 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7996 <bp-sym.h> and <bp-asm.h>.
7997 (memcpy): Don't use BP_SYM.
7998 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7999 <bp-sym.h> and <bp-asm.h>.
8000 (memset): Don't use BP_SYM.
8001 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8002 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8003 (__bzero): Don't use BP_SYM.
8004 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8005 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8006 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8007 <bp-sym.h> and <bp-asm.h>.
8008 (__memchr): Don't use BP_SYM.
8009 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8010 <bp-sym.h> and <bp-asm.h>.
8011 (memcmp): Don't use BP_SYM. Remove comment about bounded
8013 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8014 <bp-sym.h> and <bp-asm.h>.
8015 (memcpy): Don't use BP_SYM.
8016 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8017 <bp-sym.h> and <bp-asm.h>.
8018 (__mempcpy): Don't use BP_SYM.
8019 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8020 <bp-sym.h> and <bp-asm.h>.
8021 (__memrchr): Don't use BP_SYM.
8022 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8023 <bp-sym.h> and <bp-asm.h>.
8024 (memset): Don't use BP_SYM.
8025 (__bzero): Likewise.
8026 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8027 <bp-sym.h> and <bp-asm.h>.
8028 (__rawmemchr): Don't use BP_SYM.
8029 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8030 <bp-sym.h> and <bp-asm.h>.
8031 (__STRCMP): Don't use BP_SYM.
8032 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8033 <bp-sym.h> and <bp-asm.h>.
8034 (strchr): Don't use BP_SYM.
8035 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8036 <bp-sym.h> and <bp-asm.h>.
8037 (__strchrnul): Don't use BP_SYM.
8038 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8039 <bp-sym.h> and <bp-asm.h>.
8040 (strlen): Don't use BP_SYM.
8041 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8042 <bp-sym.h> and <bp-asm.h>.
8043 (strncmp): Don't use BP_SYM. Remove comment about bounded
8045 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8046 <bp-sym.h> and <bp-asm.h>.
8047 (__strnlen): Don't use BP_SYM.
8048 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8049 <bp-sym.h> and <bp-asm.h>.
8050 (__GI__setjmp): Don't use BP_SYM.
8051 (_setjmp): Likewise.
8052 (__sigsetjmp): Likewise.
8053 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8054 (L(start_addresses)): Don't use BP_SYM.
8056 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8058 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8059 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8060 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8061 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8062 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8064 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8065 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8066 about bounded pointers.
8067 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8068 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8069 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8071 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8072 about bounded pointers. Remove GKM FIXME comments.
8073 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8074 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8076 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8077 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8078 Remove GKM FIXME comments.
8079 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8080 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8081 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8083 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8084 about bounded pointers. Remove GKM FIXME comment.
8085 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8087 (strncmp): Don't use BP_SYM. Remove comment about bounded
8089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8090 <bp-sym.h> and <bp-asm.h>.
8091 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8093 <bp-sym.h> and <bp-asm.h>.
8094 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8097 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8099 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8102 2013-03-05 David S. Miller <davem@davemloft.net>
8104 * po/es.po: Update from translation team.
8106 2013-03-05 Andreas Jaeger <aj@suse.de>
8108 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8109 <bits/mman-linux.h>.
8110 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8112 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8113 <bits/mman-linux.h> to end of file.
8114 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8116 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8117 <bits/mman-linux.h> to end of file.
8118 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8121 <bits/mman-linux.h> to end of file.
8123 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8124 (MCL_CURRENT, MCL_FUTURE): Define here.
8126 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8129 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8131 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8133 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8135 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8136 fourth parameter needed for rt_sigprocmask syscall.
8137 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8138 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8139 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8140 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8141 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8142 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8144 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8147 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8148 comment about bounded pointers.
8149 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8150 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8152 2013-03-04 Andreas Jaeger <aj@suse.de>
8154 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8157 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8158 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8159 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8160 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8162 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8164 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8167 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8168 __ieee754_sqrl instead of __sqrl.
8170 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8172 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8173 * sysdeps/powerpc/fpu_control.h: ... here.
8174 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8175 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8176 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8177 * sysdeps/powerpc/bits/mathinline.h: ... here.
8179 2013-03-01 Roland McGrath <roland@hack.frob.com>
8181 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8182 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8183 to just [NEED_DL_SYSINFO_DSO].
8184 * elf/dl-support.c: Likewise.
8185 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8186 * elf/rtld.c (dl_main): Likewise.
8187 * elf/setup-vdso.h (setup_vdso): Likewise.
8188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8189 * sysdeps/unix/sysv/linux/dl-sysdep.c
8190 (_dl_discover_osversion): Likewise.
8192 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8194 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8195 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8197 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8199 * NEWS: Mention libm performance improvements and non-x86 PI
8202 * csu/libc-start.c (__pthread_initialize_minimal): Change
8204 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8206 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8209 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8210 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8211 <bp-sym.h> and <bp-asm.h>.
8212 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8213 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8215 (memcpy): Don't use BP_SYM.
8216 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8218 (__mpn_add_n): Don't use BP_SYM.
8219 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8220 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8222 (__mpn_addmul_1): Don't use BP_SYM.
8223 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8224 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8226 (_setjmp): Don't use BP_SYM.
8227 (__novmx_setjmp): Likewise.
8228 (__GI__setjmp): Likewise.
8229 (__vmx_setjmp): Likewise.
8230 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8232 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8233 (__bzero): Don't use BP_SYM.
8234 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8235 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8236 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8237 <bp-sym.h> and <bp-asm.h>.
8238 (memcpy): Don't use BP_SYM.
8239 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8240 <bp-sym.h> and <bp-asm.h>.
8241 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8242 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8243 <bp-sym.h> and <bp-asm.h>.
8244 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8245 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8247 (__mpn_lshift): Don't use BP_SYM.
8248 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8249 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8251 (memset): Don't use BP_SYM.
8252 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8253 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8254 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8256 (__mpn_mul_1): Don't use BP_SYM.
8257 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8258 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8259 <bp-sym.h> and <bp-asm.h>.
8260 (memcmp): Don't use BP_SYM.
8261 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8262 <bp-sym.h> and <bp-asm.h>.
8263 (memcpy): Don't use BP_SYM.
8264 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8265 <bp-sym.h> and <bp-asm.h>.
8266 (memset): Don't use BP_SYM.
8267 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8268 <bp-sym.h> and <bp-asm.h>.
8269 (strncmp): Don't use BP_SYM.
8270 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8271 <bp-sym.h> and <bp-asm.h>.
8272 (memcpy): Don't use BP_SYM.
8273 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8274 <bp-sym.h> and <bp-asm.h>.
8275 (memset): Don't use BP_SYM.
8276 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8277 <bp-sym.h> and <bp-asm.h>.
8278 (__memchr): Don't use BP_SYM.
8279 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8280 <bp-sym.h> and <bp-asm.h>.
8281 (memcmp): Don't use BP_SYM.
8282 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8283 <bp-sym.h> and <bp-asm.h>.
8284 (memcpy): Don't use BP_SYM.
8285 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8286 <bp-sym.h> and <bp-asm.h>.
8287 (__mempcpy): Don't use BP_SYM.
8288 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8289 <bp-sym.h> and <bp-asm.h>.
8290 (__memrchr): Don't use BP_SYM.
8291 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8292 <bp-sym.h> and <bp-asm.h>.
8293 (memset): Don't use BP_SYM.
8294 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8295 <bp-sym.h> and <bp-asm.h>.
8296 (__rawmemchr): Don't use BP_SYM.
8297 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8298 <bp-sym.h> and <bp-asm.h>.
8299 (__STRCMP): Don't use BP_SYM.
8300 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8301 <bp-sym.h> and <bp-asm.h>.
8302 (strchr): Don't use BP_SYM.
8303 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8304 <bp-sym.h> and <bp-asm.h>.
8305 (__strchrnul): Don't use BP_SYM.
8306 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8307 <bp-sym.h> and <bp-asm.h>.
8308 (strlen): Don't use BP_SYM.
8309 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8310 <bp-sym.h> and <bp-asm.h>.
8311 (strncmp): Don't use BP_SYM.
8312 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8313 <bp-sym.h> and <bp-asm.h>.
8314 (__strnlen): Don't use BP_SYM.
8315 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8317 (__mpn_rshift): Don't use BP_SYM.
8318 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8319 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8320 <bp-sym.h> and <bp-asm.h>.
8321 (__sigsetjmp): Don't use BP_SYM.
8322 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8323 (L(start_addresses)): Don't use BP_SYM.
8325 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8327 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8328 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8329 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8330 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8332 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8333 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8334 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8335 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8337 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8339 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8340 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8342 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8344 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8345 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8346 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8348 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8350 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8352 (strncmp): Don't use BP_SYM,
8353 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8355 (__mpn_sub_n): Don't use BP_SYM.
8356 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8357 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8359 (__mpn_submul_1): Don't use BP_SYM.
8360 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8362 <bp-sym.h> and <bp-asm.h>.
8363 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8365 <bp-sym.h> and <bp-asm.h>.
8366 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8369 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8372 Use ZK to minimize writes to Z.
8373 (sub_magnitudes): Simplify code a bit.
8374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8375 Use ZK to minimize writes to Z.
8376 (sub_magnitudes): Simplify code a bit.
8378 2013-02-27 Roland McGrath <roland@hack.frob.com>
8380 * csu/gmon-start.c: Add special exception to license text.
8382 2013-02-27 Richard Henderson <rth@redhat.com>
8384 * scripts/config.guess: Update from config.git.
8385 * scripts/config.sub: Likewise.
8387 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8389 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8391 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8393 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8395 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8397 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8399 2013-02-26 Roland McGrath <roland@hack.frob.com>
8401 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8402 [$(build-shared = yes].
8404 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8406 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8407 (__mul): Reduce iterations for calculating mantissa.
8409 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8411 (__mpranred): Likewise.
8414 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8415 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8417 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8419 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8420 Define __attribute__.
8422 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8424 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8426 * posix/regex_internal.h (__attribute): Remove.
8427 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8428 (re_string_context_at): Likewise.
8429 (bitset_not): Use __attribute__ and mark function as possibly
8431 (bitset_merge): Likewise.
8432 (bitset_mask): Likewise.
8433 (re_string_char_size_at): Likewise.
8434 (re_string_wchar_at): Likewise.
8435 (re_string_elem_size_at): Likewise.
8437 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8439 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8443 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8448 (__dbl_mp): Likewise.
8449 (add_magnitudes): Likewise.
8450 (sub_magnitudes): Likewise.
8454 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8457 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8460 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8464 up changes with default code.
8465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8468 2013-02-24 Allan McRae <allan@archlinux.org>
8470 * manual/socket.texi (The Internet Namespace): Order menu items
8471 to match that in the file.
8473 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8474 node listing of the info page menu.
8476 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8479 * sysdeps/i386/bp-asm.h: Remove file.
8480 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8481 (PARMS): Do not use macros from bp-asm.h.
8485 (__mpn_add_n): Do not use BP_SYM
8486 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8488 (PARMS): Do not use macros from bp-asm.h.
8491 (__mpn_addmul_1): Do not use BP_SYM
8492 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8494 (PARMS): Do not use macros from bp-asm.h.
8496 (_setjmp): Likewise. Do not use BP_SYM.
8497 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8499 (PARMS): Do not use macros from bp-asm.h.
8501 (setjmp): Likewise. Do not use BP_SYM.
8502 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8504 (PARMS): Do not use macros from bp-asm.h.
8505 (__frexp): Do not use BP_SYM.
8507 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8509 (PARMS): Do not use macros from bp-asm.h.
8510 (__frexpf): Do not use BP_SYM.
8512 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8514 (PARMS): Do not use macros from bp-asm.h.
8515 (__frexpl): Do not use BP_SYM.
8517 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8519 (PARMS): Do not use macros from bp-asm.h.
8520 (__remquo): Do not use BP_SYM.
8522 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8524 (PARMS): Do not use macros from bp-asm.h.
8525 (__remquof): Do not use BP_SYM.
8526 (remquof): Likewise.
8527 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8529 (PARMS): Do not use macros from bp-asm.h.
8530 (__remquol): Do not use BP_SYM.
8531 (remquol): Likewise.
8532 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8534 (PARMS): Do not use macros from bp-asm.h.
8537 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8538 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8540 (PARMS): Do not use macros from bp-asm.h.
8541 (strlen): Do not use BP_SYM.
8542 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8544 (PARMS): Do not use macros from bp-asm.h.
8548 (__mpn_add_n): Do not use BP_SYM.
8549 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8551 (PARMS): Do not use macros from bp-asm.h.
8554 (__mpn_addmul_1): Do not use BP_SYM.
8555 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8558 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8560 (PARMS): Do not use macros from bp-asm.h.
8563 (__mpn_lshift): Do not use BP_SYM.
8564 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8566 (PARMS): Do not use macros from bp-asm.h.
8570 (memcpy): Likewise. Do not use BP_SYM.
8571 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8572 libc_hidden_def and weak_alias.
8573 (mempcpy): Do not use BP_SYM in weak_alias.
8574 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8576 (PARMS): Do not use macros from bp-asm.h.
8579 [!BZERO_P] (CHR): Likewise.
8580 (memset): Likewise. Do not use BP_SYM.
8581 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8583 (PARMS): Do not use macros from bp-asm.h.
8586 (__mpn_mul_1): Do not use BP_SYM.
8587 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8589 (PARMS): Do not use macros from bp-asm.h.
8592 (__mpn_rshift): Do not use BP_SYM.
8593 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8595 (PARMS): Do not use macros from bp-asm.h.
8598 (strchr): Likewise. Do not use BP_SYM.
8599 (index): Do not use BP_SYM in weak_alias.
8600 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8602 (PARMS): Do not use macros from bp-asm.h.
8605 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8606 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8608 (PARMS): Do not use macros from bp-asm.h.
8609 (strlen): Do not use BP_SYM.
8610 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8612 (PARMS): Do not use macros from bp-asm.h.
8616 (__mpn_sub_n): Do not use BP_SYM.
8617 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8619 (PARMS): Do not use macros from bp-asm.h.
8622 (__mpn_submul_1): Do not use BP_SYM.
8623 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8625 (PARMS): Do not use macros from bp-asm.h.
8629 (__mpn_add_n): Do not use BP_SYM.
8630 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8633 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8635 (PARMS): Do not use macros from bp-asm.h.
8638 (memcmp): Do not use BP_SYM.
8639 (bcmp): Do not use BP_SYM in weak_alias.
8640 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8642 (PARMS): Do not use macros from bp-asm.h.
8646 (memcpy): Likewise. Do not use BP_SYM.
8647 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8649 (PARMS): Do not use macros from bp-asm.h.
8653 (memmove): Likewise. Do not use BP_SYM.
8654 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8656 (PARMS): Do not use macros from bp-asm.h.
8660 (__mempcpy): Likewise. Do not use BP_SYM.
8661 (mempcpy): Do not use BP_SYM in weak_alias.
8662 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8664 (PARMS): Do not use macros from bp-asm.h.
8667 [!BZERO_P] (CHR): Likewise.
8668 (memset): Likewise. Do not use BP_SYM.
8669 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8671 (PARMS): Do not use macros from bp-asm.h.
8673 (strcmp): Do not use BP_SYM.
8674 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8676 (PARMS): Do not use macros from bp-asm.h.
8679 [USE_AS_STRTOK_R] (SAVE): Likewise.
8680 (FUNCTION): Likewise. Do not use BP_SYM.
8681 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8683 (strtok_r): Likewise.
8684 (__GI___strtok_r): Likewise.
8685 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8686 (PARMS): Do not use macros from bp-asm.h.
8689 (__mpn_lshift): Do not use BP_SYM.
8690 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8691 (PARMS): Do not use macros from bp-asm.h.
8694 (__memchr): Do not use BP_SYM.
8695 (memchr): Do not use BP_SYM in weak_alias.
8696 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8697 (PARMS): Do not use macros from bp-asm.h.
8700 (memcmp): Do not use BP_SYM.
8701 (bcmp): Do not use BP_SYM in weak_alias.
8702 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8703 (PARMS): Do not use macros from bp-asm.h.
8706 (__mpn_mul_1): Do not use BP_SYM.
8707 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8709 (PARMS): Do not use macros from bp-asm.h.
8712 (__rawmemchr): Do not use BP_SYM.
8713 (rawmemchr): Do not use BP_SYM in weak_alias.
8714 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8715 (PARMS): Do not use macros from bp-asm.h.
8718 (__mpn_rshift): Do not use BP_SYM.
8719 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8720 (PARMS): Do not use macros from bp-asm.h.
8722 (__sigsetjmp): Likewise. Do not use BP_SYM.
8723 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8724 (_start): Do not use BP_SYM.
8725 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8726 (PARMS): Do not use macros from bp-asm.h.
8729 (__stpcpy): Likewise. Do not use BP_SYM.
8730 (stpcpy): Do not use BP_SYM in weak_alias.
8731 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8733 (PARMS): Do not use macros from bp-asm.h.
8737 (__stpncpy): Likewise. Do not use BP_SYM.
8738 (stpncpy): Do not use BP_SYM in weak_alias.
8739 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8740 (PARMS): Do not use macros from bp-asm.h.
8743 (strchr): Likewise. Do not use BP_SYM.
8744 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8746 (PARMS): Do not use macros from bp-asm.h.
8749 (__strchrnul): Likewise. Do not use BP_SYM.
8750 (strchrnul): Do not use BP_SYM in weak_alias.
8751 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8753 (PARMS): Do not use macros from bp-asm.h.
8755 (strcspn): Do not use BP_SYM.
8756 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8758 (PARMS): Do not use macros from bp-asm.h.
8761 (strpbrk): Likewise. Do not use BP_SYM.
8762 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8764 (PARMS): Do not use macros from bp-asm.h.
8767 (strrchr): Likewise. Do not use BP_SYM.
8768 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8769 (PARMS): Do not use macros from bp-asm.h.
8771 (strspn): Do not use BP_SYM.
8772 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8773 (PARMS): Do not use macros from bp-asm.h.
8777 (FUNCTION): Likewise. Do not use BP_SYM.
8778 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8780 (strtok_r): Likewise.
8781 (__GI___strtok_r): Likewise.
8782 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8783 (PARMS): Do not use macros from bp-asm.h.
8787 (__mpn_sub_n): Do not use BP_SYM.
8788 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8790 (PARMS): Do not use macros from bp-asm.h.
8793 (__mpn_submul_1): Do not use BP_SYM.
8794 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8796 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8798 (PARMS): Do not use macros from bp-asm.h.
8803 (__clone): Do not use BP_SYM.
8804 (clone): Do not use BP_SYM in weak_alias.
8805 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8807 (PARMS): Do not use macros from bp-asm.h.
8809 (__mmap64): Do not use BP_SYM.
8810 (mmap64): Do not use BP_SYM in weak_alias.
8811 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8812 <bp-sym.h> and <bp-asm.h>.
8813 (PARMS): Do not use macros from bp-asm.h.
8814 (__posix_fadvise64_l64): Do not use BP_SYM.
8815 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8816 (PARMS): Do not use macros from bp-asm.h.
8818 (semtimedop): Do not use BP_SYM.
8819 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8822 2013-02-21 Allan McRae <allan@archlinux.org>
8824 * manual/message.texi (Charset conversion in gettext):
8825 Move @end statement to beginning of line.
8827 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8834 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8839 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8841 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8842 tail-call to the resolved function if pltexit isn't needed.
8844 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8847 or Y being zero as being unlikely.
8848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8851 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8853 * manual/nss.texi (System Databases and Name Service Switch):
8854 Remove frobnicate @pxref.
8856 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8858 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8859 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8861 2013-02-20 Petr Machata <pmachata@redhat.com>
8863 * elf/elf.h (R_ARM_TARGET1): New macro.
8864 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8865 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8866 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8867 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8868 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8869 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8870 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8871 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8872 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8873 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8874 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8875 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8876 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8877 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8878 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8879 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8880 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8881 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8882 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8883 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8884 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8885 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8886 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8887 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8888 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8889 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8890 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8891 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8892 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8893 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8894 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8895 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8896 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8897 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8898 (R_ARM_THM_GOT_BREL12): Likewise.
8899 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8900 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8901 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8902 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8903 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8904 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8905 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8906 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8907 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8909 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8911 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8912 __attribute_used__ to __attribute__ ((unused)).
8914 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8916 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8922 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8925 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8927 (ENTER): Remove both macro definitions.
8929 (CHECK_BOUNDS_LOW): Likewise.
8930 (CHECK_BOUNDS_HIGH): Likewise.
8931 (CHECK_BOUNDS_BOTH): Likewise.
8932 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8933 (RETURN_BOUNDED_POINTER): Likewise.
8934 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8935 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8936 (POP_ERRNO_LOCATION_RETURN): Likewise.
8937 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8938 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8939 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8941 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8942 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8943 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8944 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8945 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8946 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8947 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8948 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8949 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8950 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8951 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8952 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8953 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8954 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8956 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8957 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8959 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8960 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8961 * sysdeps/i386/i586/memset.S (memset): Likewise.
8962 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8963 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8964 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8966 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8967 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8968 Change uses of L(2) to L(out).
8969 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8970 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8971 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8972 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8973 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8975 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8976 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8978 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8979 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8980 (RETURN): Do not use macro LEAVE.
8981 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8982 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8983 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8984 * sysdeps/i386/i686/memset.S (memset): Likewise.
8985 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8986 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8987 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8988 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8990 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8991 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8992 L(1_2) and L(1_3) into L(1).
8993 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8994 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8995 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8996 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8997 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8998 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8999 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9000 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9001 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9003 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9004 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9005 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9006 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9007 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9008 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9009 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9010 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9011 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9012 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9013 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9014 * sysdeps/i386/strspn.S (strspn): Likewise.
9015 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9017 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9018 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9019 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9020 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9022 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9023 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9024 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9026 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9028 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9030 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9033 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9035 * math/atest-exp.c (exp_mpn): Remove ROUND.
9036 * math/atest-exp2.c (exp_mpn): Likewise.
9037 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9039 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9040 * stdlib/tst-tls-atexit-lib.c: Likewise.
9041 * stdlib/tst-tls-atexit.c: Likewise.
9043 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9045 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9046 and __attribute_alloc_size__.
9048 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9050 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9051 __attribute_alloc_size__.
9052 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9053 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9055 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9057 * include/programs/xmalloc.h: New file.
9058 * catgets/gencat.c: Include it.
9059 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9060 * elf/pldd.c: Likewise.
9061 * iconv/iconv_charmap.c: Likewise.
9062 * iconv/iconvconfig.c: Likewise.
9063 * iconv/strtab.c: Likewise.
9064 * locale/programs/locale.c: Likewise.
9065 * locale/programs/localedef.h: Likewise.
9066 * locale/programs/simple-hash.c: Likewise.
9067 * nscd/nscd.h: Likewise.
9068 * nss/makedb.c: Likewise.
9069 * sysdeps/generic/ldconfig.h: Likewise.
9071 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9073 * Versions.def: Add GLIBC_2.18.
9074 * include/link.h (struct link_map): New member l_tls_dtor_count.
9075 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9076 (__call_tls_dtors): Likewise.
9077 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9078 __cxa_thread_atexit_impl.
9079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9095 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9096 (tests): Add test case tst-tls-atexit.
9097 (modules-names): Add shared library for tst-tls-atexit.
9098 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9099 (GLIBC_PRIVATE): Add __call_tls_dtors.
9100 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9102 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9103 * stdlib/tst-tls-atexit.c: New test case.
9104 * stdlib/tst-tls-atexit-lib.c: New test case.
9106 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9108 * elf/Versions (ld): Add _dl_find_dso_for_object.
9109 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9110 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9111 (dl_open_worker): Use _dl_find_dso_for_object.
9112 * elf/dl-sym.c (do_sym): Likewise.
9113 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9115 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9117 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9118 Syntactic changes only.
9119 (_dl_runtime_profile): Do a tail-call to the resolved function.
9121 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9124 * sysdeps/x86_64/bp-asm.h: Remove file.
9125 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9126 <bp-sym.h> and <bp-asm.h>.
9127 (__clone): Do not use BP_SYM.
9128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9129 <bp-sym.h> and <bp-asm.h>.
9130 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9131 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9133 (_setjmp): Do not use BP_SYM.
9134 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9136 (setjmp): Do not use BP_SYM.
9137 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9139 (mempcpy): Do not use BP_SYM in weak_alias.
9140 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9142 (strchr): Do not use BP_SYM.
9143 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9145 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9146 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9147 (_start): Do not use BP_SYM.
9148 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9150 (strcat): Do not use BP_SYM.
9151 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9153 (STRCMP): Do not use BP_SYM.
9154 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9156 (STRCPY): Do not use BP_SYM.
9157 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9159 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9161 (FUNCTION): Do not use BP_SYM.
9162 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9164 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9166 2013-02-17 Andreas Jaeger <aj@suse.de>
9168 * time/Versions: Sort entries.
9169 * string/Versions: Likewise.
9170 * resolv/Versions: Likewise.
9171 * posix/Versions: Likewise.
9172 * iconv/Versions: Likewise.
9173 * elf/Versions: Likewise.
9174 * wcsmbs/Versions: Likewise.
9176 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9178 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9179 loop termination condition.
9181 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9182 variable to calculate EZ.
9185 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9186 the lower precision input.
9188 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9191 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9192 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9193 (run-via-rtld-prefix): Do not handle %-bp tests.
9194 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9195 (all-object-suffixes): Remove .ob.
9196 (bppfx): Remove variable.
9197 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9198 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9199 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9200 [$(build-bounded) = yes] (libtype.ob): Likewise.
9201 * Makerules (elide-routines.ob): Remove variable.
9202 (do-tests-clean): Do not handle *-bp.out.
9203 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9204 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9205 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9206 (tests): Do not include $(tests-bp.out).
9207 (xtests): Do not include $(xtests-bp.out).
9208 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9209 [$(build-bounded) = yes] ($(addprefix
9210 $(objpfx),$(binaries-bounded))): Remove rule.
9211 ($(objpfx)%-bp.out): Remove rule.
9212 * config.make.in (build-bounded): Remove variable.
9213 * crypt/Makefile [$(build-bounded) = yes]
9214 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9215 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9217 [$(build-bounded) = yes] (install-lib): Likewise.
9218 [$(build-bounded) = yes] (generated): Likewise.
9219 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9221 * intl/Makefile [$(build-bounded) = yes]
9222 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9223 * math/Makefile [$(build-bounded) = yes]
9224 ($(tests:%=$(objpfx)%-bp): Likewise.
9225 * misc/Makefile [$(build-bounded) = yes]
9226 ($(objpfx)tst-tsearch-bp): Likewise.
9227 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9228 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9230 * string/Makefile (o-objects.ob): Remove variable.
9231 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9232 (CFLAGS-.ob): Remove variable.
9233 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9234 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9235 both definitions of variable.
9236 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9237 (ASFLAGS-.ob): Remove variable.
9239 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9242 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9243 Remove __BOUNDED_POINTERS__ from condition.
9244 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9245 * string/bits/string2.h [!__NO_STRING_INLINES &&
9246 !__BOUNDED_POINTERS__]: Likewise.
9247 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9249 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9250 Remove conditional code.
9251 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9252 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9253 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9257 * csu/libc-start.c: Do not include <bp-sym.h>.
9258 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9259 * elf/dl-open.c: Do not include <bp-sym.h>.
9260 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9261 * math/fegetenv.c: Do not include <bp-sym.h>.
9262 (fegetenv): Do not use BP_SYM in versioned symbols.
9263 * nptl/sysdeps/pthread/bits/libc-lockP.h
9264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9267 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9269 (__pthread_mutex_destroy): Likewise.
9270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9271 (__pthread_mutex_lock): Likewise.
9272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9273 (__pthread_mutex_trylock): Likewise.
9274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9275 (__pthread_mutex_unlock): Likewise.
9276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9277 (__pthread_mutexattr_init): Likewise.
9278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9279 (__pthread_mutexattr_destroy): Likewise.
9280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9281 (__pthread_mutexattr_settype): Likewise.
9282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9283 (__pthread_rwlock_init): Likewise.
9284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9285 (__pthread_rwlock_destroy): Likewise.
9286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9287 (__pthread_rwlock_rdlock): Likewise.
9288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9289 (__pthread_rwlock_tryrdlock): Likewise.
9290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9291 (__pthread_rwlock_wrlock): Likewise.
9292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9293 (__pthread_rwlock_trywrlock): Likewise.
9294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9295 (__pthread_rwlock_unlock): Likewise.
9296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9297 (__pthread_key_create): Likewise.
9298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9299 (__pthread_setspecific): Likewise.
9300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9301 (__pthread_getspecific): Likewise.
9302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9305 (_pthread_cleanup_push_defer): Likewise.
9306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9307 (_pthread_cleanup_pop_restore): Likewise.
9308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9309 (pthread_setcancelstate): Likewise.
9310 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9312 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9313 (memchr): Do not use BP_SYM in weak_alias.
9314 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9315 (fegetenv): Do not use BP_SYM in versioned symbols.
9316 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9317 (fesetenv): Do not use BP_SYM in versioned symbols.
9318 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9319 (feupdateenv): Do not use BP_SYM in versioned symbols.
9320 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9321 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9322 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9323 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9324 (open64): Do not use BP_SYM in weak_alias.
9325 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9326 (fegetenv): Do not use BP_SYM in versioned symbols.
9327 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9328 (fesetenv): Do not use BP_SYM in versioned symbols.
9329 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9330 (feupdateenv): Do not use BP_SYM in versioned symbols.
9331 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9332 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9333 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9334 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9335 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9336 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9337 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9339 (__libc_start_main): Do not use BP_SYM.
9341 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9344 redundant return line.
9348 (sub_magnitudes): Likewise.
9354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9358 (sub_magnitudes): Likewise.
9365 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9367 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9368 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9371 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9372 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9374 of __mul for squares.
9375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9379 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9380 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9382 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9385 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9387 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9388 prototype or function definition. Rename ubp_* variables and
9389 parameters. Remove argv definitions conditional on
9390 [__BOUNDED_POINTERS__].
9391 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9392 * elf/dl-runtime.c (_dl_fixup): Likewise.
9393 * include/set-hooks.h (RUN_HOOK): Likewise.
9394 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9396 * string/strcpy.c (strcpy): Do not use __unbounded.
9397 * sysdeps/generic/frame.h (struct layout): Likewise.
9398 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9399 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9400 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9401 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9402 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9403 (__backtrace): Likewise.
9404 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9406 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9407 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9408 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9410 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9411 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9412 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9413 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9414 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9415 Do not use __unbounded.
9416 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9417 Rename __unboundedrlimits parameter to rlimits in prototype.
9418 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9419 Do not use __unbounded.
9420 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9422 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9423 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9424 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9425 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9426 __ptrvalue or __unbounded.
9427 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9428 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9430 (__new_msgctl): Do not use __ptrvalue.
9431 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9433 (__libc_msgrcv): Do not use __ptrvalue.
9434 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9435 startup_info): Do not use __unbounded.
9436 (__libc_start_main): Likewise. Rename ubp_* variables and
9437 parameters. Remove argv definitions conditional on
9438 [__BOUNDED_POINTERS__].
9439 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9441 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9443 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9445 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9447 (__new_shmctl): Do not use __ptrvalue.
9448 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9449 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9451 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9452 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9453 (__libc_sigaction): Likewise.
9454 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9455 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9457 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9459 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9461 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9463 * string/mempcpy.c: Implement by calling memcpy.
9465 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9467 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9472 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9473 values in the mantissa.
9475 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9476 minimize writes to Z.
9477 (sub_magnitudes): Simplify code a bit.
9479 2013-02-12 Roland McGrath <roland@hack.frob.com>
9481 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9482 from the message. The linker prefixes all warnings with that already.
9484 2013-02-12 Andreas Schwab <schwab@suse.de>
9487 * posix/regexec.c (extend_buffers): Add parameter min_len.
9488 (check_matching): Pass minimum needed length.
9489 (clean_state_log_if_needed): Likewise.
9490 (get_subexp): Likewise.
9491 * posix/Makefile (tests): Add bug-regex34.
9492 (bug-regex34-ENV): Define.
9493 * posix/bug-regex34.c: New file.
9496 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9497 elements compare against the byte sequence of it, not its name.
9498 * posix/Makefile (tests): Add bug-regex35.
9499 (bug-regex35-ENV): Define.
9500 * posix/bug-regex35.c: New file.
9502 2013-02-11 Tom de Vries <tom@codesourcery.com>
9504 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9506 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9507 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9508 (CHECK_EOL): Add undef.
9510 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9512 * bits/stdlib-bsearch.h: New file.
9513 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9514 * stdlib/stdlib.h: Likewise.
9516 2013-02-11 Roland McGrath <roland@hack.frob.com>
9518 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9519 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9521 * manual/search.texi (Array Search Function): Add missing const in
9523 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9524 declaration to use rlim_t.
9525 (Basic Scheduling Functions): Remove erroneous const from
9526 sched_getparam prototype. Remove erroneous * from
9527 sched_get_priority_max and sched_get_priority_min prototypes.
9528 (Resource Usage): Fix summary @comment on vtimes to refer to
9529 sys/vtimes.h rather than vtimes.h.
9530 Add missing *s in vtimes prototype.
9531 (Limits on Resources): Fix ulimit prototype to return long int.
9532 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9533 prototypes to use long int rather than double.
9534 (BSD Random): Fix initstate and setstate to use char *, not void *.
9535 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9536 prototype to make second argument 'struct aiocb64 *const[]'.
9537 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9538 (Status of AIO Operations): Remove erroneous const in aio_return and
9539 aio_return64 prototypes.
9540 (Synchronizing I/O): Fix sync prototype to return void.
9541 * manual/startup.texi (Suboptions): Remove an erroneous const in
9542 getsubopt prototype.
9543 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9544 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9545 use size_t rather than int.
9546 (Scanning All Users): Likewise for getpwent_r.
9547 (Setting Groups): Add missing const to setgroups prototype.
9548 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9549 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9550 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9551 'const void *' rather than 'const char *'.
9552 (Host Address Functions): Likewise for inet_ntop.
9553 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9554 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9555 ssize_t for return value.
9556 (Sending Data): Likewise for send, sendto, sendmsg.
9557 (Socket Option Functions): Add a missing const in setsockopt prototype.
9558 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9559 use wchar_t for the argument.
9560 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9561 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9563 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9564 double/float/long double for second argument.
9565 Fix return types of significand, significandf, significandl.
9566 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9567 argument in fchmod prototype.
9568 (File Owner): Use uid_t and gid_t in fchown prototype.
9569 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9570 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9571 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9572 use 'const struct dirent **' as argument types to CMP function pointer
9574 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9575 (File Times): Fix summary magic @comment for struct utimbuf and utime
9576 to refer to utime.h, not time.h.
9577 * manual/string.texi (Argz Functions): Add missing const in
9578 argz_extract and argz_next prototypes.
9579 (Finding Tokens in a String): Likewise for basename.
9580 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9581 (Copying and Concatenation): Fix typo in wmemmove prototype.
9582 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9583 (Signal Stack): Remove erroneous const in sigstack prototype.
9584 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9586 (Simple Calendar Time): Likewise for stime.
9587 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9589 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9590 say sys/sysctl.h instead.
9591 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9592 and vsyslog prototypes.
9594 2013-02-11 Tom de Vries <tom@codesourcery.com>
9596 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9599 2013-02-11 Roland McGrath <roland@hack.frob.com>
9601 * misc/sys/mman.h: Fix typo in mremap comment.
9603 2013-02-08 Roland McGrath <roland@hack.frob.com>
9605 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9606 the '\0' terminator.
9608 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9611 * debug/segfault.c: Don't include <bp-checks.h>.
9612 * sysdeps/generic/bp-checks.h: Remove file.
9613 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9614 (__GETDENTS): Don't use CHECK_N.
9615 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9616 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9617 (__getgroups): Don't use CHECK_N.
9618 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9619 (setgroups): Don't use CHECK_N.
9620 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9621 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9622 (__libc_msgrcv): Don't use CHECK_N.
9623 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9624 (__libc_msgsnd): Don't use CHECK_N.
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9627 (__libc_pread): Don't use CHECK_N.
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9629 include <bp-checks.h>.
9630 (__libc_pread64): Don't use CHECK_N.
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9632 include <bp-checks.h>.
9633 (__libc_pwrite): Don't use CHECK_N.
9634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9635 include <bp-checks.h>.
9636 (__libc_pwrite64): Don't use CHECK_N.
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9639 (__libc_pread): Don't use CHECK_N.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9641 include <bp-checks.h>.
9642 (__libc_pread64): Don't use CHECK_N.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9644 include <bp-checks.h>.
9645 (__libc_pwrite): Don't use CHECK_N.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9647 include <bp-checks.h>.
9648 (__libc_pwrite64): Don't use CHECK_N.
9649 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9650 (do_pread): Don't use CHECK_N.
9651 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9652 (do_pread64): Don't use CHECK_N.
9653 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9654 (do_pwrite): Don't use CHECK_N.
9655 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9656 (do_pwrite64): Don't use CHECK_N.
9657 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9658 (__libc_readv): Don't use CHECK_N.
9659 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9660 (semop): Don't use CHECK_N.
9661 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9663 (semtimedop): Don't use CHECK_N.
9664 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9665 (__libc_pread): Don't use CHECK_N.
9666 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9668 (__libc_pread64): Don't use CHECK_N.
9669 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9671 (__libc_pwrite): Don't use CHECK_N.
9672 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9674 (__libc_pwrite64): Don't use CHECK_N.
9675 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9677 (__libc_msgrcv): Don't use CHECK_N.
9678 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9679 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9680 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9681 (__libc_writev): Don't use CHECK_N.
9683 2013-02-08 Roland McGrath <roland@hack.frob.com>
9685 * string/strcpy.c: Removed unused variable.
9687 * Makeconfig (+sysdep-includes): Define with := rather than =.
9688 Use an existing include/ subdir of each sysdeps dir before it.
9690 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9692 * nscd/connection.c (register_traced_file): Comment function.
9693 [HAVE_INOTIFY] (union __inev): Define.
9694 [HAVE_INOTIFY] (inotify_check_files): New function.
9695 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9696 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9698 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9700 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9702 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9703 loaded if not already and that a failure is permanent.
9705 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9708 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9709 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9711 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9714 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9715 (CHECK_1_NULL_OK): Likewise.
9716 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9717 (__fxstat): Do not use CHECK_1.
9718 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9720 (___fxstat64): Do not use CHECK_1.
9721 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9723 (__fxstatat): Do not use CHECK_1.
9724 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9726 (__fxstatat64): Do not use CHECK_1.
9727 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9729 (__fxstat): Do not use CHECK_1.
9730 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9732 (__fxstatat): Do not use CHECK_1.
9733 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9735 (__getresgid): Do not use CHECK_1.
9736 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9738 (__getresuid): Do not use CHECK_1.
9739 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9741 (__lxstat): Do not use CHECK_1.
9742 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9744 (__old_msgctl): Do not use CHECK_1.
9745 (__new_msgctl): Likewise.
9746 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9748 (__new_setrlimit): Do not use CHECK_1.
9749 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9751 (__old_shmctl): Do not use CHECK_1.
9752 (__new_shmctl): Likewise.
9753 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9755 (__xstat): Do not use CHECK_1.
9756 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9757 (__lxstat): Do not use CHECK_1.
9758 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9760 (___lxstat64): Do not use CHECK_1.
9761 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9762 (__old_msgctl): Do not use CHECK_1.
9763 (__new_msgctl): Likewise.
9764 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9766 (__gettimeofday): Do not use CHECK_1.
9767 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9768 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9769 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9771 (__gettimeofday): Do not use CHECK_1.
9772 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9773 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9774 (__new_shmctl): Do not use CHECK_1.
9775 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9777 (do_sigtimedwait): Do not use CHECK_1.
9778 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9780 (do_sigwaitinfo): Do not use CHECK_1.
9781 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9783 (msgctl): Do not use CHECK_1.
9784 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9786 (shmctl): Do not use CHECK_1.
9787 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9788 (ustat): Do not use CHECK_1.
9789 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9791 (__fxstat): Do not use CHECK_1.
9792 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9794 (__fxstatat): Do not use CHECK_1.
9795 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9797 (__lxstat): Do not use CHECK_1.
9798 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9800 (__xstat): Do not use CHECK_1.
9801 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9802 (__xstat): Do not use CHECK_1.
9803 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9804 (___xstat64): Do not use CHECK_1.
9807 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9809 (CHECK_BOUNDS_HIGH): Likewise.
9810 * string/strcpy.c: Do not include <bp-checks.h>.
9811 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9813 2013-02-07 Roland McGrath <roland@hack.frob.com>
9815 * nscd/nscd-client.h (__nscd_drop_map_ref):
9816 Add __attribute__ ((unused)).
9817 * nis/nss-nisplus.h (niserr2nss): Likewise.
9819 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9820 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9822 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9823 Remove inline keyword.
9824 * include/rounding-mode.h (round_away): Likewise.
9825 * libio/wfileops.c (adjust_wide_data): Likewise.
9826 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9827 (__m128i_strloadu_tolower): Likewise.
9828 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9829 (__m128i_strloadu_tolower): Likewise.
9830 * time/mktime.c (ydhms_diff): Likewise.
9831 * locale/elem-hash.h (elem_hash): Likewise.
9832 * locale/setlocale.c (setdata): Likewise.
9833 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9834 (re_string_wchar_at): Likewise.
9835 (bitset_not, bitset_merge, bitset_mask): Likewise.
9836 [!(__GNUC__ > 3)] (inline): Remove macro.
9837 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9838 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9839 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9840 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9841 * string/memcmp.c (memcmp_bytes): Likewise.
9842 * locale/programs/locarchive.c (compute_hashval): Likewise.
9843 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9844 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9845 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9846 * nss/getent.c (print_rpc, print_protocols): Likewise.
9847 (print_passwd, print_group, print_aliases): Likewise.
9848 * nis/nss-nisplus.h (niserr2nss): Likewise.
9849 * nscd/connections.c (restart_p): Likewise.
9850 Change return type to bool.
9852 2013-02-05 Roland McGrath <roland@hack.frob.com>
9854 * Makeconfig (all-Depend-files): Add existing
9855 $(sorted-subdirs:=/Depend) files.
9856 (all-subdirs): Remove nss.
9857 * sysdeps/unix/inet/Subdirs: Add it here instead.
9858 * hesiod/Depend: New file.
9860 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9861 instead of calling alloca.
9863 * io/lseek.c (__lseek): Rename to __libc_lseek.
9864 Define __lseek as an alias.
9866 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9868 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9870 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9871 else clause and remove check for non-standard endianness.
9873 2013-02-04 David S. Miller <davem@davemloft.net>
9875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9877 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9880 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9881 (__ubp_memchr): Remove prototype.
9882 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9883 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9884 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9885 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9886 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9888 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9889 (__ubp_memchr): Likewise.
9890 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9891 (__ubp_memchr): Likewise.
9892 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9893 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9894 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9895 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9897 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9898 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9899 (__getcwd): Do not use CHECK_STRING.
9900 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9902 (__real_chown): Do not use CHECK_STRING.
9903 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9905 (fchownat): Do not use CHECK_STRING.
9906 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9908 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9910 (__lchown): Do not use CHECK_STRING.
9911 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9912 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9913 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9914 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9916 include <bp-checks.h>.
9917 (truncate64): Do not use CHECK_STRING.
9918 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9920 (__real_chown): Do not use CHECK_STRING.
9921 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9923 (__lchown): Do not use CHECK_STRING.
9924 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9926 (__chown): Do not use CHECK_STRING.
9927 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9929 (truncate64): Do not use CHECK_STRING.
9930 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9932 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9933 (__xmknod): Do not use CHECK_STRING.
9934 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9936 (__xmknodat): Do not use CHECK_STRING.
9937 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9938 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9940 2013-02-04 Andreas Schwab <schwab@suse.de>
9943 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9944 * include/netdb.h: Likewise for h_errno.
9945 * elf/tst-stackguard1.c: Include <tls.h>.
9947 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9949 * elf/link.h (struct link_map): Extend the l_addr comment.
9950 * include/link.h (struct link_map): Likewise.
9952 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9955 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9956 (BOUNDED_1): Remove macro.
9957 * debug/backtrace.c: Don't include <bp-checks.h>.
9958 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9959 (__backtrace): Likewise.
9960 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9962 (__backtrace): Don't use BOUNDED_1.
9963 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9965 (__backtrace): Don't use BOUNDED_1.
9966 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9967 (__backtrace): Don't use BOUNDED_1.
9968 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9969 (shmat): Don't use BOUNDED_N.
9971 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9974 * sysdeps/generic/bp-start.h: Remove file.
9975 * csu/libc-start.c: Don't include <bp-start.h>.
9976 (LIBC_START_MAIN): Set up __environ directly instead of using
9977 INIT_ARGV_and_ENVIRON.
9978 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9982 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9984 (CHECK_FCNTL): Likewise.
9985 (CHECK_N_PAGES): Likewise.
9988 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9990 (CHECK_SIGSET_NULL_OK): Likewise.
9991 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9993 (sigpending): Don't use CHECK_SIGSET.
9994 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9996 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9997 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9999 (do_sigsuspend): Don't use CHECK_SIGSET.
10000 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10002 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10003 (do_sigwait): Don't use CHECK_SIGSET.
10004 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10006 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10007 include <bp-checks.h>.
10008 (sigpending): Don't use CHECK_SIGSET.
10009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10010 include <bp-checks.h>.
10011 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10012 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10014 (sigpending): Don't use CHECK_SIGSET.
10015 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10017 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10020 * sysdeps/generic/bp-semctl.h: Remove file.
10021 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10022 <bp-checks.h> and <bp-semctl.h>.
10023 (__old_semctl): Don't use CHECK_SEMCTL.
10024 (__new_semctl): Likewise.
10025 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10027 (__old_semctl): Don't use CHECK_SEMCTL.
10028 (__new_semctl): Likewise.
10029 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10030 <bp-checks.h> and <bp-semctl.h>.
10031 (__old_semctl): Don't use CHECK_SEMCTL.
10032 (__new_semctl): Likewise.
10033 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10034 <bp-checks.h> and <bp-semctl.h>.
10035 (semctl): Don't use CHECK_SEMCTL.
10038 * Makerules (elide-bp-thunks): Remove variable.
10039 (elide-routines.oS): Don't use $(elide-bp-thunks).
10040 (elide-routines.os): Likewise.
10041 (elide-routines.o): Likewise.
10042 (elide-routines.op): Likewise.
10043 (elide-routines.og): Likewise.
10044 (objects): Don't use $(bp-thunks).
10045 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10047 (common-generated): Do not add s-proto-bp.d.
10048 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10051 Do not generate makefile rules for bounded-pointer thunks.
10052 * sysdeps/generic/bp-thunks.h: Remove file.
10053 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10054 * sysdeps/unix/s-proto-bp.S: Likewise.
10057 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10058 parts of result separately when argument is not close to line from
10059 -i to i and one part of argument is small.
10060 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10061 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10062 * math/libm-test.inc (cacos_test): Add more tests.
10063 (casin_test): Likewise.
10064 (casinh_test): Likewise.
10065 * sysdeps/i386/fpu/libm-test-ulps: Update.
10066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10068 2013-01-31 David S. Miller <davem@davemloft.net>
10070 * po/de.po: Update from translation team.
10072 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10074 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10076 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10078 * configure.in (_AC_PROG_CC_C89): New definition.
10079 * configure: Regenerate.
10081 * configure.in (AC_PROG_CPP): New definition.
10082 * configure: Regenerate.
10084 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10086 * debug/tst-backtrace.h: New file.
10087 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10088 (ret): Remove variable.
10090 (FAIL): Remove macro.
10091 (NO_INLINE): Likewise.
10092 (fn1): Use match function instead of strstr.
10093 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10094 (ret): Remove variable.
10096 (FAIL): Remove macro.
10097 (NO_INLINE): Likewise.
10098 (fn): Use match function instead of strstr.
10099 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10100 (ret): Remove variable.
10102 (FAIL): Remove macro.
10103 (NO_INLINE): Likewise.
10104 (handle_signal): Use match function instead of strstr.
10105 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10106 (ret): Remove variable.
10108 (FAIL): Remove macro.
10109 (NO_INLINE): Likewise.
10110 (handle_signal): Use match function instead of strstr.
10112 2013-01-23 Roland McGrath <roland@hack.frob.com>
10114 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10116 2013-01-23 David S. Miller <davem@davemloft.net>
10118 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10119 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10120 argument of CAS if possible.
10121 * sysdeps/sparc/sparc64/bits/atomic.h
10122 (__arch_compare_and_exchange_val_32_acq): Likewise.
10123 (__arch_compare_and_exchange_val_64_acq): Likewise.
10125 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10127 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10128 * sysdeps/posix/ulimit.c: ... this.
10129 Include <limits.h>.
10130 * sysdeps/unix/bsd/ulimit.c: Remove file.
10132 2013-01-23 Adam Conrad <adconrad@0c3.net>
10134 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10135 (LDFLAGS-tst-array5): Likewise.
10137 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10140 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10141 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10142 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10143 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10145 2013-01-21 David S. Miller <davem@davemloft.net>
10147 * sysdeps/sparc/backtrace.c: New file.
10148 * sysdeps/sparc/sparc32/backtrace.h: New file.
10149 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10150 * sysdeps/sparc/sparc64/backtrace.h: New file.
10151 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10152 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10155 2013-01-21 Andreas Schwab <schwab@suse.de>
10158 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10161 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10167 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10168 Mark Mitchell <mark@codesourcery.com>
10169 Tom de Vries <tom@codesourcery.com>
10170 Paul Pluzhnikov <ppluzhnikov@google.com>
10172 * debug/tst-backtrace2.c: New file.
10173 * debug/tst-backtrace3.c: Likewise.
10174 * debug/tst-backtrace4.c: Likewise.
10175 * debug/tst-backtrace5.c: Likewise.
10176 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10177 (CFLAGS-tst-backtrace3.c): Likewise.
10178 (CFLAGS-tst-backtrace4.c): Likewise.
10179 (CFLAGS-tst-backtrace5.c): Likewise.
10180 (LDFLAGS-tst-backtrace2): Likewise.
10181 (LDFLAGS-tst-backtrace3): Likewise.
10182 (LDFLAGS-tst-backtrace4): Likewise.
10183 (LDFLAGS-tst-backtrace5): Likewise.
10184 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10185 tst-backtrace4 and tst-backtrace5.
10187 2013-01-18 Anton Blanchard <anton@samba.org>
10188 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10190 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10191 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10192 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10193 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10195 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10196 "+r" and remove output regs list as redundant. Add explicit inline
10197 asm to specify register of return val to work around compiler codegen
10198 bug. Remove (int) cast on return value. Add return type parameter to
10199 use in macro so that this macro does not truncate return value for
10201 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10202 pass to INTERNAL_VSYSCALL_NCS.
10203 (INLINE_VSYSCALL): Add 'long int' as return type to
10204 INTERNAL_VSYSCALL_NCS macro invocation.
10205 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10206 INTERNAL_VSYSCALL_NCS macro invocation.
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10209 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10212 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10213 Fix application of SIMD FP exception mask.
10215 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10216 mp_no from a power of two.
10217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10218 __mpexp_twomm1. Use __pow_mp.
10220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10223 2013-01-17 David S. Miller <davem@davemloft.net>
10225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10227 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10230 * include/complex.h: Condition contents on [!_COMPLEX_H].
10231 (__kernel_casinhf): New prototype.
10232 (__kernel_casinh): Likewise.
10233 (__kernel_casinhl): Likewise.
10234 * math/Makefile (libm_calls): Add k_casinh.
10235 * math/k_casinh.c: New file.
10236 * math/k_casinhf.c: Likewise.
10237 * math/k_casinhl.c: Likewise.
10238 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10239 finite nonzero arguments.
10240 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10241 finite nonzero arguments.
10242 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10243 finite nonzero arguments.
10244 * math/s_casinh.c: Do not include <float.h>.
10245 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10246 * math/s_casinhf.c: Do not include <float.h>.
10247 (__casinhf): Move code for finite nonzero arguments to
10249 * math/s_casinhl.c: Do not include <float.h>.
10250 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10252 (__casinhl): Move code for finite nonzero arguments to
10254 * math/libm-test.inc (cacos_test): Add more tests.
10255 * sysdeps/i386/fpu/libm-test-ulps: Update.
10256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10258 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10260 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10261 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10262 [!HAVE_MREMAP]: Remove [defined linux] case.
10263 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10265 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10267 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10269 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10271 * elf/elf.h (R_386_SIZE32): New relocation.
10272 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10274 (elf_machine_rela): Likewise.
10275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10276 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10278 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10280 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10281 (FP_FAST_FMA): Do not define.
10282 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10283 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10284 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10285 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10286 !_SOFT_FLOAT]: Likewise.
10287 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10288 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10290 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10291 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10292 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10293 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10294 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10295 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10298 2013-01-16 Andreas Schwab <schwab@suse.de>
10301 * include/stdlib.h (__mktemp): Add declaration.
10302 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10303 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10305 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10307 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10309 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10310 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10311 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10313 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10314 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10316 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10318 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10319 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10320 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10322 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10323 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10325 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10327 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10329 2013-01-15 David S. Miller <davem@davemloft.net>
10331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10332 trunc{,f} to libm-sysdep_routes.
10333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10343 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10344 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10345 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10346 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10347 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10348 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10351 nearbyint{,f} to libm-sysdep_routes.
10352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10363 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10365 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10366 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10368 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10369 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10370 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10372 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10373 libc_feholdexcept and libc_fesetenv.
10375 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10377 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10379 2013-01-14 David S. Miller <davem@davemloft.net>
10381 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10382 (SPARC_ASM_VIS2_IFUNC): Likewise.
10383 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10385 use of 'siam' instruction.
10386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10419 routines to libm-sysdep_routines.
10420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10423 fdim/fdimf to libm-sysdep_routines.
10424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10432 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10433 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10434 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10435 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10437 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10439 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10440 to optimize copies.
10442 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10447 local variable MPTWO.
10448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10451 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10453 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10456 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10458 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10460 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10462 * manual/pattern.texi (glob_t): Document gl_flags.
10463 (glob64_t): Likewise.
10465 2013-01-11 David S. Miller <davem@davemloft.net>
10467 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10468 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10469 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10470 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10471 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10472 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10473 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10474 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10475 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10476 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10477 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10478 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10479 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10481 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10482 sparc V9 rather than using V8 code.
10483 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10484 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10486 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10488 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10491 2013-01-11 Roland McGrath <roland@hack.frob.com>
10493 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10494 not in the main loop.
10495 * configure: Regenerated.
10497 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10499 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10500 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10502 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10503 [!__GLIBC_HAVE_LONG_LONG] case.
10504 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10505 condition to just #else.
10506 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10507 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10508 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10509 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10511 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10512 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10513 #elif condition to just #else.
10514 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10515 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10516 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10517 #elif condition to just #else.
10519 2013-01-11 Steve Ellcey <sellcey@mips.com>
10521 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10522 (EF_MIPS_ARCH_64): Fix value.
10523 (EF_MIPS_ARCH_32R2): New.
10524 (EF_MIPS_ARCH_64R2): New.
10526 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10528 * Makeconfig (+link-pie-before-libc): New.
10529 (+link-pie-after-libc): Likewise.
10530 (+link-pie-tests): Likewise.
10531 (+link-pie): Rewritten.
10532 (link-before-libc): Remove $(config-LDFLAGS).
10533 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10534 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10535 (config-LDFLAGS): Renamed to ...
10536 (rtld-LDFLAGS): This.
10537 (rtld-tests-LDFLAGS): New macro.
10538 (link-libc-rpath-link): Likewise.
10539 (link-libc-tests-rpath-link): Likewise.
10540 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10541 (link-libc): Prepand $(link-libc-rpath-link).
10542 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10543 (test-program-prefix): New macro.
10544 (test-via-rtld-prefix): Likewise.
10545 (test-program-cmd): Likewise.
10546 (host-test-program-cmd): Likewise.
10547 * Makefile ($(common-objpfx)testrun.sh): Replace
10548 $(run-program-prefix) with $(test-program-prefix).
10549 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10551 ($(common-objpfx)shlib.lds): Likewise.
10552 (build-module-helper): Likewise.
10553 ($(common-objpfx)format.lds): Likewise.
10554 * Rules (binaries-pie-tests): New.
10555 (binaries-pie-notests): Likewise.
10556 (binaries-pie): Rewritten.
10557 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10558 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10559 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10560 (make-test-out): Replace $(host-built-program-cmd) with
10561 $(host-test-program-cmd).
10562 * config.make.in (build-hardcoded-path-in-tests): New variable.
10563 * configure.in (--enable-hardcoded-path-in-tests): New configure
10565 (hardcoded_path_in_tests): New AC_SUBST.
10566 * configure: Regenerated.
10567 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10568 $(built-program-cmd) with $(test-program-cmd).
10569 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10570 (test_program_cmd): This.
10571 * elf/Makefile ($(objpfx)order.out): Run test with
10572 $(test-program-prefix).
10573 ($(objpfx)order2.out): Likewise.
10574 ($(objpfx)tst-initorder.out): Likewise.
10575 ($(objpfx)tst-initorder2.out): Likewise.
10576 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10577 $(test-program-cmd).
10578 ($(objpfx)tst-array1-static.out): Likewise.
10579 ($(objpfx)tst-array2.out): Likewise.
10580 ($(objpfx)tst-array3.out): Likewise.
10581 ($(objpfx)tst-array4.out): Likewise.
10582 ($(objpfx)tst-array5.out): Likewise.
10583 ($(objpfx)tst-array5-static.out): Likewise.
10584 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10585 $(test-program-cmd).
10586 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10587 $(run-program-prefix) with $(test-program-prefix).
10588 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10589 (test_program_prefix): This.
10590 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10591 $(run-program-prefix) with $(test-program-prefix).
10592 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10593 (test_program_prefix): This.
10594 * iconvdata/tst-tables.sh: Likewise.
10595 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10596 $(run-program-prefix) with $(test-program-prefix).
10597 ($(objpfx)tst-translit.out): Likewise.
10598 ($(objpfx)tst-gettext2.out): Likewise.
10599 ($(objpfx)tst-gettext4.out): Likewise.
10600 ($(objpfx)tst-gettext6.out): Likewise.
10601 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10602 (test_program_prefix): This.
10603 * intl/tst-gettext2.sh: Likewise.
10604 * intl/tst-gettext4.sh Likewise.
10605 * intl/tst-gettext6.sh: Likewise.
10606 * intl/tst-translit.sh: Likewise.
10607 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10608 with $(test-program-cmd).
10609 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10610 $(run-program-prefix) with $(test-program-prefix).
10611 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10612 (test_program_prefix): This.
10613 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10614 $(run-program-prefix) with $(test-program-prefix).
10615 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10616 (test_program_prefix): This.
10617 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10618 * posix/Makefile ($(objpfx)globtest.out): Replace
10619 $(run-via-rtld-prefix) and $(test-wrapper) with
10620 $(test-program-prefix) and $(test-via-rtld-prefix).
10621 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10622 $(test-program-prefix).
10623 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10624 $(host-test-program-cmd).
10625 (tst-spawn-ARGS): Likewise.
10626 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10627 $(test-program-prefix).
10628 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10629 (test_via_rtld_prefix): This.
10630 (test_wrapper): Renamed to ...
10631 (test_program_prefix): This.
10632 (run_program_prefix): Replaced by test_program_prefix.
10633 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10634 (test_program_prefix): This.
10635 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10636 with $(host-test-program-cmd).
10637 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10638 $(run-program-prefix) with $(test-program-prefix).
10639 ($(objpfx)tst-printf.out): Likewise.
10640 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10641 $(test-program-cmd).
10642 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10643 (test_program_prefix): This.
10644 * stdio-common/tst-unbputc.sh: Likewise.
10645 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10646 $(run-program-prefix) with $(test-program-prefix).
10647 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10648 (test_program_prefix): This.
10649 * string/Makefile ($(objpfx)tst-svc.out): Replace
10650 $(built-program-cmd) with $(test-program-cmd).
10652 2013-01-11 Andreas Jaeger <aj@suse.de>
10655 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10656 value. Sync with Linux 3.7.
10658 2013-01-10 David S. Miller <davem@davemloft.net>
10660 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10661 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10662 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10664 2013-01-10 Roland McGrath <roland@hack.frob.com>
10666 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10668 * configure: Regenerated.
10670 2013-01-10 David S. Miller <davem@davemloft.net>
10672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10673 sparc V9 rather than using V8 code.
10674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10677 2013-01-10 Roland McGrath <roland@hack.frob.com>
10679 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10680 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10681 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10682 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10683 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10684 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10685 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10686 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10687 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10688 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10689 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10690 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10691 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10692 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10693 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10694 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10695 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10696 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10697 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10698 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10699 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10700 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10701 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10702 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10703 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10704 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10705 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10707 2013-01-10 David S. Miller <davem@davemloft.net>
10709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10711 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10713 * posix/Makefile (tests-static): New variable.
10714 (tests): Add $(tests-static).
10715 (tst-exec-static-ARGS): New variable.
10716 (tst-spawn-static-ARGS): Likewise.
10717 * posix/tst-exec-static.c: New file.
10718 * posix/tst-spawn-static.c: Likewise.
10719 * posix/tst-exec.c: Support run directly.
10720 * posix/tst-spawn.c: Likewise.
10722 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10724 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10726 * math/bits/mathcalls.h (llrint): Likewise.
10727 (llround): Likewise.
10728 * stdlib/stdlib.h (struct drand48_data): Likewise.
10729 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10730 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10731 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10733 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10735 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10736 (elf_greg_t): Likewise.
10737 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10738 (__jmp_buf): Likewise.
10739 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10741 (llrint): Likewise, for all definitions.
10742 (llrintl): Likewise.
10744 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10745 Remove [__GNUC__] condition.
10746 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10747 condition to just [__USE_ISOC99].
10748 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10750 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10753 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10754 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10756 (_POSIX_V6_ILP32_OFF32): Likewise.
10757 (_XBS5_ILP32_OFF32): Likewise.
10758 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10759 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10761 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10763 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10765 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10766 doubles __mpexp_twomm1. Adjust usage.
10767 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10770 2013-01-10 Andreas Schwab <schwab@suse.de>
10773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10774 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10776 2013-01-09 David S. Miller <davem@davemloft.net>
10779 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10780 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10781 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10782 TCP_FASTOPEN): Define.
10783 (tcp_repair_opt): New structure.
10784 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10786 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10787 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10788 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10789 (tcp_cookie_transactions): New structure.
10791 2013-01-09 Anton Blanchard <anton@samba.org>
10793 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10794 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10796 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10798 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10800 * include/features.h (__USE_ANSI): Remove.
10802 2013-01-09 Roland McGrath <roland@hack.frob.com>
10804 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10806 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10808 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10810 * sysdeps/s390/fpu/libm-test-ulps: Update.
10812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10814 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10818 (denorm): Likewise.
10819 (__mp_dbl): Likewise.
10820 (__dbl_mp): Likewise.
10821 (add_magnitudes): Likewise.
10822 (sub_magnitudes): Likewise.
10828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10832 (denorm): Likewise.
10833 (__mp_dbl): Likewise.
10834 (__dbl_mp): Likewise.
10835 (add_magnitudes): Likewise.
10836 (sub_magnitudes): Likewise.
10842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10846 (denorm): Likewise.
10847 (__mp_dbl): Likewise.
10848 (__dbl_mp): Likewise.
10849 (add_magnitudes): Likewise.
10850 (sub_magnitudes): Likewise.
10857 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10859 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10860 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10861 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10862 2 && __USE_EXTERN_INLINES]: Likewise.
10864 2013-01-08 Andreas Jaeger <aj@suse.de>
10867 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10869 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10870 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10872 2013-01-07 Anton Blanchard <anton@samba.org>
10874 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10875 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10876 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10877 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10878 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10879 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10880 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10881 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10883 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10884 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10885 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10886 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10887 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10888 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10889 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10890 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10891 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10892 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10893 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10895 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10897 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10898 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10899 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10900 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10901 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10902 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10903 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10904 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10906 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10907 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10908 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10909 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10910 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10911 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10912 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10913 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10914 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10916 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10918 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10920 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10921 (__MALLOC_PMT): Likewise.
10922 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10923 [__GNUC__], only on [_LIBC].
10924 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10925 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10926 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10927 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10928 forward declaration.
10929 (realloc_hook_ini): Likewise.
10930 (memalign_hook_ini): Likewise.
10931 (__libc_memalign): Do not use __MALLOC_PMT in variable
10933 (__libc_valloc): Likewise.
10934 (__libc_pvalloc): Likewise.
10935 (__libc_calloc): Likewise.
10936 (__posix_memalign): Likewise.
10939 * math/s_casinh.c: Include <float.h>.
10940 (__casinh): Do not do computation with squaring and square root
10941 for large arguments.
10942 * math/s_casinhf.c: Include <float.h>.
10943 (__casinhf): Do not do computation with squaring and square root
10944 for large arguments.
10945 * math/s_casinhl.c: Include <float.h>.
10946 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10947 (__casinhl): Do not do computation with squaring and square root
10948 for large arguments.
10949 * math/libm-test.inc (casin_test): Add more tests.
10950 (casinh_test): Likewise.
10951 * sysdeps/i386/fpu/libm-test-ulps: Update.
10952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10954 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10956 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10957 (__x86_64_raw_data_cache_size): Likewise.
10958 (__x86_64_data_cache_size_half): Likewise.
10959 (__x86_64_raw_data_cache_size_half): Likewise.
10960 (__x86_64_shared_cache_size): Likewise.
10961 (__x86_64_raw_shared_cache_size): Likewise.
10962 (__x86_64_shared_cache_size_half): Likewise.
10963 (__x86_64_raw_shared_cache_size_half): Likewise.
10964 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10966 (__x86_data_cache_size): This.
10967 (__x86_64_raw_data_cache_size): Renamed to ...
10968 (__x86_raw_data_cache_size): This.
10969 (__x86_64_data_cache_size_half): Renamed to ...
10970 (__x86_data_cache_size_half): This.
10971 (__x86_64_raw_data_cache_size_half): Renamed to ...
10972 (__x86_raw_data_cache_size_half): This.
10973 (__x86_64_shared_cache_size): Renamed to ...
10974 (__x86_shared_cache_size): This.
10975 (__x86_64_raw_shared_cache_size): Renamed to ...
10976 (__x86_raw_shared_cache_size): This.
10977 (__x86_64_shared_cache_size_half): Renamed to ...
10978 (__x86_shared_cache_size_half): This.
10979 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10980 (__x86_raw_shared_cache_size_half): This.
10981 * sysdeps/x86_64/memcpy.S: Updated.
10982 * sysdeps/x86_64/memset.S: Likewise.
10983 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10985 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10987 2013-01-04 David S. Miller <davem@davemloft.net>
10989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10991 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10993 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10994 1 to avoid redefinition warning.
10995 (__USE_GNU): Don't define.
10996 (init_signaling_nan): Protoize.
10998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11000 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11002 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11004 (__cpymn): Likewise.
11005 (norm): Remove commented code.
11006 (denorm): Likewise.
11007 (__mp_dbl): Likewise.
11009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11010 (__cpymn): Likewise.
11011 (norm): Remove commented code.
11012 (denorm): Likewise.
11013 (__mp_dbl): Likewise.
11016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11017 mp_no value for 1.0 and 2.0.
11018 (norm): Use RADIXI instead of radixi.d.
11019 (denorm): Likewise.
11020 (__mul): Use 0.0 instead of zero.d.
11021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11022 mp_no value for 1.0 and 2.0.
11023 (norm): Use RADIXI instead of radixi.d.
11024 (denorm): Likewise.
11025 (__mul): Use 0.0 instead of zero.d.
11027 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11030 * math/s_casinh.c (__casinh): Reduce finite argument to first
11031 quadrant then set signs of results at the end.
11032 * math/s_casinhf.c (__casinhf): Likewise.
11033 * math/s_casinhl.c (__casinhl): Likewise.
11034 * math/libm-test.inc (casin_test): Add more tests.
11035 (casinh_test): Likewise.
11036 * sysdeps/i386/fpu/libm-test-ulps: Update.
11037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11039 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11041 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11043 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11045 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11047 (denorm): Likewise.
11048 (__mp_dbl): Likewise.
11051 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11052 and adjust the header comment.
11054 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11055 variable name from declaration.
11057 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11060 Initialize COMMON_CPUID_INDEX_7 element.
11061 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11062 (CPUID_RTM): Likewise.
11063 (HAS_RTM): Likewise.
11064 (COMMON_CPUID_INDEX_7): New enum.
11066 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11069 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11070 size is zero, record memory as freed.
11072 2013-01-03 Andreas Jaeger <aj@suse.de>
11074 * po/ia.po: Add new Interlingua translation.
11076 2012-01-03 Allan McRae <allan@archlinux.org>
11078 * locale/programs/localedef.c: Fix description of '--posix' flag.
11080 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11082 * NEWS: Update dates in second copyright notice.
11083 * README: Update copyright dates in example.
11084 * manual/libc.texinfo: Update copyright dates.
11085 * scripts/test-installation.pl: Update copyright date in --version
11088 * hurd/ctty-input.c: Fix copyright notice formatting.
11089 * hurd/ctty-output.c: Likewise.
11090 * hurd/dtable.c: Likewise.
11091 * hurd/hurd-raise.c: Likewise.
11092 * hurd/hurdprio.c: Likewise.
11093 * hurd/msgportdemux.c: Likewise.
11094 * misc/sys/file.h: Likewise.
11095 * misc/sys/ioctl.h: Likewise.
11096 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11097 * sysdeps/mach/hurd/chdir.c: Likewise.
11098 * sysdeps/mach/hurd/fchdir.c: Likewise.
11099 * sysdeps/mach/hurd/rename.c: Likewise.
11100 * sysdeps/mach/hurd/rmdir.c: Likewise.
11101 * sysdeps/mach/hurd/seekdir.c: Likewise.
11102 * sysdeps/mach/hurd/setsid.c: Likewise.
11103 * sysdeps/posix/wait3.c: Likewise.
11105 * All files with FSF copyright notices: Update copyright dates
11106 using scripts/update-copyrights.
11107 * intl/plural.c: Regenerated.
11108 * locale/programs/charmap-kw.h: Likewise.
11109 * locale/programs/locfile-kw.h: Likewise.
11111 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11113 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11116 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11117 calculation loop and add branch prediction.
11119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11120 check access beyond bounds of m1np.
11122 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11124 (__inv): Remove local variable MPTWO to use the global
11126 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11127 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11129 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11130 MP3HALFS static const.
11132 2013-01-01 David S. Miller <davem@davemloft.net>
11134 * po/ca.po: Update from translation team.
11136 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11138 * scripts/update-copyrights: New file.
11139 * Makeconfig: Reformat copyright notice.
11140 * ctype/ctype.h: Likewise.
11141 * debug/swprintf_chk.c: Likewise.
11142 * elf/dl-cache.c: Likewise.
11143 * elf/dl-debug.c: Likewise.
11144 * elf/dl-object.c: Likewise.
11145 * grp/initgroups.c: Likewise.
11146 * hurd/Makefile: Likewise.
11147 * hurd/hurd/signal.h: Likewise.
11148 * hurd/hurdfault.c: Likewise.
11149 * hurd/hurdioctl.c: Likewise.
11150 * hurd/hurdlookup.c: Likewise.
11151 * hurd/intr-msg.c: Likewise.
11152 * iconv/gconv_open.c: Likewise.
11153 * libio/swprintf.c: Likewise.
11154 * locale/lc-ctype.c: Likewise.
11155 * locale/nl_langinfo.c: Likewise.
11156 * mach/Machrules: Likewise.
11157 * mach/Makefile: Likewise.
11158 * malloc/obstack.h: Likewise.
11159 * manual/Makefile: Likewise.
11160 * manual/tsort.awk: Likewise.
11161 * misc/bits/stab.def: Likewise.
11162 * nis/nis_print_group_entry.c: Likewise.
11163 * nis/nis_table.c: Likewise.
11164 * nis/nss_compat/compat-pwd.c: Likewise.
11165 * nis/nss_compat/compat-spwd.c: Likewise.
11166 * po/Makefile: Likewise.
11167 * posix/fnmatch.c: Likewise.
11168 * posix/regex.h: Likewise.
11169 * resolv/Makefile: Likewise.
11170 * resolv/nss_dns/dns-network.c: Likewise.
11171 * resolv/res_hconf.c: Likewise.
11172 * scripts/gen-sorted.awk: Likewise.
11173 * soft-fp/soft-fp.h: Likewise.
11174 * stdio-common/printf.h: Likewise.
11175 * stdlib/monetary.h: Likewise.
11176 * stdlib/random.c: Likewise.
11177 * stdlib/random_r.c: Likewise.
11178 * sysdeps/generic/Makefile: Likewise.
11179 * sysdeps/gnu/Makefile: Likewise.
11180 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11187 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11188 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11189 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11190 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11191 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11192 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11193 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11194 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11208 * sysdeps/mach/hurd/errnos.awk: Likewise.
11209 * sysdeps/mach/hurd/fork.c: Likewise.
11210 * sysdeps/mach/hurd/getcwd.c: Likewise.
11211 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11212 * sysdeps/mach/hurd/mmap.c: Likewise.
11213 * sysdeps/mach/hurd/utimes.c: Likewise.
11214 * sysdeps/mach/hurd/xmknod.c: Likewise.
11215 * sysdeps/posix/profil.c: Likewise.
11216 * sysdeps/posix/readdir_r.c: Likewise.
11217 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11218 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11219 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11220 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11222 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11223 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11224 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11226 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11227 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11228 * sysdeps/pthread/lio_listio.c: Likewise.
11229 * sysdeps/sparc/dl-procinfo.h: Likewise.
11230 * sysdeps/unix/i386/sysdep.S: Likewise.
11231 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11232 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11233 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11234 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11236 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11237 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11238 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11239 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11240 * sysdeps/wordsize-32/divdi3.c: Likewise.
11241 * time/sys/time.h: Likewise.
11242 * wcsmbs/Makefile: Likewise.
11244 2013-01-01 David S. Miller <davem@davemloft.net>
11246 * po/fr.po: Update from translation team.
11248 * catgets/gencat.c: Update copyright year.
11249 * csu/version.c: Likewise.
11250 * debug/catchsegv.sh: Likewise.
11251 * debug/pcprofiledump.c: Likewise.
11252 * debug/xtrace.sh: Likewise.
11253 * elf/ldconfig.c: Likewise.
11254 * elf/ldd.bash.in: Likewise.
11255 * elf/pldd.c: Likewise.
11256 * elf/sotruss.ksh: Likewise.
11257 * elf/sprof.c: Likewise.
11258 * iconv/iconv_prog.c: Likewise.
11259 * iconv/iconvconfig.c: Likewise.
11260 * locale/programs/locale.c: Likewise.
11261 * locale/programs/localedef.c: Likewise.
11262 * login/programs/pt_chown.c: Likewise.
11263 * malloc/memusage.sh: Likewise.
11264 * malloc/memusagestat.c: Likewise.
11265 * malloc/mtrace.pl: Likewise.
11266 * nscd/nscd.c: Likewise.
11267 * nss/getent.c: Likewise.
11268 * nss/makedb.c: Likewise.
11269 * posix/getconf.c: Likewise.
11271 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11273 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11276 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11278 * math/bits/mathcalls.h (modf): Use __nonnull.
11280 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11282 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11283 (split): Use macro CN instead of the bare value.
11284 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11287 instead of the bare value.
11288 (power1): Likewise.
11290 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11292 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11294 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11296 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11298 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11299 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11300 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11301 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11303 2012-12-28 Andreas Jaeger <aj@suse.de>
11305 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11306 values are from Linux 3.7.
11308 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11309 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11311 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11313 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11318 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11319 variables with preprocessor constants.
11320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11321 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11322 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11324 2012-12-27 Bruno Haible <bruno@clisp.org>
11327 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11330 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11333 and use variable directly.
11334 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11336 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11338 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11341 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11342 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11343 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11344 include directive. Remove local variable MPONE.
11345 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11346 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11347 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11349 2012-12-25 David S. Miller <davem@davemloft.net>
11351 * version.h (RELEASE): Set to "development".
11352 (VERSION): Set to "2.17.90".
11353 * NEWS: Add 2.18 section.
11355 2012-12-21 David S. Miller <davem@davemloft.net>
11357 * po/hr.po: Update from translation team.
11359 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11361 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11363 2012-12-19 Steve Ellcey <sellcey@mips.com>
11365 * NEWS: Mention new memcpy for MIPS.
11367 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11369 * manual/contrib.texi (Contributors): Spelling correction.
11371 2012-12-15 David S. Miller <davem@davemloft.net>
11373 * po/ru.po: Update from translation team.
11375 2012-12-13 David S. Miller <davem@davemloft.net>
11377 * NEWS: Mention IFUNC testsuite enhancements.
11379 * po/pl.po: Update from translation team.
11380 * po/bg.po: Likewise.
11382 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11383 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11385 2012-12-11 David S. Miller <davem@davemloft.net>
11387 * po/sv.po: Update from translation team.
11389 * po/vi.po: Update from translation team.
11391 * po/cs.po: Update from translation team.
11393 * po/de.po: Update from translation team.
11394 * po/eo.po: Likewise.
11395 * po/nl.po: Likewise.
11397 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11400 * manual/argp.texi (Argp Helper Functions): Move node to follow
11401 Argp Parsing State.
11404 * manual/conf.texi (Limits on File System Capacity): Mention if
11405 terminating null is included in the max size.
11407 2012-12-10 Andreas Jaeger <aj@suse.de>
11409 * po/cs.po: Update from translation team.
11411 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11413 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11414 void pointer and cast to uintptr_t.
11415 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11417 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11418 * sysdeps/s390/s390-64/memset.S: Likewise.
11420 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11423 * menual/message.texi (Message Translation): Fix typos.
11424 (Helper programs for gettext): Likewise.
11426 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11429 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11432 2012-12-07 David S. Miller <davem@davemloft.net>
11434 * po/libc.pot: Update.
11436 2012-12-07 Richard Henderson <rth@redhat.com>
11439 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11440 normal/normal case to before the switch.
11441 (_FP_DIV): Likewise.
11443 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11444 Mike Frysinger <vapier@gentoo.org>
11446 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11447 check for __NR_fadvise64_64.
11449 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11451 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11452 0, not just to plain "0" as a statement.
11453 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11456 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11458 * NEWS: Use sourceware.org in Bugzilla URL.
11460 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11463 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11465 * stdio-common/tst-put-error.c (do_test): Add newline to the
11466 padded test to ensure flush.
11468 2012-12-05 Jeff Law <law@redhat.com>
11470 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11472 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11474 * README: Don't refer to ports add-on as distributed separately.
11475 Mention AArch64 in list of systems supported in the ports add-on.
11477 * LICENSES: Add more non-FSF copyright and license notices.
11479 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11482 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11484 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11485 10000 as width of padded output.
11487 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11489 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11491 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11492 variable LX with __attribute__ ((unused)).
11493 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11495 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11497 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11498 with __attribute__ ((unused)).
11500 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11502 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11504 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11506 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11507 (CFLAGS-nldbl-acos.c): New variable.
11508 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11509 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11510 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11511 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11512 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11513 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11514 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11515 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11516 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11517 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11518 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11519 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11520 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11521 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11522 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11523 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11524 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11525 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11526 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11527 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11528 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11529 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11530 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11531 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11532 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11533 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11534 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11535 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11536 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11537 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11538 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11539 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11540 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11541 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11542 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11543 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11544 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11545 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11546 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11547 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11548 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11549 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11550 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11551 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11552 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11553 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11554 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11555 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11556 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11557 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11558 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11559 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11560 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11561 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11562 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11563 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11564 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11565 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11566 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11567 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11568 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11569 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11570 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11571 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11572 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11573 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11574 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11575 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11576 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11577 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11578 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11579 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11580 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11581 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11582 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11583 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11584 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11585 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11586 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11587 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11588 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11589 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11590 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11591 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11592 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11593 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11594 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11595 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11596 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11597 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11598 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11599 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11600 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11601 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11602 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11603 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11604 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11607 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11611 whole low double instead of just low 47 bits when splitting values
11614 2012-12-03 Allan McRae <allan@archlinux.org>
11616 * manual/stdio.texi (Predefined Printf Handlers): Remove
11617 @hsep and @vsep usage.
11619 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11621 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11622 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11624 2012-12-03 Jeff Law <law@redhat.com>
11626 * time/sys/time.h (settimeofday): Do not mark TV argument
11629 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11631 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11632 when currently writing and seek to current position when not.
11633 * libio/Makefile (tests): Remove bug-fclose1.
11634 * libio/bug-fclose1.c: Delete.
11636 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11638 * manual/arith.texi (feenableexcept): Fix typo.
11639 (fedisableexcept): Likewise.
11641 2012-11-30 Roland McGrath <roland@hack.frob.com>
11643 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11644 second, differently-typed declaration, rather than a cast.
11646 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11648 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11649 * include/rpc/svc.h: ... here.
11651 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11654 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11655 depending n and resplen2 to catch cases where answer
11658 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11660 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11661 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11663 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11665 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11667 2012-11-29 Roland McGrath <roland@hack.frob.com>
11669 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11671 2012-11-28 Jeff Law <law@redhat.com>
11674 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11675 dataset_temporary. Track alloca usage into alloca_used.
11676 If dataset is large allocate and release it via malloc/free.
11678 2012-06-04 Florian Weimer <fweimer@redhat.com>
11681 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11683 2012-11-28 David S. Miller <davem@davemloft.net>
11685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11687 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11690 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11691 of pi/2 rounded to nearest to 64 bits.
11692 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11693 nearest to 64 bits.
11694 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11697 2012-11-28 Jeff Law <law@redhat.com>
11698 Martin Osvald <mosvald@redhat.com>
11701 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11702 * sunrpc/svc.c: Include time.h.
11703 (__svc_accept_failed): New function.
11704 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11705 any reason other than EINTR, call __svc_accept_failed.
11706 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11707 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11709 2012-11-28 Andreas Schwab <schwab@suse.de>
11711 * scripts/abilist.awk: Also handle indirect functions in .opd
11714 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11717 * sysdeps/x86/fpu/powl_helper.c: New file.
11718 * sysdeps/x86/fpu/Makefile: Likewise.
11719 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11721 (__ieee754_powl): Use __powl_helper for finite arguments except
11722 integer exponents below 8.
11723 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11725 (__ieee754_powl): Use __powl_helper for finite arguments except
11726 integer exponents below 8.
11727 * math/libm-test.inc (pow_test): Add more tests and enable some
11728 previously disabled tests.
11729 * sysdeps/i386/fpu/libm-test-ulps: Update.
11730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11732 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11733 Carlos O'Donell <carlos_odonell@mentor.com>
11735 * nss/makedb.c (is_prime): Assert that input is odd and greater
11736 than 4. Note that fact in a comment too.
11737 (next_prime): Add 4 to input.
11739 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11742 * libio/Makefile (tests): Add test case tst-fwrite-error.
11743 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11744 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11745 * libio/tst-fwrite-error.c: New test case.
11747 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11749 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11750 before casting to void *.
11751 * include/libc-internal.h (__pointer_type): New macro.
11752 (__integer_if_pointer_type_sub): Likewise.
11753 (__integer_if_pointer_type): Likewise.
11754 (cast_to_integer): Likewise.
11755 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11756 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11757 before casting to atomic64_t.
11758 (atomic_exchange_acq): Likewise.
11759 (__arch_exchange_and_add_body): Likewise.
11760 (__arch_add_body): Likewise.
11761 (atomic_add_negative): Likewise.
11762 (atomic_add_zero): Likewise.
11764 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11766 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11767 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11768 (add_fdes): Likewise.
11769 (linear_search_fdes): Likewise.
11770 (binary_search_unencoded_fdes): Likewise.
11772 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11774 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11776 2012-11-24 Adam Conrad <adconrad@0c3.net>
11778 * configure.in: Autodetect C++ header directories.
11779 * configure: Regenerated.
11781 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11783 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11785 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11789 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11791 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11792 LDBL_MANT_DIG == 106]: Disable some tests.
11793 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11795 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11799 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11800 input for small inputs. Return +/- pi/2 for large inputs.
11801 * math/libm-test.inc (atan_test): Add more tests.
11803 * sysdeps/generic/unwind-dw2-fde-glibc.c
11804 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11805 __attribute__ ((unused)).
11808 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11809 x * y if x and y are nonzero and z is zero.
11812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11813 nonzero exponents with absolute value below 0x1p-117 to +/-
11817 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11818 up arguments below 2**-450, not just those below 2**-500.
11819 * math/libm-test.inc (hypot_test): Add another test.
11822 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11823 Return a+b for ratio over 2**120, not 2**60.
11824 * math/libm-test.inc (hypot_test): Add another test.
11826 * math/libm-test.inc (clog_test): Use
11827 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11828 (clog10_test): Likewise.
11831 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11833 2012-11-22 Andreas Schwab <schwab@suse.de>
11835 * sysdeps/i386/fpu/libm-test-ulps: Update.
11837 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11839 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11840 printf output with newline.
11842 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11845 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11846 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11847 -z nodlopen, -z initfirst and -z execstack support.
11848 * configure: Regenerated.
11850 * elf/elf.h (DF_1_NODIRECT): New macro.
11851 (DF_1_IGNMULDEF): Likewise.
11852 (DF_1_NOKSYMS): Likewise.
11853 (DF_1_NOHDR): Likewise.
11854 (DF_1_EDITED): Likewise.
11855 (DF_1_NORELOC): Likewise.
11856 (DF_1_SYMINTPOSE): Likewise.
11857 (DF_1_GLOBAUDIT): Likewise.
11858 (DF_1_SINGLETON): Likewise.
11859 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11860 DT_1_SUPPORTED_MASK bits.
11861 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11863 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11865 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11867 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11869 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11872 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11873 (sendmmsg): Move declarations...
11874 * socket/sys/socket.h: ... here.
11875 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11876 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11878 * socket/recvmmsg.c: ... this new file.
11879 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11880 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11881 definition of __sendmmsg hidden.
11882 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11883 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11884 Move ENOSYS stub into and include it from...
11885 * socket/sendmmsg.c: ... this new file.
11886 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11887 (sysdep_routines): Move recvmmsg and sendmmsg...
11888 * socket/Makefile (routines): ... here.
11889 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11890 (GLIBC_PRIVATE): Add __sendmmsg.
11891 * include/sys/socket.h (__sendmmsg): Add declarations.
11892 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11895 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11897 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11898 variable I1 with __attribute__ ((unused)).
11899 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11901 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11903 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11904 DUMMY variables with __attribute__ ((unused)).
11906 * bits/byteswap.h: Include <bits/types.h>.
11907 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11909 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11911 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11912 string_t. Do not manually set errno.
11913 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11914 length with __strnlen. Make sure to both set errno and return it on
11917 2012-11-19 David S. Miller <davem@davemloft.net>
11919 With help from Joseph Myers.
11920 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11921 very large arguments properly.
11922 * math/libm-test.inc (atan_test): New tests.
11923 (atan2_test): New tests.
11924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11927 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11930 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11933 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11934 [POSIX] (EADDRNOTAVAIL): Likewise.
11935 [POSIX] (EAFNOSUPPORT): Likewise.
11936 [POSIX] (EALREADY): Likewise.
11937 [POSIX] (ECONNABORTED): Likewise.
11938 [POSIX] (ECONNREFUSED): Likewise.
11939 [POSIX] (ECONNRESET): Likewise.
11940 [POSIX] (EDESTADDRREQ): Likewise.
11941 [POSIX] (EDQUOT): Likewise.
11942 [POSIX] (EHOSTUNREACH): Likewise.
11943 [POSIX] (EIDRM): Likewise.
11944 [POSIX] (EISCONN): Likewise.
11945 [POSIX] (ELOOP): Likewise.
11946 [POSIX] (EMULTIHOP): Likewise.
11947 [POSIX] (ENETDOWN): Likewise.
11948 [POSIX] (ENETUNREACH): Likewise.
11949 [POSIX] (ENOBUFS): Likewise.
11950 [POSIX] (ENODATA): Likewise.
11951 [POSIX] (ENOLINK): Likewise.
11952 [POSIX] (ENOMSG): Likewise.
11953 [POSIX] (ENOPROTOOPT): Likewise.
11954 [POSIX] (ENOSR): Likewise.
11955 [POSIX] (ENOSTR): Likewise.
11956 [POSIX] (ENOTCONN): Likewise.
11957 [POSIX] (ENOTSOCK): Likewise.
11958 [POSIX] (EOPNOTSUPP): Likewise.
11959 [POSIX] (EOVERFLOW): Likewise.
11960 [POSIX] (EPROTO): Likewise.
11961 [POSIX] (EPROTONOSUPPORT): Likewise.
11962 [POSIX] (EPROTOTYPE): Likewise.
11963 [POSIX] (ESTALE): Likewise.
11964 [POSIX] (ETIME): Likewise.
11965 [POSIX] (ETXTBSY): Likewise.
11966 [POSIX] (EWOULDBLOCK): Likewise.
11967 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11968 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11969 [POSIX] (SEEK_CUR): Likewise.
11970 [POSIX] (SEEK_END): Likewise.
11971 [POSIX || UNIX98] (mode_t): Do not require.
11972 [POSIX] (off_t): Likewise.
11973 [POSIX] (pid_t): Likewise.
11974 [POSIX] (sys/stat.h): Do not allow header.
11975 [POSIX] (unistd.h): Likewise.
11976 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11977 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11978 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11979 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11981 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11982 sigevent): Specify elements.
11983 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11985 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11986 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11988 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11989 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11990 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11991 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11992 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11993 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11994 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11995 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11996 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11997 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11998 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11999 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12000 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12001 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12003 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12005 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12007 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12009 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12010 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12011 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12012 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12013 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12014 Specify lower bound on value.
12015 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12016 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12017 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12018 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12019 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12020 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12021 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12022 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12024 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12026 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12027 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12028 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12029 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12030 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12031 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12032 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12033 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12034 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12035 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12036 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12037 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12038 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12039 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12040 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12041 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12043 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12045 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12046 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12047 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12048 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12049 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12050 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12052 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12053 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12054 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12055 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12056 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12057 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12058 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12060 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12061 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12062 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12063 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12064 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12065 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12066 specify as optional.
12067 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12068 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12069 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12070 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12071 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12072 [XPG3] (NL_LANGMAX): Likewise.
12073 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12074 [POSIX || XPG3] (NL_NMAX): Likewise.
12075 [POSIX || XPG3] (NL_SETMAX): Likewise.
12076 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12077 [XPG3] (NZERO): Likewise.
12078 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12079 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12080 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12081 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12082 (REG_ERANGE): Expect.
12083 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12085 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12086 Use (void) in prototype.
12087 [POSIX] (*_t): Allow.
12088 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12089 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12090 (WRDE_BADVAL): Expect.
12092 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12094 [XPG3 || XPG4] (O_RSYNC): Likewise.
12095 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12097 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12098 [XPG3 || XPG4] (sigqueue): Likewise.
12099 [XPG3 || XPG4] (sigtimedwait): Likewise.
12100 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12101 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12102 [XPG3 || XPG4] (vsnprintf): Likewise.
12103 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12105 [XPG3 || XPG4] (blksize_t): Likewise.
12106 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12108 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12109 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12110 [XPG3 || XPG4] (struct itimerspec): Likewise.
12111 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12112 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12113 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12114 [XPG3 || XPG4] (clockid_t): Likewise.
12115 [XPG3 || XPG4] (timer_t): Likewise.
12116 [XPG3 || XPG4] (clock_getres): Likewise.
12117 [XPG3 || XPG4] (clock_gettime): Likewise.
12118 [XPG3 || XPG4] (clock_settime): Likewise.
12119 [XPG3 || XPG4] (nanosleep): Likewise.
12120 [XPG3 || XPG4] (timer_create): Likewise.
12121 [XPG3 || XPG4] (timer_delete): Likewise.
12122 [XPG3 || XPG4] (timer_gettime): Likewise.
12123 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12124 [XPG3 || XPG4] (timer_settime): Likewise.
12125 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12126 [XPG3 || XPG4] (getlogin_r): Likewise.
12127 [XPG3 || XPG4] (pread): Likewise.
12128 [XPG3 || XPG4] (pthread_atfork): Likewise.
12129 [XPG3 || XPG4] (pwrite): Likewise.
12132 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12135 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12137 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12138 finalizing MALLSTREAM.
12140 * sysdeps/mach/hurd/syncfs.c: New file.
12142 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12145 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12146 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12147 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12148 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12149 (_nss_dns_gethostbyname4_r): Likewise.
12150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12151 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12153 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12156 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12158 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12160 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12161 * elf/cache.c (print_entry): Print ",AArch64" for
12164 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12165 * elf/cache.c (print_entry): Print ",hard-float" for
12168 2012-11-18 David S. Miller <davem@davemloft.net>
12170 With help from Joseph Myers.
12171 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12173 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12175 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12176 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12178 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12179 * math/libm-test.inc (y0_test): New tests.
12180 (y1_test): New tests.
12181 * sysdeps/i386/fpu/libm-test-ulps: Update.
12182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12185 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12187 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12189 * configure: Regenerated.
12191 2012-11-17 David S. Miller <davem@davemloft.net>
12194 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12195 nonzero exponents with absolute value below 0x1p-128 to +/-
12198 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12200 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12202 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12204 * posix/getconf-speclist.c: New file.
12205 * posix/posix-envs.def: Likewise.
12206 * posix/confstr.c (START_ENV_GROUP): New macro.
12207 (END_ENV_GROUP): Likewise.
12208 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12209 (KNOWN_PRESENT_ENV_STRING): Likewise.
12210 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12211 (UNKNOWN_ENVIRONMENT): Likewise.
12212 (confstr): Include posix-envs.def instead of handling
12213 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12214 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12215 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12216 (END_ENV_GROUP): Likewise.
12217 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12218 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12219 (UNKNOWN_ENVIRONMENT): Likewise.
12220 (__sysconf): Include posix-envs.def instead of handling associated
12221 cases directly here.
12222 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12223 preprocessing getconf-speclist.c rather than running getconf or
12224 generating empty file.
12226 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12228 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12230 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12233 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12235 2012-11-16 David S. Miller <davem@davemloft.net>
12237 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12238 smaller than LDBL_EPSILON/2.0L, just return xm1.
12240 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12242 * elf/tst-array1.c (init): Set constructor priority to 1000.
12243 (fini): Set destructor priority to 1000.
12244 * elf/tst-array2dep.c: Likewise.
12246 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12249 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12250 (_IO_new_file_xsputn): Also return EOF if none of the input
12251 data was written when overflow failed.
12252 * libio/iopadn.c (_IO_padn): Likewise.
12253 * libio/iowpadn.c (_IO_wpadn): Likewise.
12254 * stdio-common/tst-put-error.c: Add copyright notice.
12255 (do_test): Add case for printing padded string.
12256 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12257 _IO_padn returned error.
12258 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12259 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12262 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12264 * libio/libioP.h: Add comment note that the references to C++
12265 bits are now obsolete.
12267 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12269 * math/libm-test.inc (check_complex): Use asprintf.
12271 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12273 * debug/pcprofiledump.c (print_version): Update copyright year.
12274 * malloc/memusagestat.c (print_version): Likewise.
12276 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12279 * elf/Makefile (tests): Add tst-audit8.
12280 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12281 ($(objpfx)tst-audit8.out): New target.
12282 (tst-audit8-ENV): New variable.
12283 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12284 audit if l_reloc_result is NULL.
12285 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12286 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12287 * elf/tst-audit8.c: New file.
12289 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12291 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12292 * misc/Makefile (CFLAGS-select.c): Define.
12293 * posix/Makefile (CFLAGS-pause.c): Define.
12295 2012-11-13 David S. Miller <davem@davemloft.net>
12297 * crypt/Makefile: Move test targets after toplevel Rules
12298 inclusion. Grab any necessary sysdep routines when linking.
12299 * crypt/md5.c (md5_process_block): Remove define, we will always
12300 name it __md5_process_block.
12301 (md5_finish_ctx): Update md5_process_block call.
12302 (md5_stream): Likewise.
12303 (md5_process_bytes): Likewise.
12304 (md5_process_block): Rename to __md5_process_block and move to ...
12305 * crypt/md5-block.c: ... here.
12306 * crypt/sha256.c (sha256_process_block): Move to ...
12307 * crypt/sha256-block.c: ... here.
12308 * crypt/sha512.c (sha512_process_block): Move to ...
12309 * crypt/sha512-block.c: ... here.
12310 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12312 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12313 * sysdeps/sparc/sparc64/multiarch/Makefile
12314 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12316 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12317 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12319 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12320 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12321 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12322 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12323 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12324 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12325 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12326 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12327 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12329 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12330 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12332 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12334 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12336 * timezone/tzselect.ksh: Update from tzcode git revision
12337 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12338 * timezone/zdump.c: Likewise.
12339 * timezone/zic.c: Likewise.
12340 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12341 in TZVERSION setting, not $(PKGVERSION).
12342 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12343 REPORT_BUGS_TO settings.
12346 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12349 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12351 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12352 detection to immediately after _FP_ROUND().
12353 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12356 2012-11-11 David S. Miller <davem@davemloft.net>
12358 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12360 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12361 __close rather than their public counterparts.
12363 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12365 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12367 [UNIX98] (sem_timedwait): Do not expect.
12368 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12369 [XPG4 || UNIX98] (sockatmark): Do not expect.
12370 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12371 (clock_getcpuclockid): Do not expect.
12372 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12373 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12375 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12376 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12377 [UNIX98] (vwscanf): Likewise.
12378 [UNIX98] (vswscanf): Likewise.
12380 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12382 * timezone/version.h: Remove file.
12383 * timezone/README: Do not refer to version.h.
12384 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12385 $(objpfx)version.h.
12386 ($(objpfx)zdump.o): Likewise.
12387 ($(objpfx)version.h): New target.
12389 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12391 * timezone/README: Don't mention modification to tzselect.ksh.
12392 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12393 work on unmodified tzselect.ksh. Substitute version numbers in
12396 * Makefile (format-me): Remove.
12397 (INSTALL): Adjust indentation. Use commands directly instead of
12398 using $(format-me).
12400 * aclocal.m4 (ACX_PKGVERSION): New macro.
12401 (ACX_BUGURL): Likewise.
12402 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12403 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12404 (REPORT_BUGS_TO): Likewise.
12405 * configure: Regenerated.
12406 * config.h.in (PKGVERSION): New macro.
12407 (REPORT_BUGS_TO): Likewise.
12408 * config.make.in (PKGVERSION): New variable.
12409 (PKGVERSION_TEXI): Likewise.
12410 (REPORT_BUGS_TO): Likewise.
12411 (REPORT_BUGS_TEXI): Likewise.
12412 * Makefile (format-me): Use -I$(common-objpfx)manual.
12413 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12414 ($(common-objpfx)manual/%): New target.
12415 (manual/%): Remove target.
12416 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12417 (print_version): Use PKGVERSION.
12418 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12419 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12420 and REPORT_BUGS_TO.
12421 ($(objpfx)xtrace): Likewise.
12422 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12423 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12424 (print_version): Use PKGVERSION.
12425 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12426 (do_version): Use PKGVERSION.
12427 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12429 (common-ldd-rewrite): Likewise.
12430 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12431 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12432 (print_version): Use PKGVERSION.
12433 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12434 * elf/pldd.c (argp_program_bug_address): Remove variable.
12435 (more_help): New function.
12436 (argp): Use more_help.
12437 (print_version): Use PKGVERSION.
12438 * elf/sln.c (main): Use PKGVERSION.
12439 (usage): Use REPORT_BUGS_TO.
12440 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12441 (top level): Use PKGVERSION.
12442 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12443 (print_version): Use PKGVERSION.
12444 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12445 (print_version): Use PKGVERSION.
12446 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12447 (print_version): Use PKGVERSION.
12448 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12449 (print_version): Use PKGVERSION.
12450 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12451 (print_version): Use PKGVERSION.
12452 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12453 (print_version): Use PKGVERSION.
12454 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12456 ($(objpfx)memusage): Likewise.
12457 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12458 (do_version): Use PKGVERSION.
12459 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12460 (print_version): Use PKGVERSION.
12461 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12462 ($PKGVERSION): New variable.
12463 ($REPORT_BUGS_TO): Likewise.
12464 (usage): Use $REPORT_BUGS_TO.
12465 (top level): Use $PKGVERSION.
12466 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12467 ($(objpfx)pkgvers.texi): New rule.
12468 ($(objpfx)stamp-pkgvers): Likewise.
12469 * manual/install.texi: Include pkgvers.texi.
12470 (--with-pkgversion): Document new configure option.
12471 (--with-bugurl): Likewise.
12472 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12473 than necessarily for this particular distribution. Use
12474 REPORT_BUGS_TO for where to report bugs.
12475 * INSTALL: Regenerated.
12476 * manual/libc.texinfo: Include pkgvers.texi.
12477 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12478 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12479 (print_version): Use PKGVERSION.
12480 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12481 (print_version): Use PKGVERSION.
12482 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12483 (print_version): Use PKGVERSION.
12484 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12485 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12487 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12488 (print_version): Use PKGVERSION.
12489 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12490 (print_version): Use PKGVERSION.
12491 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12494 * timezone/checktab.awk: Update from tzcode 2012i.
12495 * timezone/ialloc.c: Likewise.
12496 * timezone/private.h: Likewise.
12497 * timezone/scheck.c: Likewise.
12498 * timezone/tzfile.h: Likewise.
12499 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12500 (TZVERSION): Hardcode tzcode version number.
12501 * timezone/zdump.c: Update from tzcode 2012i.
12502 * timezone/zic.c: Likewise.
12503 * timezone/version.h: New file.
12504 * timezone/README: Describe version.h. Update upstream location.
12507 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12508 (mktemp): Enable declaration.
12509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12526 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12527 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12528 for copies of such integer values.
12529 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12530 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12532 2012-11-09 Andreas Jaeger <aj@suse.de>
12534 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12535 definitions and declarations that are provided by
12536 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12538 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12540 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12541 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12542 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12545 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12547 * elf/elf.h: Update comment before AArch64 relocations.
12549 2012-11-07 David S. Miller <davem@davemloft.net>
12551 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12552 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12553 (__start_context): Declare.
12554 (__makecontext_ret): Delete.
12555 (__makecontext): Hook up __start_context instead of
12557 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12558 (sysdep_routines): Add __start_context when in stdlib.
12560 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12562 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12563 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12564 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12566 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12567 (READELF): New variable. Use it instead of hardcoded "readelf".
12569 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12571 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12572 * sysdeps/x86/Makefile: Here.
12573 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12574 * sysdeps/x86/tst-xmmymm.sh: This.
12576 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12578 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12580 [UNIX98] (pthread_barrier_t): Do not expect.
12581 [UNIX98] (pthread_barrierattr_t): Likewise.
12582 [UNIX98] (pthread_spinlock_t): Likewise.
12583 [UNIX98] (pthread_barrier_destroy): Likewise.
12584 [UNIX98] (pthread_barrier_init): Likewise.
12585 [UNIX98] (pthread_barrier_wait): Likewise.
12586 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12587 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12588 [UNIX98] (pthread_barrierattr_init): Likewise.
12589 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12590 [UNIX98] (pthread_getcpuclockid): Likewise.
12591 [UNIX98] (pthread_mutex_timedlock): Likewise.
12592 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12593 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12594 [UNIX98] (pthread_sigmask): Likewise.
12595 [UNIX98] (pthread_spin_destroy): Likewise.
12596 [UNIX98] (pthread_spin_init): Likewise.
12597 [UNIX98] (pthread_spin_lock): Likewise.
12598 [UNIX98] (pthread_spin_trylock): Likewise.
12599 [UNIX98] (pthread_spin_unlock): Likewise.
12600 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12602 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12603 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12604 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12605 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12606 [XPG3 || XPG4] (pthread_key_t): Likewise.
12607 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12608 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12609 [XPG3 || XPG4] (pthread_once_t): Likewise.
12610 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12611 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12612 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12613 [XPG3 || XPG4] (pthread_t): Likewise.
12615 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12617 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12619 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12620 Change function return type to int.
12622 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12623 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12624 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12625 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12626 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12627 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12628 [!POSIX] (posix_madvise): Likewise.
12629 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12631 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12632 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12633 (mode_t): Likewise.
12634 (posix_mem_offset): Likewise.
12635 (posix_typed_mem_get_info): Likewise.
12636 (posix_typed_mem_open): Likewise.
12638 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12639 Change condition to [XOPEN2K8].
12641 * conform/conformtest.pl: Preprocess allow-header data with -x c
12642 instead of from stdin.
12643 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12644 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12645 [C99-based standards] (cerfc): Likewise.
12646 [C99-based standards] (cexp2): Likewise.
12647 [C99-based standards] (cexpm1): Likewise.
12648 [C99-based standards] (clog10): Likewise.
12649 [C99-based standards] (clog1p): Likewise.
12650 [C99-based standards] (clog2): Likewise.
12651 [C99-based standards] (clgamma): Likewise.
12652 [C99-based standards] (ctgamma): Likewise.
12653 [C99-based standards] (cerff): Likewise.
12654 [C99-based standards] (cerfcf): Likewise.
12655 [C99-based standards] (cexp2f): Likewise.
12656 [C99-based standards] (cexpm1f): Likewise.
12657 [C99-based standards] (clog10f): Likewise.
12658 [C99-based standards] (clog1pf): Likewise.
12659 [C99-based standards] (clog2f): Likewise.
12660 [C99-based standards] (clgammaf): Likewise.
12661 [C99-based standards] (ctgammaf): Likewise.
12662 [C99-based standards] (cerfl): Likewise.
12663 [C99-based standards] (cerfcl): Likewise.
12664 [C99-based standards] (cexp2l): Likewise.
12665 [C99-based standards] (cexpm1l): Likewise.
12666 [C99-based standards] (clog10l): Likewise.
12667 [C99-based standards] (clog1pl): Likewise.
12668 [C99-based standards] (clog2l): Likewise.
12669 [C99-based standards] (clgammal): Likewise.
12670 [C99-based standards] (ctgammal): Likewise.
12671 * conform/data/inttypes.h-data [C99-based standards]: Include
12672 stdint.h-data. Remove all expectations for stdint.h contents.
12673 [C99-based standards] (PRI*): Do not allow.
12674 [C99-based standards] (SCN*): Likewise.
12675 [C99-based standards] (*_t): Likewise.
12676 [C99-based-standards] (PRId8): Expect macro.
12677 [C99-based-standards] (PRIi8): Likewise.
12678 [C99-based-standards] (PRIo8): Likewise.
12679 [C99-based-standards] (PRIu8): Likewise.
12680 [C99-based-standards] (PRIx8): Likewise.
12681 [C99-based-standards] (PRIX8): Likewise.
12682 [C99-based-standards] (SCNd8): Likewise.
12683 [C99-based-standards] (SCNi8): Likewise.
12684 [C99-based-standards] (SCNo8): Likewise.
12685 [C99-based-standards] (SCNu8): Likewise.
12686 [C99-based-standards] (SCNx8): Likewise.
12687 [C99-based-standards] (PRIdLEAST8): Likewise.
12688 [C99-based-standards] (PRIiLEAST8): Likewise.
12689 [C99-based-standards] (PRIoLEAST8): Likewise.
12690 [C99-based-standards] (PRIuLEAST8): Likewise.
12691 [C99-based-standards] (PRIxLEAST8): Likewise.
12692 [C99-based-standards] (PRIXLEAST8): Likewise.
12693 [C99-based-standards] (SCNdLEAST8): Likewise.
12694 [C99-based-standards] (SCNiLEAST8): Likewise.
12695 [C99-based-standards] (SCNoLEAST8): Likewise.
12696 [C99-based-standards] (SCNuLEAST8): Likewise.
12697 [C99-based-standards] (SCNxLEAST8): Likewise.
12698 [C99-based-standards] (PRIdFAST8): Likewise.
12699 [C99-based-standards] (PRIiFAST8): Likewise.
12700 [C99-based-standards] (PRIoFAST8): Likewise.
12701 [C99-based-standards] (PRIuFAST8): Likewise.
12702 [C99-based-standards] (PRIxFAST8): Likewise.
12703 [C99-based-standards] (PRIXFAST8): Likewise.
12704 [C99-based-standards] (SCNdFAST8): Likewise.
12705 [C99-based-standards] (SCNiFAST8): Likewise.
12706 [C99-based-standards] (SCNoFAST8): Likewise.
12707 [C99-based-standards] (SCNuFAST8): Likewise.
12708 [C99-based-standards] (SCNxFAST8): Likewise.
12709 [C99-based-standards] (PRId16): Likewise.
12710 [C99-based-standards] (PRIi16): Likewise.
12711 [C99-based-standards] (PRIo16): Likewise.
12712 [C99-based-standards] (PRIu16): Likewise.
12713 [C99-based-standards] (PRIx16): Likewise.
12714 [C99-based-standards] (PRIX16): Likewise.
12715 [C99-based-standards] (SCNd16): Likewise.
12716 [C99-based-standards] (SCNi16): Likewise.
12717 [C99-based-standards] (SCNo16): Likewise.
12718 [C99-based-standards] (SCNu16): Likewise.
12719 [C99-based-standards] (SCNx16): Likewise.
12720 [C99-based-standards] (PRIdLEAST16): Likewise.
12721 [C99-based-standards] (PRIiLEAST16): Likewise.
12722 [C99-based-standards] (PRIoLEAST16): Likewise.
12723 [C99-based-standards] (PRIuLEAST16): Likewise.
12724 [C99-based-standards] (PRIxLEAST16): Likewise.
12725 [C99-based-standards] (PRIXLEAST16): Likewise.
12726 [C99-based-standards] (SCNdLEAST16): Likewise.
12727 [C99-based-standards] (SCNiLEAST16): Likewise.
12728 [C99-based-standards] (SCNoLEAST16): Likewise.
12729 [C99-based-standards] (SCNuLEAST16): Likewise.
12730 [C99-based-standards] (SCNxLEAST16): Likewise.
12731 [C99-based-standards] (PRIdFAST16): Likewise.
12732 [C99-based-standards] (PRIiFAST16): Likewise.
12733 [C99-based-standards] (PRIoFAST16): Likewise.
12734 [C99-based-standards] (PRIuFAST16): Likewise.
12735 [C99-based-standards] (PRIxFAST16): Likewise.
12736 [C99-based-standards] (PRIXFAST16): Likewise.
12737 [C99-based-standards] (SCNdFAST16): Likewise.
12738 [C99-based-standards] (SCNiFAST16): Likewise.
12739 [C99-based-standards] (SCNoFAST16): Likewise.
12740 [C99-based-standards] (SCNuFAST16): Likewise.
12741 [C99-based-standards] (SCNxFAST16): Likewise.
12742 [C99-based-standards] (PRId32): Likewise.
12743 [C99-based-standards] (PRIi32): Likewise.
12744 [C99-based-standards] (PRIo32): Likewise.
12745 [C99-based-standards] (PRIu32): Likewise.
12746 [C99-based-standards] (PRIx32): Likewise.
12747 [C99-based-standards] (PRIX32): Likewise.
12748 [C99-based-standards] (SCNd32): Likewise.
12749 [C99-based-standards] (SCNi32): Likewise.
12750 [C99-based-standards] (SCNo32): Likewise.
12751 [C99-based-standards] (SCNu32): Likewise.
12752 [C99-based-standards] (SCNx32): Likewise.
12753 [C99-based-standards] (PRIdLEAST32): Likewise.
12754 [C99-based-standards] (PRIiLEAST32): Likewise.
12755 [C99-based-standards] (PRIoLEAST32): Likewise.
12756 [C99-based-standards] (PRIuLEAST32): Likewise.
12757 [C99-based-standards] (PRIxLEAST32): Likewise.
12758 [C99-based-standards] (PRIXLEAST32): Likewise.
12759 [C99-based-standards] (SCNdLEAST32): Likewise.
12760 [C99-based-standards] (SCNiLEAST32): Likewise.
12761 [C99-based-standards] (SCNoLEAST32): Likewise.
12762 [C99-based-standards] (SCNuLEAST32): Likewise.
12763 [C99-based-standards] (SCNxLEAST32): Likewise.
12764 [C99-based-standards] (PRIdFAST32): Likewise.
12765 [C99-based-standards] (PRIiFAST32): Likewise.
12766 [C99-based-standards] (PRIoFAST32): Likewise.
12767 [C99-based-standards] (PRIuFAST32): Likewise.
12768 [C99-based-standards] (PRIxFAST32): Likewise.
12769 [C99-based-standards] (PRIXFAST32): Likewise.
12770 [C99-based-standards] (SCNdFAST32): Likewise.
12771 [C99-based-standards] (SCNiFAST32): Likewise.
12772 [C99-based-standards] (SCNoFAST32): Likewise.
12773 [C99-based-standards] (SCNuFAST32): Likewise.
12774 [C99-based-standards] (SCNxFAST32): Likewise.
12775 [C99-based-standards] (PRId64): Likewise.
12776 [C99-based-standards] (PRIi64): Likewise.
12777 [C99-based-standards] (PRIo64): Likewise.
12778 [C99-based-standards] (PRIu64): Likewise.
12779 [C99-based-standards] (PRIx64): Likewise.
12780 [C99-based-standards] (PRIX64): Likewise.
12781 [C99-based-standards] (SCNd64): Likewise.
12782 [C99-based-standards] (SCNi64): Likewise.
12783 [C99-based-standards] (SCNo64): Likewise.
12784 [C99-based-standards] (SCNu64): Likewise.
12785 [C99-based-standards] (SCNx64): Likewise.
12786 [C99-based-standards] (PRIdLEAST64): Likewise.
12787 [C99-based-standards] (PRIiLEAST64): Likewise.
12788 [C99-based-standards] (PRIoLEAST64): Likewise.
12789 [C99-based-standards] (PRIuLEAST64): Likewise.
12790 [C99-based-standards] (PRIxLEAST64): Likewise.
12791 [C99-based-standards] (PRIXLEAST64): Likewise.
12792 [C99-based-standards] (SCNdLEAST64): Likewise.
12793 [C99-based-standards] (SCNiLEAST64): Likewise.
12794 [C99-based-standards] (SCNoLEAST64): Likewise.
12795 [C99-based-standards] (SCNuLEAST64): Likewise.
12796 [C99-based-standards] (SCNxLEAST64): Likewise.
12797 [C99-based-standards] (PRIdFAST64): Likewise.
12798 [C99-based-standards] (PRIiFAST64): Likewise.
12799 [C99-based-standards] (PRIoFAST64): Likewise.
12800 [C99-based-standards] (PRIuFAST64): Likewise.
12801 [C99-based-standards] (PRIxFAST64): Likewise.
12802 [C99-based-standards] (PRIXFAST64): Likewise.
12803 [C99-based-standards] (SCNdFAST64): Likewise.
12804 [C99-based-standards] (SCNiFAST64): Likewise.
12805 [C99-based-standards] (SCNoFAST64): Likewise.
12806 [C99-based-standards] (SCNuFAST64): Likewise.
12807 [C99-based-standards] (SCNxFAST64): Likewise.
12808 [C99-based-standards] (PRIdMAX): Likewise.
12809 [C99-based-standards] (PRIiMAX): Likewise.
12810 [C99-based-standards] (PRIoMAX): Likewise.
12811 [C99-based-standards] (PRIuMAX): Likewise.
12812 [C99-based-standards] (PRIxMAX): Likewise.
12813 [C99-based-standards] (PRIXMAX): Likewise.
12814 [C99-based-standards] (SCNdMAX): Likewise.
12815 [C99-based-standards] (SCNiMAX): Likewise.
12816 [C99-based-standards] (SCNoMAX): Likewise.
12817 [C99-based-standards] (SCNuMAX): Likewise.
12818 [C99-based-standards] (SCNxMAX): Likewise.
12819 [C99-based-standards] (PRIdPTR): Likewise.
12820 [C99-based-standards] (PRIiPTR): Likewise.
12821 [C99-based-standards] (PRIoPTR): Likewise.
12822 [C99-based-standards] (PRIuPTR): Likewise.
12823 [C99-based-standards] (PRIxPTR): Likewise.
12824 [C99-based-standards] (PRIXPTR): Likewise.
12825 [C99-based-standards] (SCNdPTR): Likewise.
12826 [C99-based-standards] (SCNiPTR): Likewise.
12827 [C99-based-standards] (SCNoPTR): Likewise.
12828 [C99-based-standards] (SCNuPTR): Likewise.
12829 [C99-based-standards] (SCNxPTR): Likewise.
12830 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12832 * conform/data/stdint.h-data: Update comments to clarify
12834 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12836 [C99-based standards] (INT8_MAX): Likewise.
12837 [C99-based standards] (INT16_MIN): Likewise.
12838 [C99-based standards] (INT16_MAX): Likewise.
12839 [C99-based standards] (INT32_MIN): Likewise.
12840 [C99-based standards] (INT32_MAX): Likewise.
12841 [C99-based standards] (INT64_MIN): Likewise.
12842 [C99-based standards] (INT64_MAX): Likewise.
12843 [C99-based standards] (UINT8_MAX): Likewise.
12844 [C99-based standards] (UINT16_MAX): Likewise.
12845 [C99-based standards] (UINT32_MAX): Likewise.
12846 [C99-based standards] (UINT64_MAX): Likewise.
12847 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12848 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12849 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12850 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12851 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12852 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12853 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12854 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12855 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12856 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12857 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12858 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12859 [C99-based standards] (INT_FAST8_MIN): Likewise.
12860 [C99-based standards] (INT_FAST8_MAX): Likewise.
12861 [C99-based standards] (INT_FAST16_MIN): Likewise.
12862 [C99-based standards] (INT_FAST16_MAX): Likewise.
12863 [C99-based standards] (INT_FAST32_MIN): Likewise.
12864 [C99-based standards] (INT_FAST32_MAX): Likewise.
12865 [C99-based standards] (INT_FAST64_MIN): Likewise.
12866 [C99-based standards] (INT_FAST64_MAX): Likewise.
12867 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12868 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12869 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12870 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12871 [C99-based standards] (INTPTR_MIN): Likewise.
12872 [C99-based standards] (INTPTR_MAX): Likewise.
12873 [C99-based standards] (UINTPTR_MAX): Likewise.
12874 [C99-based standards] (INTMAX_MIN): Likewise.
12875 [C99-based standards] (INTMAX_MAX): Likewise.
12876 [C99-based standards] (UINTMAX_MAX): Likewise.
12877 [C99-based standards] (PTRDIFF_MIN): Likewise.
12878 [C99-based standards] (PTRDIFF_MAX): Likewise.
12879 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12880 [C99-based standards] (SIZE_MAX): Likewise.
12881 [C99-based standards] (WCHAR_MAX): Likewise.
12882 [C99-based standards] (WINT_MAX): Likewise.
12883 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12884 constraint on value.
12885 [C99-based standards] (WCHAR_MIN): Likewise.
12886 [C99-based standards] (WINT_MIN): Likewise.
12887 [C99-based standards] (*_t): Allow.
12888 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12889 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12890 Include math.h-data and complex.h-data. Remove all expectations
12891 of math.h and complex.h contents.
12892 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12894 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12895 (struct tm): Expect tag.
12896 [C99-based-standards] (wcstof): Expect function.
12897 [C99-based-standards] (wcstold): Likewise.
12898 [C99-based-standards] (wcstoll): Likewise.
12899 [C99-based-standards] (wcstoull): Likewise.
12900 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12901 macro-int-constant. Specify type.
12902 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12903 constraint on value.
12904 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12906 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12908 [ISO C standards]: Do not allow headers.
12909 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12910 wcs[abcdefghijklmnopqrstuvwxyz]*.
12911 [ISO C standards] (*_t): Do not allow.
12912 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12914 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12915 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12917 [ISO C standards]: Do not allow headers.
12918 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12919 is[abcdefghijklmnopqrstuvwxyz]*.
12920 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12921 to[abcdefghijklmnopqrstuvwxyz]*.
12922 [ISO C standards] (*_t): Do not allow.
12923 * conform/data/stdalign.h-data: New file.
12924 * conform/data/stdbool.h-data: Likewise.
12925 * conform/data/stdnoreturn.h-data: Likewise.
12927 2012-11-07 Roland McGrath <roland@hack.frob.com>
12930 * manual/filesys.texi (Directory Entries): Typo fix.
12931 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12933 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12935 * elf/elf.h (EM_AARCH64): New macro.
12936 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12937 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12938 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12939 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12940 (R_AARCH64_TLSDESC): Likewise.
12941 (NT_ARM_TLS): Likewise.
12942 (NT_ARM_HW_BREAK): Likewise.
12943 (NT_ARM_HW_WATCH): Likewise.
12945 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12948 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12949 (__ieee754_powl): Saturate nonzero exponents with absolute value
12950 below 0x1p-79 to +/- 0x1p-79.
12951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12952 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12953 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12954 nonzero exponents with absolute value below 0x1p-32 to +/-
12956 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12957 (__ieee754_powl): Saturate nonzero exponents with absolute value
12958 below 0x1p-79 to +/- 0x1p-79.
12959 * math/libm-test.inc (pow_test): Add more tests.
12961 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12963 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12964 _dl_s390_cap_flags with kernel. Increase string length.
12965 (_dl_s390_platforms): Add z196 and zEC12.
12967 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12969 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12970 Change XOPEN21K to XOPEN2K.
12972 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12974 * string/memmove.c: Use memcpy when possible.
12976 2012-11-06 Andreas Jaeger <aj@suse.de>
12978 * po/eo.po: Update from translation team.
12980 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12984 exponent and small x and y exponents, scale x or y up. Increase
12985 by 2 the exponent used in scaling up.
12986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12987 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12988 * math/libm-test.inc (fma_test): Add more tests.
12989 (fma_test_towardzero): Likewise.
12990 (fma_test_downward): Likewise.
12991 (fma_test_upward): Likewise.
12993 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12996 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13000 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13001 namespace for names of struct fields.
13002 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13004 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13005 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13007 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13010 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13012 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13014 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13018 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13021 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13025 definitely overflow as x * y not x * y + z.
13026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13028 * math/libm-test.inc (fma_test): Add more tests.
13029 (fma_test_towardzero): Likewise.
13030 (fma_test_downward): Likewise.
13031 (fma_test_upward): Likewise.
13033 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13037 * include/stub-tag.h: Remove file.
13038 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13040 * manual/maint.texi (Porting): Don't reference it.
13041 * Makerules ($(objpfx)stubs): Likewise.
13042 * dirent/closedir.c: Don't include <stub-tag.h>.
13043 * dirent/dirfd.c: Likewise.
13044 * dirent/fdopendir.c: Likewise.
13045 * dirent/getdents.c: Likewise.
13046 * dirent/getdents64.c: Likewise.
13047 * dirent/opendir.c: Likewise.
13048 * dirent/readdir.c: Likewise.
13049 * dirent/readdir64.c: Likewise.
13050 * dirent/readdir64_r.c: Likewise.
13051 * dirent/readdir_r.c: Likewise.
13052 * dirent/rewinddir.c: Likewise.
13053 * dirent/seekdir.c: Likewise.
13054 * dirent/telldir.c: Likewise.
13055 * gmon/profil.c: Likewise.
13056 * grp/setgroups.c: Likewise.
13057 * inet/if_index.c: Likewise.
13058 * io/access.c: Likewise.
13059 * io/chdir.c: Likewise.
13060 * io/chmod.c: Likewise.
13061 * io/chown.c: Likewise.
13062 * io/close.c: Likewise.
13063 * io/dup.c: Likewise.
13064 * io/dup2.c: Likewise.
13065 * io/dup3.c: Likewise.
13066 * io/euidaccess.c: Likewise.
13067 * io/faccessat.c: Likewise.
13068 * io/fchdir.c: Likewise.
13069 * io/fchmod.c: Likewise.
13070 * io/fchmodat.c: Likewise.
13071 * io/fchown.c: Likewise.
13072 * io/fchownat.c: Likewise.
13073 * io/fcntl.c: Likewise.
13074 * io/flock.c: Likewise.
13075 * io/fstatfs.c: Likewise.
13076 * io/fstatfs64.c: Likewise.
13077 * io/fstatvfs.c: Likewise.
13078 * io/fstatvfs64.c: Likewise.
13079 * io/futimens.c: Likewise.
13080 * io/fxstat.c: Likewise.
13081 * io/fxstat64.c: Likewise.
13082 * io/fxstatat.c: Likewise.
13083 * io/fxstatat64.c: Likewise.
13084 * io/getcwd.c: Likewise.
13085 * io/isatty.c: Likewise.
13086 * io/lchmod.c: Likewise.
13087 * io/lchown.c: Likewise.
13088 * io/link.c: Likewise.
13089 * io/linkat.c: Likewise.
13090 * io/lseek.c: Likewise.
13091 * io/lseek64.c: Likewise.
13092 * io/lxstat64.c: Likewise.
13093 * io/mkdir.c: Likewise.
13094 * io/mkdirat.c: Likewise.
13095 * io/mkfifo.c: Likewise.
13096 * io/mkfifoat.c: Likewise.
13097 * io/open.c: Likewise.
13098 * io/open64.c: Likewise.
13099 * io/openat.c: Likewise.
13100 * io/openat64.c: Likewise.
13101 * io/pipe.c: Likewise.
13102 * io/pipe2.c: Likewise.
13103 * io/poll.c: Likewise.
13104 * io/posix_fadvise.c: Likewise.
13105 * io/posix_fadvise64.c: Likewise.
13106 * io/posix_fallocate.c: Likewise.
13107 * io/posix_fallocate64.c: Likewise.
13108 * io/read.c: Likewise.
13109 * io/readlink.c: Likewise.
13110 * io/readlinkat.c: Likewise.
13111 * io/rmdir.c: Likewise.
13112 * io/sendfile.c: Likewise.
13113 * io/sendfile64.c: Likewise.
13114 * io/statfs.c: Likewise.
13115 * io/statfs64.c: Likewise.
13116 * io/statvfs.c: Likewise.
13117 * io/statvfs64.c: Likewise.
13118 * io/symlink.c: Likewise.
13119 * io/symlinkat.c: Likewise.
13120 * io/ttyname.c: Likewise.
13121 * io/ttyname_r.c: Likewise.
13122 * io/umask.c: Likewise.
13123 * io/unlink.c: Likewise.
13124 * io/unlinkat.c: Likewise.
13125 * io/utime.c: Likewise.
13126 * io/utimensat.c: Likewise.
13127 * io/write.c: Likewise.
13128 * io/xmknod.c: Likewise.
13129 * io/xmknodat.c: Likewise.
13130 * io/xstat.c: Likewise.
13131 * io/xstat64.c: Likewise.
13132 * login/getpt.c: Likewise.
13133 * login/grantpt.c: Likewise.
13134 * login/unlockpt.c: Likewise.
13135 * math/e_acoshl.c: Likewise.
13136 * math/e_acosl.c: Likewise.
13137 * math/e_asinl.c: Likewise.
13138 * math/e_atan2l.c: Likewise.
13139 * math/e_atanhl.c: Likewise.
13140 * math/e_coshl.c: Likewise.
13141 * math/e_expl.c: Likewise.
13142 * math/e_fmodl.c: Likewise.
13143 * math/e_gammal_r.c: Likewise.
13144 * math/e_hypotl.c: Likewise.
13145 * math/e_j0l.c: Likewise.
13146 * math/e_j1l.c: Likewise.
13147 * math/e_jnl.c: Likewise.
13148 * math/e_lgammal_r.c: Likewise.
13149 * math/e_log10l.c: Likewise.
13150 * math/e_log2l.c: Likewise.
13151 * math/e_logl.c: Likewise.
13152 * math/e_powl.c: Likewise.
13153 * math/e_rem_pio2l.c: Likewise.
13154 * math/e_sinhl.c: Likewise.
13155 * math/e_sqrtl.c: Likewise.
13156 * math/fclrexcpt.c: Likewise.
13157 * math/fedisblxcpt.c: Likewise.
13158 * math/feenablxcpt.c: Likewise.
13159 * math/fegetenv.c: Likewise.
13160 * math/fegetexcept.c: Likewise.
13161 * math/fegetround.c: Likewise.
13162 * math/feholdexcpt.c: Likewise.
13163 * math/fesetenv.c: Likewise.
13164 * math/fesetround.c: Likewise.
13165 * math/feupdateenv.c: Likewise.
13166 * math/fgetexcptflg.c: Likewise.
13167 * math/fraiseexcpt.c: Likewise.
13168 * math/fsetexcptflg.c: Likewise.
13169 * math/ftestexcept.c: Likewise.
13170 * math/k_cosl.c: Likewise.
13171 * math/k_rem_pio2l.c: Likewise.
13172 * math/k_sinl.c: Likewise.
13173 * math/k_tanl.c: Likewise.
13174 * math/s_asinhl.c: Likewise.
13175 * math/s_atanl.c: Likewise.
13176 * math/s_cbrtl.c: Likewise.
13177 * math/s_erfl.c: Likewise.
13178 * math/s_expm1l.c: Likewise.
13179 * math/s_log1pl.c: Likewise.
13180 * math/s_tanhl.c: Likewise.
13181 * misc/acct.c: Likewise.
13182 * misc/brk.c: Likewise.
13183 * misc/chflags.c: Likewise.
13184 * misc/chroot.c: Likewise.
13185 * misc/fchflags.c: Likewise.
13186 * misc/fgetxattr.c: Likewise.
13187 * misc/flistxattr.c: Likewise.
13188 * misc/fremovexattr.c: Likewise.
13189 * misc/fsetxattr.c: Likewise.
13190 * misc/fsync.c: Likewise.
13191 * misc/ftruncate.c: Likewise.
13192 * misc/futimes.c: Likewise.
13193 * misc/futimesat.c: Likewise.
13194 * misc/getdomain.c: Likewise.
13195 * misc/getdtsz.c: Likewise.
13196 * misc/gethostid.c: Likewise.
13197 * misc/gethostname.c: Likewise.
13198 * misc/getloadavg.c: Likewise.
13199 * misc/getpagesize.c: Likewise.
13200 * misc/getsysstats.c: Likewise.
13201 * misc/getxattr.c: Likewise.
13202 * misc/gtty.c: Likewise.
13203 * misc/ioctl.c: Likewise.
13204 * misc/lgetxattr.c: Likewise.
13205 * misc/listxattr.c: Likewise.
13206 * misc/llistxattr.c: Likewise.
13207 * misc/lremovexattr.c: Likewise.
13208 * misc/lsetxattr.c: Likewise.
13209 * misc/lutimes.c: Likewise.
13210 * misc/madvise.c: Likewise.
13211 * misc/mincore.c: Likewise.
13212 * misc/mlock.c: Likewise.
13213 * misc/mlockall.c: Likewise.
13214 * misc/mmap.c: Likewise.
13215 * misc/mprotect.c: Likewise.
13216 * misc/msync.c: Likewise.
13217 * misc/munlock.c: Likewise.
13218 * misc/munlockall.c: Likewise.
13219 * misc/munmap.c: Likewise.
13220 * misc/preadv.c: Likewise.
13221 * misc/preadv64.c: Likewise.
13222 * misc/ptrace.c: Likewise.
13223 * misc/pwritev.c: Likewise.
13224 * misc/pwritev64.c: Likewise.
13225 * misc/readv.c: Likewise.
13226 * misc/reboot.c: Likewise.
13227 * misc/remap_file_pages.c: Likewise.
13228 * misc/removexattr.c: Likewise.
13229 * misc/revoke.c: Likewise.
13230 * misc/select.c: Likewise.
13231 * misc/setdomain.c: Likewise.
13232 * misc/setegid.c: Likewise.
13233 * misc/seteuid.c: Likewise.
13234 * misc/sethostid.c: Likewise.
13235 * misc/sethostname.c: Likewise.
13236 * misc/setregid.c: Likewise.
13237 * misc/setreuid.c: Likewise.
13238 * misc/setxattr.c: Likewise.
13239 * misc/sstk.c: Likewise.
13240 * misc/stty.c: Likewise.
13241 * misc/swapoff.c: Likewise.
13242 * misc/swapon.c: Likewise.
13243 * misc/sync.c: Likewise.
13244 * misc/syncfs.c: Likewise.
13245 * misc/syscall.c: Likewise.
13246 * misc/truncate.c: Likewise.
13247 * misc/ualarm.c: Likewise.
13248 * misc/usleep.c: Likewise.
13249 * misc/ustat.c: Likewise.
13250 * misc/utimes.c: Likewise.
13251 * misc/vhangup.c: Likewise.
13252 * misc/writev.c: Likewise.
13253 * posix/_exit.c: Likewise.
13254 * posix/alarm.c: Likewise.
13255 * posix/execve.c: Likewise.
13256 * posix/fexecve.c: Likewise.
13257 * posix/fork.c: Likewise.
13258 * posix/fpathconf.c: Likewise.
13259 * posix/getaddrinfo.c: Likewise.
13260 * posix/getegid.c: Likewise.
13261 * posix/geteuid.c: Likewise.
13262 * posix/getgid.c: Likewise.
13263 * posix/getgroups.c: Likewise.
13264 * posix/getlogin.c: Likewise.
13265 * posix/getlogin_r.c: Likewise.
13266 * posix/getpgid.c: Likewise.
13267 * posix/getpid.c: Likewise.
13268 * posix/getppid.c: Likewise.
13269 * posix/getresgid.c: Likewise.
13270 * posix/getresuid.c: Likewise.
13271 * posix/getsid.c: Likewise.
13272 * posix/getuid.c: Likewise.
13273 * posix/glob64.c: Likewise.
13274 * posix/nanosleep.c: Likewise.
13275 * posix/pathconf.c: Likewise.
13276 * posix/pause.c: Likewise.
13277 * posix/posix_madvise.c: Likewise.
13278 * posix/pread.c: Likewise.
13279 * posix/pread64.c: Likewise.
13280 * posix/pwrite.c: Likewise.
13281 * posix/pwrite64.c: Likewise.
13282 * posix/sched_getaffinity.c: Likewise.
13283 * posix/sched_getp.c: Likewise.
13284 * posix/sched_gets.c: Likewise.
13285 * posix/sched_primax.c: Likewise.
13286 * posix/sched_primin.c: Likewise.
13287 * posix/sched_rr_gi.c: Likewise.
13288 * posix/sched_setaffinity.c: Likewise.
13289 * posix/sched_setp.c: Likewise.
13290 * posix/sched_sets.c: Likewise.
13291 * posix/sched_yield.c: Likewise.
13292 * posix/setgid.c: Likewise.
13293 * posix/setlogin.c: Likewise.
13294 * posix/setpgid.c: Likewise.
13295 * posix/setresgid.c: Likewise.
13296 * posix/setresuid.c: Likewise.
13297 * posix/setsid.c: Likewise.
13298 * posix/setuid.c: Likewise.
13299 * posix/sleep.c: Likewise.
13300 * posix/spawni.c: Likewise.
13301 * posix/sysconf.c: Likewise.
13302 * posix/times.c: Likewise.
13303 * posix/wait.c: Likewise.
13304 * posix/wait3.c: Likewise.
13305 * posix/wait4.c: Likewise.
13306 * posix/waitpid.c: Likewise.
13307 * resolv/gai_sigqueue.c: Likewise.
13308 * resource/getpriority.c: Likewise.
13309 * resource/getrlimit.c: Likewise.
13310 * resource/getrusage.c: Likewise.
13311 * resource/nice.c: Likewise.
13312 * resource/setpriority.c: Likewise.
13313 * resource/setrlimit.c: Likewise.
13314 * resource/ulimit.c: Likewise.
13315 * rt/aio_cancel.c: Likewise.
13316 * rt/aio_fsync.c: Likewise.
13317 * rt/aio_read.c: Likewise.
13318 * rt/aio_sigqueue.c: Likewise.
13319 * rt/aio_suspend.c: Likewise.
13320 * rt/aio_write.c: Likewise.
13321 * rt/clock_getres.c: Likewise.
13322 * rt/clock_gettime.c: Likewise.
13323 * rt/clock_nanosleep.c: Likewise.
13324 * rt/clock_settime.c: Likewise.
13325 * rt/lio_listio.c: Likewise.
13326 * rt/mq_close.c: Likewise.
13327 * rt/mq_getattr.c: Likewise.
13328 * rt/mq_notify.c: Likewise.
13329 * rt/mq_open.c: Likewise.
13330 * rt/mq_receive.c: Likewise.
13331 * rt/mq_send.c: Likewise.
13332 * rt/mq_setattr.c: Likewise.
13333 * rt/mq_timedreceive.c: Likewise.
13334 * rt/mq_timedsend.c: Likewise.
13335 * rt/mq_unlink.c: Likewise.
13336 * rt/shm_open.c: Likewise.
13337 * rt/shm_unlink.c: Likewise.
13338 * rt/timer_create.c: Likewise.
13339 * rt/timer_delete.c: Likewise.
13340 * rt/timer_getoverr.c: Likewise.
13341 * rt/timer_gettime.c: Likewise.
13342 * rt/timer_settime.c: Likewise.
13343 * setjmp/__longjmp.c: Likewise.
13344 * setjmp/setjmp.c: Likewise.
13345 * signal/kill.c: Likewise.
13346 * signal/killpg.c: Likewise.
13347 * signal/raise.c: Likewise.
13348 * signal/sigaction.c: Likewise.
13349 * signal/sigaltstack.c: Likewise.
13350 * signal/sigblock.c: Likewise.
13351 * signal/sigignore.c: Likewise.
13352 * signal/sigintr.c: Likewise.
13353 * signal/signal.c: Likewise.
13354 * signal/sigpause.c: Likewise.
13355 * signal/sigpending.c: Likewise.
13356 * signal/sigqueue.c: Likewise.
13357 * signal/sigreturn.c: Likewise.
13358 * signal/sigset.c: Likewise.
13359 * signal/sigsetmask.c: Likewise.
13360 * signal/sigstack.c: Likewise.
13361 * signal/sigsuspend.c: Likewise.
13362 * signal/sigtimedwait.c: Likewise.
13363 * signal/sigvec.c: Likewise.
13364 * signal/sigwait.c: Likewise.
13365 * signal/sigwaitinfo.c: Likewise.
13366 * signal/sysv_signal.c: Likewise.
13367 * socket/accept.c: Likewise.
13368 * socket/accept4.c: Likewise.
13369 * socket/bind.c: Likewise.
13370 * socket/connect.c: Likewise.
13371 * socket/getpeername.c: Likewise.
13372 * socket/getsockname.c: Likewise.
13373 * socket/getsockopt.c: Likewise.
13374 * socket/isfdtype.c: Likewise.
13375 * socket/listen.c: Likewise.
13376 * socket/recv.c: Likewise.
13377 * socket/recvfrom.c: Likewise.
13378 * socket/recvmsg.c: Likewise.
13379 * socket/send.c: Likewise.
13380 * socket/sendmsg.c: Likewise.
13381 * socket/sendto.c: Likewise.
13382 * socket/setsockopt.c: Likewise.
13383 * socket/shutdown.c: Likewise.
13384 * socket/sockatmark.c: Likewise.
13385 * socket/socket.c: Likewise.
13386 * socket/socketpair.c: Likewise.
13387 * stdio-common/ctermid.c: Likewise.
13388 * stdio-common/cuserid.c: Likewise.
13389 * stdio-common/remove.c: Likewise.
13390 * stdio-common/rename.c: Likewise.
13391 * stdio-common/renameat.c: Likewise.
13392 * stdio-common/tempname.c: Likewise.
13393 * stdlib/getcontext.c: Likewise.
13394 * stdlib/makecontext.c: Likewise.
13395 * stdlib/setcontext.c: Likewise.
13396 * stdlib/swapcontext.c: Likewise.
13397 * stdlib/system.c: Likewise.
13398 * streams/fattach.c: Likewise.
13399 * streams/fdetach.c: Likewise.
13400 * streams/getmsg.c: Likewise.
13401 * streams/getpmsg.c: Likewise.
13402 * streams/putmsg.c: Likewise.
13403 * streams/putpmsg.c: Likewise.
13404 * sysdeps/unix/bsd/getpt.c: Likewise.
13405 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13406 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13407 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13410 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13411 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13412 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13413 * sysvipc/msgctl.c: Likewise.
13414 * sysvipc/msgget.c: Likewise.
13415 * sysvipc/msgrcv.c: Likewise.
13416 * sysvipc/msgsnd.c: Likewise.
13417 * sysvipc/semctl.c: Likewise.
13418 * sysvipc/semget.c: Likewise.
13419 * sysvipc/semop.c: Likewise.
13420 * sysvipc/semtimedop.c: Likewise.
13421 * sysvipc/shmat.c: Likewise.
13422 * sysvipc/shmctl.c: Likewise.
13423 * sysvipc/shmdt.c: Likewise.
13424 * sysvipc/shmget.c: Likewise.
13425 * termios/tcdrain.c: Likewise.
13426 * termios/tcflow.c: Likewise.
13427 * termios/tcflush.c: Likewise.
13428 * termios/tcgetattr.c: Likewise.
13429 * termios/tcgetpgrp.c: Likewise.
13430 * termios/tcsendbrk.c: Likewise.
13431 * termios/tcsetattr.c: Likewise.
13432 * termios/tcsetpgrp.c: Likewise.
13433 * time/adjtime.c: Likewise.
13434 * time/clock.c: Likewise.
13435 * time/getitimer.c: Likewise.
13436 * time/gettimeofday.c: Likewise.
13437 * time/setitimer.c: Likewise.
13438 * time/settimeofday.c: Likewise.
13439 * time/stime.c: Likewise.
13440 * time/time.c: Likewise.
13442 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13444 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13447 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13449 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13451 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13455 FE_TONEAREST before applying Dekker multiplication and Knuth
13456 addition. Clear inexact exceptions and check for exact zero
13457 results afterwards.
13458 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13459 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13461 * math/libm-test.inc (fma_test): Add more tests.
13462 (fma_test_towardzero): Likewise.
13463 (fma_test_downward): Likewise.
13464 (fma_test_upward): Likewise.
13465 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13467 (libc_fesetround): New macro.
13468 (libc_fesetroundf): Likewise.
13469 (libc_fesetroundl): Likewise.
13470 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13472 (libc_fesetround_387): Likewise.
13473 (libc_fesetroundf): New macro.
13474 (libc_fesetround): Likewise.
13475 (libc_fesetroundl): Likewise.
13476 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13478 (libc_fesetroundf): New macro.
13479 (libc_fesetround): Likewise.
13480 (libc_fesetroundl): Likewise.
13481 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13482 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13483 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13485 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13486 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13488 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13489 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13491 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13495 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13496 integer constant usable in #if and use that to give value to enum
13498 (FE_DIVBYZERO): Likewise.
13499 (FE_UNDERFLOW): Likewise.
13500 (FE_OVERFLOW): Likewise.
13501 (FE_INVALID): Likewise.
13502 (FE_INVALID_SNAN): Likewise.
13503 (FE_INVALID_ISI): Likewise.
13504 (FE_INVALID_IDI): Likewise.
13505 (FE_INVALID_ZDZ): Likewise.
13506 (FE_INVALID_IMZ): Likewise.
13507 (FE_INVALID_COMPARE): Likewise.
13508 (FE_INVALID_SOFTWARE): Likewise.
13509 (FE_INVALID_SQRT): Likewise.
13510 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13511 (FE_TONEAREST): Likewise.
13512 (FE_TOWARDZERO): Likewise.
13513 (FE_UPWARD): Likewise.
13514 (FE_DOWNWARD): Likewise.
13515 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13516 (FE_DIVBYZERO): Likewise.
13517 (FE_OVERFLOW): Likewise.
13518 (FE_UNDERFLOW): Likewise.
13519 (FE_INEXACT): Likewise.
13520 (FE_TONEAREST): Likewise.
13521 (FE_DOWNWARD): Likewise.
13522 (FE_UPWARD): Likewise.
13523 (FE_TOWARDZERO): Likewise.
13524 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13525 (FE_UNDERFLOW): Likewise.
13526 (FE_OVERFLOW): Likewise.
13527 (FE_DIVBYZERO): Likewise.
13528 (FE_INVALID): Likewise.
13529 (FE_TONEAREST): Likewise.
13530 (FE_TOWARDZERO): Likewise.
13531 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13532 (FE_OVERFLOW): Likewise.
13533 (FE_UNDERFLOW): Likewise.
13534 (FE_DIVBYZERO): Likewise.
13535 (FE_INEXACT): Likewise.
13536 (FE_TONEAREST): Likewise.
13537 (FE_TOWARDZERO): Likewise.
13538 (FE_UPWARD): Likewise.
13539 (FE_DOWNWARD): Likewise.
13540 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13541 (FE_DIVBYZERO): Likewise.
13542 (FE_OVERFLOW): Likewise.
13543 (FE_UNDERFLOW): Likewise.
13544 (FE_INEXACT): Likewise.
13545 (FE_TONEAREST): Likewise.
13546 (FE_DOWNWARD): Likewise.
13547 (FE_UPWARD): Likewise.
13548 (FE_TOWARDZERO): Likewise.
13550 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13552 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13554 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13556 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13557 commands. Quote $PWD.
13558 (blacklist_exports): Don't use remove_newlines. Replace "declare
13560 (remove_newlines): Remove.
13562 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13564 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13565 * stdlib/stdlib.h (atof): Moved to ...
13566 * include/bits/stdlib-float.h: Here. New file.
13567 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13568 * stdlib/bits/stdlib-float.h: New file.
13569 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13571 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13574 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13576 * conform/conformtest.pl (@headers): Add fenv.h.
13577 * conform/data/fenv.h-data: New file.
13578 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13579 include of <math/fenv.h>.
13581 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13582 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13583 && !UNIX98]. Enables tests for XOPEN2K8.
13584 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13585 POSIX2008]: Likewise.
13587 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13588 (struct rusage): Do not expect type or its members.
13591 * math/math.h (FP_NAN): Define macro to integer constant usable in
13592 #if and use that to give value to enum constant.
13593 (FP_INFINITE): Likewise.
13594 (FP_ZERO): Likewise.
13595 (FP_SUBNORMAL): Likewise.
13596 (FP_NORMAL): Likewise.
13598 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13600 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13601 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13604 2012-11-02 Roland McGrath <roland@hack.frob.com>
13606 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13607 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13608 autoconf-time if not.
13609 * configure.in: Remove AC_PREREQ.
13611 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13613 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13614 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13615 of the internal implementation.
13617 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13619 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13620 except include of <misc/sys/syslog.h>.
13622 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13625 function returns with a NULL context exit with zero.
13627 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13629 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13631 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13633 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13634 (run_program_cmd): This.
13635 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13636 (tst_langinfo): New variable. Use it.
13638 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13640 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13641 floating point opcodes.
13643 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13645 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13648 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13650 * sysdeps/mach/hurd/powerpc: Remove directory.
13651 * sysdeps/mach/powerpc: Likewise.
13653 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13655 * scripts/check-local-headers.sh: Ignore c++ headers.
13657 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13659 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13660 __libc_cleanup_region_start argument.
13662 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13667 x * y using scaling, not as x * y + z.
13668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13670 * math/libm-test.inc (fma_test): Add more tests.
13671 (fma_test_towardzero): Likewise.
13672 (fma_test_downward): Likewise.
13673 (fma_test_upward): Likewise.
13675 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13677 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13679 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13681 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13684 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13686 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13688 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13695 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13698 Fix the order of the list for glibc 2.17.
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13702 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13706 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13709 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13710 for low part of x being zero before using __atanl (y).
13711 * math/libm-test.inc (atan2_test): Add another test.
13713 * manual/install.texi (Configuring and compiling): Document
13714 general use of test-wrapper and test-wrapper-env.
13715 * INSTALL: Regenerated.
13717 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13718 (__fma): Do not extract and scale down low bits on after-rounding
13719 systems when result rounded to normal precision would have normal
13721 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13722 (__fmal): Do not extract and scale down low bits on after-rounding
13723 systems when result rounded to normal precision would have normal
13725 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13726 (__fmal): Do not extract and scale down low bits on after-rounding
13727 systems when result rounded to normal precision would have normal
13729 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13731 (fma_test): Add more tests.
13732 (fma_test_towardzero): Likewise.
13733 (fma_test_downward): Likewise.
13734 (fma_test_upward): Likewise.
13736 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13738 * sysdeps/i386/tininess.h: Renamed to ...
13739 * sysdeps/x86/tininess.h: This.
13740 * sysdeps/x86_64/tininess.h: Removed.
13742 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13744 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13745 input. Use $(build-program-cmd).
13746 ($(objpfx)tst-array1-static.out): Likewise.
13747 ($(objpfx)tst-array2.out): Likewise.
13748 ($(objpfx)tst-array3.out): Likewise.
13749 ($(objpfx)tst-array4.out): Likewise.
13750 ($(objpfx)tst-array5.out): Likewise.
13751 ($(objpfx)tst-array5-static.out): Likewise.
13753 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13755 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13758 * nss/nsswitch.h (nss_interface_function): Provide new
13759 macro for use with NSS functions.
13760 * grp/initgroups.c: Use new macro.
13761 * nss/getXXbyYY.c: Likewise.
13762 * nss/getXXbyYY_r.c: Likewise.
13763 * nss/getXXent.c: Likewise.
13764 * nss/getXXent_r.c: Likewise.
13765 * sysdeps/posix/getaddrinfo.c: Likewise.
13767 2012-10-30 Andreas Jaeger <aj@suse.de>
13769 * po/ru.po: Update Russion translation from translation project.
13771 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13776 result and shift together with sticky bit instead of replicating
13777 round-to-nearest rounding.
13778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13780 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13781 missing underflow exceptions.
13782 (fma_test_towardzero): Add more tests.
13783 (fma_test_downward): Likewise.
13784 (fma_test_upward): Likewise.
13787 * sysdeps/generic/tininess.h: New file.
13788 * sysdeps/i386/tininess.h: Likewise.
13789 * sysdeps/sh/tininess.h: Likewise.
13790 * sysdeps/x86_64/tininess.h: Likewise.
13791 * stdlib/tst-strtod-underflow.c: Likewise.
13792 * stdlib/tst-tininess.c: Likewise.
13793 * stdlib/strtod_l.c: Include <tininess.h>.
13794 (round_and_return): Do not set errno for exact underflow cases.
13795 Force an underflow exception when setting errno for underflow.
13796 Determine underflow based on rounding to normal precision if
13797 TININESS_AFTER_ROUNDING.
13798 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13799 ERANGE for exact underflow cases.
13800 * stdlib/Makefile (tests): Add tst-tininess and
13801 tst-strtod-underflow.
13802 ($(objpfx)tst-tininess): Use $(link-libm).
13803 ($(objpfx)tst-strtod-underflow): Likewise.
13805 2012-10-30 Andreas Jaeger <aj@suse.de>
13808 * elf/Makefile (tests): Remove conditional for have-initfini-array
13809 since this is now always required and the variable does not exist
13811 (tests-static): Likewise.
13812 (modules-names): Likewise.
13814 * po/eo.po: Add Esperanto translation from translation project.
13816 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13817 merged with constructor/destructor.
13818 (init_array): Likewise.
13819 * elf/tst-array2dep.c (fini_array): Likewise.
13820 (init_array): Likewise.
13822 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13824 * manual/message.texi: Delete @cartouche tags.
13826 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13828 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13830 * sysdeps/mach/hurd/fsync.c: Likewise.
13832 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13833 [_POSIX_REALTIME_SIGNALS]: Change condition to
13834 [_POSIX_REALTIME_SIGNALS > 0].
13836 2012-10-27 Andreas Jaeger <aj@suse.de>
13838 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13839 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13840 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13841 [__WORDSIZE != 64]: Likewise.
13843 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13845 * iconvdata/tst-table.sh: Remove ${SHELL}.
13846 * iconvdata/tst-tables.sh: Likewise.
13848 2012-10-25 David S. Miller <davem@davemloft.net>
13850 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13851 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13856 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13857 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13858 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13861 2012-10-25 Roland McGrath <roland@hack.frob.com>
13863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13864 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13867 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13868 Jim Blandy <jimb@codesourcery.com>
13870 * scripts/cross-test-ssh.sh: New file.
13871 * manual/install.texi (Configuring and compiling): Document use of
13873 * INSTALL: Regenerated.
13875 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13877 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13880 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13882 * Makeconfig (run-program-prefix): Fix comment.
13884 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13885 Jim Blandy <jimb@codesourcery.com>
13887 * Makeconfig (test-wrapper): New variable,
13888 (test-wrapper-env): Likewise.
13889 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13890 (run-built-tests): Define to yes.
13891 (run-program-prefix): Use $(test-wrapper).
13892 (built-program-cmd): Likewise.
13893 * Rules (make-test-out): Use $(test-wrapper-env) and
13894 $(host-built-program-cmd).
13895 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13896 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13898 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13899 $(test-wrapper-env) to tst-rtld-load-self.sh.
13900 ($(objpfx)order2.out): Use $(test-wrapper).
13901 ($(objpfx)tst-initorder.out): Likewise.
13902 ($(objpfx)tst-initorder2.out): Likewise.
13903 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13904 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13905 (test_wrapper_env): New variable. Use it to run ld.so.
13906 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13907 Use it to run ld.so.
13908 (test_wrapper_env): Likewise.
13909 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13910 $(test-wrapper) to run-iconv-test.sh.
13911 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13912 (ICONV): Use $test_wrapper.
13913 * posix/Makefile ($(objpfx)globtest.out): Pass
13914 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13915 globtest.sh, not $(run-program-prefix).
13916 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13917 (test_wrapper): Likewise.
13918 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13919 set together with run_via_rtld_prefix.
13920 (run_program_prefix): Define in terms of test_wrapper and
13921 run_via_rtld_prefix.
13923 2012-10-24 Roland McGrath <roland@hack.frob.com>
13925 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13926 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13930 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13931 Declare __clock_getres, __clock_gettime, __clock_settime,
13932 __clock_nanosleep, and __clock_getcpuclockid.
13933 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13934 Remove librt_hidden_def (clock_gettime).
13935 * sysdeps/unix/clock_gettime.c: Likewise.
13936 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13937 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13938 * rt/clock_getres.c: Define __clock_getres as an alias.
13939 * sysdeps/posix/clock_getres.c: Likewise.
13940 * rt/clock_settime.c: Define __clock_settime as an alias.
13941 * sysdeps/unix/clock_settime.c: Likewise.
13942 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13943 * sysdeps/unix/clock_nanosleep.c: Likewise.
13944 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13945 * rt/clock-compat.c: New file.
13946 * rt/Makefile (librt-routines): Add clock-compat and move
13947 $(clock-routines) to ...
13948 (routines): ... here, new variable.
13949 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13950 Don't add get_clockfreq here.
13951 * rt/Versions (libc: GLIBC_2.17): New version set.
13952 Add clock_* symbols here.
13953 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13954 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13955 (GLIBC_2.17): Add clock_* symbols.
13956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13967 * NEWS: Mention the move.
13969 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13970 Use __open, __read, __close rather than their public counterparts.
13971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13972 (__get_clockfreq_via_cpuinfo): Likewise.
13973 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13974 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13976 * config.h.in (HAVE_IFUNC): New #undef.
13977 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13979 * configure: Regenerated.
13981 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13983 * configure.in: Move READELF check to start of file.
13984 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13985 libc_cv_asm_gnu_indirect_function in the process.
13986 * configure: Regenerated.
13988 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13990 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13991 send the output to /dev/null.
13992 (libc_cv_cc_with_libunwind): Likewise.
13993 (libc_cv_as_noexecstack): Likewise.
13994 * configure: Regenerate.
13996 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13998 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14000 * posix/globtest.sh (TMPDIR): Do not set.
14001 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14002 (testout): Likewise.
14004 2012-10-24 Andreas Jaeger <aj@suse.de>
14006 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14007 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14008 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14009 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14010 posix_fadvise64, posix_fallocate64.
14012 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14013 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14014 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14016 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14018 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14021 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14022 <bits/fcntl-linux.h>.
14023 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14026 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14027 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14028 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14029 [__WORDSIZE != 64]: Likewise.
14031 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14033 * Makeconfig (run-built-tests): New variable.
14034 * Rules [$(cross-compiling) = yes]: Change condition to
14035 [$(run-built-tests) = no].
14036 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14037 to [$(run-built-tests) = yes].
14038 * elf/Makefile [$(cross-compiling) = no]: Likewise
14039 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14040 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14041 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14042 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14043 * io/Makefile [$(cross-compiling) = no]: Likewise.
14044 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14045 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14046 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14047 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14048 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14049 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14050 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14051 * string/Makefile [$(cross-compiling) = no]: Likewise.
14053 * posix/Makefile ($(objpfx)globtest.out): Pass
14054 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14055 $(rtld-installed-name).
14056 * posix/globtest.sh (elf_objpfx): Remove variable.
14057 (rtld_installed_name): Likewise.
14058 (library_path): Likewise.
14059 (run_program_prefix): New variable. Use for running globtest
14062 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14063 Joseph Myers <joseph@codesourcery.com>
14065 * Makeconfig (host-built-program-cmd): New variable.
14066 * elf/Makefile (tst-stackguard1-ARGS): Use
14067 $(host-built-program-cmd).
14068 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14069 (tst-spawn-ARGS): Likewise.
14070 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14072 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14073 Jim Blandy <jimb@codesourcery.com>
14075 * Makeconfig (run-via-rtld-prefix): New variable.
14076 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14077 (built-program-cmd): Likewise.
14079 2012-10-22 Andreas Jaeger <aj@suse.de>
14081 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14082 __O_RSYNC if it exists, otherwise to O_SYNC.
14084 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14085 Joseph Myers <joseph@codesourcery.com>
14087 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14089 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14091 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14094 2012-10-22 Andreas Jaeger <aj@suse.de>
14096 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14101 bits/fcntl-linux.h.
14103 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14104 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14111 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14112 Joseph Myers <joseph@codesourcery.com>
14114 * config.make.in (NM): New variable.
14116 2012-10-21 Andreas Jaeger <aj@suse.de>
14118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14119 definitions and declarations that are provided by
14120 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14122 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14125 * elf/Makefile (tests-static): Add tst-leaks1-static.
14126 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14127 ($(objpfx)tst-leaks1-static): New rule.
14128 ($(objpfx)tst-leaks1-static-mem): Likewise.
14129 (tst-leaks1-static-ENV): New macro.
14130 * elf/dl-open.c (dl_open_worker): Check the main application
14131 only if SHARED is defined.
14132 * elf/tst-leaks1-static.c: New file.
14134 2012-10-20 Andreas Jaeger <aj@suse.de>
14136 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14137 generic values for Linux.
14138 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14139 and declarations that are provided by <bits/fcntl-linux.h> and
14140 include <bits/fcntl-linux.h>.
14141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14144 2012-10-20 Roland McGrath <roland@hack.frob.com>
14146 * io/fcntl.h: Move include of <bits/types.h> to the top and
14147 include it unconditionally.
14149 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14151 * wcsmbs/Makefile (tests-ifunc): New variable.
14152 (tests): Add $(tests-ifunc).
14153 * wcsmbs/test-wcschr-ifunc.c: New file.
14154 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14155 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14156 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14157 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14158 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14160 * string/Makefile (tests-ifunc): New variable.
14161 (tests): Add $(tests-ifunc).
14162 * string/test-memccpy.c (TEST_NAME): New macro.
14163 * string/test-memchr.c (TEST_NAME): Likewise.
14164 * string/test-memcmp.c (TEST_NAME): Likewise.
14165 * string/test-memcpy.c (TEST_NAME): Likewise.
14166 * string/test-memmem.c (TEST_NAME): Likewise.
14167 * string/test-memmove.c (TEST_NAME): Likewise.
14168 * string/test-memset.c (TEST_NAME): Likewise.
14169 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14170 * string/test-stpcpy.c (TEST_NAME): Likewise.
14171 * string/test-stpncpy.c (TEST_NAME): Likewise.
14172 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14173 * string/test-strcasestr.c (TEST_NAME): Likewise.
14174 * string/test-strcat.c (TEST_NAME): Likewise.
14175 * string/test-strchr.c (TEST_NAME): Likewise.
14176 * string/test-strcmp.c(TEST_NAME): Likewise.
14177 * string/test-strcpy.c (TEST_NAME): Likewise.
14178 * string/test-strcspn.c (TEST_NAME): Likewise.
14179 * string/test-strlen.c (TEST_NAME): Likewise.
14180 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14181 * string/test-strncmp.c (TEST_NAME): Likewise.
14182 * string/test-strncpy.c (TEST_NAME): Likewise.
14183 * string/test-strnlen.c (TEST_NAME): Likewise.
14184 * string/test-strpbrk.c (TEST_NAME): Likewise.
14185 * string/test-strrchr.c (TEST_NAME): Likewise.
14186 * string/test-strspn.c (TEST_NAME): Likewise.
14187 * string/test-strstr.c (TEST_NAME): Likewise.
14188 * string/test-bcopy-ifunc.c: New file.
14189 * string/test-bzero-ifunc.c: Likewise.
14190 * string/test-memccpy-ifunc.c: Likewise.
14191 * string/test-memchr-ifunc.c: Likewise.
14192 * string/test-memcmp-ifunc.c: Likewise.
14193 * string/test-memcpy-ifunc.c: Likewise.
14194 * string/test-memmem-ifunc.c: Likewise.
14195 * string/test-memmove-ifunc.c: Likewise.
14196 * string/test-mempcpy-ifunc.c: Likewise.
14197 * string/test-memset-ifunc.c: Likewise.
14198 * string/test-rawmemchr-ifunc.c: Likewise.
14199 * string/test-stpcpy-ifunc.c: Likewise.
14200 * string/test-stpncpy-ifunc.c: Likewise.
14201 * string/test-strcasecmp-ifunc.c: Likewise.
14202 * string/test-strcasestr-ifunc.c: Likewise.
14203 * string/test-strcat-ifunc.c: Likewise.
14204 * string/test-strchr-ifunc.c: Likewise.
14205 * string/test-strchrnul-ifunc.c: Likewise.
14206 * string/test-strcmp-ifunc.c: Likewise.
14207 * string/test-strcpy-ifunc.c: Likewise.
14208 * string/test-strcspn-ifunc.c: Likewise.
14209 * string/test-strlen-ifunc.c: Likewise.
14210 * string/test-strncasecmp-ifunc.c: Likewise.
14211 * string/test-strncat-ifunc.c: Likewise.
14212 * string/test-strncmp-ifunc.c: Likewise.
14213 * string/test-strncpy-ifunc.c: Likewise.
14214 * string/test-strnlen-ifunc.c: Likewise.
14215 * string/test-strpbrk-ifunc.c: Likewise.
14216 * string/test-strrchr-ifunc.c: Likewise.
14217 * string/test-strspn-ifunc.c: Likewise.
14218 * string/test-strstr-ifunc.c: Likewise.
14220 * debug/Makefile (tests-ifunc): New variable.
14221 (tests): Add $(tests-ifunc).
14222 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14223 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14224 * debug/test-stpcpy_chk-ifunc.c: New file.
14225 * debug/test-strcpy_chk-ifunc.c: Likewise.
14227 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14230 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14231 header is not read in.
14233 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14235 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14236 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14237 directly. Pass built executable to script as
14238 $(built-program-cmd).
14239 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14240 $testprogram without using LD_LIBRARY_PATH and $ldso.
14242 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14243 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14244 $(rtld-installed-name).
14245 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14246 (rtld_installed_name): Likewise.
14247 (library_path): Likewise.
14248 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14249 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14250 $(run-program-prefix) to tst-tables.sh.
14251 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14252 it to run tst-table-from and tst-table-to.
14253 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14254 Pass it to tst-table.sh.
14255 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14256 $(run-program-prefix) to tst-gettext.sh.
14257 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14259 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14261 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14262 to run tst-gettext.
14263 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14264 to run tst-gettext2.
14265 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14266 to run tst-translit.
14267 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14268 $(run-program-prefix) to tst-mtrace.sh.
14269 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14271 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14272 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14273 $(rtld-installed-name).
14274 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14275 (rtld_installed_name): Likewise.
14276 (run_program_prefix): New variable. Use it to run wordexp-test.
14278 * Makeconfig (ARCH): Remove all definitions.
14279 (machine): Likewise.
14280 [ARCH]: Remove conditional code.
14281 [!objdir]: Give error.
14282 [!objdir] (objpfx): Remove.
14283 [!objdir] (common-objpfx): Likewise.
14284 [!objdir] (common-objdir): Likewise.
14285 * configure.in (config_makefile): Remove. Hardcode Makefile in
14286 AC_CONFIG_FILES call.
14287 * configure: Regenerated.
14290 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14292 (testout): Likewise.
14294 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14295 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14296 $(rtld-installed-name).
14297 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14298 (rtld_installed_name): Likwise.
14299 (runit): Remove function.
14300 (run_getconf): New variable, Use it for running getconf binary.
14302 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14305 * string/test-memmem.c (check_result): New function.
14306 (do_one_test): Use it.
14307 (check1): New function.
14308 (test_main): Use it.
14310 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14312 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14314 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14316 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14317 (_G_LSEEK64): Likewise.
14318 (_G_MMAP64): Likewise.
14319 (_G_FSTAT64): Likewise.
14320 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14321 (_G_LSEEK64): Likewise.
14322 (_G_MMAP64): Likewise.
14323 (_G_FSTAT64): Likewise.
14324 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14325 unconditional. Call __mmap64 directly.
14326 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14327 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14328 __lseek64 directly.
14329 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14330 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14332 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14333 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14334 __lseek64 directly.
14335 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14336 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14337 __lseek64 directly.
14338 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14339 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14340 __lseek64 directly.
14341 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14342 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14343 __fxstat64 directly.
14344 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14345 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14347 (freopen64) [!_G_OPEN64]: Remove conditional code.
14348 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14350 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14351 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14353 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14354 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14356 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14357 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14359 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14360 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14362 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14363 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14365 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14366 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14368 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14370 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14373 * manual/memory.texi (Malloc Tunable Parameters): Add note
14374 about free list pointers overwriting some perturb bytes.
14375 Wording suggested by Roland McGrath.
14377 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14379 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14380 (lgamma_test): Likewise.
14381 (tgamma_test): Likewise.
14383 2012-10-16 Florian Weimer <fweimer@redhat.com>
14386 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14387 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14389 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14391 * NEWS: Mention BZ #14716.
14392 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14393 when removing AVAILABLE1_USES_J macro.
14395 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14397 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14398 (__bswap_64): __uint64_t for unsigned 64-bit int.
14400 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14402 * include/string.h (memmem): Declare libc hidden alias.
14403 * string/memmem.c (memmem): Define libc hidden alias.
14404 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14405 __read, __close instead of open, read, close.
14407 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14410 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14412 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14413 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14414 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14416 (__rawmemchr_sse2): Likewise.
14417 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14418 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14419 (__strchr_sse2): Likewise.
14420 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14421 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14422 (__strcasecmp_sse2): Likewise.
14423 (__strncasecmp_sse2): Likewise.
14424 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14425 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14426 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14427 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14428 (__strrchr_sse2): Likewise.
14429 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14431 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14432 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14433 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14434 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14435 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14436 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14437 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14438 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14439 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14440 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14441 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14442 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14443 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14444 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14445 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14446 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14447 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14448 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14449 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14450 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14451 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14452 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14453 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14454 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14455 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14456 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14457 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14458 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14459 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14460 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14462 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14464 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14465 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14466 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14467 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14469 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14471 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14472 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14473 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14474 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14476 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14477 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14478 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14479 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14480 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14481 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14482 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14483 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14484 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14485 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14486 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14487 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14488 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14489 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14490 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14491 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14492 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14493 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14494 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14495 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14496 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14497 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14498 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14499 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14501 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14502 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14503 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14504 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14505 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14506 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14507 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14508 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14509 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14510 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14511 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14512 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14513 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14514 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14515 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14516 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14518 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14519 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14520 * include/ifunc-impl-list.h: New file.
14521 * misc/ifunc-impl-list.c: Likewise.
14522 * misc/Makefile (routines): Add ifunc-impl-list.
14523 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14524 * string/test-string.h: Include <ifunc-impl-list.h>.
14525 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14526 impl_array): New variables.
14527 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14529 (test_init): Call __libc_ifunc_impl_list to initialize
14530 func_list if TEST_IFUNC and TEST_NAME are defined.
14532 * string/Makefile (strop-tests): Add bcopy and bzero.
14533 * string/test-bcopy.c: New file.
14534 * string/test-bzero.c: Likewise.
14535 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14537 * string/test-memset.c: Support bzero test if TEST_BZERO is
14539 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14541 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14543 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14546 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14548 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14549 * configure: Regenerated.
14551 * Makeconfig (+link-static-before-libc): Don't include
14552 $(link-static-libc).
14554 * libio/libio.h (_IO_pos_t): Remove.
14556 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14558 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14561 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14563 * crypt/crypt-entry.c: Include fips-private.h.
14564 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14565 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14566 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14567 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14569 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14571 * crypt/crypt-private.h: Include stdbool.h.
14572 (_ufc_setup_salt_r): Return bool.
14573 * crypt/crypt-entry.c: Include errno.h.
14574 (__crypt_r): Return NULL with EINVAL for bad salt.
14575 * crypt/crypt_util.c (bad_for_salt): New.
14576 (_ufc_setup_salt_r): Check that salt is long enough and within
14577 the specified alphabet.
14578 * crypt/badsalttest.c: New file.
14579 * crypt/Makefile (tests): Add it.
14580 ($(objpfx)badsalttest): New.
14582 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14584 * NEWS: Add entry for BZ #14602.
14586 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14588 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14590 * math/libm-test.inc: Update comment listing what functions and
14592 (isgreater_test): New function.
14593 (isgreaterequal_test): Likewise.
14594 (isless_test): Likewise.
14595 (islessequal_test): Likewise.
14596 (islessgreater_test): Likewise.
14597 (isunordered_test): Likewise.
14598 (main): Call the new functions.
14600 2012-10-09 Roland McGrath <roland@hack.frob.com>
14602 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14603 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14604 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14605 * sysdeps/i386/configure: Regenerated.
14606 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14607 * sysdeps/mach/configure: Regenerated.
14608 * sysdeps/mach/hurd/configure: Regenerated.
14609 * sysdeps/powerpc/configure: Regenerated.
14610 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14611 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14612 * sysdeps/s390/s390-32/configure: Regenerated.
14613 * sysdeps/s390/s390-64/configure: Regenerated.
14614 * sysdeps/sh/configure: Regenerated.
14615 * sysdeps/sparc/configure: Regenerated.
14616 * sysdeps/unix/sysv/linux/configure: Regenerated.
14617 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14618 * sysdeps/x86_64/configure: Regenerated.
14620 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14621 defined. Don't check if MAP is NULL.
14623 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14625 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14626 (_G_stat64): Likewise.
14627 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14628 (_G_stat64): Likewise.
14629 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14630 instead of struct _G_stat64.
14631 * libio/fileops.c (mmap_remap_check): Likewise.
14632 (decide_maybe_mmap): Likewise.
14633 (_IO_new_file_seekoff): Likewise.
14634 (_IO_file_stat): Likewise.
14635 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14637 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14638 instead of struct _G_stat64.
14639 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14641 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14644 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14646 (CHECK_EOL): New macro.
14647 (two_way_short_needle): Check beginning of haystack for EOL. Use
14649 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14650 Replace with CHECK_EOL.
14651 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14652 Replace with CHECK_EOL.
14654 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14656 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14658 * math/libm-test.inc: Update comment listing what functions and
14660 (finite_test): New function.
14661 (isinf_test): Likewise.
14662 (isnan_test): Likewise.
14663 (fpclassify_test): Test subnormal input.
14664 (isfinite_test): Likewise.
14665 (isnormal_test): Likewise.
14666 (main): Call the new functions.
14668 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14671 * Makerules (%.dynsym): Force C locale when running
14672 $(OBJDUMP) --dynamic-syms.
14674 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14676 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14679 2012-10-06 David S. Miller <davem@davemloft.net>
14681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14682 upper 32-bits of the length value in %o2 since we use branch-on-register
14683 tests which consider the entire 64-bit register.
14685 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14687 * string/test-strstr.c (check2): Add a test for page boundary.
14689 2012-10-05 David S. Miller <davem@davemloft.net>
14691 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14692 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14694 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14696 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14697 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14698 and bzero when HWCAP_SPARC_CRYPTO is present.
14700 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14703 * string/test-strstr.c (check2): New function.
14704 (test_main): Call check2.
14706 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14708 * string/bug-strcasestr1.c (do_test): Moved to ...
14709 * string/test-strcasestr.c (check1): Here. New function.
14710 (do_one_test): Break out result checking code into ...
14711 (check_result): This. New function.
14712 (do_one_test): Call check_result.
14713 (test_main): Call check1.
14714 * string/bug-strchr1.c (do_test): Moved to ...
14715 * string/test-strchr.c (check1): Here. New function.
14716 (do_one_test): Break out result checking code into ...
14717 (check_result): This. New function.
14718 (do_one_test): Call check_result.
14719 (test_main): Call check1.
14720 * string/bug-strstr1.c (main): Moved to ...
14721 * string/test-strstr.c (check1): Here. New function.
14722 (do_one_test): Break out result checking code into ...
14723 (check_result): This. New function.
14724 (do_one_test): Call check_result.
14725 (test_main): Call check1.
14726 * string/bug-strcasestr1.c: Removed.
14727 * string/bug-strchr1.c: Likewise.
14728 * string/bug-strstr1.c: Likewise.
14730 * elf/Makefile (dl-routines): Add hwcaps.
14731 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14732 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14733 (_dl_important_hwcaps): Moved to ...
14734 * elf/dl-hwcaps.c: Here. New file.
14735 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14738 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14739 if IS_IN_rtld isn't defined.
14741 * elf/dl-support.c (_dl_sysinfo_map): New.
14742 Include "get-dynamic-info.h" and "setup-vdso.h".
14743 (_dl_non_dynamic_init): Call setup_vdso.
14744 * elf/dynamic-link.h: Don't include <assert.h>.
14745 (elf_get_dynamic_info): Moved to ...
14746 * elf/get-dynamic-info.h: Here. New file.
14747 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14748 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14749 * elf/setup-vdso.h: Here. New file.
14750 * elf/rtld.c: Include "setup-vdso.h".
14751 (dl_main): Call setup_vdso.
14753 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14755 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14756 creal in comment listing functions tested. List finite, isinf,
14757 isnan, isless, islessequal, isgreater, isgreaterequal,
14758 islessgreater, isunordered, lgamma_r and pow10 as functions and
14759 macros not tested. Mention which functions not tested are aliases
14760 for other functions. Fix typo. Note that signs of NaNs are not
14763 * scripts/config.guess: Update from config.git.
14764 * scripts/config.sub: Likewise.
14766 2012-10-04 Roland McGrath <roland@hack.frob.com>
14768 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14769 * misc/madvise.c (madvise): Renamed to __madvise.
14770 Make madvise a weak alias.
14771 * include/sys/mman.h: Declare __madvise.
14772 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14773 * sysdeps/unix/syscalls.list
14774 (madvise): Make __madvise the strong name, and madvise a weak alias.
14775 * sysdeps/unix/sysv/linux/syscalls.list
14776 (madvise, mmap): Remove redundant entries.
14777 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14778 * malloc/malloc.c (mtrim): Likewise.
14779 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14781 2012-10-03 Roland McGrath <roland@hack.frob.com>
14783 * sysdeps/mach/hurd/dl-cache.c: File removed.
14784 * config.h.in (USE_LDCONFIG): New #undef.
14785 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14786 * configure: Regenerated.
14787 * elf/Makefile (dl-routines): Add dl-cache only under
14788 [$(use-ldconfig) = yes].
14789 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14790 cache on [USE_LDCONFIG].
14791 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14793 * elf/rtld.c (dl_main): Likewise.
14795 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14797 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14798 _SC_LEVEL4_CACHE_LINESIZE.
14800 2012-10-03 Roland McGrath <roland@hack.frob.com>
14802 * sysdeps/unix/bsd/confstr.h: File removed.
14804 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14806 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14809 2012-10-02 Roland McGrath <roland@hack.frob.com>
14811 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14812 Make 'mapoff' field ElfW(Off) rather than off_t.
14814 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14816 * nscd/Makefile: Remove nscd-cflags and all its users.
14817 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14818 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14821 * malloc.c (malloc_printerr): Clarify error message.
14823 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14827 Set bit_FMA_Usable if FMA is supported.
14828 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14830 (bit_FMA4_Usable): Updated.
14831 (index_FMA_Usable): New macro.
14832 (CPUID_FMA): Likewise
14833 (HAS_FMA): Defined with bit_FMA_Usable.
14835 2012-10-01 Roland McGrath <roland@hack.frob.com>
14837 * bits/types.h (__swblk_t): Type removed.
14838 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14839 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14841 (__SWBLK_T_TYPE): Likewise.
14842 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14843 (__SWBLK_T_TYPE): Likewise.
14844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14845 (__SWBLK_T_TYPE): Likewise.
14846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14847 (__SWBLK_T_TYPE): Likewise.
14849 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14850 Honza Horak <hhorak@redhat.com>
14852 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14853 (xdr_mapname): Use YPMAXMAP as maxsize.
14854 (xdr_peername): Use YPMAXPEER as maxsize.
14855 (xdr_keydat): Use YPAXRECORD as maxsize.
14856 (xdr_valdat): Use YPMAXRECORD as maxsize.
14858 2012-10-01 Roland McGrath <roland@hack.frob.com>
14860 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14862 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14863 * csu/init-first.c: ... here.
14864 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14865 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14866 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14867 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14868 * sysdeps/i386/init-first.c: File removed.
14869 * sysdeps/sh/init-first.c: File removed.
14871 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14875 if x * y might underflow to zero and z is zero.
14876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14878 * math/libm-test.inc (min_subnorm_value): New variable.
14879 (fma_test): Add more tests.
14880 (fma_test_towardzero): Likewise.
14881 (fma_test_downward): Likewise
14882 (fma_test_upward): Likewise.
14883 (initialize): Set min_subnorm_value.
14885 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14890 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14891 mode for addition resulting in exact zero.
14892 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14895 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14897 * math/libm-test.inc (fma_test): Add more tests.
14898 (fma_test_towardzero): New function.
14899 (fma_test_downward): Likewise.
14900 (fma_test_upward): Likewise.
14901 (main): Call the new functions.
14903 2012-09-28 David S. Miller <davem@davemloft.net>
14905 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14907 2012-09-28 Roland McGrath <roland@hack.frob.com>
14909 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14910 instead of SIGALRM.
14912 * sysdeps/gnu/_G_config.h: Moved to ...
14913 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14914 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14915 * sysdeps/generic/_G_config.h: ... here.
14917 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14919 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14921 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14922 Conditionalize target on [libnss_test1.so-version].
14924 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14926 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14927 (elfobjdir): Move out of conditionals.
14929 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14930 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14931 (__nss_lookup_function): Conditionalize label remove_from_tree on
14932 [!DO_STATIC_NSS || SHARED], matching its only use.
14934 2012-09-28 David S. Miller <davem@davemloft.net>
14936 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14937 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14939 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14941 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14943 when HWCAP_SPARC_CRYPTO is present.
14945 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14947 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14949 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14952 * stdio-common/vfprintf.c (process_string_arg): Revert
14955 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14957 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14959 * stdio-common/tst-sprintf.c: Include <locale.h>
14960 (main): Test sprintf's handling of incomplete multibyte
14963 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14965 * elf/dl-runtime.c (VERSYMIDX): Removed.
14966 * elf/dl-version.c (VERSYMIDX): Likewise.
14967 * elf/do-rel.h (VERSYMIDX): Likewise.
14968 (VALIDX): Likewise.
14969 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14970 * elf/rtld.c (VALIDX): Likewise.
14971 (ADDRIDX): Likewise.
14972 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14973 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14974 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14975 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14976 (VALIDX): Likewise.
14977 (ADDRIDX): Likewise.
14979 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14981 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14983 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14986 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14988 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14989 addresses are in the same scope as 192.0.2/24.
14990 * posix/gai.conf: Document new scope table defaults.
14992 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14995 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14996 for ftell. Compute offsets from write pointers instead.
14997 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14999 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15002 * libio/Makefile (tests): New test case tst-fseek.
15003 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15004 combination works in wide mode.
15005 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15006 state when the external buffer state changes.
15008 2012-09-27 David S. Miller <davem@davemloft.net>
15011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15012 pass reloc->r_addend in as the 'high' argument to
15013 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15017 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15019 * rt/tst-aio2.c: Include <pthread.h>.
15020 * rt/tst-aio3.c: Likewise.
15022 2012-09-27 Steve Ellcey <sellcey@mips.com>
15024 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15026 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15028 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15029 contents on [SHARED].
15031 2012-09-26 Marek Polacek <polacek@redhat.com>
15035 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15036 for C++ and GCC <4.3 as well as for non GCC compilers.
15038 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15042 2012-09-25 Roland McGrath <roland@hack.frob.com>
15044 * Makefile.in (all, install): Declare with .PHONY.
15045 Reported by Michael Hope <michael.hope@linaro.org>.
15047 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15049 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15050 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15052 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15054 (sydep_routines): Add the new and the internal functions.
15055 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15056 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15058 (GLIBC_2.17): Add the new function.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15060 (GLIBC_2.17): Likewise.
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15062 (GLIBC_2.17): Likewise.
15063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15064 (GLIBC_2.17): Likewise.
15065 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15067 2012-09-25 Alan Modra <amodra@gmail.com>
15069 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15070 Add release barrier before setting once_control to say
15071 initialisation is done. Add hints on lwarx. Use macro in
15073 (clear_once_control): Add release barrier.
15075 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15078 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15080 * math/s_clog10.c (__clog10): Likewise.
15081 * math/s_clog10f.c (__clog10f): Likewise.
15082 * math/s_clog10l.c (__clog10l): Likewise.
15083 * math/s_clogf.c (__clogf): Likewise.
15084 * math/s_clogl.c (__clogl): Likewise.
15085 * math/Makefile (libm-calls): Add x2y2m1.
15086 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15087 (__x2y2m1): Likewise.
15088 (__x2y2m1l): Likewise.
15089 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15090 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15091 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15092 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15093 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15094 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15095 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15096 * sysdeps/i386/fpu/libm-test-ulps: Update.
15097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15100 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15101 int as type of variable DEPTH.
15102 (glob): Use size_t instead of int as type of variables NEWCOUNT
15105 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15107 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15108 Add s_sincosf-sse2.
15109 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15110 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15111 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15112 macros for using routine as __sincosf_ia32.
15113 Use macro for function declaration and weak_alias.
15114 * sysdeps/i386/fpu/libm-test-ulps: Update.
15116 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15119 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15120 subnormal argument.
15121 * math/s_cexpf.c (__cexpf): Likewise.
15122 * math/s_csinf.c (__csinf): Likewise.
15123 * math/s_csinhf.c (__csinhf): Likewise.
15124 * math/s_ctanf.c (__ctanf): Likewise.
15125 * math/s_ctanhf.c (__ctanhf): Likewise.
15126 * math/s_ccosh.c (__ccoshf): Likewise.
15127 * math/s_cexp.c (__cexpl): Likewise.
15128 * math/s_csin.c (__csin): Likewise.
15129 * math/s_csinh.c (__csinh): Likewise.
15130 * math/s_ctan.c (__ctan): Likewise.
15131 * math/s_ctanh.c (ctanh): Likewise.
15132 * math/s_ccoshl.c (__ccoshl): Likewise.
15133 * math/s_cexpl.c (__cexpl): Likewise.
15134 * math/s_csinl.c (__csinl): Likewise.
15135 * math/s_csinhl.c (__csinhl): Likewise.
15136 * math/s_ctanl.c (__ctanl): Likewise.
15137 * math/s_ctanhl.c (__ctanhl): Likewise.
15139 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15141 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15142 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15143 (_IO_off_t): Define to __off_t, not _G_off_t.
15144 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15145 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15146 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15147 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15148 type of __dummy and __dummy2 fields.
15149 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15150 (_G_ssize_t): Likewise.
15151 (_G_off_t): Likewise.
15152 (_G_pid_t): Likewise.
15153 (_G_uid_t): Likewise.
15154 (_G_wchar_t): Likewise.
15155 (_G_wint_t): Likewise.
15156 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15157 (_G_ssize_t): Likewise.
15158 (_G_off_t): Likewise.
15159 (_G_pid_t): Likewise.
15160 (_G_uid_t): Likewise.
15161 (_G_wchar_t): Likewise.
15162 (_G_wint_t): Likewise.
15163 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15164 (_G_ssize_t): Likewise.
15165 (_G_off_t): Likewise.
15166 (_G_pid_t): Likewise.
15167 (_G_uid_t): Likewise.
15168 (_G_wchar_t): Likewise.
15169 (_G_wint_t): Likewise.
15171 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15173 * malloc/arena.c: Include malloc-sysdep.h.
15174 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15175 is sufficient to shrink the heap or an unmap is needed.
15176 * sysdeps/generic/malloc-sysdep.h: New file. Define
15177 new function check_may_shrink_heap.
15178 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15179 new function check_may_shrink_heap.
15181 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15183 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15186 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15188 * catgets/test-gencat.sh: Add "set -e".
15189 * elf/tst-pathopt.sh: Likewise.
15190 * grp/tst_fgetgrent.sh: Likewise.
15191 * iconvdata/run-iconv-test.sh: Likewise.
15192 * intl/tst-gettext.sh: Likewise.
15193 * intl/tst-gettext2.sh: Likewise.
15194 * intl/tst-gettext4.sh: Likewise.
15195 * intl/tst-gettext6.sh: Likewise.
15196 * intl/tst-translit.sh: Likewise.
15197 * io/ftwtest-sh: Likewise.
15198 * libio/test-freopen.sh: Likewise.
15199 * malloc/tst-mtrace.sh: Likewise.
15200 * posix/globtest.sh: Likewise.
15201 * posix/tst-getconf.sh: Likewise.
15202 * posix/wordexp-tst.sh: Likewise.
15203 * stdio-common/tst-printf.sh: Likewise.
15204 * stdio-common/tst-unbputc.sh: Likewise.
15205 * stdlib/tst-fmtmsg.sh: Likewise.
15206 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15207 * catgets/Makefile: Do not specify -e option when running
15208 testsuite shell scripts.
15209 * elf/Makefile: Likewise.
15210 * grp/Makefile: Likewise.
15211 * iconvdata/Makefile: Likewise.
15212 * intl/Makefile: Likewise.
15213 * io/Makefile: Likewise.
15214 * libio/Makefile: Likewise.
15215 * malloc/Makefile: Likewise.
15216 * posix/Makefile: Likewise.
15217 * stdio-common/Makefile: Likewise.
15218 * stdlib/Makefile: Likewise.
15219 * sysdeps/x86_64/Makefile: Likewise.
15221 * io/ftwtest-sh: Add copyright header.
15222 * posix/globtest.sh: Likewise.
15223 * posix/tst-getconf.sh: Likewise.
15224 * posix/wordexp-tst.sh: Likewise.
15225 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15227 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15230 * Makeconfig (+link): Defined as $(+link-static) if
15231 $(build-shared) isn't yes.
15232 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15234 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15236 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15239 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15240 new chunk size with MALLOC_ALIGN_MASK.
15242 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15245 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15247 (__printf_fphex): Determine rounding using get_rounding_mode and
15249 * stdio-common/tst-printf-round.c (struct hex_test): New
15251 (hex_tests): New variable.
15252 (test_hex_in_one_mode): New function.
15253 (do_test): Also run tests for hex float output.
15255 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15257 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15258 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15259 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15260 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15261 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15262 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15263 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15264 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15266 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15268 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15269 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15270 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15271 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15273 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15276 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15278 * elf/tst-rtld-load-self.sh: New test.
15279 * elf/Makefile: Run it.
15281 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15283 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15284 (tst-writev-ENV): Remove.
15285 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15287 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15289 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15291 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15293 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15295 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15297 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15298 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15299 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15302 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15305 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15306 * config.make.in (have-cpp-asm-debuginfo): Removed.
15307 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15308 * configure: Regenerated.
15310 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15313 * stdio-common/printf_fp.c: Include <stdbool.h> and
15315 (___printf_fp): Determine rounding using get_rounding_mode and
15317 * stdio-common/tst-printf-round.c: New file.
15318 * stdio-common/Makefile (tests): Add tst-printf-round.
15319 (link-libm): New variable.
15320 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15322 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15325 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15326 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15328 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15331 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15333 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15334 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15335 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15336 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15338 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15341 * include/rounding-mode.h: New file.
15342 * sysdeps/generic/get-rounding-mode.h: Likewise.
15343 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15344 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15345 (MAX_VALUE): New macro.
15346 (MIN_VALUE): Likewise.
15347 (overflow_value): New function.
15348 (underflow_value): Likewise.
15349 (round_and_return): Use overflow_value and underflow_value to
15350 determine return values in overflow and underflow cases. Use
15351 round_away to determine rounding depending on rounding mode.
15352 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15353 determine return values in overflow and underflow cases.
15354 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15355 (struct test_results): New structure.
15356 (struct test): Use struct test_results to store expected results
15357 for all rounding modes.
15358 (TEST): Include expected results for all rounding modes.
15359 (test_in_one_mode): New function.
15360 (do_test): Use test_in_one_mode to compute and check results.
15361 Check results for all rounding modes.
15362 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15365 2012-12-09 Allan McRae <allan@archlinux.org>
15367 * sysdeps/i386/fpu/libm-test-ulps: Update
15369 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15371 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15372 (_G_int32_t): Likewise.
15373 (_G_uint16_t): Likewise.
15374 (_G_uint32_t): Likewise.
15375 (_G_HAVE_BOOL): Likewise.
15376 (_G_HAVE_ATEXIT): Likewise.
15377 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15378 (_G_HAVE_IO_FILE_OPEN): Likewise.
15379 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15380 (_G_int32_t): Likewise.
15381 (_G_uint16_t): Likewise.
15382 (_G_uint32_t): Likewise.
15383 (_G_HAVE_BOOL): Likewise.
15384 (_G_HAVE_ATEXIT): Likewise.
15385 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15386 (_G_HAVE_IO_FILE_OPEN): Likewise.
15387 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15388 (_G_int32_t): Likewise.
15389 (_G_uint16_t): Likewise.
15390 (_G_uint32_t): Likewise.
15391 (_G_HAVE_BOOL): Likewise.
15392 (_G_HAVE_ATEXIT): Likewise.
15393 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15394 (_G_HAVE_IO_FILE_OPEN): Likewise.
15396 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15398 * csu/libc-tls.c: Update copyright years.
15400 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15402 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15403 [!_G_USING_THUNKS]: Remove conditional code.
15404 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15405 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15407 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15408 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15409 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15410 (_G_VTABLE_LABEL_PREFIX): Likewise.
15411 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15412 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15413 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15414 (_G_VTABLE_LABEL_PREFIX): Likewise.
15415 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15416 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15417 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15418 (_G_VTABLE_LABEL_PREFIX): Likewise.
15419 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15421 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15423 * libio/Makefile: Include ../Makeconfig before tests.
15424 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15425 only if $(build-shared) is yes.
15427 * iconv/gconv_db.c: Update copyright years.
15429 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15431 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15432 unwind info if defined PIC. Fix special cases description.
15433 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15435 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15437 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15439 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15441 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15443 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15446 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15447 (LDLIBS-tst-chk4): This.
15448 (LDFLAGS-tst-chk5): Renamed to ...
15449 (LDLIBS-tst-chk5): This.
15450 (LDFLAGS-tst-chk6): Renamed to ...
15451 (LDLIBS-tst-chk6): This.
15452 (LDFLAGS-tst-lfschk4): Renamed to ...
15453 (LDLIBS-tst-lfschk4): This.
15454 (LDFLAGS-tst-lfschk5): Renamed to ...
15455 (LDLIBS-tst-lfschk5): This.
15456 (LDFLAGS-tst-lfschk6): Renamed to ...
15457 (LDLIBS-tst-lfschk6): This.
15459 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15460 on $(common-objpfx)soversions.mk.
15462 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15465 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15468 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15470 * malloc/arena.c (arena_get_retry): New function that gets
15471 another arena for the caller to try its request on.
15472 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15473 current arena cannot fulfill the request.
15474 (__libc_memalign): Likewise.
15475 (__libc_memalign): Likewise.
15476 (__libc_pvalloc): Likewise.
15477 (__libc_calloc): Likewise.
15479 2012-09-05 John Tobey <john.tobey@gmail.com>
15482 * manual/arith.texi (Operations on Complex): Fix description
15483 of carg branch cut.
15485 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15488 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15492 * manual/memory.texi (Memory): Make order of menu items match
15495 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15497 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15498 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15499 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15501 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15503 * csu/libc-tls.c (static_dtv): Renamed to ...
15504 (_dl_static_dtv): This. Make it global.
15505 (_dl_initial_dtv): Removed.
15506 (__libc_setup_tls): Updated.
15507 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15508 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15511 2012-09-06 Petr Machata <pmachata@redhat.com>
15513 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15514 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15515 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15516 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15518 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15521 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15522 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15525 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15528 * Makeconfig (link-static-before-libc): Replace $(+prector)
15530 (link-static-after-libc): Replace $(+postctor) with
15532 (link-bounded): Replace $(+prector)/$(+postctor) with
15533 $(+prectorT)/$(+postctorT).
15534 (+prectorT): New macro.
15535 (+postctorT): Likewise.
15537 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15539 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15540 (round_str): Handle values above the maximum for IBM long double
15542 * stdlib/tst-strtod-round.c (tests): Regenerated.
15544 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15546 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15548 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15549 zarch_nohighgprs around the zarch optimized routines.
15550 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15551 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15552 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15555 2012-09-05 David S. Miller <davem@davemloft.net>
15557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15559 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15560 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15561 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15562 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15565 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15567 * malloc/arena.c: Fold copyright years.
15568 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15570 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15572 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15574 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15576 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15578 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15580 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15581 change internal state upon failure.
15583 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15585 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15586 * malloc/memusage.c (mmap): Likewise.
15587 (mmap64, mremap): Likewise. Adjust name in comment.
15589 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15591 * libio/fileops.c: Fix typos in comments.
15592 * libio/oldfileops.c: Likewise.
15593 * libio/wfileops.c: Likewise.
15595 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15598 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15599 (tst-malloc-usable-ENV): Set environment for test case.
15600 * malloc/hooks.c (malloc_check_get_size): New function to get
15602 * malloc/malloc.c (musable): Use malloc_check_get_size.
15603 * malloc/tst-malloc-usable.c: New test case.
15605 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15607 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15609 2012-09-05 Allan McRae <allan@archlinux.org>
15612 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15613 determine header location.
15614 * configure: Regenerated.
15616 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15618 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15620 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15621 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15623 (test): Regenerate.
15625 2012-09-04 David S. Miller <davem@davemloft.net>
15627 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15628 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15629 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15631 2012-09-04 Florian Weimer <fweimer@redhat.com>
15633 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15636 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15638 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15641 * libio/iogetdelim.c: Include <limits.h>.
15642 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15643 + len + 1 would overflow.
15645 2012-09-03 Andreas Jaeger <aj@suse.de>
15647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15648 * sysdeps/i386/fpu/libm-test-ulps: Update.
15650 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15652 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15653 Add s_sinf-sse2, s_conf-sse2.
15655 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15656 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15657 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15658 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15660 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15661 for using routine as __sinf_ia32.
15662 Use macro for function declaration and weak_alias.
15663 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15664 for using routine as __cosf_ia32.
15665 Use macro for function declaration and weak_alias.
15667 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15668 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15670 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15671 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15674 * math/libm-test.inc (cos_test): Add more test cases.
15675 (sin_test): Likewise.
15676 (sincos_test): Likewise.
15678 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15680 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15681 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15683 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15685 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15688 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15689 first element of the GOT.
15690 (elf_machine_load_address): Return the difference between
15691 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15693 2012-09-01 Allan McRae <allan@archlinux.org>
15696 * configure.in (AWK): Require gawk version 3.0 or later.
15697 * configure: Regenerated.
15699 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15701 * sysdeps/unix/sysv/linux/kernel-features.h
15702 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15703 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15704 [__NR_clock_getres]: Make code unconditional.
15705 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15706 (clock_getcpuclockid): Remove code left unreachable by removal of
15708 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15709 code unconditional.
15710 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15711 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15712 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15713 Make code unconditional.
15714 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15715 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15716 * sysdeps/unix/sysv/linux/clock_settime.c
15717 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15719 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15720 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15722 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15725 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15726 scripts/test-installation.pl.
15728 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15729 and $ld_so_version if it is set.
15731 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15734 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15735 failure if reading from procfs failed.
15736 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15738 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15740 * sysdeps/unix/sysv/linux/kernel-features.h
15741 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15742 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15743 Remove conditional code.
15744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15745 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15746 Remove conditional code.
15747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15748 * sysdeps/unix/sysv/linux/i386/fxstat.c
15749 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15751 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15752 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15754 * sysdeps/unix/sysv/linux/i386/lxstat.c
15755 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15757 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15758 Remove conditional code.
15759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15760 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15761 Remove conditional code.
15762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15763 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15764 <kernel-features.h>.
15765 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15767 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15768 Remove conditional code.
15769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15770 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15771 Remove conditional.
15773 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15776 * NEWS: Add fixed bug number.
15778 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15781 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15782 underflowing exponent in case of negative sign.
15783 * stdlib/tst-strtod-round-data: Add more tests.
15784 * stdlib/tst-strtod-round.c (tests): Regenerated.
15787 * stdlib/strtod_l.c (NDIG): Remove.
15788 (HEXNDIG): Likewise.
15789 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15790 smallest representable value.
15791 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15792 lie within an exact representation of 1/2 ulp of the result.
15793 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15795 (TENS_P9_IDX): Define unconditionally.
15796 (TENS_P9_SIZE): Likewise.
15797 (TENS_P10_IDX): Likewise.
15798 (TENS_P10_SIZE): Likewise.
15799 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15800 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15801 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15802 entries for 10^2^13 and 10^2^14.
15803 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15804 (TENS_P13_IDX): Define.
15805 (TENS_P13_SIZE): Likewise.
15806 (TENS_P14_IDX): Likewise.
15807 (TENS_P14_SIZE): Likewise.
15808 (_fpioconst_pow10): Change array size to
15809 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15811 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15812 1024]: Add entries for 10^2^13 and 10^2^14.
15813 [LAST_POW10 > _LAST_POW10]: Remove #error.
15814 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15815 (_fpioconst_pow10): Change array size to
15816 FPIOCONST_POW10_ARRAY_SIZE.
15817 * stdlib/gen-fpioconst.c: New file.
15818 * stdlib/gen-tst-strtod-round.c: Likewise.
15819 * stdlib/tst-strtod-round-data: Likewise.
15820 * stdlib/tst-strtod-round.c: Likewise.
15821 * stdlib/Makefile (tests): Add tst-strtod-round.
15824 * stdlib/strtod_l.c: Include <stdint.h>.
15825 (NDEBUG): Do not define.
15826 (round_and_return): Change EXPONENT parameter to type intmax_t.
15827 Rearrange calculations to avoid internal overflow possibilities.
15828 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15829 Rearrange calculations to avoid internal overflow possibilities.
15830 Assert that number fits inside MPNSIZE limbs.
15831 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15832 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15833 calculations and add assertions to avoid internal overflow
15834 possibilities. Add casts to avoid signed/unsigned operations.
15835 * stdlib/tst-strtod-overflow.c: New file.
15836 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15838 2012-08-25 Marek Polacek <polacek@redhat.com>
15840 * time/time.h: Fix some typos in comments.
15842 2012-08-23 Roland McGrath <roland@hack.frob.com>
15844 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15845 * posix/tst-rfc3484-2.c: Likewise.
15846 * posix/tst-rfc3484-3.c: Likewise.
15848 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15850 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15851 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15853 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15855 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15856 #include of fxstatat64.c.
15858 2012-08-22 Roland McGrath <roland@hack.frob.com>
15860 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15861 * shadow/getspent_r.c: Likewise.
15862 * shadow/getspnam.c: Likewise.
15863 * shadow/getspnam_r.c: Likewise.
15864 * gshadow/getsgent.c: Likewise.
15865 * gshadow/getsgent_r.c: Likewise.
15866 * gshadow/getsgnam.c: Likewise.
15867 * gshadow/getsgnam_r.c: Likewise.
15868 * inet/getnetbyad.c: Likewise.
15869 * inet/getnetbyad_r.c: Likewise.
15870 * inet/getnetbynm.c: Likewise.
15871 * inet/getnetbynm_r.c: Likewise.
15872 * inet/getnetent.c: Likewise.
15873 * inet/getnetent_r.c: Likewise.
15874 * inet/getproto.c: Likewise.
15875 * inet/getproto_r.c: Likewise.
15876 * inet/getprtent.c: Likewise.
15877 * inet/getprtent_r.c: Likewise.
15878 * inet/getprtname.c: Likewise.
15879 * inet/getprtname_r.c: Likewise.
15880 * inet/getrpcbyname.c: Likewise.
15881 * inet/getrpcbyname_r.c: Likewise.
15882 * inet/getrpcbynumber.c: Likewise.
15883 * inet/getrpcbynumber_r.c: Likewise.
15884 * inet/getrpcent.c: Likewise.
15885 * inet/getrpcent_r.c: Likewise.
15886 * inet/getaliasent.c: Likewise.
15887 * inet/getaliasent_r.c: Likewise.
15888 * inet/getaliasname.c: Likewise.
15889 * inet/getaliasname_r.c: Likewise.
15890 * nscd/getgrgid_r.c: Likewise.
15891 * nscd/getgrnam_r.c: Likewise.
15892 * nscd/gethstbyad_r.c: Likewise.
15893 * nscd/gethstbynm3_r.c: Likewise.
15894 * nscd/getpwnam_r.c: Likewise.
15895 * nscd/getpwuid_r.c: Likewise.
15896 * nscd/getsrvbynm_r.c: Likewise.
15897 * nscd/getsrvbypt_r.c: Likewise.
15898 * nscd/gai.c: Likewise.
15900 * configure.in (build_nscd): New substituted variable, set
15901 by --disable-build-nscd and defaults to $use_nscd.
15902 * configure: Regenerated.
15903 * config.make.in (build-nscd): New substituted variable.
15904 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15905 Change conditional to require [$(build-nscd) = yes] as well.
15906 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15909 * configure.in (use_nscd): New substituted variable, set by
15910 --disable-nscd. If enabled, define USE_NSCD.
15911 * configure: Regenerated.
15912 * config.h.in: Add USE_NSCD.
15913 * config.make.in (use-nscd): New substituted variable.
15914 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15915 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15916 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15917 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15918 (CFLAGS-getgrnam_r.c): Likewise.
15919 (CFLAGS-initgroups.c): Likewise.
15920 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15921 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15923 * inet/getnetgrent_r.c
15924 (nscd_setnetgrent): New function, broken out of ...
15925 (setnetgrent): ... here. Call it.
15926 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15927 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15928 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15929 * nscd/Makefile (routines, aux): Move definitions after include of
15930 Makeconfig. Conditionalize on [$(use-nscd) != no].
15931 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15932 Conditionalize on [USE_NSCD].
15933 (is_nscd, nscd_init_cb): Likewise.
15934 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15935 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15936 * nss/nss_db/db-init.c: Likewise.
15937 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15939 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15940 (make_request): Use it.
15941 (cache_valid_p): New function.
15942 (__check_pf): Use it.
15943 * NEWS: Add item for --disable-nscd.
15945 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15947 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15948 to support sed >= 4.2.1-20-ga9bf076.
15949 * configure: Regenerated.
15951 2012-08-22 Roland McGrath <roland@hack.frob.com>
15953 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15954 Conditionalize whole body on [IREL].
15956 2012-08-22 Jeff Law <law@redhat.com>
15959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15960 if the family is PF_UNSPEC.
15962 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15964 * Makerules (lib-version): Rename from V.
15965 (install-lib-nosubdir): Change V to lib-version.
15967 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15970 * powerpc32/power6/wcschr.c: New file.
15971 * powerpc32/power6/wcscpy.c: New file.
15972 * powerpc32/power6/wcsrchr.c: New file.
15973 * powerpc64/power6/wcschr.c: New file.
15974 * powerpc64/power6/wcscpy.c: New file.
15975 * powerpc64/power6/wcsrchr.c: New file.
15977 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15979 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15980 (two_way_short_needle): Use it.
15981 * string/strstr.c (AVAILABLE1_USES_J): Define.
15982 * string/strcasestr.c: Likewise.
15984 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15986 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15989 * NEWS: Add an entry.
15990 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15991 define their defaults.
15992 (two_way_short_needle): Detect end-of-string on-the-fly.
15993 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15994 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15995 * string/bug-strcasestr1.c: New test.
15996 * string/Makefile: Run it.
15998 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16001 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16002 the first character.
16004 2012-08-21 Roland McGrath <roland@hack.frob.com>
16006 * csu/elf-init.c (__libc_csu_irel): Function removed.
16007 * csu/libc-start.c (apply_irel): New function.
16008 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16010 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16012 * sysdeps/unix/sysv/linux/kernel-features.h
16013 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16014 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16015 <kernel-features.h>.
16016 [__NR_fadvise64_64]: Make code unconditional.
16017 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16018 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16019 !__NR_fadvise64_64)]: Likewise.
16020 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16021 !__NR_fadvise64_64))]: Likewise.
16022 [__NR_fadvise64]: Make code unconditional.
16023 [!__NR_fadvise64]: Remove conditional code.
16024 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16025 <kernel-features.h>.
16026 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16028 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16031 not include <kernel-features.h>.
16032 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16034 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16036 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16037 include <kernel-features.h>.
16038 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16040 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16043 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16045 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16046 slight instruction rearrangements per scrollpipe analysis.
16047 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16049 2012-08-20 Roland McGrath <roland@hack.frob.com>
16051 * manual/syslog.texi (syslog; vsyslog, closelog):
16052 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16053 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16055 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16056 DSOCAPS to match condition on defining it.
16058 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16060 * sysdeps/unix/sysv/linux/kernel-features.h
16061 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16063 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16064 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16066 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16067 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16069 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16070 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16072 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16073 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16075 * sysdeps/unix/sysv/linux/kernel-features.h
16076 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16077 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16079 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16080 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16081 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16082 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16083 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16084 Make code unconditional.
16085 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16086 (__mmap64) [!__NR_mmap2]: Likewise.
16087 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16088 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16089 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16090 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16091 [__NR_mmap2]: Make code unconditional.
16092 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16093 (__mmap64) [!__NR_mmap2]: Likewise.
16095 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16097 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16099 2012-08-18 Andreas Jaeger <aj@suse.de>
16101 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16103 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16105 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16106 * include/unistd.h (__have_sock_cloexec): Likewise.
16107 (__have_pipe2): Likewise.
16108 (__have_dup3): Likewise.
16110 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16113 * include/unistd.h (__have_pipe2): Change define into an extern int.
16114 (__have_dup3): Likewise.
16115 * socket/have_sock_cloexec.c: Include fcntl.h.
16116 (__have_pipe2): New variable.
16117 (__have_dup3): Likewise.
16119 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16121 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16123 2012-08-17 Marek Polacek <polacek@redhat.com>
16125 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16126 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16128 2012-08-17 Roland McGrath <roland@hack.frob.com>
16130 * configure.in: Add AC_SUBST for sysheaders.
16131 * configure: Regenerated.
16132 * config.make.in (sysheaders): New substituted variable.
16134 * sysdeps/unix/mkfifo.c: Moved ...
16135 * sysdeps/posix/mkfifo.c: ... here.
16136 * sysdeps/unix/mkfifoat.c: Moved ...
16137 * sysdeps/posix/mkfifoat.c: ... here.
16139 * sysdeps/unix/utime.c: Moved ...
16140 * sysdeps/posix/utime.c: ... here.
16142 * sysdeps/unix/time.c: Moved ...
16143 * sysdeps/posix/time.c: ... here.
16144 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16145 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16147 * sysdeps/unix/nice.c: Moved ...
16148 * sysdeps/posix/nice.c: ... here.
16150 * sysdeps/unix/alarm.c: Moved ...
16151 * sysdeps/posix/alarm.c: ... here.
16153 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16155 2012-08-17 Jeff Law <law@redhat.com>
16157 * intl/Makefile (codeset_mo): New variable.
16158 ($(codeset_mo)): New target.
16159 (tst-codeset.out): Depend on that. Remove explicit rule.
16160 (tst-gettext3.out, tst-gettext5.out): Likewise.
16161 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16162 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16163 * intl/tst-codeset.sh: Remove.
16164 * intl/tst-gettext3.sh: Likewise.
16165 * intl/tst-gettext5.sh: Likewise.
16167 2012-08-17 Roland McGrath <roland@hack.frob.com>
16169 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16170 * sysdeps/unix/syscalls.list: ... here.
16172 * sysdeps/posix/getaddrinfo.c
16173 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16174 (gaiconf_init, gaiconf_reload): Use them.
16175 [!_STATBUF_ST_NSEC]
16176 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16177 Define using time_t rather than struct timespec.
16179 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16180 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16182 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16184 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16185 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16188 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16189 __libc_cleanup_push argument.
16191 * bits/param.h: New file.
16192 * misc/sys/param.h: New file.
16193 * include/sys/param.h: New file.
16194 * misc/Makefile (headers): Add bits/param.h.
16195 * sysdeps/generic/sys/param.h: File removed.
16196 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16197 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16198 * sysdeps/mach/hurd/bits/param.h: New file.
16199 * sysdeps/mach/hurd/sys/param.h: File removed.
16201 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16204 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16206 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16207 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16210 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16211 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16212 rather than -D_IO_MTSAFE_IO conditionally.
16213 * stdio-common/Makefile (CPPFLAGS): Likewise.
16214 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16215 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16216 Use $(libio-mtsafe).
16217 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16218 of -D_IO_MTSAFE_IO.
16219 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16220 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16221 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16222 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16223 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16224 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16225 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16226 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16227 (CFLAGS-fread_u_chk.c): Likewise.
16228 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16229 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16230 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16231 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16232 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16233 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16234 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16235 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16236 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16238 * libio/Makefile: Test [$(libc-reentrant) = yes]
16239 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16242 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16243 * sysdeps/pthread/configure: File removed.
16244 * sysdeps/pthread/Makeconfig: New file.
16245 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16246 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16248 2012-08-16 Gary Benson <gbenson@redhat.com>
16250 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16251 unmapping the first object in a namespace.
16253 2012-08-16 Roland McGrath <roland@hack.frob.com>
16255 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16256 (__internal_setnetgrent): ... this. Add internal_function to
16257 definition. Add libc_hidden_def.
16258 (setnetgrent): Update caller.
16259 (internal_endnetgrent): Renamed to ...
16260 (__internal_endnetgrent): ... this. Add internal_function to
16261 definition. Add libc_hidden_def.
16262 (endnetgrent): Update caller.
16263 (internal_getnetgrent_r): Renamed to ...
16264 (__internal_getnetgrent_r): ... this. Add internal_function to
16265 definition. Add libc_hidden_def.
16266 (__getnetgrent_r): Update caller.
16267 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16269 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16271 * stdlib/longlong.h: Update from GCC.
16273 2012-08-16 Roland McGrath <roland@hack.frob.com>
16275 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16276 on _QL, which is set by umul_ppmm but never used.
16277 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16278 variables, which are set by GMP macros but never used.
16279 * stdio-common/_itowa.c (_itowa): Likewise.
16280 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16281 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16283 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16285 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16286 struct La_sh_regs is not constant.
16287 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16288 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16289 and struct La_sparc64_regs are not constant.
16291 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16293 * sysdeps/unix/sysv/linux/kernel-features.h
16294 (__ASSUME_POSIX_TIMERS): Remove.
16295 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16297 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16298 Make code unconditional.
16299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16300 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16301 Make code unconditional.
16302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16303 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16304 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16306 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16307 Make code unconditional.
16308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16309 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16310 (__libc_missing_posix_timers): Remove.
16312 2012-08-15 Roland McGrath <roland@hack.frob.com>
16314 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16315 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16317 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16319 * elf/dl-sym.c: Include <stdlib.h>.
16321 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16322 constants, which avoids warnings in 32-bit builds.
16324 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16325 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16327 * misc/lseek.c: File moved to ...
16328 * io/lseek.c: ... here.
16330 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16332 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16333 shifting LEN more than 31 bits at once.
16335 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16338 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16339 segmentation fault for a case of two empty input strings.
16340 * string/test-strncasecmp.c (check1): Renamed to...
16341 (bz12205): ...this.
16342 (bz14195): Add new testcase for two empty input strings and N > 0.
16343 (test_main): Call new testcase, adapt for renamed function.
16345 2012-08-15 Andreas Jaeger <aj@suse.de>
16348 * crypt/md5test2.c: New test, based on test supplied by Serge
16349 Belyshev <belyshev@depni.sinp.msu.ru>.
16350 * crypt/Makefile (xtests): Add md5test-giant..
16351 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16353 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16356 * crypt/md5.c (md5_process_block): Don't assume the buffer
16357 length is less than 2**32.
16358 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16359 length is less than 2**64.
16361 2012-08-15 Roland McGrath <roland@hack.frob.com>
16363 * string/str-two-way.h: Include <sys/param.h>.
16364 (MAX): Macro removed.
16366 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16367 Move #define and #undef of memmove to just before and after
16368 including <string.h>.
16370 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16371 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16372 and after including <string.h>. Move declarations of
16373 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16374 to before #include "string/memmove.c".
16376 * include/dirent.h: Declare __getdirentries.
16378 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16379 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16381 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16383 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16384 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16385 * sysdeps/i386/configure: Regenerated.
16386 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16387 STABS_CURRENT_FILE, and STABS_FUN.
16388 (END): Remove call to STABS_FUN_END.
16389 (STABS_CURRENT_FILE1): Delete.
16390 (STABS_CURRENT_FILE): Likewise.
16391 (STABS_FUN): Likewise.
16392 (STABS_FUN_END): Likewise.
16393 (STABS_FUN2): Likewise.
16394 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16395 * sysdeps/x86_64/configure: Regenerated.
16397 2012-08-14 Roland McGrath <roland@hack.frob.com>
16399 * elf/dl-open.c: Include <atomic.h>.
16400 * elf/dl-lookup.c: Likewise.
16402 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16404 * sysdeps/unix/sysv/linux/kernel-features.h
16405 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16406 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16408 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16410 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16411 condition on __ASSUME_CLONE_THREAD_FLAGS.
16413 2012-08-14 Andreas Jaeger <aj@suse.de>
16415 * sysdeps/i386/fpu/libm-test-ulps: Update.
16417 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16419 * include/atomic.h (atomic_exchange_and_add): Split into ...
16420 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16423 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16427 2012-08-13 Jeff Law <law@redhat.com>
16429 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16430 null byte in the output string.
16432 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16434 * sysdeps/unix/sysv/linux/kernel-features.h
16435 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16436 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16437 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16438 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16439 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16440 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16441 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16443 2012-08-09 Jeff Law <law@redhat.com>
16446 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16447 When avoid_arena is set, don't retry in the that arena. Pick the
16448 next one, whatever it might be.
16449 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16450 (arena_lock): Pass in new parameter to arena_get2.
16451 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16453 (__libc_malloc): Unify retrying after main arena failure with
16454 __libc_memalign version.
16455 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16457 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16460 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16461 to __redirect_strstr.
16462 (__strstr_sse42): Use typeof __redirect_strstr.
16463 (__strstr_ia32): Likewise.
16464 (__libc_strstr): New prototype.
16465 (strstr): Renamed to ...
16466 (__libc_strstr): This.
16467 (strstr): New strong alias of __libc_strstr.
16468 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16469 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16472 (__libc_time): New prototype.
16473 (time_ifunc): Replace time with __libc_time.
16474 (time): New strong alias and hidden definition of __libc_time.
16475 (__GI_time): Remove strong alias.
16476 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16477 Include <stddef.h>.
16478 (memmove): Redefined to __redirect_memmove.
16479 (__memmove_sse2): Use typeof __redirect_memmove.
16480 (__memmove_ssse3): Likewise.
16481 (__memmove_ssse3_back): Likewise.
16482 (__libc_memmove): New prototype.
16483 (memmove): Renamed to ...
16484 (__libc_memmove): This.
16485 (memmove): New strong alias of __libc_memmove.
16487 2012-08-08 Mark Salter <msalter@redhat.com>
16490 (R_MN10300_TLS_GD): Define.
16491 (R_MN10300_TLS_LD): Likewise.
16492 (R_MN10300_TLS_LDO): Likewise.
16493 (R_MN10300_TLS_GOTIE): Likewise.
16494 (R_MN10300_TLS_IE): Likewise.
16495 (R_MN10300_TLS_LE): Likewise.
16496 (R_MN10300_TLS_DTPMOD): Likewise.
16497 (R_MN10300_TLS_DTPOFF): Likewise.
16498 (R_MN10300_TLS_TPOFF): Likewise.
16499 (R_MN10300_SYM_DIFF): Likewise.
16500 (R_MN10300_ALIGN): Likewise.
16501 (R_MN10300_NUM): Update.
16503 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16505 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16508 2012-08-08 Roland McGrath <roland@hack.frob.com>
16510 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16512 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16513 sysdeps/unix -> sysdeps/posix move.
16514 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16516 2012-08-07 Allan McRae <allan@archlinux.org>
16519 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16520 (SUNOS_CPP): Likewise.
16521 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16523 (open_input): Call CPP using execvp.
16525 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16527 * sysdeps/unix/sysv/linux/kernel-features.h
16528 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16529 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16530 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16531 (__ASSUME_WAITID_SYSCALL): Likewise.
16532 * sysdeps/unix/sysv/linux/dl-execstack.c
16533 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16534 code unconditional.
16535 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16537 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16538 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16539 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16541 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16543 [__ASSUME_WAITID_SYSCALL]: Likewise.
16544 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16546 2012-08-07 Roland McGrath <roland@hack.frob.com>
16548 * sysdeps/unix/closedir.c: Renamed to ...
16549 * sysdeps/posix/closedir.c: ... here.
16550 * sysdeps/unix/dirfd.c: Renamed to ...
16551 * sysdeps/posix/dirfd.c: ... here.
16552 * sysdeps/unix/dirstream.h: Renamed to ...
16553 * sysdeps/posix/dirstream.h: ... here.
16554 * sysdeps/unix/fdopendir.c: Renamed to ...
16555 * sysdeps/posix/fdopendir.c: ... here.
16556 * sysdeps/unix/opendir.c: Renamed to ...
16557 * sysdeps/posix/opendir.c: ... here.
16558 * sysdeps/unix/readdir.c: Renamed to ...
16559 * sysdeps/posix/readdir.c: ... here.
16560 * sysdeps/unix/readdir_r.c: Renamed to ...
16561 * sysdeps/posix/readdir_r.c: ... here.
16562 * sysdeps/unix/rewinddir.c: Renamed to ...
16563 * sysdeps/posix/rewinddir.c: ... here.
16564 * sysdeps/unix/seekdir.c: Renamed to ...
16565 * sysdeps/posix/seekdir.c: ... here.
16566 * sysdeps/unix/telldir.c: Renamed to ...
16567 * sysdeps/posix/telldir.c: ... here.
16568 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16569 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16570 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16571 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16573 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16574 * bits/fcntl.h: ... here.
16576 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16578 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16579 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16580 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16581 (struct flock): Move l_start, l_len to the beginning.
16582 Use __pid_t for l_pid.
16583 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16584 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16585 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16586 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16587 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16588 [__USE_LARGEFILE64] (struct flock64): New type.
16589 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16591 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16592 * bits/dirent.h: ... here.
16594 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16595 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16597 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16599 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16600 Change from 2.6.0 to 2.6.16.
16601 * sysdeps/unix/sysv/linux/configure: Regenerated.
16602 * sysdeps/unix/sysv/linux/kernel-features.h
16603 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16604 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16606 (__ASSUME_UTIMES): Likewise.
16607 (__ASSUME_CLONE_STOPPED): Remove.
16608 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16609 architectures, not kernel version.
16610 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16611 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16612 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16613 (__ASSUME_WAITID_SYSCALL): Likewise.
16614 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16615 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16616 * README: State 2.6.16 as minimum Linux kernel version. Do not
16617 refer to older versions.
16619 2012-08-06 Roland McGrath <roland@hack.frob.com>
16621 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16622 Define alphasort64 as an alias.
16623 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16624 Define versionsort64 as an alias.
16625 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16626 Define scandir64 as an alias.
16627 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16628 Define scandirat64 as an alias.
16629 * dirent/alphasort64.c (alphasort64):
16630 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16631 * dirent/versionsort64.c: Likewise.
16632 * dirent/scandir64.c: Likewise.
16633 * dirent/scandirat64.c: Likewise.
16634 * sysdeps/wordsize-64/alphasort.c: File removed.
16635 * sysdeps/wordsize-64/alphasort64.c: File removed.
16636 * sysdeps/wordsize-64/scandir.c: File removed.
16637 * sysdeps/wordsize-64/scandir64.c: File removed.
16638 * sysdeps/wordsize-64/scandirat.c: File removed.
16639 * sysdeps/wordsize-64/scandirat64.c: File removed.
16640 * sysdeps/wordsize-64/versionsort.c: File removed.
16641 * sysdeps/wordsize-64/versionsort64.c: File removed.
16642 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16643 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16644 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16645 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16646 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16647 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16648 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16649 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16651 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16653 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16655 [defined __arch64__ || defined __sparcv9]
16656 (__INO_T_MATCHES_INO64_T): New macro.
16657 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16658 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16659 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16660 * sysdeps/unix/sysv/linux/bits/dirent.h
16661 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16662 (_DIRENT_MATCHES_DIRENT64): New macro.
16664 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16665 Define lockf64 as an alias.
16666 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16667 Define fseeko64 as an alias.
16668 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16669 Define ftello64 as an alias.
16670 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16671 Define _IO_fgetpos64 and fgetpos64 as aliases.
16672 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16673 Define _IO_fsetpos64 and fsetpos64 as aliases.
16674 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16675 Conditionalize body on this.
16676 * libio/fseeko64.c: Likewise.
16677 * libio/ftello64.c: Likewise.
16678 * libio/iofgetpos64.c: Likewise.
16679 * libio/iofsetpos64.c: Likewise.
16680 * sysdeps/wordsize-64/lockf.c: File removed.
16681 * sysdeps/wordsize-64/lockf64.c: File removed.
16682 * sysdeps/wordsize-64/fseeko.c: File removed.
16683 * sysdeps/wordsize-64/fseeko64.c: File removed.
16684 * sysdeps/wordsize-64/ftello.c: File removed.
16685 * sysdeps/wordsize-64/ftello64.c: File removed.
16686 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16687 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16688 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16689 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16690 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16691 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16692 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16693 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16694 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16695 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16696 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16697 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16698 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16699 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16701 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16703 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16705 [defined __arch64__ || defined __sparcv9]
16706 (__OFF_T_MATCHES_OFF64_T): New macro.
16707 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16708 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16710 (__OFF_T_MATCHES_OFF64_T): New macro.
16712 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16714 * stdlib/secure-getenv.c (__secure_getenv): Replace
16715 GLIBC_2_16 with GLIBC_2_17.
16717 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16719 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16720 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16722 2012-08-03 David S. Miller <davem@davemloft.net>
16724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16726 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16728 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16730 (__ASSUME_CORRECT_SI_PID): Likewise.
16731 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16732 (__ASSUME_TMPFS_NAME): Likewise.
16733 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16734 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16735 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16736 (HAVE_AUX_SECURE): Make definition unconditional.
16737 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16738 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16740 2012-08-03 Roland McGrath <roland@hack.frob.com>
16742 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16743 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16744 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16745 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16746 __eloop_threshold instead of SYMLOOP_MAX.
16748 * sysdeps/generic/eloop-threshold.h: New file.
16749 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16751 * elf/chroot_canon.c (chroot_canon): Likewise.
16753 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16756 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16757 Change to 2.6.0 everywhere.
16758 * sysdeps/unix/sysv/linux/configure: Regenerated.
16759 * sysdeps/unix/sysv/linux/kernel-features.h
16760 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16761 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16763 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16764 (__ASSUME_FUTEX_REQUEUE): Remove.
16765 (__ASSUME_STATFS64): Define unconditionally.
16766 (__ASSUME_AT_SECURE): Likewise.
16767 (__ASSUME_CORRECT_SI_PID): Likewise.
16768 (__ASSUME_TGKILL): Define without depending on kernel version for
16770 (__ASSUME_UTIMES): Likewise.
16771 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16773 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16774 (__ASSUME_TMPFS_NAME): Likewise.
16775 * README: Update reference to Linux kernel versions.
16777 2012-08-02 Marek Polacek <polacek@redhat.com>
16780 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16781 libc_cv_asm_type_prefix with %.
16782 * configure: Regenerated.
16783 * include/libc-symbols.h: Remove comment about
16784 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16785 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16786 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16787 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16788 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16789 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16790 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16791 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16792 * elf/tst-unique2mod1.c: Likewise.
16793 * elf/tst-unique1mod2.c: Likewise.
16794 * elf/tst-unique1mod1.c: Likewise.
16795 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16796 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16797 Replace ASM_TYPE_DIRECTIVE with .type.
16798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16799 * sysdeps/i386/sysdep.h: Likewise.
16800 * sysdeps/x86_64/sysdep.h: Likewise.
16801 * sysdeps/sh/sysdep.h: Likewise.
16802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16803 Do not define ASM_TYPE_DIRECTIVE.
16804 * sysdeps/powerpc/sysdep.h: Likewise.
16805 * sysdeps/powerpc/powerpc32/sysdep.h:
16806 Replace ASM_TYPE_DIRECTIVE with .type.
16807 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16808 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16809 * sysdeps/i386/fpu/e_powf.S: Likewise.
16810 * sysdeps/i386/fpu/e_expl.S: Likewise.
16811 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16812 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16813 * sysdeps/i386/fpu/e_pow.S: Likewise.
16814 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16815 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16816 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16817 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16818 * sysdeps/i386/fpu/e_log2.S: Likewise.
16819 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16820 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16821 * sysdeps/i386/fpu/e_powl.S: Likewise.
16822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16823 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16824 * sysdeps/i386/fpu/e_logl.S: Likewise.
16825 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16826 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16827 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16828 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16829 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16830 * sysdeps/i386/fpu/e_log.S: Likewise.
16831 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16832 * sysdeps/i386/fpu/e_logf.S: Likewise.
16833 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16834 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16835 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16836 * sysdeps/i386/fpu/e_log10.S: Likewise.
16837 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16838 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16839 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16840 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16841 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16842 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16843 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16844 * sysdeps/i386/i686/strtok.S: Likewise.
16845 * sysdeps/i386/i386-mcount.S: Likewise.
16846 * sysdeps/i386/strtok.S: Likewise.
16847 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16850 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16851 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16852 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16853 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16854 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16855 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16856 * sysdeps/x86_64/_mcount.S: Likewise.
16857 * sysdeps/x86_64/strtok.S: Likewise.
16858 * sysdeps/sh/_mcount.S: Likewise.
16860 2012-08-01 Roland McGrath <roland@hack.frob.com>
16862 * libio/iofopen.c: Include <fcntl.h>.
16863 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16864 (_IO_fopen64, fopen64): Define as aliases.
16865 * libio/iofopen64.c: Include <fcntl.h>.
16866 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16867 Conditionalize body on this.
16868 * sysdeps/wordsize-64/iofopen.c: File removed.
16869 * sysdeps/wordsize-64/iofopen64.c: File removed.
16871 2012-08-01 Marek Polacek <polacek@redhat.com>
16873 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16874 Use dlfcn directly instead of a variable.
16875 (binfmt-subdir): Do not define.
16878 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16880 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16881 Remove all definitions.
16882 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16883 <kernel-features.h>.
16884 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16885 (miss_F_GETOWN_EX): Remove all definitions.
16886 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16888 [!__ASSUME_FCNTL64]: Remove conditional code.
16889 [__ASSUME_FCNTL64]: Make code unconditional.
16890 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16891 <kernel-features.h>.
16892 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16893 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16894 (lockf64) [__NR_fcntl64]: Make code unconditional.
16895 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16897 * sysdeps/unix/sysv/linux/kernel-features.h
16898 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16899 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16900 Make code unconditional.
16901 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16902 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16904 [__NR_vfork]: Make code unconditional.
16905 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16906 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16908 [__NR_vfork]: Make code unconditional.
16909 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16910 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16912 2012-08-01 Roland McGrath <roland@hack.frob.com>
16914 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16915 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16917 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16918 Define mkstemp64 as an alias.
16919 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16920 Define mkstemps64 as an alias.
16921 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16922 Define mkostemp64 as an alias.
16923 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16924 Define mkostemps64 as an alias.
16925 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16926 Conditionalize body on this.
16927 * misc/mkostemp64.c: Likewise.
16928 * misc/mkostemps64.c: Likewise.
16929 * misc/mkstemps64.c: Likewise.
16930 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16931 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16932 * sysdeps/wordsize-64/mkostemp.c: File removed.
16933 * sysdeps/wordsize-64/mkstemp.c: File removed.
16934 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16935 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16936 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16937 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16940 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16941 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16942 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16943 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16945 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16946 compat_symbol macros from <shlib-compat.h> rather than the underlying
16947 default_symbol_version and symbol_version macros, so that DEFAULT
16948 lines in shlib-versions are respected.
16949 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16951 2012-08-01 Florian Weimer <fweimer@redhat.com>
16953 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16954 Declare with warn_unused_result.
16955 (setgid, setregid, setegid, setresgid): Likewise.
16956 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16958 * WUR-REPORT: Remove set*id functions.
16960 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16962 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16964 2012-07-31 Roland McGrath <roland@hack.frob.com>
16967 * include/sys/socket.h (__libc_accept, __libc_accept4):
16968 Add attribute_hidden.
16969 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16971 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16973 * inet/getnetgrent_r.c (setup): Likewise.
16975 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16977 2012-07-31 David S. Miller <davem@davemloft.net>
16979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16981 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16984 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16985 value between 1.0 and 2.0 and smaller part has absolute value less
16987 * math/s_clog10.c (__clog10): Likewise.
16988 * math/s_clog10f.c (__clog10f): Likewise.
16989 * math/s_clog10l.c (__clog10l): Likewise.
16990 * math/s_clogf.c (__clogf): Likewise.
16991 * math/s_clogl.c (__clogl): Likewise.
16992 * math/libm-test.inc (clog_test): Add more tests.
16993 (clog10_test): Likewise.
16994 * sysdeps/i386/fpu/libm-test-ulps: Update.
16995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16997 2012-07-31 Florian Weimer <fweimer@redhat.com>
16999 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17000 Exit with zero in case no suitable GID is found, and write a
17001 message to standard error.
17003 2012-07-30 Roland McGrath <roland@hack.frob.com>
17005 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17007 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17008 (MAXPATHLEN): Removed.
17009 (NOGROUP, NODEV): New macros.
17010 (setbit, clrbit, isset, isclr): New macros.
17011 (howmany, roundup, powerof2): New macros.
17012 (DEV_BSIZE): New macro.
17014 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17015 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17017 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17018 definition on [!__NO_LONG_DOUBLE_MATH].
17020 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17021 PTR_MANGLE and PTR_DEMANGLE.
17023 * socket/accept4.c (accept4): Rename to __libc_accept4.
17024 Define accept4 as a weak alias.
17026 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17027 on [_DIRENT_HAVE_D_TYPE].
17028 * io/ftw.c (ftw_dir): Likewise.
17030 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17032 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17034 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17035 Use the BSD numbers rather than the arbitrary ones we had.
17036 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17037 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17038 (SIGXCPU, SIGXFSZ): New macros.
17041 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17042 initializer on [_LIBC_REENTRANT].
17044 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17045 definitions inside [_POSIX_MAPPED_FILES].
17047 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17049 * dirent/opendir.c: Include <fcntl.h>.
17051 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17052 (__libc_getspecific): Likewise.
17053 (__libc_key_create): Likewise.
17055 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17056 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17057 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17058 (tmpfile64): Define as alias.
17059 * sysdeps/wordsize-64/tmpfile.c: File removed.
17060 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17061 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17062 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17064 * stdio-common/vfscanf.c: Include <stdbool.h>.
17065 * nss/makedb.c: Likewise.
17066 * stdio-common/_i18n_number.h: Likewise.
17067 * argp/argp-help.c: Likewise.
17068 * posix/wordexp.c: Likewise.
17069 * sysdeps/posix/spawni.c: Likewise.
17070 * nss/nss_files/files-initgroups.c: Likewise.
17071 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17072 * nss/nss_files/files-initgroups.c: Likewise.
17073 * nss/nss_db/db-netgrp.c: Likewise.
17074 * nss/nss_db/db-initgroups.c: Likewise.
17075 * io/fchmodat.c: Include <sys/stat.h>.
17077 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17078 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17080 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17083 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17084 Add multiple inclusion protection.
17086 2012-07-27 David S. Miller <davem@davemloft.net>
17088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17090 2012-07-27 Gary Benson <gbenson@redhat.com>
17093 * elf/rtld.c: Include <stap-probe.h>.
17094 (dl_main): Added static probes "init_start" and "init_complete".
17095 * elf/dl-load.c: Include <stap-probe.h>.
17096 (lose): Take new parameter "nsid".
17097 Added static probe "map_failed".
17098 (_dl_map_object_from_fd): Pass namespace id to lose.
17099 Added static probe "map_start".
17100 (open_verify): Pass namespace id to lose.
17101 * elf/dl-open.c: Include <stap-probe.h>.
17102 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17103 and "reloc_complete".
17104 * elf/dl-close.c: Include <stap-probe.h>.
17105 (_dl_close_worker): Added static probes "unmap_start" and
17107 * elf/rtld-debugger-interface.txt: New file documenting the above.
17109 2012-07-26 Roland McGrath <roland@hack.frob.com>
17111 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17112 rather than a string variable.
17113 * sunrpc/rpc_main.c (h_output): Likewise.
17114 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17116 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17118 * inet/check_native.c: New file.
17120 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17123 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17124 if larger part has absolute value 1.0.
17125 * math/s_clog10.c (__clog10): Likewise.
17126 * math/s_clog10f.c (__clog10f): Likewise.
17127 * math/s_clog10l.c (__clog10l): Likewise.
17128 * math/s_clogf.c (__clogf): Likewise.
17129 * math/s_clogl.c (__clogl): Likewise.
17130 * math/libm-test.inc (clog_test): Add more tests.
17131 (clog10_test): Likewise.
17132 * sysdeps/i386/fpu/libm-test-ulps: Update.
17133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17135 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17136 (pltexit): Likewise.
17137 (La_regs): Likewise.
17138 (La_retval): Likewise.
17139 (int_retval): Likewise.
17140 Update #error for removed macros to refer only to definitions in
17142 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17144 (pltexit): Likewise.
17145 (La_regs): Likewise.
17146 (La_retval): Likewise.
17147 (int_retval): Likewise.
17148 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17150 (pltexit): Likewise.
17151 (La_regs): Likewise.
17152 (La_retval): Likewise.
17153 (int_retval): Likewise.
17154 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17156 (pltexit): Likewise.
17157 (La_regs): Likewise.
17158 (La_retval): Likewise.
17159 (int_retval): Likewise.
17160 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17162 (pltexit): Likewise.
17163 (La_regs): Likewise.
17164 (La_retval): Likewise.
17165 (int_retval): Likewise.
17166 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17168 (pltexit): Likewise.
17169 (La_regs): Likewise.
17170 (La_retval): Likewise.
17171 (int_retval): Likewise.
17172 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17174 (pltexit): Likewise.
17175 (La_regs): Likewise.
17176 (La_retval): Likewise.
17177 (int_retval): Likewise.
17178 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17179 macro definitions in tst-audit.h.
17180 * sysdeps/i386/tst-audit.h: New file.
17181 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17182 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17183 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17184 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17185 * sysdeps/sh/tst-audit.h: Likewise.
17186 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17187 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17188 * sysdeps/x86_64/tst-audit.h: Likewise.
17190 2012-07-26 Andreas Jaeger <aj@suse.de>
17192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17195 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17196 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17197 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17199 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17200 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17201 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17203 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17206 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17208 (si_call_addr, si_syscall, si_arch): Define new macro.
17209 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17211 (si_call_addr, si_syscall, si_arch): Define new marcro.
17212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17214 (si_call_addr, si_syscall, si_arch): Define new macro.
17215 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17217 (si_call_addr, si_syscall, si_arch): Define new macro.
17219 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17222 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17223 Change to 2.4.21 where previously 2.4.1.
17224 * sysdeps/unix/sysv/linux/configure: Regenerated.
17225 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17226 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17227 Linux kernel version.
17228 (__ASSUME_STD_AUXV): Remove.
17229 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17231 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17232 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17233 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17234 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17235 (__ASSUME_NETLINK_SUPPORT): Likewise.
17236 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17237 (__no_netlink_support): Remove conditional definition.
17238 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17240 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17241 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17242 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17243 (if_nameindex_ioctl): Remove.
17244 (if_nameindex_netlink): Do not handle __no_netlink_support.
17245 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17247 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17248 Remove conditional code.
17249 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17251 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17253 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17254 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17255 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17257 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17258 [!__ASSUME_STD_AUXV]: Remove conditional code.
17259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17260 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17261 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17263 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17264 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17266 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17268 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17269 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17271 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17273 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17276 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17279 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17280 code unconditional.
17281 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17283 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17285 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17288 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17290 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17293 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17294 code unconditional.
17295 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17297 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17299 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17302 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17303 code unconditional.
17304 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17306 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17308 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17311 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17313 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17314 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17315 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17316 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17317 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17318 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17319 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17320 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17321 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17322 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17323 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17324 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17325 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17326 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17327 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17328 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17329 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17330 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17331 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17333 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17334 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17335 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17337 2012-07-25 Florian Weimer <fweimer@redhat.com>
17339 * Versions.def: Add GLIBC_2.17.
17340 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17341 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17342 Introduce __libc_secure_getenv.
17343 * stdlib/Versions (2.17): Add secure_getenv
17344 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17345 * stdlib/secure-getenv.c: Rename __secure_getenv to
17346 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17347 symbol __secure_getenv for GLIBC_2.0.
17348 * stdlib/tst-secure-getenv.c: New.
17349 * stdlib/Makefile (tests): Add testcase.
17350 * manual/startup.texi (Environment Access): Document
17352 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17353 __libc_secure_getenv.
17354 * inet/ruserpass.c (ruserpass): Likewise.
17355 * malloc/mtrace.c (mtrace): Likewise.
17356 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17357 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17358 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17359 * sysdeps/posix/tempname.c: Likewise. Evaluate
17360 HAVE_SECURE_GETENV.
17361 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17362 __secure_getenv to __libc_secure_getenv.
17363 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17376 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17378 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17379 (struct La_i86_retval): Likewise.
17380 (struct La_x86_64_regs): Likewise.
17381 (struct La_x86_64_retval): Likewise.
17382 (struct La_x32_regs): Likewise.
17383 (struct La_x32_retval): Likewise.
17384 (struct La_ppc32_regs): Likewise.
17385 (struct La_ppc32_retval): Likewise.
17386 (struct La_ppc64_regs): Likewise.
17387 (struct La_ppc64_retval): Likewise.
17388 (struct La_sh_regs): Likewise.
17389 (struct La_sh_retval): Likewise.
17390 (struct La_s390_32_regs): Likewise.
17391 (struct La_s390_32_retval): Likewise.
17392 (struct La_s390_64_regs): Likewise.
17393 (struct La_s390_64_retval): Likewise.
17394 (struct La_sparc32_regs): Likewise.
17395 (struct La_sparc32_retval): Likewise.
17396 (struct La_sparc64_regs): Likewise.
17397 (struct La_sparc64_retval): Likewise.
17398 (struct audit_ifaces): Remove architecture-specific pltenter and
17400 * sysdeps/i386/ldsodefs.h: New file.
17401 * sysdeps/powerpc/ldsodefs.h: Likewise.
17402 * sysdeps/s390/ldsodefs.h: Likewise.
17403 * sysdeps/sh/ldsodefs.h: Likewise.
17404 * sysdeps/sparc/ldsodefs.h: Likewise.
17405 * sysdeps/x86_64/ldsodefs.h: Likewise.
17407 2012-07-25 Marek Polacek <polacek@redhat.com>
17410 * math/libm-test.inc (yn_test): Add another test.
17411 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17412 to ERANGE when the result is +-Inf.
17413 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17414 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17415 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17416 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17418 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17420 * conform/data/time.h-data (NULL): Use macro-constant. Require
17422 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17424 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17426 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17428 * configure.in <sysdeps resolving>: Correct printing
17430 * configure: Regenerate.
17432 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17434 * math/w_ilogb.c: Include <limits.h>.
17435 * math/w_ilogbl.c: Likewise.
17437 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17439 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17440 va_copy. Document allowing for unavailable va_copy only as
17441 pre-C99 compatibility.
17442 * manual/string.texi (Copying and Concatenation): Use va_copy
17443 instead of __va_copy in concat example.
17445 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17447 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17448 (__sendto): Use create_address_port. Initialize APORT and deallocate
17451 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17452 with O_NOLINK passed to __file_name_lookup.
17454 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17455 with O_NOLINK passed to __file_name_lookup.
17457 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17458 negative N or less than NGIDS.
17460 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17461 type to string_t. Set ERANGE as errno and return it if NAME is not big
17462 enough. Use memcpy instead of strncpy.
17464 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17466 * elf/Makefile (check-data): Remove.
17467 (localplt.data): New vpath directive.
17468 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17469 instead of $(check-data).
17470 * scripts/data/localplt-generic.data: Move to ...
17471 * sysdeps/generic/localplt.data: ... here.
17472 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17473 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17474 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17477 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17480 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17483 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17486 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17489 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17493 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17495 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17496 PPC32 and PPC64 files.
17497 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17498 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17500 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17502 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17503 __makecontext_ret to ...
17504 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17505 ... here and call exit if uc_link is NULL. New file.
17506 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17507 __makecontext_ret.S.
17508 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17509 __makecontext_ret to ...
17510 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17511 ... here and call exit if uc_link is NULL. New file.
17512 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17513 __makecontext_ret.S.
17515 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17517 * elf/elf.h (R_390_IRELATIVE): New definition.
17518 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17519 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17520 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17521 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17522 (elf_machine_lazy_rel): Likewise.
17523 * sysdeps/s390/dl-irel.h: New file.
17524 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17525 * sysdeps/s390/s390-64/memset.S: New asm code.
17526 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17527 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17528 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17529 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17530 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17531 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17532 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17533 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17534 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17535 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17536 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17537 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17538 * sysdeps/s390/s390-32/memset.S: New asm code.
17539 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17541 2012-07-17 Marek Polacek <polacek@redhat.com>
17544 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17545 * sysdeps/s390/s390-64/configure.in: Likewise.
17546 * sysdeps/sparc/configure.in: Likewise.
17547 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17548 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17549 * sysdeps/i386/configure.in: Likewise.
17550 * sysdeps/x86_64/configure.in: Likewise.
17551 * sysdeps/sh/configure.in: Likewise.
17552 * sysdeps/s390/s390-32/configure: Regenerated.
17553 * sysdeps/s390/s390-64/configure: Likewise.
17554 * sysdeps/x86_64/configure: Likewise.
17555 * sysdeps/sh/configure: Likewise.
17556 * sysdeps/powerpc/powerpc64/configure: Likewise.
17557 * sysdeps/powerpc/powerpc32/configure: Likewise.
17558 * sysdeps/sparc/configure: Likwise.
17559 * sysdeps/i386/configure: Likewise.
17561 * elf/dl-open.c: Comment fixes.
17563 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17565 * Makefile [CXX] (check-data): Remove.
17566 [CXX] (c++-types.data): New vpath directive.
17567 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17568 vpath. Do not allow for C++ type data being missing.
17569 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17570 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17571 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17572 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17573 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17574 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17575 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17578 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17581 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17584 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17587 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17590 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17593 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17596 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17599 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17600 definitions to architecture-specific files.
17601 (TLS_IE): Likewise.
17602 (TLS_LD): Likewise.
17603 (TLS_GD): Likewise.
17604 * sysdeps/i386/tls-macros.h: New file.
17605 * sysdeps/powerpc/tls-macros.h: Likewise.
17606 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17607 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17608 * sysdeps/sh/tls-macros.h: Likewise.
17609 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17610 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17611 * sysdeps/x86_64/tls-macros.h: Likewise.
17613 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17615 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17616 zero value for regular exit case.
17618 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17619 (__start_context): Preserve zero value for regular exit case.
17621 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17622 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17624 * manual/setjmp.texi (setcontext): Clarify normal process
17625 termination when uc_link is the null pointer.
17626 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17629 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17631 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17632 preprocessor. Test for each exception mask separately.
17634 2012-07-16 Andreas Jaeger <aj@suse.de>
17636 * po/ru.po: Update from translation team.
17638 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17640 * conform/data/string.h-data (NULL): Use macro-constant. Require
17642 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17643 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17644 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17645 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17648 2012-07-13 Andreas Jaeger <aj@suse.de>
17650 * po/fr.po: Update from translation team.
17652 2012-07-12 Marek Polacek <polacek@redhat.com>
17655 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17656 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17659 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17662 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17663 Change to 2.4.1 where previously 2.4.0.
17664 * sysdeps/unix/sysv/linux/configure: Regenerated.
17665 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17666 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17668 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17669 (__ASSUME_AT_CLKTCK): Remove.
17670 (__ASSUME_AT_PAGESIZE): Likewise.
17671 (__ASSUME_AT_XID): Likewise.
17672 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17673 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17674 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17676 (HAVE_AUX_PAGESIZE): Likewise.
17677 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17678 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17679 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17681 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17685 the temporary buffer used to invoke __gethostbyname2_r,
17686 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17687 host_data / struct gaih_addrtuple.
17688 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17689 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17690 header file nss/nsswitch.h.
17691 * nss/nsswitch.h (global scope): Add definition of implementation
17692 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17693 resolv/nss_dns/dns-host.c).
17695 2012-07-11 Andreas Jaeger <aj@suse.de>
17697 * po/fr.po: Update from translation team.
17699 * po/sv.po: Update from translation team
17700 * po/fr.po: Another update from translation team.
17702 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17704 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17705 for subnormals or multiply small sinh result by itself.
17706 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17709 2012-07-11 David S. Miller <davem@davemloft.net>
17711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17713 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17716 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17717 (INTERNAL_MARK): Shift it here.
17719 2012-07-10 Marek Polacek <polacek@redhat.com>
17722 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17723 libc_cv_asm_global_directive with .globl.
17724 * configure: Regenerated.
17725 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17727 * sysdeps/i386/configure: Regenerated.
17728 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17730 * sysdeps/x86_64/configure: Regenerated.
17731 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17732 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17733 * elf/tst-unique2mod2.c: Likewise.
17734 * elf/tst-unique2mod1.c: Likewise.
17735 * elf/tst-unique1mod2.c: Likewise.
17736 * elf/tst-unique1mod1.c: Likewise.
17737 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17738 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17739 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17740 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17741 * sysdeps/mach/sysdep.h: Likewise.
17742 * sysdeps/i386/sysdep.h: Likewise.
17743 * sysdeps/i386/i386-mcount.S: Likewise.
17744 * sysdeps/x86_64/_mcount.S: Likewise.
17745 * sysdeps/x86_64/sysdep.h: Likewise.
17746 * sysdeps/sh/_mcount.S: Likewise.
17747 * sysdeps/sh/sysdep.h: Likewise.
17748 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17749 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17750 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17751 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17752 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17753 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17754 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17755 * locale/localeinfo.h: Likewise.
17756 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17757 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17759 2012-07-09 Roland McGrath <roland@hack.frob.com>
17762 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17764 * manual/message.texi (The Uniforum approach): Likewise.
17765 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17766 (glibc iconv Implementation): Likewise.
17768 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17771 * math/s_clog.c (__clog): Avoid scaling a value down where that
17772 could result in underflow.
17773 * math/s_clog10.c (__clog10): Likewise.
17774 * math/s_clog10f.c (__clog10f): Likewise.
17775 * math/s_clog10l.c (__clog10l): Likewise.
17776 * math/s_clogf.c (__clogf): Likewise.
17777 * math/s_clogl.c (__clogl): Likewise.
17778 * math/libm-test.inc (clog_test): Add more tests.
17779 (clog10_test): Likewise.
17780 * sysdeps/i386/fpu/libm-test-ulps: Update.
17781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17783 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17786 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17787 by 7 not 8 to examine high bit of fractional part.
17790 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17791 for call to __mcount_internal.
17792 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17793 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17794 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17796 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17799 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17800 approximation for values within 0x1p-13f of an odd multiple of
17802 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17803 exception. Add more tests.
17804 * sysdeps/i386/fpu/libm-test-ulps: Update.
17807 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17808 inputs and return -1 for them. Do not check for +Inf in case not
17809 reachable for +Inf.
17810 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17811 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17812 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17813 and return -1 for them. Do not check for +Inf in case not
17814 reachable for +Inf.
17815 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17817 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17818 and return -1 for them. Do not check for +Inf in case not
17819 reachable for +Inf.
17820 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17821 spurious underflow.
17822 * sysdeps/i386/fpu/libm-test-ulps: Update.
17823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17825 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17827 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17829 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17833 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17834 could result in spurious underflow. Scale down values above
17835 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17836 * math/s_csqrtf.c (__csqrtf): Likewise.
17837 * math/s_csqrtl.c (__csqrtl): Likewise.
17838 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17839 spurious underflow.
17840 * sysdeps/i386/fpu/libm-test-ulps: Update.
17841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17843 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17845 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17847 * catgets/xopen-msg.awk: New file.
17848 * catgets/xopen-msg.sed: Removed.
17850 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17852 * intl/po2test.awk: New file.
17853 * intl/po2test.sed: Removed.
17855 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17858 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17859 or multiply small sinh result by itself.
17860 * math/s_ctanf.c (__ctanf): Likewise.
17861 * math/s_ctanh.c (__ctanh): Likewise.
17862 * math/s_ctanhf.c (__ctanhf): Likewise.
17863 * math/s_ctanhl.c (__ctanhl): Likewise.
17864 * math/s_ctanl.c (__ctanl): Likewise.
17865 * math/libm-test.inc (ctan_test_tonearest): New function.
17866 (ctan_test_towardzero): Likewise.
17867 (ctan_test_downward): Likewise.
17868 (ctan_test_upward): Likewise.
17869 (ctanh_test_tonearest): Likewise.
17870 (ctanh_test_towardzero): Likewise.
17871 (ctanh_test_downward): Likewise.
17872 (ctanh_test_upward): Likewise.
17873 (main): Call these new functions.
17874 * sysdeps/i386/fpu/libm-test-ulps: Update.
17875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17877 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17879 * .gitignore: Delete /ports entry.
17881 2012-07-03 Andreas Jaeger <aj@suse.de>
17883 * po/bg.po: Update from translation team.
17884 * po/cs.po: Likewise.
17885 * po/de.po: Likewise.
17886 * po/hr.po: Likewise.
17887 * po/nl.pl: Likewise.
17888 * po/pl.po: Likewise.
17889 * po/vi.po: Likewise.
17891 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17893 * Makeconfig [!+link] (+link-before-libc): New variable.
17894 [!+link] (+link-after-libc): Likewise.
17895 [!+link] (+link-tests): Likewise.
17896 [!+link] (+link): Define in terms of $(+link-before-libc) and
17897 $(+link-after-libc).
17898 [!+link-static] (+link-static-before-libc): New variable.
17899 [!+link-static] (+link-static-after-libc): Likewise.
17900 [!+link-static] (+link-static-tests): Likewise.
17901 [!+link-static] (+link-static): Define in terms of
17902 $(+link-static-before-libc) and $(+link-static-after-libc).
17903 [build-shared] (link-libc-before-gnulib): New variable.
17904 [build-shared] (link-libc-tests): Likewise.
17905 [build-shared] (link-libc): Define in terms of
17906 $(link-libc-before-gnulib).
17907 [!build-shared] (link-libc-tests): New variable.
17908 (link-libc-static-tests): New variable.
17909 [!gnulib] (gnulib-arch): New variable.
17910 [!gnulib] (gnulib-tests): Likewise.
17911 [!gnulib] (static-gnulib-arch): Likewise.
17912 [!gnulib] (static-gnulib-tests): Likewise.
17913 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17914 Define with "=" instead of ":=".
17915 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17916 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17917 * Rules (binaries-all-notests): New variable.
17918 (binaries-all-tests): Likewise.
17919 (binaries-static-notests): Likewise.
17920 (binaries-static-tests): Likewise.
17921 (binaries-all): Define using $(binaries-all-notests) and
17922 $(binaries-all-tests).
17923 (binaries-static): Define using $(binaries-static-notests) and
17924 $(binaries-static-tests).
17925 (binaries-shared-tests): New variable.
17926 (binaries-shared-notests): Likewise.
17927 (binaries-shared): Remove variable.
17928 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17929 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17930 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17931 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17932 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17933 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17934 * elf/Makefile (sln-modules): New variable.
17935 (extra-objs): Add $(sln-modules:=.o).
17936 (ldconfig-modules): Add static-stubs.
17937 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17938 * elf/static-stubs.c: New file.
17941 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17942 by 7 not 8 to examine high bit of fractional part. Use volatile
17943 variables when splitting into final array of floats if
17944 __FLT_EVAL_METHOD__ != 0.
17945 * math/libm-test.inc (cos_test): Add another test.
17946 (sin_test): Likewise.
17947 * sysdeps/i386/fpu/libm-test-ulps: Update.
17950 * math/libm-test.inc (cosh_test): Add more tests.
17952 * version.h (RELEASE): Set to "development".
17953 (VERSION): Set to "2.16.90".
17955 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17957 * NEWS: Update copyright. Remove last-updated date.
17958 Mention math library bug fixes and timezone data changes.
17959 * README: Mention GNU/Hurd, x32, and HPPA support status.
17961 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17963 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17965 2012-06-27 Andreas Jaeger <aj@suse.de>
17967 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17969 2012-06-25 Andreas Jaeger <aj@suse.de>
17971 * sysdeps/s390/fpu/libm-test-ulps: Update.
17973 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17974 Thomas Schwinge <thomas@codesourcery.com>
17976 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17977 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17981 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17983 * sysdeps/mach/start.c: Remove file.
17984 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17985 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17986 * sysdeps/sh/init-first.c: Likewise.
17988 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17989 registers for frame unwinding purposes, add CFI directives.
17990 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17991 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17992 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17995 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17996 __fortify_fail returning.
17997 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17999 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18000 sysdeps/sh/____longjmp_chk.S.
18001 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18002 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18003 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18004 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18006 * sysdeps/sh/abort-instr.h: New file.
18007 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18008 process in case exit returns.
18010 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18011 initialize the GOT register before use.
18013 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18014 calculation of ARGC > 4.
18016 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18017 meaningful names to some local labels.
18019 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18020 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18022 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18023 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18024 (__arch_compare_and_exchange_val_16_acq): Likewise.
18025 (__arch_compare_and_exchange_val_32_acq): Likewise.
18026 (atomic_exchange_and_add): Fix gUSA sequence.
18027 (atomic_add): Likewise.
18028 (atomic_add_negative): Likewise.
18029 (atomic_add_zero): Likewise.
18030 (atomic_bit_test_set): Likewise.
18032 2012-06-22 Andreas Schwab <schwab@redhat.com>
18035 * include/link.h (struct link_map): Add l_free_initfini.
18036 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18038 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18039 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18040 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18043 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18045 * configure.in: Use AC_LANG_SOURCE.
18046 * configure: Regenerate.
18048 2012-06-22 Roland McGrath <roland@hack.frob.com>
18050 * configure.in (libc_cv_localstatedir): New substituted variable.
18051 * configure: Regenerated.
18052 * config.make.in (localstatedir): New variable, substituted from
18053 libc_cv_localstatedir.
18054 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18055 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18056 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18057 * sysdeps/gnu/configure: Regenerated.
18059 2012-06-21 Jeff Law <law@redhat.com>
18062 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18063 free. Simplify list management for _LIBC case.
18065 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18069 Clear sign bit of 64-bit integer value before comparing against
18072 * sysdeps/mach/configure: Regenerated.
18074 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18077 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18079 2012-06-21 Jeff Law <law@redhat.com>
18082 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18083 uint16_t for elements in the "seen" array to avoid char overflows.
18084 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18085 * elf/dl-open.c (dl_open_worker): Likewise.
18087 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18089 * scripts/list-sources.sh: Scan PORTS for translations.
18090 * po/libc.pot: Regenerated.
18092 2012-06-21 Andreas Jaeger <aj@suse.de>
18095 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18097 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18098 * bits/byteswap-16.h (__bswap_16): Likewise.
18099 * bits/byteswap.h (__bswap_constant_16): Likewise.
18101 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18104 * sysdeps/i386/fpu_control.h: Removed.
18105 * sysdeps/x86_64/fpu_control.h: Moved to ...
18106 * sysdeps/x86/fpu_control.h: Here.
18108 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18109 (_FPU_SETCW): Likewise.
18111 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18114 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18115 * sysdeps/x86/fpu/bits/mathinline.h: This.
18116 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18120 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18121 functions if __x86_64__ is defined.
18123 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18125 * string/endian.h: Add !__ASSEMBLER__ condition for including
18126 conversion interfaces.
18128 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18132 of ABS(x) in calculating zero to negative powers other than odd
18134 * math/libm-test.inc (pow_test): Add more tests.
18136 2012-06-15 Andreas Jaeger <aj@suse.de>
18138 * manual/contrib.texi (Contributors): Update entry of Liubov
18139 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18142 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18144 * string/string.h: Add __wur to GNU version of strerror_r.
18146 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18149 * string/Makefile (tests): Add tst-strtok_r.
18150 * string/tst-strtok_r.c: New file.
18151 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18152 RAX_LP/RDX_LP on SAVE_PTR.
18154 2012-06-14 Roland McGrath <roland@hack.frob.com>
18156 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18158 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18160 * libm_test.inc (csqrt_test): Allow more spurious underflow
18162 (j0_test): Likewise.
18163 (j1_test): Likewise.
18164 (y0_test): Likewise.
18165 (y1_test): Likewise.
18167 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18169 * po/Makefile (libc.pot): Use UTF-8 charset.
18171 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18174 Suppress sign-conversion warning from FD_SET.
18175 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18176 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18177 not unsigned long int.
18178 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18180 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18184 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18185 __extern_always_inline instead of __extern_inline.
18186 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18187 (__signbit): Likewise.
18188 (__signbitl): Support C++ namespace.
18189 (lrintf): New inline function.
18191 (llrintf): Likewise.
18192 (llrint): Likewise.
18202 (floorf): Likewise.
18203 (nearbyint): Likewise.
18204 (nearbyintf): Likewise.
18206 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18208 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18209 non-default versions.
18211 2012-06-11 Roland McGrath <roland@hack.frob.com>
18214 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18216 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18218 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18219 (FE_UPWARD, FE_DOWNWARD): Don't define.
18220 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18221 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18223 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18225 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18226 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18228 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18230 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18231 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18232 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18233 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18235 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18238 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18239 * sysdeps/i386/fpu/Implies: New file.
18240 * sysdeps/x86_64/fpu/Implies: Likewise.
18241 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18242 * sysdeps/x86/fpu/bits/fenv.h: This.
18244 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18247 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18250 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18251 character 0xffff that matches the last element of the
18254 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18259 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18261 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18262 values higher than 25.6283.
18264 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18266 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18267 subnormal exponent extraction and add some __builtin_expect.
18268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18269 Fix for subnormal mantissa calculation.
18271 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18273 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18274 cpu2 is -1 and errno is not ENOSYS.
18276 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18279 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18280 * sysdeps/x86/bits/string.h: This.
18281 * sysdeps/x86_64/bits/string.h: Removed.
18283 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18284 if not compiling for x86-64, but compiling for >= i486.
18286 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18287 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18289 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18290 New macro from Linux kernel 3.4.0.
18291 (FP_XSTATE_MAGIC2): Likewise.
18292 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18293 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18294 (struct _fpx_sw_bytes): New struct.
18295 (struct _xsave_hdr): Likewise.
18296 (struct _ymmh_state): Likewise.
18297 (struct _xstate): Likewise.
18299 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18300 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18301 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18302 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18303 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18304 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18306 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18307 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18308 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18309 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18310 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18311 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18313 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18316 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18317 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18318 (sysdep_headers): Include sys/platform/ppc.h.
18319 * sysdeps/powerpc/test-gettimebase.c: Test for
18320 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18321 * manual/Makefile (appendices): Include platform.texi.
18322 * manual/contrib.texi (Contributors): Update @node pointers.
18323 * manual/maint.texi (Maintenance): Likewise.
18324 (Platform): New node.
18325 * manual/platform.texi: New file. Document the new features.
18327 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18328 Jakub Jelinek <jakub@redhat.com>
18331 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18332 where __builtin_expect is unavailable.
18334 2012-06-03 David S. Miller <davem@davemloft.net>
18336 * stdlib/longlong.h: Updated from GCC.
18338 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18341 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18342 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18345 (GLIBC_2.16): Likewise.
18347 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18349 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18351 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18354 (default-abi): New variable.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18356 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18358 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18360 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18362 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18365 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18366 definition. Document in comment.
18368 2012-06-01 David S. Miller <davem@davemloft.net>
18370 * stdlib/longlong.h: Updated from GCC.
18372 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18375 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18376 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18377 sys/debugreg.h sys/io.h here.
18378 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18379 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18381 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18382 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18383 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18384 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18385 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18386 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18388 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18389 Define only if __x86_64__ is defined.
18391 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18394 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18395 Use int64_t for variable i.
18396 * math/libm-test.inc (fmod_test): Add more tests.
18398 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18399 z computation is not scheduled after fetestexcept.
18400 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18401 Use math_force_eval instead of asm to ensure calculation scheduled
18402 before exception test.
18403 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18404 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18406 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18409 computation is not scheduled after fetestexcept.
18411 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18414 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18415 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18417 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18419 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18420 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18422 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18425 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18427 (__WCHAR_MIN): Support __WORDSIZE == 64.
18428 (__WCHAR_MAX): Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18434 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18435 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18438 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18439 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18441 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18442 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18444 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18445 Defined to 1 if __x86_64__ isn't defined.
18446 (_STAT_VER_LINUX_OLD): New.
18447 (st_atime): Remove duplicate.
18448 (st_mtime): Likewise.
18449 (st_ctime): Likewise.
18451 2012-05-31 David S. Miller <davem@davemloft.net>
18453 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18456 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18458 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18462 * elf/dl-reloc.c: Include <_itoa.h>.
18463 (_dl_reloc_bad_type): Remove use of INTUSE.
18464 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18465 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18466 * stdio-common/psiginfo.c (psiginfo): Likewise.
18467 * stdio-common/psignal.c (psignal): Likewise.
18468 * string/strsignal.c (strsignal): Likewise.
18469 * include/signal.h (_sys_siglist): Declare hidden proto.
18470 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18471 INTVARDEF with libc_hidden_data_def.
18472 * stdio-common/itoa-udigits.c: Likewise.
18473 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18474 (_itoa_lower_digits_internal): Remove declaration.
18475 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18476 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18477 (_sys_sigabbrev_internal): Remove aliases.
18478 (_sys_siglist): Define hidden alias.
18480 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18485 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18488 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18489 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18491 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18492 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18493 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18494 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18495 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18496 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18498 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18499 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18500 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18502 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18510 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18511 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18512 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18514 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18515 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18517 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18518 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18519 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18521 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18522 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18524 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18525 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18528 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18529 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18531 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18532 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18534 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18536 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18537 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18538 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18540 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18542 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18544 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18546 * math/math.h (M_El): Use two more decimal places.
18547 (M_LOG2El): Likewise.
18548 (M_LOG10El): Likewise.
18549 (M_LN2l): Likewise.
18550 (M_LN10l): Likewise.
18552 (M_PI_2l): Likewise.
18553 (M_PI_4l): Likewise.
18554 (M_1_PIl): Likewise.
18555 (M_2_PIl): Likewise.
18556 (M_2_SQRTPIl): Likewise.
18557 (M_SQRT2l): Likewise.
18558 (M_SQRT1_2l): Likewise.
18560 2012-05-31 David S. Miller <davem@davemloft.net>
18562 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18563 values between float registers.
18564 * sysdeps/sparc/sparc64/memset.S: Likewise.
18565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18567 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18569 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18570 -D_FORTIFY_SOURCE=1.
18571 (CPPFLAGS-tst-longjmp_chk.c): Define.
18572 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18573 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18574 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18575 CFLAGS-tst-wchar-h.c.
18577 2012-05-31 Marek Polacek <polacek@redhat.com>
18580 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18581 __endmntent_internal): Remove declaration.
18582 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18583 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18584 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18586 2012-05-30 David S. Miller <davem@davemloft.net>
18588 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18589 (___Q_simulate_exceptions): Use real FP ops rather than writing
18591 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18594 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18597 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18598 * sysdeps/x86/bits/xtitypes.h: This.
18600 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18601 * sysdeps/x86/bits/wordsize.h: This.
18603 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18604 * sysdeps/x86/bits/huge_vall.h: This.
18606 * sysdeps/i386/bits/select.h: Removed.
18607 * sysdeps/x86_64/bits/select.h: Renamed to ...
18608 * sysdeps/x86/bits/select.h: This.
18610 * sysdeps/i386/bits/setjmp.h: Removed.
18611 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18612 * sysdeps/x86/bits/setjmp.h: This.
18614 * sysdeps/i386/bits/mathdef.h: Removed.
18615 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18616 * sysdeps/x86/bits/mathdef.h: This.
18618 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18621 * include/sys/socket.h (__connect_internal)
18622 (__libc_sa_len_internal): Remove declaration.
18623 (__connect, __libc_sa_len): Declare hidden_proto.
18624 (SA_LEN): Remove use of INTUSE.
18625 * socket/connect.c: Add libc_hidden_def.
18626 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18627 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18628 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18630 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18631 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18632 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18633 of adding _internal alias.
18635 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18638 * sysdeps/i386/bits/link.h: Removed.
18639 * sysdeps/i386/bits/linkmap.h: Likewise.
18640 * sysdeps/x86_64/bits/link.h: Renamed to ...
18641 * sysdeps/x86/bits/link.h: This.
18642 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18643 * sysdeps/x86/bits/linkmap.h: This.
18645 * sysdeps/i386/bits/endian.h: Removed.
18646 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18647 * sysdeps/x86/bits/endian.h: This.
18649 * sysdeps/i386/bits/byteswap.h: Removed.
18650 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18651 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18652 * sysdeps/x86/bits/byteswap.h: This.
18653 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18654 * sysdeps/x86/bits/byteswap-16.h: This.
18655 * sysdeps/i386/Implies: Add x86.
18656 * sysdeps/x86_64/Implies: Likewise.
18658 2012-05-30 David S. Miller <davem@davemloft.net>
18660 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18661 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18662 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18663 (FP_TRAPPING_EXCEPTIONS): Define.
18664 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18665 (FP_TRAPPING_EXCEPTIONS): Define.
18666 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18667 subnormals only when inexact has been signalled or underflow
18668 exceptions are enabled.
18669 (_FP_PACK_CANONICAL): Likewise.
18671 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18674 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18675 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18677 2012-05-30 Richard Henderson <rth@twiddle.net>
18679 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18680 with #ifndef NOT_IN_libc.
18682 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18683 marked to avoid plt entry.
18685 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18688 * Makeconfig (default-abi): New macro.
18689 (abi-includes): Likewise.
18690 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18691 $(abi-$(default-abi)-lib-soname) for soname if defined.
18692 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18694 * Makefile (installed-stubs): Likewise.
18695 * include/stubs-biarch.h: Removed.
18696 * scripts/lib-names.awk: Only handle one library at a time.
18697 * scripts/soversions.awk: Remove WORDSIZE support.
18698 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18700 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18702 (syscall-list-default-condition): Likewise.
18703 (syscall-list-default-condition): Likewise.
18704 (syscall-list-includes): Likewise.
18705 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18706 syscall-list-* with abi-*. Handle undefined abi-variants.
18707 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18708 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18709 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18710 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18711 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18712 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18714 (syscall-list-32-options): Likewise.
18715 (syscall-list-32-condition): Likewise.
18716 (syscall-list-64-options): Likewise.
18717 (syscall-list-64-condition): Likewise.
18718 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18720 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18723 (abi-64-ld-soname): New macro.
18724 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18725 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18728 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18729 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18731 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18733 * sysdeps/unix/sysv/linux/kernel-features.h
18734 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18735 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18736 include <kernel-features.h>.
18737 [!__NR_ftruncate64]: Remove conditional code.
18738 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18739 [__NR_ftruncate64]: Make code unconditional.
18740 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18741 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18742 include <kernel-features.h>.
18743 [!__NR_ftruncate64]: Remove conditional code.
18744 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18745 [__NR_ftruncate64]: Make code unconditional.
18746 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18748 include <kernel-features.h>.
18749 [!__NR_ftruncate64]: Remove conditional code.
18750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18751 [__NR_ftruncate64]: Make code unconditional.
18752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18754 include <kernel-features.h>.
18755 [!__NR_ftruncate64]: Remove conditional code.
18756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18757 [__NR_ftruncate64]: Make code unconditional.
18758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18760 * configure.in (libc_cv_fpie): Weaken to a compile test using
18761 LIBC_TRY_CC_OPTION.
18762 * configure: Regenerated.
18764 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18779 2012-05-27 David S. Miller <davem@davemloft.net>
18781 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18783 (__Q_simulate_exceptions): Return void. Change to simulate
18784 exceptions by writing into the %fsr.
18785 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18786 (__Qp_handle_exceptions): Likewise.
18788 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18789 __Qp_handle_exceptions.
18790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18791 __Qp_handle_exceptions.
18792 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18793 as unused and give dummy FP_RND_NEAREST initializer.
18794 (FP_INHIBIT_RESULTS): Define.
18795 (___Q_simulate_exceptions): Update declaration.
18796 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18798 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18799 as unused and give dummy FP_RND_NEAREST initializer.
18800 (__Qp_handle_exceptions): Update declaration.
18801 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18804 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18806 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18807 the temporary FPU control word.
18808 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18809 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18811 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18812 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18813 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18814 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18816 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18817 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18818 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18820 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18822 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18825 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18827 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18828 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18829 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18830 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18832 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18833 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18836 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18838 * po/h.po: Update from translation team.
18840 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18842 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18844 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18845 handling of denormals.
18846 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18847 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18848 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18849 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18850 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18855 2012-05-26 Marek Polacek <polacek@redhat.com>
18858 * math/libm-test.inc (fma_test): Don't always expect underflow
18861 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18864 * elf/tst-execstack.c: Include stackinfo.h.
18865 (do_test): Adjust test case to ensure that pthread_getattr_np
18866 behaviour remains the same after marking stack executable.
18868 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18870 * sysdeps/unix/sysv/linux/kernel-features.h
18871 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18872 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18874 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18875 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18876 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18878 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18879 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18881 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18883 * configure.in: Define the default includes to being none.
18884 * configure: Regenerated.
18886 2012-05-25 Roland McGrath <roland@hack.frob.com>
18888 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18889 * sysdeps/x86_64/setjmp.S: Likewise.
18890 * sysdeps/i386/bsd-setjmp.S: Likewise.
18891 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18892 * sysdeps/i386/setjmp.S: Likewise.
18893 * sysdeps/i386/__longjmp.S: Likewise.
18894 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18895 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18897 * include/stap-probe.h: New file.
18898 * configure.in: Handle --enable-systemtap.
18899 * configure: Regenerated.
18900 * config.h.in (USE_STAP_PROBE): New #undef.
18901 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18902 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18903 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18905 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18908 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18909 to 2.4.0 where earlier.
18910 * sysdeps/unix/sysv/linux/configure: Regenerated.
18911 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18912 <kernel-features.h>.
18913 [__ASSUME_32BITUIDS]: Make code unconditional.
18914 [!__ASSUME_32BITUIDS]: Remove conditional code.
18915 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18916 <kernel-features.h>.
18917 [__ASSUME_32BITUIDS]: Make code unconditional.
18918 [!__ASSUME_32BITUIDS]: Remove conditional code.
18919 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18920 [__ASSUME_32BITUIDS]: Make code unconditional.
18921 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18922 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18923 <kernel-features.h>.
18924 [__ASSUME_32BITUIDS]: Make code unconditional.
18925 [!__ASSUME_32BITUIDS]: Remove conditional code.
18926 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18927 <kernel-features.h>.
18928 [__ASSUME_32BITUIDS]: Make code unconditional.
18929 [!__ASSUME_32BITUIDS]: Remove conditional code.
18930 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18931 <kernel-features.h>.
18932 [__ASSUME_32BITUIDS]: Make code unconditional.
18933 [!__ASSUME_32BITUIDS]: Remove conditional code.
18934 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18935 <kernel-features.h>.
18936 [__ASSUME_32BITUIDS]: Make code unconditional.
18937 [!__ASSUME_32BITUIDS]: Remove conditional code.
18938 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18939 <kernel-features.h>.
18940 [__ASSUME_32BITUIDS]: Make code unconditional.
18941 [!__ASSUME_32BITUIDS]: Remove conditional code.
18942 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18943 <kernel-features.h>.
18944 [__ASSUME_32BITUIDS]: Make code unconditional.
18945 [!__ASSUME_32BITUIDS]: Remove conditional code.
18946 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18947 <kernel-features.h>.
18948 [__ASSUME_32BITUIDS]: Make code unconditional.
18949 [!__ASSUME_32BITUIDS]: Remove conditional code.
18950 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18951 <kernel-features.h>.
18952 [__ASSUME_32BITUIDS]: Make code unconditional.
18953 [!__ASSUME_32BITUIDS]: Remove conditional code.
18954 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18955 <kernel-features.h>.
18956 [__ASSUME_32BITUIDS]: Make code unconditional.
18957 [!__ASSUME_32BITUIDS]: Remove conditional code.
18958 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18959 <kernel-features.h>.
18960 [__ASSUME_32BITUIDS]: Make code unconditional.
18961 [!__ASSUME_32BITUIDS]: Remove conditional code.
18962 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18963 <kernel-features.h>.
18964 [__NR_setresgid] (__setresgid): Do not declare.
18965 [__ASSUME_32BITUIDS]: Make code unconditional.
18966 [!__ASSUME_32BITUIDS]: Remove conditional code.
18967 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18968 <kernel-features.h>.
18969 [__NR_setresuid] (__setresuid): Do not declare.
18970 [__ASSUME_32BITUIDS]: Make code unconditional.
18971 [!__ASSUME_32BITUIDS]: Remove conditional code.
18972 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18973 <kernel-features.h>.
18974 [__ASSUME_32BITUIDS]: Make code unconditional.
18975 [!__ASSUME_32BITUIDS]: Remove conditional code.
18976 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18977 <kernel-features.h>.
18978 [__ASSUME_32BITUIDS]: Make code unconditional.
18979 [!__ASSUME_32BITUIDS]: Remove conditional code.
18980 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18981 <kernel-features.h>.
18982 [__ASSUME_32BITUIDS]: Make code unconditional.
18983 [!__ASSUME_32BITUIDS]: Remove conditional code.
18984 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18985 <kernel-features.h>.
18986 [__ASSUME_32BITUIDS]: Make code unconditional.
18987 [!__ASSUME_32BITUIDS]: Remove conditional code.
18988 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18989 <kernel-features.h>.
18990 [__ASSUME_32BITUIDS]: Make code unconditional.
18991 [!__ASSUME_32BITUIDS]: Remove conditional code.
18992 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18993 <kernel-features.h>.
18994 [__ASSUME_32BITUIDS]: Make code unconditional.
18995 [!__ASSUME_32BITUIDS]: Remove conditional code.
18996 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18997 <kernel-features.h>.
18998 [__ASSUME_32BITUIDS]: Make code unconditional.
18999 [!__ASSUME_32BITUIDS]: Remove conditional code.
19000 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19001 <kernel-features.h>.
19002 [__ASSUME_32BITUIDS]: Make code unconditional.
19003 [!__ASSUME_32BITUIDS]: Remove conditional code.
19004 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19005 <kernel-features.h>.
19006 [__ASSUME_32BITUIDS]: Make code unconditional.
19007 [!__ASSUME_32BITUIDS]: Remove conditional code.
19008 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19009 <kernel-features.h>.
19010 [__ASSUME_32BITUIDS]: Make code unconditional.
19011 [!__ASSUME_32BITUIDS]: Remove conditional code.
19012 * sysdeps/unix/sysv/linux/kernel-features.h
19013 (__ASSUME_SETRESUID_SYSCALL): Remove.
19014 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19015 (__ASSUME_32BITUIDS): Likewise.
19016 (__ASSUME_LDT_WORKS): Likewise.
19017 (__ASSUME_O_DIRECTORY): Likewise.
19018 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19019 architecture but not kernel version.
19020 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19021 (__ASSUME_MMAP2_SYSCALL): Likewise.
19022 (__ASSUME_STAT64_SYSCALL): Likewise.
19023 (__ASSUME_IPC64): Likewise.
19024 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19025 <kernel-features.h>.
19026 [__ASSUME_32BITUIDS]: Make code unconditional.
19027 [!__ASSUME_32BITUIDS]: Remove conditional code.
19028 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19029 <kernel-features.h>.
19030 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19031 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19032 132096]: Remove conditional code.
19033 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19034 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19035 <kernel-features.h>.
19036 [__ASSUME_32BITUIDS]: Make code unconditional.
19037 [!__ASSUME_32BITUIDS]: Remove conditional code.
19038 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19039 <kernel-features.h>.
19040 [__ASSUME_32BITUIDS]: Make code unconditional.
19041 [!__ASSUME_32BITUIDS]: Remove conditional code.
19042 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19043 <kernel-features.h>.
19044 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19046 (__setresgid): Do not declare.
19047 [__ASSUME_32BITUIDS]: Make code unconditional.
19048 [!__ASSUME_32BITUIDS]: Remove conditional code.
19049 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19050 <kernel-features.h>.
19051 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19053 (__setresuid): Do not declare.
19054 [__ASSUME_32BITUIDS]: Make code unconditional.
19055 [!__ASSUME_32BITUIDS]: Remove conditional code.
19056 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19057 <kernel-features.h>.
19058 [__ASSUME_32BITUIDS]: Make code unconditional.
19059 [!__ASSUME_32BITUIDS]: Remove conditional code.
19060 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19061 <kernel-features.h>.
19062 [__ASSUME_32BITUIDS]: Make code unconditional.
19063 [!__ASSUME_32BITUIDS]: Remove conditional code.
19065 2012-05-25 Richard Henderson <rth@twiddle.net>
19067 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19068 dl_hwcap to ifunc resolver.
19069 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19071 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19072 dl_hwcap to ifunc resolver.
19073 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19075 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19078 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19079 for |x| <= 2**-26, not 2**-57.
19080 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19083 2012-05-24 Jeff Law <law@redhat.com>
19085 * stdio-common/Makefile (tests): Add bug25.
19086 * stdio-common/bug25.c: New test.
19088 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19091 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19092 multiple of MALLOC_ALIGNMENT in size.
19093 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19095 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19097 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19099 (FILENAME_MAX): Use macro-int-constant.
19100 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19101 (_IOFBF): Use macro-int-constant.
19102 (_IOLBF): Likewise.
19103 (_IONBF): Likewise.
19104 (SEEK_CUR): Likewise.
19105 (SEEK_END): Likewise.
19106 (SEEK_SET): Likewise.
19107 (TMP_MAX): Likewise.
19108 (EOF): Use macro-int-constant. Require < 0.
19109 (NULL): Use macro-constant. Require == 0.
19110 (stdin): Require type to be FILE *.
19111 (stdout): Likewise.
19112 (stderr): Likewise.
19113 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19114 macro-int-constant.
19115 (EXIT_SUCCESS): Likewise.
19116 (NULL): Use macro-constant. Require == 0.
19117 (RAND_MAX): Use macro-int-constant.
19118 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19119 [C99-based standards] (strtof): Require function.
19120 [C99-based standards] (strtold): Likewise.
19121 [C99-based standards] (strtoll): Likewise.
19122 [C99-based standards] (strtoull): Likewise.
19123 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19124 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19125 [ISO || ISO99 || ISO11] (math.h): Likewise.
19126 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19127 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19130 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19133 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19134 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19135 * intl/dgettext.c (DCGETTEXT): Likewise.
19136 * intl/gettext.c (DCGETTEXT): Likewise.
19137 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19138 * posix/regex_internal.h (gettext): Likewise.
19139 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19140 Remove declaration.
19141 * include/argz.h (__argz_count_internal)
19142 (__argz_stringify_internal): Remove declaration.
19143 (__argz_count, __argz_stringify): Declare hidden proto.
19144 * intl/dcgettext.c: Remove use of INTDEF.
19145 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19146 * string/argz-stringify.c: Likewise.
19147 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19148 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19149 Declare hidden proto.
19150 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19151 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19152 Declare hidden proto.
19153 * include/stdio.h (__asprintf_internal): Don't declare.
19154 (__asprintf): Don't define as macro. Declare hidden proto.
19155 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19156 (__fsetlocking): Declare hidden proto.
19157 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19158 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19160 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19161 (_IO_setlinebuf): Remove use of INTUSE.
19162 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19163 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19164 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19165 Remove declaration.
19166 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19167 (_IO_do_flush): Remove use of INTUSE.
19168 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19169 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19170 (_IO_adjust_column, _IO_least_wmarker)
19171 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19172 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19173 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19174 (_IO_default_doallocate, _IO_wdefault_doallocate)
19175 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19176 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19177 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19178 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19179 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19180 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19181 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19182 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19183 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19184 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19185 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19186 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19187 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19189 (_IO_flush_all_internal, _IO_adjust_column_internal)
19190 (_IO_default_uflow_internal, _IO_default_finish_internal)
19191 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19192 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19193 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19194 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19195 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19196 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19197 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19198 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19199 (_IO_file_close_internal, _IO_file_close_it_internal)
19200 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19201 (_IO_file_init_internal, _IO_file_attach_internal)
19202 (_IO_file_fopen_internal, _IO_file_read_internal)
19203 (_IO_file_sync_internal, _IO_file_seek_internal)
19204 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19205 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19206 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19207 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19208 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19209 (_IO_list_all_internal, _IO_link_in_internal)
19210 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19211 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19212 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19213 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19214 (_IO_do_write_internal, _IO_padn_internal)
19215 (_IO_getline_info_internal, _IO_getline_internal)
19216 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19217 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19218 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19219 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19220 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19221 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19222 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19223 with libc_hidden_ver, remove use of INTUSE.
19224 * libio/genops.c: Likewise.
19225 * libio/freopen.c: Likewise.
19226 * libio/freopen64.c: Likewise.
19227 * libio/iofclose.c: Likewise.
19228 * libio/iofdopen.c: Likewise.
19229 * libio/iofflush.c: Likewise.
19230 * libio/iofflush_u.c: Likewise.
19231 * libio/iofgets.c: Likewise.
19232 * libio/iofgets_u.c: Likewise.
19233 * libio/iofopen.c: Likewise.
19234 * libio/iofopncook.c: Likewise.
19235 * libio/iofread.c: Likewise.
19236 * libio/iofread_u.c: Likewise.
19237 * libio/ioftell.c: Likewise.
19238 * libio/iofwrite.c: Likewise.
19239 * libio/iogetline.c: Likewise.
19240 * libio/iogets.c: Likewise.
19241 * libio/iogetwline.c: Likewise.
19242 * libio/iopadn.c: Likewise.
19243 * libio/iopopen.c: Likewise.
19244 * libio/ioseekoff.c: Likewise.
19245 * libio/ioseekpos.c: Likewise.
19246 * libio/iosetbuffer.c: Likewise.
19247 * libio/iosetvbuf.c: Likewise.
19248 * libio/ioungetc.c: Likewise.
19249 * libio/ioungetwc.c: Likewise.
19250 * libio/iovdprintf.c: Likewise.
19251 * libio/iovsprintf.c: Likewise.
19252 * libio/iovsscanf.c: Likewise.
19253 * libio/memstream.c: Likewise.
19254 * libio/obprintf.c: Likewise.
19255 * libio/oldfileops.c: Likewise.
19256 * libio/oldiofclose.c: Likewise.
19257 * libio/oldiofdopen.c: Likewise.
19258 * libio/oldiofopen.c: Likewise.
19259 * libio/oldiopopen.c: Likewise.
19260 * libio/oldstdfiles.c: Likewise.
19261 * libio/putc.c: Likewise.
19262 * libio/setbuf.c: Likewise.
19263 * libio/setlinebuf.c: Likewise.
19264 * libio/stdfiles.c: Likewise.
19265 * libio/strops.c: Likewise.
19266 * libio/vasprintf.c: Likewise.
19267 * libio/vscanf.c: Likewise.
19268 * libio/vsnprintf.c: Likewise.
19269 * libio/vswprintf.c: Likewise.
19270 * libio/wfiledoalloc.c: Likewise.
19271 * libio/wfileops.c: Likewise.
19272 * libio/wgenops.c: Likewise.
19273 * libio/wmemstream.c: Likewise.
19274 * libio/wstrops.c: Likewise.
19275 * libio/__fpurge.c: Likewise.
19276 * libio/__fsetlocking.c: Likewise.
19277 * assert/assert.c: Likewise.
19278 * debug/fgets_chk.c: Likewise.
19279 * debug/fgets_u_chk.c: Likewise.
19280 * debug/fread_chk.c: Likewise.
19281 * debug/fread_u_chk.c: Likewise.
19282 * debug/gets_chk.c: Likewise.
19283 * debug/obprintf_chk.c: Likewise.
19284 * debug/vasprintf_chk.c: Likewise.
19285 * debug/vdprintf_chk.c: Likewise.
19286 * debug/vsnprintf_chk.c: Likewise.
19287 * debug/vsprintf_chk.c: Likewise.
19288 * malloc/mtrace.c: Likewise.
19289 * misc/error.c: Likewise.
19290 * misc/syslog.c: Likewise.
19291 * stdio-common/asprintf.c: Likewise.
19292 * stdio-common/fxprintf.c: Likewise.
19293 * stdio-common/getw.c: Likewise.
19294 * stdio-common/isoc99_fscanf.c: Likewise.
19295 * stdio-common/isoc99_scanf.c: Likewise.
19296 * stdio-common/isoc99_vfscanf.c: Likewise.
19297 * stdio-common/isoc99_vscanf.c: Likewise.
19298 * stdio-common/isoc99_vsscanf.c: Likewise.
19299 * stdio-common/printf-prs.c: Likewise.
19300 * stdio-common/printf_fp.c: Likewise.
19301 * stdio-common/printf_fphex.c: Likewise.
19302 * stdio-common/printf_size.c: Likewise.
19303 * stdio-common/putw.c: Likewise.
19304 * stdio-common/scanf.c: Likewise.
19305 * stdio-common/sprintf.c: Likewise.
19306 * stdio-common/tmpfile.c: Likewise.
19307 * stdio-common/vfprintf.c: Likewise.
19308 * stdio-common/vfscanf.c: Likewise.
19309 * stdlib/strfmon_l.c: Likewise.
19310 * sunrpc/openchild.c: Likewise.
19311 * sunrpc/xdr_stdio.c: Likewise.
19312 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19313 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19315 2012-05-24 Roland McGrath <roland@hack.frob.com>
19317 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19319 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19320 in the third column, to generate for the shared library an IFUNC
19321 that uses _dl_vdso_vsym.
19322 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19323 * Makeconfig (object-suffixes-noshared): New variable.
19325 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19326 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19327 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19328 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19331 * include/sys/time.h (__gettimeofday): Remove macro.
19332 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19333 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19335 (__gettimeofday): Add libc_hidden_def.
19336 (gettimeofday): Add libc_hidden_weak.
19337 * sysdeps/mach/gettimeofday.c: Likewise.
19338 * sysdeps/posix/gettimeofday.c: Likewise.
19339 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19340 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19342 (__gettimeofday_internal): Remove strong_alias.
19343 (__gettimeofday): Add libc_hidden_def.
19344 (gettimeofday): Add libc_hidden_weak.
19345 * sysdeps/unix/syscalls.list (gettimeofday):
19346 Remove __gettimeofday_internal alias.
19348 2012-05-24 Daniel Jacobowitz <drow@false.org>
19349 H.J. Lu <hongjiu.lu@intel.com>
19352 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19353 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19354 (largebin_index_32_big): New.
19355 (largebin_index): Use it for 16-byte alignment.
19356 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19357 correction with front_misalign.
19359 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19387 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19388 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19390 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19394 * math/libm-test.inc (exp_test): Add test from bug 14036.
19395 (pow_test): Add test from bug 10846.
19397 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19399 (special_function): Do not include flags in test name.
19400 (parse_args): Likewise.
19401 * sysdeps/i386/fpu/libm-test-ulps: Update.
19402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19403 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19404 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19407 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19409 * math/libm-test.inc ("Philosophy"): Update comment about
19411 (UNDERFLOW_EXCEPTION): New macro.
19412 (UNDERFLOW_EXCEPTION_OK): Likewise.
19413 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19414 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19415 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19416 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19417 (INVALID_EXCEPTION_OK): Update value.
19418 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19419 (OVERFLOW_EXCEPTION_OK): Likewise.
19420 (IGNORE_ZERO_INF_SIGN): Likewise.
19421 (test_exceptions): Handle underflow exceptions.
19422 (acos_test): Update for underflow exception expectations.
19423 (cexp_test): Likewise.
19424 (clog_test): Likewise.
19425 (clog10_test): Likewise.
19426 (csqrt_test): Likewise.
19427 (ctan_test): Likewise.
19428 (ctanh_test): Likewise.
19429 (exp_test): Likewise.
19430 (exp10_test): Likewise.
19431 (exp2_test): Likewise.
19432 (expm1_test): Likewise.
19433 (fma_test): Likewise.
19434 (j0_test): Likewise.
19435 (jn_test): Likewise.
19436 (nexttoward_test): Likewise.
19437 (pow_test): Likewise.
19438 (scalbn_test): Likewise.
19439 (scalbln_test): Likewise.
19440 (tan_test): Likewise.
19441 (y1_test): Likewise.
19442 * sysdeps/i386/fpu/libm-test-ulps: Update.
19443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19445 2012-05-23 David S. Miller <davem@davemloft.net>
19447 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19448 (__libc_sigaction): Remove unused local variables.
19450 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19452 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19454 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19456 mktime: avoid signed integer overflow
19457 * time/mktime.c (__mktime_internal): Do not mishandle the case
19458 where diff == INT_MIN.
19460 mktime: simplify computation of average
19461 * time/mktime.c (ranged_convert): Use new time_t_avg function
19462 instead of rolling our own (probably-slower) code.
19464 mktime: do not assume signed right shift propagates sign bit
19465 * time/mktime.c (isdst_differ): New static function.
19466 (__mktime_internal): No need to normalize tm_isdst now.
19467 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19470 mktime: merge another wrapv change from gnulib
19471 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19472 from some compilers.
19474 mktime: remove incorrect attempt at unusual arithmetics
19475 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19476 The code didn't really work on such machines anyway.
19477 (TYPE_MINIMUM): Assume two's complement.
19478 (twos_complement_arithmetic): Verify that long_int and time_t
19479 are two's complement (or unsigned, in the latter case).
19481 mktime: check signed shifts on long_int and time_t, too
19482 * time/mktime.c (SHR): Check that shifts work as desired
19483 on the types long_int and time_t too, as SHR is used on
19486 mktime: do not assume 'long' is wide enough
19487 * time/mktime.c (verify): Move decl up.
19488 (long_int): New type.
19489 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19490 to remove assumption in the code that 'long' is wide enough to
19491 store year values. This assumption is not true on x32 and on
19492 some non-glibc platforms.
19494 mktime: merge wrapv change from gnulib
19495 * time/mktime.c (WRAPV): New macro.
19496 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19497 (guess_time_tm, __mktime_internal): Do not assume that signed
19498 integer overflow wraps around; modern compilers generate code
19499 where this assumption is no longer valid.
19501 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19503 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19504 Replace "jmp L(pseudo_end)" with "ret".
19505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19508 2012-05-23 Andreas Jaeger <aj@suse.de>
19510 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19511 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19513 2012-05-23 Andreas Jaeger <aj@suse.de>
19514 Maximilian Attems <max@stro.at>
19516 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19519 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19521 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19522 code so that pseudo_end is just ret and the stack pointer is
19523 correct also for static library in error case.
19525 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19527 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19528 move to syscalls.list.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19534 * manual/install.texi (Running make install): Do not mention Linux
19535 kernel version for which pt_chown is not needed.
19536 (Linux): Do not mention problems with nscd with 2.0 kernels.
19537 * INSTALL: Regenerated.
19539 2012-05-23 Andreas Jaeger <aj@suse.de>
19541 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19542 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19544 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19545 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19546 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19548 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19552 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19554 * sysdeps/unix/sysv/linux/bits/in.h
19555 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19557 2012-05-22 Roland McGrath <roland@hack.frob.com>
19559 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19560 (PREPARE_VERSION): Just use assert instead, it will be elided
19561 under [NDEBUG] anyway.
19563 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19565 * sysdeps/unix/sysv/linux/Makefile: Include
19566 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19567 (sysdep_routines): Remove sysctl.
19568 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19569 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19570 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19571 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19572 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19574 2012-05-22 Andreas Jaeger <aj@suse.de>
19576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19577 that pseudo_end is just ret and the stack pointer is correct also
19578 for static library in error case.
19580 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19583 * nss/nsswitch.c (defconfig_entries): New variable.
19584 (__nss_database_lookup): Don't leak defconfig entries.
19585 (nss_parse_service_list): Don't leak on error paths.
19586 (free_database_entries): New function.
19587 (free_defconfig): New function.
19588 (free_mem): Move common code to free_database_entries.
19590 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19592 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19594 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19596 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19597 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19600 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19601 (INTERNAL_SYSCALL_TYPES): Likewise.
19602 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19603 (LOAD_REGS_TYPES_[1-6]): Likewise.
19604 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19605 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19607 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19609 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19610 copysignl for GLIBC_2_0.
19611 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19612 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19614 logbl for GLIBC_2_0.
19615 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19616 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19618 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19621 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19623 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19626 * time/mktime.c: Update copyright years.
19628 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19630 mktime: merge comment-quoting-style change from gnulib
19631 * time/mktime.c: Quote 'like this' in comments.
19632 The GNU coding standards suggest that we no longer quote `like this',
19633 as "`" and "'" are typically rendered asymmetrically nowadays.
19634 The typical gnulib style is to quote 'like this' when quoting
19635 code, and "like this" when quoting English.
19637 * time/mktime.c (compile-command): Add "-I.".
19639 mktime: merge mktime-internal.h change from gnulib
19640 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19642 mktime: merge time_r change from gnulib
19643 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19645 mktime: merge DEBUG change from gnulib
19646 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19647 case system <time.h> has a #define.
19649 mktime: merge <sys/types.h> change from gnulib
19650 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19651 since <time.t> is now guaranteed to define time_t.
19653 mktime: merge HAVE_CONFIG_H change from gnulib
19654 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19656 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19661 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19663 (struct rusage): Use anonymous union to pad each field to
19666 2012-05-21 David S. Miller <davem@davemloft.net>
19668 * Makefules (o-iterator): Remove .s cases.
19669 (compile-command.s): Delete.
19670 (COMPILE.s): Delete.
19671 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19673 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19675 * configure.in (libc_cv_predef_stack_protector): Only consider
19676 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19677 * configure: Regenerated.
19679 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19682 New macro. Use R*LP on int and pointer.
19683 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19684 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19685 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19686 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19688 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19689 [__WORDSIZE_TIME64_COMPAT32] instead of
19690 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19691 (struct utmp): Likewise.
19692 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19693 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19695 (__WORDSIZE_TIME64_COMPAT32): This.
19696 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19697 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19698 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19699 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19700 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19701 (__WORDSIZE_TIME64_COMPAT32): New macro.
19703 2012-05-21 Andreas Jaeger <aj@suse.de>
19705 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19706 only if [SHARED]. Add prototype for __wcschr_ia32.
19708 2012-05-21 Roland McGrath <roland@hack.frob.com>
19710 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19711 of %rbp unmolested in the jmp_buf while mangling the low bits.
19712 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19713 unmolested high bits of %rbp while demangling the low bits.
19714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19716 2012-05-21 Andreas Jaeger <aj@suse.de>
19718 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19719 * sunrpc/svc_simple.c: Use it for registerrpc.
19720 * sunrpc/xcrypt.c: Use it for passwd2des.
19722 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19724 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19726 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19727 Don't define if [__SYSCALL_WORDSIZE != 32].
19728 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19731 2012-05-21 Bruno Haible <bruno@clisp.org>
19732 Andreas Jaeger <aj@suse.de>
19734 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19735 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19736 inptr and inend for must_buffer_ch.
19737 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19738 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19739 * stdio-common/Makefile (tests): Remove bug15.
19740 (bug15-ENV): Remove macro.
19741 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19744 2012-05-19 Andreas Jaeger <aj@suse.de>
19745 Roland McGrath <roland@hack.frob.com>
19747 * manual/contrib.texi: Completely rewritten. It contains now an
19748 alphabetical list of contributors and their contributions.
19750 2012-05-21 Richard Henderson <rth@twiddle.net>
19752 * misc/getauxval.c (__getauxval): Use unsigned long int.
19753 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19754 (getauxval): Use unsigned long int.
19756 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19758 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19760 2012-05-21 Roland McGrath <roland@hack.frob.com>
19762 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19763 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19764 __alignof__ (long double).
19766 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19770 2012-05-20 Richard Henderson <rth@twiddle.net>
19772 * misc/getauxval.c: New file.
19773 * misc/sys/auxv.h: New file.
19774 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19775 (routines): Add getauxval.
19776 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19777 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19778 * elf/dl-sysdep.c (_dl_auxv): Remove.
19779 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19780 * elf/dl-support.c (_dl_auxv): New variable.
19781 (_dl_aux_init): Initialize it.
19782 * manual/startup.texi (Auxiliary Vector): New node.
19783 * sysdeps/generic/bits/hwcap.h: New file.
19784 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19785 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19786 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19787 * sysdeps/sparc/sysdep.h: ... here. Include it.
19788 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19789 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19801 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19805 2012-05-19 David S. Miller <davem@davemloft.net>
19807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19809 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19812 * math/s_ccosh.c: Include <float.h>
19813 (__ccosh): Avoid internal overflow calculating sinh and cosh
19814 values before multiplying by sin and cos values.
19815 * math/s_ccoshf.c: Likewise.
19816 * math/s_ccoshl.c: Likewise.
19817 * math/s_csin.c: Likewise.
19818 * math/s_csinf.c: Likewise.
19819 * math/s_csinl.c: Likewise.
19820 * math/s_csinh.c: Likewise.
19821 * math/s_csinhf.c: Likewise.
19822 * math/s_csinhl.c: Likewise.
19823 * math/libm-test.inc (ccos_test): Add more tests.
19824 (ccosh_test): Likewise.
19825 (csin_test): Likewise.
19826 (csinh_test): Likewise.
19827 * sysdeps/i386/fpu/libm-test-ulps: Update.
19828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19830 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19832 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19833 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19835 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19837 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19839 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19840 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19841 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19842 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19843 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19844 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19845 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19846 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19847 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19848 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19849 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19850 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19851 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19852 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19853 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19854 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19855 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19856 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19857 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19858 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19859 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19860 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19861 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19862 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19863 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19864 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19865 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19866 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19867 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19868 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19869 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19871 2012-05-18 Andreas Jaeger <aj@suse.de>
19873 * csu/.gitignore: Delete.
19875 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19877 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19878 (timex): Use __syscall_slong_t.
19880 2012-05-18 Andreas Jaeger <aj@suse.de>
19881 Carlos O'Donell <carlos_odonell@mentor.com>
19883 * manual/install.texi (Configuring and compiling): Update
19884 description about files modified in the source directory.
19885 * INSTALL: Regenerated.
19887 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19889 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19890 value. Use "or" to set return value to -1.
19891 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19892 negate return value.
19894 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19896 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19897 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19898 failure if the compiler has Graphite support disabled.
19899 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19901 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19902 CFLAGS-memmove.c): Likewise.
19903 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19906 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19908 * sysdeps/x86_64/x32/_itoa.h: New file.
19910 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19911 getdents system call only if kernel and user dirents have the
19912 same d_ino and d_off.
19914 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19915 LLONG_MAX != LONG_MAX.
19916 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19917 (_fitoa_word): Likewise.
19919 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19921 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19922 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19923 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19925 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19926 include <bits/wordsize.h>. Check __x86_64__ instead of
19928 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19929 if __x86_64__ is defined. Use anonymous union on fpstate.
19931 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19934 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19936 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19937 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19938 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19939 Refer to _rtld_local_ro instead of _rtld_global_ro.
19940 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19942 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19944 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19946 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19947 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19948 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19950 * sysdeps/powerpc/powerpc32/dl-machine.c
19951 (__elf_machine_runtime_setup) [PROF]: Don't reference
19954 2012-05-18 Andreas Jaeger <aj@suse.de>
19956 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19957 function only available for GCCs before 3.4 since GCC 3.4
19958 introduced a builtin.
19960 (llrintf): Likewise.
19961 (llrint): Likewise.
19968 (nearbyint): Likewise.
19969 (nearbyintf): Likewise.
19973 (floorf): Likewise.
19975 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19977 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19978 on both fields and cast pointer to __syscall_ulong_t.
19980 * bits/types.h (__fsword_t): New type.
19981 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19982 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19983 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19984 (__FSWORD_T_TYPE): Likewise.
19985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19986 (__FSWORD_T_TYPE): Likewise.
19987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19988 (__FSWORD_T_TYPE): Likewise.
19989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19990 (__FSWORD_T_TYPE): Likewise.
19991 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19992 __SWORD_TYPE with __fsword_t.
19993 (statfs64): Likewise.
19995 2012-05-17 David S. Miller <davem@davemloft.net>
19997 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19999 2012-05-17 Andreas Jaeger <aj@suse.de>
20001 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20004 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20006 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20008 2012-05-17 Andreas Jaeger <aj@suse.de>
20010 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20013 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20015 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20017 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20019 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20020 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20022 2012-05-17 Andreas Jaeger <aj@suse.de>
20023 Carlos O'Donell <carlos_odonell@mentor.com>
20026 * sysdeps/x86_64/multiarch/init-arch.h
20027 (bit_YMM_Usable): Rename to...
20028 (bit_AVX_Usable): ... this.
20029 (bit_FMA4_Usable): New macro.
20030 (bit_XMM_state): New macro.
20031 (bit_YMM_state): New macro.
20032 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20033 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20034 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20035 (CPUID_OSXSAVE): New macro.
20036 (CPUID_AVX): New macro.
20037 (CPUID_FMA4): New macro.
20038 (index_YMM_Usable): Rename to...
20039 (index_AVX_Usable): ... this.
20040 (HAS_AVX): Use HAS_ARCH_FEATURE.
20041 (HAS_FMA4): Likewise.
20042 (HAS_YMM_USABLE): Remove.
20043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20044 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20046 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20047 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20048 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20049 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20050 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20052 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20054 * math/libm-test.c: Support platforms without multiple rounding modes.
20055 * math/bug-nextafter.c: Support platforms without FP exceptions.
20056 * math/bug-nexttoward.c: Likewise.
20057 * math/test-fenv.c: Likewise.
20058 * math/test-misc.c: Likewise.
20059 * stdlib/bug-getcontext.c: Likewise.
20061 2012-05-17 Andreas Jaeger <aj@suse.de>
20063 * manual/examples/search.c (critter_cmp): Change signature to
20065 * manual/string.texi (Collation Functions): Likewise.
20067 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20069 * bits/types.h: Fold copyright years.
20070 * bits/typesizes.h: Likewise.
20071 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20073 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20074 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20075 * time/time.h: Likewise.
20077 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20080 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20081 in instead of returning them. Return void.
20082 (__libc_mallinfo): Accumulate over all arenas.
20083 (__malloc_stats): Adjust for change in int_mallinfo interface.
20085 2012-05-16 Roland McGrath <roland@hack.frob.com>
20088 * configure.in (NM): Add AC_CHECK_TOOL for it.
20089 (libc_extra_cflags): New substituted variable.
20090 Check for -fstack-protector being used implicitly.
20091 * configure: Regenerated.
20092 * config.make.in (config-extra-cflags): New variable,
20093 gets @libc_extra_cflags@.
20094 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20097 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20098 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20099 * configure: Regenerated.
20100 * config.make.in (CPPUNDEFS): New substituted variable.
20101 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20102 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20103 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20105 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20107 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20108 (mq_attr): Use __syscall_slong_t.
20110 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20112 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20113 Check __x86_64__ instead of __WORDSIZE.
20114 (_STAT_VER_LINUX): Likewise.
20115 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20116 __syscall_ulong_t and __syscall_slong_t.
20117 (stat64): Likewise.
20119 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20121 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20123 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20125 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20127 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20129 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20132 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20133 include <bits/wordsize.h>. Check __x86_64__ instead of
20135 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20137 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20140 include <bits/wordsize.h>. Check __x86_64__ instead of
20142 (user_regs_struct): Use "__extension__ unsigned long long"
20143 instead of "unsigned long" if __x86_64__ is defined.
20144 (user): Likewise. Pad after pointer field if __ILP32__ is
20147 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20149 * configure.in (makeinfo): Require version 4.5 or later. Allow
20151 * configure: Regenerated.
20152 * manual/install.texi (texinfo): Increase version requirement to
20154 * INSTALL: Regenerated.
20156 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20158 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20160 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20162 * sysdeps/x86_64/x32/ffs.c: New file.
20164 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20166 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20167 defined. Use __syscall_ulong_t.
20168 (shminfo): Use __syscall_ulong_t.
20169 (shm_info): Likewise.
20171 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20174 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20176 (msgqnum_t): Use __syscall_ulong_t.
20177 (msglen_t): Likewise.
20178 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20181 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20182 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20184 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20186 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20187 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20189 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20192 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20193 include <bits/wordsize.h>. Check __x86_64__ instead of
20196 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20197 "unsigned long long int" if __x86_64__ is defined.
20198 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20200 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20201 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20202 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20204 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20206 (GET_PC): Cast to uintptr_t first.
20207 (GET_FRAME): Likewise.
20208 (GET_STACK): Likewise.
20210 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20211 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20212 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20213 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20214 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20215 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20216 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20217 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20218 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20219 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20220 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20221 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20222 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20223 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20224 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20225 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20226 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20227 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20228 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20229 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20230 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20231 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20233 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20235 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20236 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20237 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20240 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20242 * Makerules (+depfiles): Also collect depfiles from .oS in
20244 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20245 .oS, $(libnldbl-routines)).
20247 * Makerules (native-compile-mkdep-flags): Define.
20248 * sunrpc/Makefile (extra-objs): Add $(addprefix
20249 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20250 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20251 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20252 calling $(make-target-directory).
20254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20256 * bits/types.h (__snseconds_t): Removed.
20257 * time/time.h (struct timespec): Replace __snseconds_t with
20259 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20260 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20262 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20263 (__SNSECONDS_T_TYPE): Likewise.
20264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20265 (__SNSECONDS_T_TYPE): Likewise.
20266 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20267 (__SNSECONDS_T_TYPE): Likewise.
20269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20271 * sysdeps/mach/hurd/bits/typesizes.h
20272 (__SYSCALL_SLONG_TYPE): New macro.
20273 (__SYSCALL_ULONG_TYPE): Likewise.
20275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20277 * bits/types.h (__syscall_slong_t): New type.
20278 (__syscall_ulong_t): Likewise.
20280 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20281 (__SYSCALL_ULONG_TYPE): Likewise.
20282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20283 (__SYSCALL_SLONG_TYPE): Likewise.
20284 (__SYSCALL_ULONG_TYPE): Likewise.
20285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20286 (__SYSCALL_SLONG_TYPE): Likewise.
20287 (__SYSCALL_ULONG_TYPE): Likewise.
20288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20289 (__SYSCALL_SLONG_TYPE): Likewise.
20290 (__SYSCALL_ULONG_TYPE): Likewise.
20292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20294 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20295 Add sigaltstack-offsets.sym.
20296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20297 <sigaltstack-offsets.h>.
20298 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20299 longjmp_msg pointer.
20300 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20301 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20303 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20305 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20307 * elf/stackguard-macros.h: Remove file.
20308 * sysdeps/generic/stackguard-macros.h: New file.
20309 * sysdeps/i386/stackguard-macros.h: Likewise.
20310 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20311 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20312 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20313 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20314 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20315 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20316 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20317 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20318 <elf/stackguard-macros.h>.
20321 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20322 __aligned__ in attribute.
20323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20324 (gregset_t): Likewise.
20326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20328 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20329 * sysdeps/x86_64/64/Implies-after: Here. New file.
20330 * sysdeps/x86_64/x32/Implies-after: New file.
20332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20334 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20335 and access return value for _dl_profile_fixup. Use R10_LP to
20338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20340 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20344 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20345 * sysdeps/x86_64/x32/sysdep.h: New file.
20347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20349 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20350 * sysdeps/x86_64/setjmp.S: Likewise.
20352 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20354 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20355 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20356 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20358 remove unused global constant.
20360 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20362 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20363 include of <not-cancel.h>.
20365 2012-05-15 Roland McGrath <roland@hack.frob.com>
20367 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20369 2012-05-15 Jeff Law <law@redhat.com>
20370 Andreas Jaeger <aj@suse.de>
20373 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20375 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20376 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20377 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20378 code changing __hst_map_handle.map.
20380 2012-05-15 Roland McGrath <roland@hack.frob.com>
20382 * configure.in (sysnames): Look for Implies-before and Implies-after
20384 * configure: Regenerated.
20386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20388 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20389 8-byte data alignment with LP_SIZE alignment.
20391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20393 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20398 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20402 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20403 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20404 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20410 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20411 (stackinfo_sub_sp): Likewise.
20413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20415 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20420 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20425 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20430 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20434 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20435 into R11_LP and load __x86_64_shared_cache_size_half into
20438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20440 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20443 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20451 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20452 powerpc32/power7/fpu/s_logb.c via #include.
20453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20454 powerpc32/power7/fpu/s_logbf.c via #include.
20455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20456 powerpc32/power7/fpu/s_logbl.c via #include.
20458 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20460 * README.libm: Remove file.
20462 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20464 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20465 count for x32. Use R*_LP and omit operand-size suffix.
20467 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20469 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20470 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20471 * sysdeps/x86_64/x32/shlib-versions: New file.
20473 2012-05-14 Roland McGrath <roland@hack.frob.com>
20475 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20476 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20477 Use _dl_fatal_printf instead.
20479 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20481 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20482 set if not set by the user. Do not allow for being unset.
20483 * sysdeps/unix/sysv/linux/configure: Regenerated.
20485 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20487 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20488 the `q' suffix from lea and replace .quad with ASM_ADDR.
20490 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20493 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20495 (PTR_DEMANGLE): Likewise.
20497 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20499 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20501 (ASM_ADDR): Likewise.
20502 (RAX_LP): Likewise.
20503 (RBP_LP): Likewise.
20504 (RBX_LP): Likewise.
20505 (RCX_LP): Likewise.
20506 (RDI_LP): Likewise.
20507 (RSI_LP): Likewise.
20508 (RSP_LP): Likewise.
20511 (R10_LP): Likewise.
20512 (R10_LP): Likewise.
20513 (R11_LP): Likewise.
20514 (R12_LP): Likewise.
20515 (R13_LP): Likewise.
20516 (R14_LP): Likewise.
20517 (R15_LP): Likewise.
20519 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20521 * sysdeps/x86_64/x32/dl-machine.h: New file.
20523 2012-05-14 Andreas Jaeger <aj@suse.de>
20525 * manual/Makefile (subdir): Remove export of subdir.
20526 (all): Remove target.
20527 (.PHONY): Remove all from list.
20528 (mkinstalldirs): Remove.
20529 (.PHONY): Remove installdirs from list.
20530 ($(inst_infodir)/libc.info): Use make-target-directory.
20531 (installdirs): Remove.
20532 (subdir_%): Remove.
20533 (glibc-targets): Remove.
20536 ($(objpfx)stubs ../po/manual.pot): Remove.
20537 ($(objpfx)stamp%): Remove.
20538 (make-target-directory): Remove.
20539 (subdir_install): Remove.
20540 (routines): Remove.
20547 * manual/.gitignore: Remove, it's not needed anymore.
20548 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20550 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20552 (texis): Renamed to $(objpfx)texis.
20553 (texis-path): New, contains path to generated files.
20554 (chapters.%): Use texis-path for complete path, add extra argument
20556 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20557 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20558 (summary,texi, stamp-summary): Use complete path of
20559 files. Generate files in build dir.
20560 (dir-add.texi): Build in build dir.
20561 (libm-err.texi,stamp-libm-err): Likewise.
20562 (version.texi, stamp-version): Likewise.
20563 (.%c.texi): Likewise.
20564 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20565 (mostlyclean): Remove target.
20566 (realclean): Remove target.
20567 (generated): Add new variable with contents from mostlyclean and
20568 realclean, remove entries duplicated in common-mostlyclean, add
20569 stamp-libm-err and stamp-version.
20570 (generated-dirs): Add libc directory.
20571 ($(inst_infodir)/libc.info): Install files from build dir.
20573 * manual/install.texi (Configuring and compiling): Adjust since
20574 the info files are not part of the tar ball anymore.
20576 2012-05-14 Andreas Jaeger <aj@suse.de>
20578 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20581 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20584 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20585 to 2.2.0 where earlier.
20586 * sysdeps/unix/sysv/linux/configure: Regenerated.
20587 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20588 Remove conditional code.
20589 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20590 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20591 Remove conditional code.
20592 [!__NR_lchown]: Likewise.
20593 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20594 [__NR_lchown]: Likewise.
20595 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20596 comment referencing __ASSUME_LCHOWN_SYSCALL.
20597 * sysdeps/unix/sysv/linux/i386/sigaction.c
20598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20600 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20601 Remove conditional code.
20602 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20603 (__protocol_available): Remove #if 0 code.
20604 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20606 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20607 * sysdeps/unix/sysv/linux/kernel-features.h
20608 (__ASSUME_GETCWD_SYSCALL): Don't define.
20609 (__ASSUME_REALTIME_SIGNALS): Likewise.
20610 (__ASSUME_PREAD_SYSCALL): Likewise.
20611 (__ASSUME_PWRITE_SYSCALL): Likewise.
20612 (__ASSUME_POLL_SYSCALL): Likewise.
20613 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20614 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20616 (__ASSUME_SIOCGIFNAME): Don't define.
20617 (__ASSUME_MSG_NOSIGNAL): Likewise.
20618 (__ASSUME_SENDFILE): Define unconditionally.
20619 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20620 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20622 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20623 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20624 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20625 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20626 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20627 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20628 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20630 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20631 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20636 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20637 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20653 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20654 Remove conditional code.
20655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20656 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20657 Remove conditional code.
20658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20659 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20660 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20661 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20662 Remove conditional code.
20663 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20664 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20665 Remove conditional code.
20666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20667 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20668 Remove conditional code.
20669 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20670 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20671 Remove conditional code.
20672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20673 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20674 Remove conditional code.
20675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20676 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20677 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20679 * sysdeps/unix/sysv/linux/sigaction.c
20680 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20681 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20682 * sysdeps/unix/sysv/linux/sigpending.c
20683 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20684 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20685 * sysdeps/unix/sysv/linux/sigprocmask.c
20686 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20687 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20688 * sysdeps/unix/sysv/linux/sigsuspend.c
20689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20691 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20692 (__libc_missing_rt_sigs): Remove.
20693 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20694 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20695 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20696 Remove conditional code.
20697 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20698 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20700 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20701 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20702 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20703 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20705 2012-05-14 Andreas Jaeger <aj@suse.de>
20707 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20708 it's not used in glibc.
20709 (__coshm1): Likewise.
20710 (__acosh1p): Likewise.
20713 * manual/string.texi (Copying and Concatenation): Add missing
20714 variable in concat example.
20715 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20717 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20720 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20721 __builtin_clzl with __builtin_clzll.
20723 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20726 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20729 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20731 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20732 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20733 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20734 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20736 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20738 * NEWS: Update ia64 info.
20740 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20742 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20745 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20747 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20748 * sysdeps/unix/syscalls.list (dup3): Likewise.
20749 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20750 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20752 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20754 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20755 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20757 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20759 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20761 (TLS_IE): Use mov/add instead of movq/addq to load thread
20763 (TLS_GD_PREFIX): New.
20766 2012-05-11 David S. Miller <davem@davemloft.net>
20768 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20769 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20770 (_FPU_SETCW): Likewise.
20772 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20774 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20775 is 32-byte aligned.
20777 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20780 * iconvdata/gb18030.c: Update tables.
20781 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20782 characters specially.
20783 (BODY for TO_LOOP): Add encoding of missing ranges.
20785 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20788 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20789 * sysdeps/mach/hurd/dup3.c: Likewise.
20790 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20791 * sysdeps/powerpc/memmove.c:: Likewise.
20793 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20796 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20798 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20800 * elf/elf.h (R_X86_64_RELATIVE64): New.
20801 (R_X86_64_NUM): Updated.
20802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20803 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20804 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20805 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20806 tst-quad1pie tst-quad2pie
20807 (modules-names): Add tst-quadmod1 tst-quadmod2.
20808 ($(objpfx)tst-quad1): New dependency.
20809 ($(objpfx)tst-quad2): Likewise.
20810 ($(objpfx)tst-quad1pie): Likewise.
20811 ($(objpfx)tst-quad2pie): Likewise.
20812 * sysdeps/x86_64/tst-quad1.c: New file.
20813 * sysdeps/x86_64/tst-quad1pie.c: New file.
20814 * sysdeps/x86_64/tst-quad2.c: Likewise.
20815 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20816 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20817 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20818 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20819 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20821 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20823 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20824 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20825 * streams/stropts.h (t_scalar_t): Define type.
20827 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20828 (_PATH_PRESERVE): Set to "/var/lib".
20829 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20831 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20834 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20835 if __dir_mkfile succeeded.
20837 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20838 checking for _hurd_dtablesize. Unlock it right after having
20839 finished _hurd_dtable allocation.
20841 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20843 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20844 * sysdeps/mach/hurd/configure: Regenerated.
20845 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20846 special-casing to...
20847 * sysdeps/gnu/configure.in: ... this new file.
20848 * sysdeps/unix/sysv/linux/configure: Regenerated.
20849 * sysdeps/gnu/configure: New generated file.
20851 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20852 for Linux: use nsec instead of usec, as well as:
20853 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20854 members of type struct timespec.
20855 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20857 (struct stat64): Likewise.
20858 (_STATBUF_ST_NSEC): New macro.
20859 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20861 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20862 __strtoul_internal rather than strtoul.
20864 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20866 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20869 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20871 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20872 which preserves existing values.
20873 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20875 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20877 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20878 TIMEOUT values. Return EINVAL for NFDS values either negative or
20879 greater than FD_SETSIZE.
20881 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20883 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20884 allocated, call __vm_protect to finish enabling the existing space, and
20885 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20886 allocate the remainder.
20888 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20890 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20891 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20893 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20895 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20896 sysdeps/mach/hurd/readlink.c.
20898 * posix/tst-sysconf.c (posix_options): Only use
20899 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20900 _POSIX_SYNCHRONIZED_IO when they are defined
20901 * sysdeps/mach/hurd/bits/posix_opt.h:
20902 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20903 (_XOPEN_REALTIME): Undefine macro.
20904 (_XOPEN_REALTIME_THREADS): Undefine macro.
20905 (_XOPEN_SHM): Undefine macro.
20906 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20908 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20910 (_POSIX_ASYNC_IO): Undefine macro.
20911 (_POSIX_PRIORITIZED_IO): Undefine macro.
20912 (_POSIX_SPIN_LOCKS): Define macro to -1.
20914 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20915 SA_NODEFER, SA_RESETHAND.
20916 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20917 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20922 * elf/Makefile (pldd-modules): Define unconditionally.
20924 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20926 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20928 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20930 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20931 Return ENOENT when name is empty.
20932 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20934 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20936 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20938 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20942 Fix mlock in all cases except non-readable pages.
20943 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20944 instead of VM_PROT_ALL as parameter to __vm_wire function.
20946 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20947 (__mkdir): When path is `/', just fail with EEXIST.
20948 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20950 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20952 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20953 <sys/uio.h> (for writev).
20954 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20955 and <sys/param.h> (for MIN).
20957 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20959 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20960 REQUESTED_TIME. Properly set the remaining time and return EINTR
20963 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20965 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20966 Depend on against $(link-rpcuserlibs).
20968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20970 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20971 (__libc_stack_end): Do not use attribute_relro.
20972 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20973 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20974 to libthread-provided value.
20975 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20978 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20981 * bits/libc-lock.h (__libc_once_get): New macro.
20982 * sysdeps/mach/bits/libc-lock.h: Likewise.
20983 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20985 instead of using implementation details.
20987 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20988 * libio/freopen.c: Likewise.
20989 * libio/freopen64.c: Likewise.
20990 * misc/syslog.c: Likewise.
20991 * nscd/connections.c: Likewise.
20992 * nscd/netgroupcache.c: Likewise.
20993 * sysdeps/posix/getcwd.c: Likewise.
20995 2012-05-10 Roland McGrath <roland@hack.frob.com>
20997 * math/w_ilogbf.c: Add #include <limits.h>.
20999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21001 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21002 path instead of returning without unlocking.
21004 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21005 immediate-write ioctls.
21006 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21008 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21010 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21011 __builtin_frame_address instead of making assumptions about the
21012 location of the return address relative to DATA. Force early load of
21013 the return address.
21014 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21015 __builtin_frame_address.
21018 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21019 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21020 implement dup3 and do some further code clean-ups.
21021 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21022 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21026 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21028 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21029 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21030 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21031 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21032 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21035 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21036 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21037 when handler == SIG_ERR, not when handler != SIG_ERR.
21039 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21041 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21042 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21045 accept4 for GNU Hurd.
21046 * include/sys/socket.h (__libc_accept4): New prototype.
21047 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21048 to implement __libc_accept4.
21049 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21051 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21053 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21054 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21055 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21056 signal-defines.sym.
21058 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21060 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21062 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21064 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21065 assertion on O_CLOEXEC flag.
21066 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21067 * hurd/intern-fd.c: Likewise.
21068 * hurd/port2fd.c: Likewise.
21070 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21073 * bits/in.h (IPV6_PKTINFO): Define new macro.
21074 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21076 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21081 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21082 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21083 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21084 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21086 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21087 * math/libm-test.inc (logb_test) : Additional logb tests.
21089 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21090 Andreas Jaeger <aj@suse.de>
21092 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21093 * configure: Regenerated.
21094 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21095 * config.make.in (link-obsolete-rpc): New substituted variable.
21096 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21097 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21098 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21099 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21100 so that libc.a contains the symbols.
21101 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21102 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21103 * sunrpc/auth_none.c: Likewise.
21104 * sunrpc/auth_unix.c: Likewise.
21105 * sunrpc/authdes_prot.c: Likewise.
21106 * sunrpc/authuxprot.c: Likewise.
21107 * sunrpc/clnt_gen.c: Likewise.
21108 * sunrpc/clnt_perr.c: Likewise.
21109 * sunrpc/clnt_raw.c: Likewise.
21110 * sunrpc/clnt_simp.c: Likewise.
21111 * sunrpc/clnt_tcp.c: Likewise.
21112 * sunrpc/clnt_udp.c: Likewise.
21113 * sunrpc/clnt_unix.c: Likewise.
21114 * sunrpc/des_crypt.c: Likewise.
21115 * sunrpc/des_soft.c: Likewise.
21116 * sunrpc/get_myaddr.c: Likewise.
21117 * sunrpc/key_call.c: Likewise.
21118 * sunrpc/key_prot.c: Likewise.
21119 * sunrpc/netname.c: Likewise.
21120 * sunrpc/pm_getmaps.c: Likewise.
21121 * sunrpc/pm_getport.c: Likewise.
21122 * sunrpc/pmap_clnt.c: Likewise.
21123 * sunrpc/pmap_prot.c: Likewise.
21124 * sunrpc/pmap_prot2.c: Likewise.
21125 * sunrpc/pmap_rmt.c: Likewise.
21126 * sunrpc/publickey.c: Likewise.
21127 * sunrpc/rpc_cmsg.c: Likewise.
21128 * sunrpc/rpc_common.c: Likewise.
21129 * sunrpc/rpc_dtable.c: Likewise.
21130 * sunrpc/rpc_prot.c: Likewise.
21131 * sunrpc/rpc_thread.c: Likewise.
21132 * sunrpc/rtime.c: Likewise.
21133 * sunrpc/svc.c: Likewise.
21134 * sunrpc/svc_auth.c: Likewise.
21135 * sunrpc/svc_raw.c: Likewise.
21136 * sunrpc/svc_run.c: Likewise.
21137 * sunrpc/svc_tcp.c: Likewise.
21138 * sunrpc/svc_udp.c: Likewise.
21139 * sunrpc/svc_unix.c: Likewise.
21140 * sunrpc/svcauth_des.c: Likewise.
21141 * sunrpc/xcrypt.c: Likewise.
21142 * sunrpc/xdr.c: Likewise.
21143 * sunrpc/xdr_array.c: Likewise.
21144 * sunrpc/xdr_float.c: Likewise.
21145 * sunrpc/xdr_intXX_t.c: Likewise.
21146 * sunrpc/xdr_mem.c: Likewise.
21147 * sunrpc/xdr_rec.c: Likewise.
21148 * sunrpc/xdr_ref.c: Likewise.
21149 * sunrpc/xdr_sizeof.c: Likewise.
21150 * sunrpc/xdr_stdio.c: Likewise.
21152 2012-05-10 Roland McGrath <roland@hack.frob.com>
21154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21155 change. Update copyright years.
21157 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21159 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21161 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21162 Joseph Myers <joseph@codesourcery.com>
21163 Paul Pluzhnikov <ppluzhnikov@google.com>
21166 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21168 [cross-compiling] (extra-libs): Likewise.
21169 [cross-compiling] (extra-libs-others): Likewise.
21170 [cross-compiling] (librpcsvc-routines): Likewise.
21171 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21172 [cross-compiling] (omit-deps): Likewise.
21173 (sunrpc-CPPFLAGS): New variable.
21174 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21175 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21176 (cross-rpcgen-objs): New variable.
21177 (extra-objs): Append $(cross-rpcgen-objs).
21178 ($(cross-rpcgen-objs)): New rule.
21179 ($(objpfx)cross-rpcgen): Likewise.
21180 (rpcgen-cmd): Define to use $(built-program-file). Expand
21182 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21183 ($(objpfx)x%.stmp): Likewise.
21184 * sunrpc/proto.h [IS_IN_build] (_): Define.
21185 [IS_IN_build] (_libc_intl_domainname): Likewise.
21187 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21189 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21190 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21191 and R_X86_64_TPOFF64.
21193 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21195 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21196 sysdeps/unix/sysv/syscalls.list.
21199 * sysdeps/unix/sysv/syscalls.list: Remove file.
21201 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21204 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21205 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21206 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21207 (__LC_IDENTIFICATION): Make these macros useful in #if
21208 expressions, as required by C99.
21210 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21212 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21213 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21216 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21218 * stdlib/longlong.h: Updated from GCC.
21220 2012-05-09 Andreas Jaeger <aj@suse.de>
21222 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21223 default is first entry.
21224 (run_mode): Set type.
21225 (main): Remove informal message about syslog.
21226 (options): Fix typo.
21229 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21232 (llrintf): Likewise.
21233 (llrint): Likewise.
21236 (nearbyint): Likewise.
21237 (nearbyintf): Likewise.
21239 2012-05-09 Andreas Jaeger <aj@suse.de>
21240 Pedro Alves <palves@redhat.com>
21242 * nscd/nscd.c (run_mode): Use enum.
21243 (main): Cleanup coding style issue.
21245 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21246 Andreas Jaeger <aj@suse.de>
21248 * nscd/nscd.c (go_background): Replaced with...
21249 (run_mode): ... this.
21250 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21251 (options): Add -F --foreground.
21252 (main): Implement it.
21253 (parse_opt): Parse it.
21255 2012-05-09 Andreas Jaeger <aj@suse.de>
21258 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21259 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21260 -Wconversion warning.
21261 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21264 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21266 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21268 (LC_ALL): Use macro-int-constant.
21269 (LC_COLLATE): Likewise.
21270 (LC_CTYPE): Likewise.
21271 (LC_MESSAGES): Likewise.
21272 (LC_MONETARY): Likewise.
21273 (LC_NUMERIC): Likewise.
21274 (LC_TIME): Likewise.
21275 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21276 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21278 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21280 [C99-based standards] (float_t): Expect type.
21281 [C99-based standards] (double_t): Expect type.
21282 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21284 [C99-based standards] (HUGE_VALL): Likewise.
21285 [C99-based standards] (INFINITY): Likewise.
21286 [C99-based standards] (NAN): Likewise.
21287 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21288 [C99-based standards] (FP_NAN): Likewise.
21289 [C99-based standards] (FP_NORMAL): Likewise.
21290 [C99-based standards] (FP_SUBNORMAL): Likewise.
21291 [C99-based standards] (FP_ZERO): Likewise.
21292 [C99-based standards] (FP_FAST_FMA): Use
21293 optional-macro-int-constant. Specify type. Require == 1.
21294 [C99-based standards] (FP_FAST_FMAF): Likewise.
21295 [C99-based standards] (FP_FAST_FMAL): Likewise.
21296 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21297 [C99-based standards] (FP_ILOGBNAN): Likewise.
21298 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21300 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21301 [C99-based standards] (math_errhandling): Specify type.
21302 [ISO99 || ISO11] (signgam): Do not allow.
21303 [non-C99-based standards] (copysignf): Do not allow.
21304 [non-C99-based standards] (exp2f): Likewise.
21305 [non-C99-based standards] (log2f): Likewise.
21306 [non-C99-based standards] (modff): Allow.
21307 [non-C99-based standards] (erff): Do not allow.
21308 [non-C99-based standards] (erfcf): Likewise.
21309 [non-C99-based standards] (gammaf): Likewise.
21310 [non-C99-based standards] (hypotf): Likewise.
21311 [non-C99-based standards] (j0f): Likewise.
21312 [non-C99-based standards] (j1f): Likewise.
21313 [non-C99-based standards] (jnf): Likewise.
21314 [non-C99-based standards] (lgammaf): Likewise.
21315 [non-C99-based standards] (tgammaf): Likewise.
21316 [non-C99-based standards] (y0f): Likewise.
21317 [non-C99-based standards] (y1f): Likewise.
21318 [non-C99-based standards] (ynf): Likewise.
21319 [non-C99-based standards] (isnanf): Likewise.
21320 [non-C99-based standards] (acoshf): Likewise.
21321 [non-C99-based standards] (asinhf): Likewise.
21322 [non-C99-based standards] (atanhf): Likewise.
21323 [non-C99-based standards] (cbrtf): Likewise.
21324 [non-C99-based standards] (expm1f): Likewise.
21325 [non-C99-based standards] (ilogbf): Likewise.
21326 [non-C99-based standards] (log1pf): Likewise.
21327 [non-C99-based standards] (logbf): Likewise.
21328 [non-C99-based standards] (nextafterf): Likewise.
21329 [non-C99-based standards] (remainderf): Likewise.
21330 [non-C99-based standards] (rintf): Likewise.
21331 [non-C99-based standards] (scalbf): Likewise.
21332 [non-C99-based standards] (copysignl): Likewise.
21333 [non-C99-based standards] (exp2l): Likewise.
21334 [non-C99-based standards] (log2l): Likewise.
21335 [non-C99-based standards] (modfl): Allow.
21336 [non-C99-based standards] (erfl): Do not allow.
21337 [non-C99-based standards] (erfcl): Likewise.
21338 [non-C99-based standards] (gammal): Likewise.
21339 [non-C99-based standards] (hypotl): Likewise.
21340 [non-C99-based standards] (j0l): Likewise.
21341 [non-C99-based standards] (j1l): Likewise.
21342 [non-C99-based standards] (jnl): Likewise.
21343 [non-C99-based standards] (lgammal): Likewise.
21344 [non-C99-based standards] (tgammal): Likewise.
21345 [non-C99-based standards] (y0l): Likewise.
21346 [non-C99-based standards] (y1l): Likewise.
21347 [non-C99-based standards] (ynl): Likewise.
21348 [non-C99-based standards] (isnanl): Likewise.
21349 [non-C99-based standards] (acoshl): Likewise.
21350 [non-C99-based standards] (asinhl): Likewise.
21351 [non-C99-based standards] (atanhl): Likewise.
21352 [non-C99-based standards] (cbrtl): Likewise.
21353 [non-C99-based standards] (expm1l): Likewise.
21354 [non-C99-based standards] (ilogbl): Likewise.
21355 [non-C99-based standards] (log1pl): Likewise.
21356 [non-C99-based standards] (logbl): Likewise.
21357 [non-C99-based standards] (nextafterl): Likewise.
21358 [non-C99-based standards] (remainderl): Likewise.
21359 [non-C99-based standards] (rintl): Likewise.
21360 [non-C99-based standards] (scalbl): Likewise.
21361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21362 [non-C99-based standards] (FP_*): Do not allow.
21363 [C99-based standards] (FP_*): Change to
21364 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21365 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21367 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21368 (SIG_ERR): Likewise.
21369 [X/Open-based standards] (SIG_HOLD): Likewise.
21370 (SIG_IGN): Likewise.
21371 (SIGABRT): Use macro-int-constant. Specify type. Require
21373 (SIGFPE): Likewise.
21374 (SIGILL): Likewise.
21375 (SIGINT): Likewise.
21376 (SIGSEGV): Likewise.
21377 (SIGTER): Likewise.
21378 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21379 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21380 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21381 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21382 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21383 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21384 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21385 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21386 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21387 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21388 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21389 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21390 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21391 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21392 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21393 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21394 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21395 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21396 [X/Open-based standards] (SIGTRAP): Likewise.
21397 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21398 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21399 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21400 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21401 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21404 2012-05-08 Ian Wienand <ianw@vmware.com>
21407 * time/tzset.c (__tzset_parse_tz): Update default rules for
21408 daylight time changes in the Energy Policy Act of 2005.
21410 2012-05-09 Andreas Jaeger <aj@suse.de>
21413 * elf/ldconfig.c (parse_conf): Change string to make clear that
21414 ldconfig only issued a warning if ld.so.conf does not exist.
21416 2012-05-08 David S. Miller <davem@davemloft.net>
21418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21419 movxtod instead of popping the value on the stack.
21421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21423 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21425 * config.h.in: Add HAVE_ARM_PCS_VFP.
21427 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21430 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21431 checking but the checks are disabled for any reason.
21433 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21435 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21436 and ELF64_R_TYPE with ELFW(R_TYPE).
21438 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21440 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21441 (ulimit): Likewise.
21443 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21444 (settimeofday): Likewise.
21446 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21448 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21449 a struct th_u2 inside the union, and move tu_block/tu_code into
21450 a new th_u3 union of tu_block/tu_code inside of that. Move
21451 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21452 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21453 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21454 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21455 (th_stuff): Change to th_u1.tu_stuff.
21457 (th_msg): Change to th_u1.th_u2.tu_data.
21459 2012-05-07 David S. Miller <davem@davemloft.net>
21461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21464 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21465 (SETUP_PIC_REG): Use it.
21466 (SETUP_PIC_REG_LEAF): Use it.
21468 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21472 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21474 (EXPL_FINITE): Likewise.
21475 (FLDLOG): Likewise.
21476 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21477 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21481 (EXPL_FINITE): Likewise.
21482 (FLDLOG): Likewise.
21483 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21484 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21486 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21487 test of -max_value argument for long double.
21488 * sysdeps/i386/fpu/libm-test-ulps: Update.
21489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21491 2012-05-06 David S. Miller <davem@davemloft.net>
21493 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21494 quad soft-float symbols whose references which are compiler
21496 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21498 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21502 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21504 (EXPL_FINITE): Likewise.
21505 (FLDLOG): Likewise.
21508 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21509 Adjust comments for base varying.
21510 (__expl_finite): Change alias to EXPL_FINITE.
21511 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21513 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21514 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21515 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21516 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21517 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21519 (EXPL_FINITE): Likewise.
21520 (FLDLOG): Likewise.
21523 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21524 Adjust comments for base varying.
21525 (__expl_finite): Change alias to EXPL_FINITE.
21526 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21531 * math/libm-test.inc (check_float_internal): Correct ulp
21532 calculation for subnormal expected results.
21534 2012-05-06 Andreas Jaeger <aj@suse.de>
21536 * Makeconfig (+math-flags): New, set to -frounding-math.
21537 (+cflags): Add +math-flags so that all of glibc gets compiled with
21540 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21542 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21544 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21550 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21551 (__ieee754_expl): Allow for and saturate large arguments.
21552 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21553 (u_threshold): Likewise.
21554 (__exp): Call __ieee754_exp before checking for overflow and
21556 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21557 (u_threshold): Likewise.
21558 (__expf): Call __ieee754_expf before checking for overflow and
21560 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21561 (u_threshold): Likewise.
21562 (__expl): Call __ieee754_expl before checking for overflow and
21564 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21565 (__ieee754_expl): Allow for and saturate large arguments.
21566 * math/libm-test.inc (exp_test): Add another test. Do not allow
21567 missing overflow exception on overflow.
21568 (expm1_test): Do not allow missing overflow exception on overflow.
21570 * sysdeps/i386/fpu/e_expl.c: Move to ...
21571 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21572 rather than using inline asm.
21573 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21574 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21575 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21577 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21580 (signal): Likewise.
21584 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21586 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21587 sysdeps/unix/common/syscalls.list.
21588 (fchmod): Likewise.
21589 (fchown): Likewise.
21590 (ftruncate): Likewise.
21591 (getrusage): Likewise.
21592 (gettimeofday): Likewise.
21593 (setpgid): Likewise.
21594 (setregid): Likewise.
21595 (setreuid): Likewise.
21596 (sigaction): Likewise.
21597 (truncate): Likewise.
21598 (vhangup): Likewise.
21599 * sysdeps/unix/common/syscalls.list: Remove file.
21600 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21601 * sysdeps/unix/sysv/linux/Implies: Likewise.
21603 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21605 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21607 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21611 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21614 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21617 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21620 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21623 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21626 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21629 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21633 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21637 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21640 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21644 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21648 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21650 * sysdeps/unix/common/bits/dirent.h: Remove file.
21651 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21653 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21654 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21655 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21656 * sysdeps/unix/bsd/isatty.c: Likewise.
21657 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21658 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21659 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21661 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21664 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21665 long double comparison inaccuracies.
21666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21669 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21671 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21674 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21677 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21678 nonzero digits before rounding a hex value.
21679 * stdlib/tst-strtod.c (tests): Add another test.
21681 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21683 * sysdeps/s390/fpu/libm-test-ulps: Update.
21685 2012-05-03 Andreas Jaeger <aj@suse.de>
21687 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21688 does not get optimized out.
21689 (malloc_opt_barrier): New.
21691 2012-05-03 Andreas Jaeger <aj@suse.de>
21692 Roland McGrath <roland@hack.frob.com>
21694 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21695 intermediate file deletion.
21696 (generated): Add .symlist files.
21698 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21701 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21702 Redirect under this condition.
21703 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21704 [__USE_GNU] (__dprintf_chk): Not under this condition.
21705 [__USE_GNU] (__vdprintf_chk): Likewise.
21706 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21707 under this condition.
21708 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21709 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21710 [__USE_XOPEN2K8] (vdprintf): Likewise.
21711 [__USE_GNU] (__dprintf_chk): Not under this condition.
21712 [__USE_GNU] (__vdprintf_chk): Likewise.
21713 [__USE_GNU] (dprintf): Likewise.
21714 [__USE_GNU] (vdprintf): Likewise.
21716 2012-05-03 Roland McGrath <roland@hack.frob.com>
21718 * elf/Makefile (common-generated): Set this instead of generated for
21719 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21720 $(all-built-dso)-derived lists.
21722 2012-05-03 Andreas Jaeger <aj@suse.de>
21724 * sysdeps/i386/fpu/libm-test-ulps: Update.
21727 * FAQ.in: Likewise.
21728 * scripts/gen-FAQ.pl: Likewise.
21729 * manual/install.texi (Installation): Point to online location of
21731 * Makefile (files-for-dist): Remove FAQ.
21734 2012-05-02 Allan McRae <allan@archlinux.org>
21736 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21737 (LDFLAGS-reldepmod5.so): Likewise.
21738 (LDFLAGS-reldep6mod1.so): Likewise.
21739 (LDFLAGS-reldep6mod4.so): Likewise.
21740 (LDFLAGS-reldep8mod3.so): Likewise.
21741 (LDFLAGS-unload4mod1.so): Likewise.
21742 (LDFLAGS-unload4mod2.so): Likewise.
21743 (LDFLAGS-tst-initorder): Likewise.
21744 (LDFLAGS-tst-initordera2.so): Likewise.
21745 (LDFLAGS-tst-initordera3.so): Likewise.
21746 (LDFLAGS-tst-initordera4.so): Likewise.
21747 (LDFLAGS-tst-initorderb2.so): Likewise.
21748 (LDFLAGS-noload): Likewise.
21749 (LDFLAGS-next): Likewise.
21750 (LDFLAGS-order2mod1.so): Likewise.
21751 (LDFLAGS-order2mod2.so): Likewise.
21752 (LDFLAGS-tst-initorder2): Likewise.
21753 (LDFLAGS-tst-initorder2a.so): Likewise.
21754 (LDFLAGS-tst-initorder2b.so): Likewise.
21755 (LDFLAGS-tst-initorder2c.so): Likewise.
21756 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21758 2012-05-02 David S. Miller <davem@davemloft.net>
21760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21762 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21765 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21767 2012-05-02 Andreas Jaeger <aj@suse.de>
21769 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21770 since we manipulate rounding mode.
21771 (CPPFLAGS-test-idouble.c): Likewise.
21772 (CPPFLAGS-test-ifloat.c): Likewise.
21773 (CFLAGS-test-ldouble.c): Likewise.
21774 (CFLAGS-test-double.c): Likewise.
21775 (CFLAGS-test-float.c): Likewise.
21776 (CFLAGS-test-misc.c): Likewise.
21777 (CFLAGS-test-test-fenv.c): Likewise.
21779 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21783 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21784 comparisons to determine direction to adjust input.
21786 2012-05-01 Roland McGrath <roland@hack.frob.com>
21788 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21789 output to the target.
21791 * scripts/localplt.awk: New file.
21792 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21793 (check-localplt-CFLAGS): Variable removed.
21794 ($(all-built-dso:=.jmprel)): New static pattern rule.
21795 (generated): Add those targets.
21796 (localplt-built-dso): New variable.
21797 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21799 * elf/check-localplt.c: File removed.
21801 * scripts/check-execstack.awk: New file.
21802 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21803 (check-execstack-CFLAGS): Variable removed.
21804 ($(objpfx)check-execstack.h): Target removed.
21805 ($(objpfx)execstack-default): New target.
21806 (generated): Add that instead of check-execstack.h.
21807 ($(all-built-dso:=.phdr)): New static pattern rule.
21808 (generated): Add those targets.
21809 * elf/check-execstack.c: File removed.
21811 * scripts/check-textrel.awk: New file.
21812 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21813 (check-textrel-CFLAGS): Variable removed.
21814 (all-built-dso): Use := to define.o
21815 ($(all-built-dso:=.dyn)): New static pattern rule.
21816 (generated): Add those targets.
21817 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21818 * config.make.in (READELF): New substituted variable.
21819 * elf/check-textrel.c: File removed.
21821 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21823 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21825 * conform/data/ctype.h-data [C99-based standards] (isblank):
21827 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21828 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21830 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21831 Specify type. Require positive value.
21832 (EILSEQ): Likewise.
21833 (ERANGE): Likewise.
21834 [ISO || POSIX] (EILSEQ): Do not expect.
21835 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21836 Specify type. Require positive value.
21837 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21838 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21839 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21840 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21841 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21842 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21843 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21844 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21845 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21846 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21847 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21848 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21849 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21850 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21851 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21852 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21853 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21854 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21855 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21856 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21857 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21858 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21859 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21860 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21861 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21862 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21863 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21864 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21865 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21866 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21867 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21868 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21869 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21870 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21871 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21872 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21873 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21874 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21875 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21876 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21877 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21878 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21879 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21880 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21881 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21882 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21883 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21884 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21885 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21886 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21887 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21889 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21890 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21891 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21892 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21893 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21894 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21895 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21896 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21898 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21901 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21903 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21904 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21905 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21906 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21907 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21908 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21909 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21910 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21911 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21912 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21913 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21915 (FLT_ROUNDS): Expect as macro, not constant.
21916 (FLT_MANT_DIG): Use macro-int-constant.
21917 (DBL_MANT_DIG): Likewise.
21918 (LDBL_MANT_DIG): Likewise.
21919 (FLT_DIG): Likewise.
21920 (DBL_DIG): Likewise.
21921 (LDBL_DIG): Likewise.
21922 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21923 (DBL_MIN_EXP): Likewise.
21924 (LDBL_MIN_EXP): Likewise.
21925 (FLT_MAX_EXP): Use macro-int-constant.
21926 (DBL_MAX_EXP): Likewise.
21927 (LDBL_MAX_EXP): Likewise.
21928 (FLT_MAX_10_EXP): Likewise.
21929 (DBL_MAX_10_EXP): Likewise.
21930 (LDBL_MAX_10_EXP): Likewise.
21931 (FLT_MAX): Use macro-constant.
21932 (DBL_MAX): Likewise.
21933 (LDBL_MAX): Likewise.
21934 (FLT_EPSILON): Use macro-constant. Give upper bound.
21935 (DBL_EPSILON): Likewise.
21936 (LDBL_EPSILON): Likewise.
21937 (FLT_MIN): Likewise.
21938 (DBL_MIN): Likewise.
21939 (LDBL_MIN): Likewise.
21940 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21941 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21942 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21943 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21944 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21945 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21946 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21947 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21948 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21949 [ISO11] (FLT_TRUE_MIN): Likewise.
21950 [ISO11] (LDBL_TRUE_MIN): Likewise.
21951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21952 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21953 (SCHAR_MIN): Use macro-int-constant. Specify type.
21954 (SCHAR_MAX): Likewise.
21955 (UCHAR_MAX): Likewise.
21956 (CHAR_MIN): Likewise.
21957 (CHAR_MAX): Likewise.
21958 (MB_LEN_MAX): Use macro-int-constant.
21959 (SHRT_MIN): Use macro-int-constant. Specify type.
21960 (SHRT_MAX): Likewise.
21961 (USHRT_MAX): Likewise.
21962 (INT_MAX): Likewise.
21963 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21965 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21967 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21969 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21970 bound negative. Suffix upper bound with "L".
21971 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21973 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21975 [C99-based standards] (LLONG_MAX): Likewise.
21976 [C99-based standards] (ULLONG_MAX): Likewise.
21977 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21979 [ISO11] (max_align_t): Require type.
21980 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21982 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21983 from $CFLAGS, without defining away __attribute__ calls.
21984 (checknamespace): Use $CFLAGS_namespace.
21986 * conform/conformtest.pl (@keywords): Only include C99 keywords
21987 for standards based on C99 or C11.
21989 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21991 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21994 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21995 usability of symbols in #if.
21997 * conform/conformtest.pl: If macro or constant types start
21998 "promoted:", expect the symbol to be of the following type
21999 promoted by the integer promotions.
22001 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22002 in one place. Also handle "macro-constant".
22004 * conform/conformtest.pl: Only accept expected macro values with
22005 "==". Parse all "macro" lines in one place.
22006 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22008 * conform/conformtest.pl: Handle braced types on "constant" lines
22009 instead of handling "typed-constant".
22010 * conform/data/signal.h-data: Use "constant" instead of
22013 * conform/conformtest.pl: Handle "optional-" at start of lines in
22014 one place rather than duplicating several cases. Handle each
22015 format of "macro" line with initial "optional-".
22017 * conform/conformtest.pl: Only accept expected constant or
22018 optional-constant values with "==". Parse all "constant" lines in
22019 one place. Parse all "optional-constant" lines in one place.
22020 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22021 * conform/data/fmtmsg.h-data: Likewise.
22022 * conform/data/netinet/in.h-data: Likewise.
22023 * conform/data/tar.h-data: Likewise.
22024 * conform/data/limits.h-data: Use "==" form on "constant" and
22025 "optional-constant" lines.
22027 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22028 Use -std=c99 for XOPEN2K.
22029 (@knownproblems): Remove.
22030 (newtoken): Don't check %isknown.
22032 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22033 Do not expect macro.
22034 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22035 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22036 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22037 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22038 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22039 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22040 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22041 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22042 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22043 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22044 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22045 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22046 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22047 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22048 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22049 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22050 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22051 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22052 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22053 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22054 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22055 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22056 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22057 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22058 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22059 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22060 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22061 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22062 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22063 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22064 [XPG3] (acosh): Likewise.
22065 [XPG3] (asinh): Likewise.
22066 [XPG3] (atanh): Likewise.
22067 [XPG3] (cbrt): Likewise.
22068 [XPG3] (expm1): Likewise.
22069 [XPG3] (ilogb): Likewise.
22070 [XPG3] (log1p): Likewise.
22071 [XPG3] (logb): Likewise.
22072 [XPG3] (nextafter): Likewise.
22073 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22074 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22075 [XPG3] (remainder): Likewise.
22076 [XPG3] (rint): Likewise.
22077 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22078 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22079 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22080 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22081 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22082 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22083 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22084 [UNIX98 || XOPEN2K] (scalb): Expect.
22085 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22086 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22087 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22088 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22089 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22090 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22091 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22092 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22093 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22094 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22095 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22096 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22097 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22098 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22099 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22100 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22101 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22102 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22103 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22104 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22105 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22106 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22107 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22108 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22109 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22110 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22111 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22112 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22113 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22114 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22115 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22116 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22117 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22118 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22119 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22120 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22121 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22122 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22123 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22124 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22125 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22126 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22127 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22128 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22129 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22130 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22131 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22132 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22133 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22134 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22135 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22136 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22137 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22138 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22139 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22140 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22141 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22142 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22143 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22144 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22145 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22146 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22147 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22148 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22149 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22150 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22151 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22152 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22153 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22154 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22155 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22156 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22157 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22158 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22159 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22160 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22161 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22162 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22163 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22164 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22165 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22166 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22167 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22168 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22169 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22170 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22171 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22172 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22173 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22174 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22175 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22176 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22177 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22178 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22179 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22180 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22181 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22182 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22183 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22184 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22185 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22186 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22187 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22188 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22189 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22190 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22191 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22192 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22193 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22194 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22195 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22196 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22197 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22198 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22199 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22200 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22201 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22202 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22203 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22204 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22205 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22206 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22207 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22208 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22209 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22210 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22211 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22212 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22213 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22214 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22215 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22216 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22217 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22218 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22219 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22220 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22221 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22223 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22224 _XOPEN_SOURCE_EXTENDED for XPG4.
22226 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22228 * Makeconfig (localtime): Remove variable.
22229 (inst_localtime-file): Likewise.
22231 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22252 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22256 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22257 comparisons to determine direction to adjust input.
22258 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22259 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22260 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22262 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22266 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22267 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22269 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22271 * math/libm-test.inc (nexttoward_test): Add more tests.
22273 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22277 in version GLIBC_2.1, not GLIBC_2.0.
22278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22281 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22284 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22286 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22287 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22288 * math/libm-test.inc (acos_test): Add more tests.
22289 (asin_test): Likewise.
22290 * sysdeps/i386/fpu/libm-test-ulps: Update.
22291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22294 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22296 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22297 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22298 * math/libm-test.inc (acos_test_tonearest): New function.
22299 (acos_test_towardzero): Likewise.
22300 (acos_test_downward): Likewise.
22301 (acos_test_upward): Likewise.
22302 (asin_test_tonearest): Likewise.
22303 (asin_test_towardzero): Likewise.
22304 (asin_test_downward): Likewise.
22305 (asin_test_upward): Likewise.
22306 (main): Call the new functions.
22307 * sysdeps/i386/fpu/libm-test-ulps: Update.
22308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22312 * math/e_exp10.c: Include <float.h>.
22313 (__ieee754_exp10): Handle underflow here rather than multiplying
22314 large negative argument by M_LN10.
22315 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22317 * math/e_exp10l.c: Include <float.h>.
22318 (__ieee754_exp10l): Handle underflow here rather than multiplying
22319 large negative argument by M_LN10l.
22320 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22321 spurious overflow exception on underflow.
22323 2012-04-29 Marek Polacek <polacek@redhat.com>
22325 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22326 (__fortify_function): New macro.
22327 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22328 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22329 __extern_always_inline.
22330 * libio/bits/stdio2.h: Likewise.
22331 * libio/bits/stdio.h: Likewise.
22332 * string/string.h: Likewise.
22333 * string/bits/string3.h: Likewise.
22334 * include/stdio.h: Likewise.
22335 * stdlib/bits/stdlib.h: Likewise.
22336 * stdlib/stdlib.h: Likewise.
22337 * rt/bits/mqueue2.h: Likewise.
22338 * rt/mqueue.h: Likewise.
22339 * posix/bits/unistd.h: Likewise.
22340 * posix/unistd.h: Likewise.
22341 * io/bits/poll2.h: Likewise.
22342 * io/bits/fcntl2.h: Likewise.
22343 * io/fcntl.h: Likewise.
22344 * io/sys/poll.h: Likewise.
22345 * misc/bits/syslog.h: Likewise.
22346 * misc/bits/syslog-ldbl.h: Likewise.
22347 * misc/sys/syslog.h: Likewise.
22348 * socket/bits/socket2.h: Likewise.
22349 * socket/sys/socket.h: Likewise.
22350 * debug/tst-chk1.c: Likewise.
22351 * wcsmbs/bits/wchar2.h: Likewise.
22352 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22353 * wcsmbs/wchar.h: Likewise.
22355 2012-04-29 Andreas Jaeger <aj@suse.de>
22357 * Makerules (tests): Remove enable-check-abi protection.
22358 (check-abi-warn): Remove.
22359 (check-abi-%): Remove check-abi-warn usage.
22361 * configure.in: Remove check-abi configure option.
22362 * configure: Regenerated.
22363 * config.make.in (enable-check-abi): Remove.
22365 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22368 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22369 double functions to double *_finite functions.
22372 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22373 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22375 * stdio-common/Makefile (tests): Add tst-sprintf3.
22376 * stdio-common/tst-sprintf3.c: New file.
22378 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22379 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22381 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22383 * conform/conformtest.pl: Remove duplicate typed-constant
22386 2012-04-28 David S. Miller <davem@davemloft.net>
22388 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22389 (check-abi-%): Remove AWK script prerequisite and explicit
22391 (check-abi): Rewrite to just diff the symlist with the abilist.
22392 (config-tls, config-abi-config): Delete, no longer used.
22393 (update-abi-%): Remove AWK script and explicit abilist directory.
22394 (update-abi): Rewrite to simply compare and conditionally copy the
22395 symlist and the sysdep abilist file. Remove update-abi-config
22397 * abilist/ld.abilist: Remove.
22398 * abilist/libBrokenLocale.abilist: Remove.
22399 * abilist/libanl.abilist: Remove.
22400 * abilist/libcrypt.abilist: Remove.
22401 * abilist/libdl.abilist: Remove.
22402 * abilist/librt.abilist: Remove.
22403 * abilist/libthread_db.abilist: Remove.
22404 * abilist/libutil.abilist: Remove.
22405 * scripts/extract-abilist.awk: Remove.
22406 * scripts/merge-abilist.awk: Remove.
22407 * sysdeps/generic/libcidn.abilist: New file.
22408 * sysdeps/generic/libnss_compat.abilist: New file.
22409 * sysdeps/generic/libnss_db.abilist: New file.
22410 * sysdeps/generic/libnss_dns.abilist: New file.
22411 * sysdeps/generic/libnss_files.abilist: New file.
22412 * sysdeps/generic/libnss_hesiod.abilist: New file.
22413 * sysdeps/generic/libnss_nis.abilist: New file.
22414 * sysdeps/generic/libnss_nisplus.abilist: New file.
22415 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22416 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22417 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22419 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22420 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22421 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22422 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22423 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22424 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22425 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22426 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22427 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22429 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22430 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22431 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22432 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22434 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22435 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22436 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22437 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22438 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22439 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22441 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22442 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22443 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22445 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22548 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22549 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22550 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22552 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22553 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22554 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22555 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22556 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22557 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22558 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22559 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22560 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22561 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22613 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22615 * conform/conformtest.pl: Fix typo in handling typed-constant from
22618 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22620 * README: Cut down references to pre-2.6 Linux kernels and
22621 Linuxthreads. Update lists of configurations in libc and ports
22622 and sort alphabetically. Say "or newer" with Linux kernel version
22625 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22627 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22630 * math/libm-test.inc (logb_test_downward): New test to expose
22631 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22634 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22637 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22639 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22640 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22642 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22644 * sysdeps/unix/i386/brk.S: Remove file.
22645 * sysdeps/unix/i386/dl-brk.S: Likewise.
22646 * sysdeps/unix/i386/pipe.S: Likewise.
22647 * sysdeps/unix/i386/sigreturn.S: Likewise.
22648 * sysdeps/unix/i386/syscall.S: Likewise.
22649 * sysdeps/unix/i386/vfork.S: Likewise.
22650 * sysdeps/unix/i386/wait.S: Likewise.
22652 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22653 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22655 * configure.in (arm*-none*): Do not allow without
22656 --enable-hacker-mode.
22657 (netbsd*): Remove case setting base_os.
22658 (386bsd*): Likewise.
22659 (freebsd*): Likewise.
22662 (sunos*): Likewise.
22663 (ultrix*): Likewise.
22664 (newsos*): Likewise.
22665 (dynix*): Likewise.
22671 (minix*): Likewise.
22672 (irix4*): Likewise.
22673 (irix6*): Likewise.
22674 (solaris[2-9]*): Likewise.
22676 * configure: Regenerated.
22678 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22681 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22682 overflow or cancellation in calculating denominator.
22683 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22684 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22685 down expression to avoid unexpected rounding in newer GCCs.
22686 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22688 2012-04-26 David S. Miller <davem@davemloft.net>
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22691 long-double compat symbols.
22692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22706 2012-04-25 David S. Miller <davem@davemloft.net>
22708 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22709 HWCAP_* values only after the memory barriers have been defined.
22710 (atomic_full_barrier): Define.
22711 (atomic_read_barrier): Define.
22712 (atomic_write_barrier): Define.
22714 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22716 * shlib-versions: Add libgcc_s version information.
22717 * sysdeps/generic/libgcc_s.h: Remove.
22718 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22720 * sysdeps/gnu/unwind-resume.c: Likewise.
22721 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22723 2012-04-25 David S. Miller <davem@davemloft.net>
22725 * sysdeps/unix/sparc/brk.S: Delete.
22726 * sysdeps/unix/sparc/dl-brk.S: Delete.
22727 * sysdeps/unix/sparc/pipe.S: Delete.
22728 * sysdeps/unix/sparc/sysdep.S: Delete.
22729 * sysdeps/unix/sparc/sysdep.h: Delete.
22730 * sysdeps/unix/sparc/vfork.S: Delete.
22731 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22732 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22733 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22734 ret_ERRVAL, r0, r1, MOVE): Define.
22735 (JUMPTARGET): Remove.
22736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22737 sysdeps/unix/sparc/sysdep.h
22738 (ENTRY, END): Remove.
22739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22741 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22743 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22744 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22747 * timezone/README: Update upstream location and email address for
22749 * timezone/zdump.c: Update from tzcode 2012b.
22750 * timezone/zic.c: Likewise.
22752 * configure.in (libc_cv_as_needed): Remove test.
22753 * configure: Regenerated.
22754 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22755 conditional definition.
22756 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22757 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22758 * config.make.in (have-as-needed): Remove variable.
22760 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22761 Paul Pluzhnikov <ppluzhnikov@google.com>
22763 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22766 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22768 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22769 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22770 * sysdeps/sh/strlen.S: Likewise.
22772 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22774 * sysdeps/unix/fork.S: Remove file.
22775 * sysdeps/unix/i386/fork.S: Likewise.
22776 * sysdeps/unix/sparc/fork.S: Likewise.
22778 * sysdeps/unix/system.c: Remove file.
22779 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22781 * sysdeps/unix/getegid.S: Remove file.
22782 * sysdeps/unix/geteuid.S: Likewise.
22784 2012-04-24 Roland McGrath <roland@hack.frob.com>
22786 * scripts/check-localplt.awk: New file.
22787 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22789 * scripts/data/localplt-generic.data: Add a comment.
22791 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22792 NODE when __dir_mkfile failed.
22793 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22794 Reported by Ludovic Courtès <ludo@gnu.org>.
22796 2012-04-24 Andreas Jaeger <aj@suse.de>
22798 * Makerules (common-clean): Also remove gen-as-const-headers
22801 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22803 * Makerules (native-compile): Do not change working directory for
22804 build. Use $(OUTPUT_OPTION) in command.
22805 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22807 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22810 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22811 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22812 * math/libm-test.inc (floor_test): Add more tests.
22813 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22815 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22817 * sysdeps/unix/getdents.c: Remove file.
22818 * sysdeps/unix/sysv/getdents.c: Likewise.
22819 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22821 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22822 sysdeps/unix/mman/syscalls.list.
22824 (mprotect): Likewise.
22826 (munmap): Likewise.
22827 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22828 * sysdeps/unix/mman/syscalls.list: Remove.
22829 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22831 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22832 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22833 * configure: Regenerated.
22834 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22835 $(libgcc_s_suffix).
22836 * config.make.in (libgcc_s_suffix): Remove variable.
22838 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22840 * sysdeps/unix/sysv/gethostname.c: Move to ...
22841 * sysdeps/posix/gethostname.c: ... here.
22843 * sysdeps/unix/execve.S: Remove file.
22845 * sysdeps/unix/_exit.S: Remove file.
22847 2012-04-23 Andreas Jaeger <aj@suse.de>
22850 * manual/Makefile: Remove make dist support, there's no
22851 need for a stand-alone documentation tar ball.
22852 (TEXI2DVI): Define always, it's not in Makeconfig.
22855 (edition): Removed.
22856 (glibc-doc-$(edition).tar): Removed
22860 (ETAGS): Remove, it's in Makeconfig.
22861 (move-if-change): Remove, it's in Makeconfig.
22863 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22866 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22867 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22868 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22869 (strtod_l, strtof_l, strtold_l): Remove __wur.
22870 It is not necessarily an error to ignore strtol's return value.
22871 One can reliably look at the stored endptr to decide whether
22872 the number had valid syntax.
22874 2012-04-21 Andreas Jaeger <aj@suse.de>
22877 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22879 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22881 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22882 * sysdeps/unix/sysv/Versions: Remove file.
22884 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22889 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22892 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22893 version from __vm86.
22895 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22897 * sysdeps/unix/common/lxstat.c: Remove file.
22898 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22900 * sysdeps/unix/sysv/Makefile: Remove file.
22902 * sysdeps/unix/sysv/direct.h: Remove file.
22904 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22905 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22906 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22907 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22908 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22909 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22910 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22912 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22914 * sysdeps/unix/xmknod.c: Remove file.
22915 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22917 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22919 * sysdeps/unix/sysv/i386/time.S: Remove file.
22921 * sysdeps/unix/fxstat.c: Remove file.
22922 * sysdeps/unix/xstat.c: Likewise.
22923 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22925 * sysdeps/unix/sysv/sigaction.c: Remove file.
22927 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22928 (sysdep_headers): Remove variable.
22929 [termio.h not in sysdep_headers] (generated): Likewise.
22930 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22931 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22932 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22933 * sysdeps/unix/sysv/tcflow.c: Likewise.
22934 * sysdeps/unix/sysv/tcflush.c: Likewise.
22935 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22936 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22937 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22938 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22939 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22941 * sysdeps/unix/siglist.c: Remove file.
22943 * sysdeps/unix/getppid.S: Remove file.
22945 * sysdeps/unix/mkdir.c: Remove file.
22946 * sysdeps/unix/rmdir.c: Likewise.
22948 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22950 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22952 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22953 errlist-compat value.
22955 2012-04-18 David S. Miller <davem@davemloft.net>
22957 * sysdeps/generic/memcopy.h (reg_char): Delete.
22958 * debug/strcat_chk.c: Use char, not reg_char.
22959 * debug/strcpy_chk.c: Likewise.
22960 * debug/strncat_chk.c: Likewise.
22961 * debug/strncpy_chk.c: Likewise.
22962 * string/memchr.c: Likewise.
22963 * string/memrchr.c: Likewise.
22964 * string/rawmemchr.c: Likewise.
22965 * string/strcat.c: Likewise.
22966 * string/strchr.c: Likewise.
22967 * string/strchrnul.c: Likewise.
22968 * string/strcmp.c: Likewise.
22969 * string/strcpy.c: Likewise.
22970 * string/strncat.c: Likewise.
22971 * string/strncmp.c: Likewise.
22972 * string/strncpy.c: Likewise.
22974 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22976 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22977 __builtin_memcopy is called when src and dest ranges are known to not
22980 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22982 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22983 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22984 fwd_align_merge macro call.
22985 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22986 bwd_align_merge macro call.
22987 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22989 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22991 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22992 bwd_align_merge macros.
22993 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22994 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22995 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22997 2012-04-18 David S. Miller <davem@davemloft.net>
22999 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23001 2012-04-18 Andreas Jaeger <aj@suse.de>
23004 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23005 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23006 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23008 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23009 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23010 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23012 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23013 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23014 Adjust for changed ldbl-128 files.
23016 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23017 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23018 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23020 2012-04-17 David S. Miller <davem@davemloft.net>
23022 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23024 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23026 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23027 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23028 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23029 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23030 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23031 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23033 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23036 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23037 * math/libm-test.inc: Add ilogb errno and exception tests.
23038 * math/w_ilogb.c: New file: ilogb wrapper.
23039 * math/w_ilogbf.c: New file: ilogbf wrapper.
23040 * math/w_ilogbl.c: New file: ilogbl wrapper.
23041 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23042 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23043 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23044 exception being thrown with 0.0 as argument.
23045 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23046 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23047 exception being thrown with 0.0 as argument.
23048 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23049 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23050 exception being thrown with 0.0 as argument.
23051 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23052 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23053 exception being thrown with 0.0 as argument.
23054 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23055 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23056 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23057 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23058 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23059 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23060 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23061 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23062 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23064 2012-04-17 Petr Baudis <pasky@ucw.cz>
23066 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23069 2012-04-16 Marek Polacek <polacek@redhat.com>
23071 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23073 2012-04-16 Marek Polacek <polacek@redhat.com>
23075 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23076 operands of fdivp instruction.
23078 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23080 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23081 * elf/tst-auditmod3b.c: Likewise.
23082 * elf/tst-auditmod4b.c: Likewise.
23083 * elf/tst-auditmod5b.c: Likewise.
23084 * elf/tst-auditmod6b.c: Likewise.
23085 * elf/tst-auditmod6c.c: Likewise.
23086 * elf/tst-auditmod7b.c: Likewise.
23087 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23088 * sysdeps/x86_64/preconfigure.in: Likewise.
23089 * sysdeps/x86_64/preconfigure: Regenerated.
23091 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23093 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23096 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23099 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23101 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23104 * locale/iso-639.def: Fix gl language name. Spotted by
23107 2012-04-12 Roland McGrath <roland@hack.frob.com>
23110 * libio/libio.h (__io_write_fn): Update comment.
23112 2012-04-12 Petr Baudis <pasky@ucw.cz>
23115 * stdio.texi (Hook Functions): The user provided writer function
23116 is not allowed to return -1.
23118 2012-04-11 David S. Miller <davem@davemloft.net>
23120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23122 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23124 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23125 Add a leading slash to rtkaio.
23127 2012-04-11 Jim Meyering <meyering@redhat.com>
23130 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23131 It is not necessarily an error to ignore fwrite's return
23132 value. One can reliably use ferror to test for errors after
23135 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23137 * bits/types.h (__snseconds_t): New type.
23138 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23140 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23142 (__SNSECONDS_T_TYPE): Likewise.
23143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23144 (__SNSECONDS_T_TYPE): Likewise.
23145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23146 (__SNSECONDS_T_TYPE): Likewise.
23148 2012-04-10 Andreas Jaeger <aj@suse.de>
23151 * manual/time.texi (Processor Time): Return type of times is
23152 elapsed real time since an arbitrary point in the past.
23153 (CPU Time): Move CLK_TCK from here...
23154 (Processor Time): ...to here. Correct description.
23155 * manual/conf.texi (Constants for Sysconf): Correct description of
23158 2012-04-10 David S. Miller <davem@davemloft.net>
23161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23162 where the is a gap between DT_REL(A) and DT_JMPREL.
23164 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23166 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23167 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23168 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23170 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23172 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23173 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23174 (dl_main): Handle --inhibit-cache.
23175 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23177 * elf/dl-load.c (_dl_map_object): Use it.
23178 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23180 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23183 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23184 (__ieee754_powl): Saturate large exponents rather than testing for
23185 overflow of y*log2(x).
23186 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23187 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23191 * math/s_ctan.c: Include <float.h>.
23192 (__ctan): Avoid internal overflow or cancellation in calculating
23194 * math/s_ctanf.c: Likewise.
23195 * math/s_ctanl.c: Likewise.
23196 * math/s_ctanh.c: Likewise.
23197 * math/s_ctanhf.c: Likewise.
23198 * math/s_ctanhl.c: Likewise.
23199 * math/libm-test.inc (ctan_test): Add more tests.
23200 (ctanh_test): Likewise.
23201 * sysdeps/i386/fpu/libm-test-ulps: Update.
23202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23204 2012-04-09 Andreas Jaeger <aj@suse.de>
23207 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23208 is an optional BSD extension.
23211 * manual/stdio.texi (Opening Streams): Document additional fopen
23214 2012-04-09 Roland McGrath <roland@hack.frob.com>
23216 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23217 %eax without telling the compiler.
23219 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23222 * manual/install.texi: Use sourceware.org.
23224 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23227 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23228 (__ieee754_pow): Generate overflow and underflow using huge*huge
23229 and tiny*tiny rather than just returning constant infinity or zero
23230 for large exponents.
23231 * math/libm-test.inc (pow_test): Require overflow exceptions for
23232 applicable cases of large exponents.
23235 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23236 (__ieee754_pow): Use iterative multiplication algorithm only for
23237 integer exponents with absolute value below 1024. Check for odd
23238 integer exponents when using algorithm for real exponents.
23239 * math/libm-test.inc (pow_test): Add more tests.
23240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23242 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23245 * math/libm-test.inc (exp_test): Do not allow overflow exception
23248 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23251 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23252 instead of __kernel_standard_f.
23254 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23256 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23257 * sysdeps/x86_64/memset_chk.S: Likewise.
23259 2012-04-08 Andreas Jaeger <aj@suse.de>
23262 * manual/startup.texi (Environment Access): Describe return value
23263 for putenv and setenv.
23266 * manual/filesys.texi (Directory Entries): Add description for
23270 * manual/filesys.texi (Directory Entries): Clarify that it's file
23271 system not operating system in the description of DT_UNKNOWN.
23274 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23276 2012-04-08 Stephen Compall <s11@member.fsf.org>
23279 * manual/llio.texi (Opening and Closing Files): Add cross
23280 reference to explain mode argument.
23282 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23284 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23285 * sysdeps/x86_64/memset_chk.S: Likewise.
23287 2012-04-07 David S. Miller <davem@davemloft.net>
23289 * elf/elf.h (R_SPARC_WDISP10): Define.
23290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23293 R_SPARC_SIZE64 and R_SPARC_H34.
23295 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23297 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23298 conditions and remove no longer applicable assertion.
23300 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23302 * bits/byteswap.h: Include <features.h>.
23303 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23304 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23306 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23308 * bits/byteswap.h (__bswap_16): Removed.
23309 Include <bits/byteswap-16.h> to get __bswap_16.
23310 * sysdeps/i386/bits/byteswap.h: Likewise.
23311 * sysdeps/s390/bits/byteswap.h: Likewise.
23312 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23313 * bits/byteswap-16.h: New file.
23314 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23315 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23316 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23317 * string/Makefile (headers): Add bits/byteswap-16.h.
23319 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23322 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23324 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23325 * nss/tst-nss-static.c: New.
23327 2012-04-06 Robert Millan <rmh@gnu.org>
23330 * manual/llio.texi (File Position Primitive): lseek
23331 refers to WHENCE when it really means OFFSET.
23333 2012-04-06 Andreas Jaeger <aj@suse.de>
23335 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23336 strncmp declarations.
23338 * abilist/libc.abilist: Add __poll and __ppoll.
23340 2012-04-05 David S. Miller <davem@davemloft.net>
23342 * scripts/check-local-headers.sh: Accept a host triplet in the
23343 path matched by the exclude regexp.
23345 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23347 * sysdeps/powerpc/powerpc32/dl-machine.h
23348 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23349 * sysdeps/s390/s390-32/dl-machine.h
23350 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23351 * sysdeps/sparc/sparc32/dl-machine.h
23352 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23353 * sysdeps/sparc/sparc64/dl-machine.h
23354 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23356 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23358 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23359 undefined symbol errors.
23361 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23364 2012-04-05 Michael Matz <matz@suse.de>
23367 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23369 2012-04-05 Andreas Jaeger <aj@suse.de>
23372 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23375 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23377 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23378 which ROUND is no valid rounding mode.
23380 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23382 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23384 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23386 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23388 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23389 an exception using FPU order intentionally.
23391 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23393 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23394 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23395 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23396 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23398 2012-04-05 Simon Josefsson <simon@josefsson.org>
23401 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23402 EINVAL when BUFLEN is too smal.
23404 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23407 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23408 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23410 2012-04-03 Andreas Jaeger <aj@suse.de>
23413 * manual/setjmp.texi (System V contexts): Fix sentence.
23416 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23417 New macro for this case.
23418 [!__GNUC__] (__bswap_64): New inline function for this case.
23419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23420 * bits/byteswap.h: Likewise.
23421 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23422 ull, guard with __GLIBC_HAVE_LONG_LONG.
23424 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23425 __GLIBC_HAVE_LONG_LONG.
23427 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23428 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23430 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23433 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23434 inptr and inend, rather than using last_ch.
23436 2012-04-02 David S. Miller <davem@davemloft.net>
23438 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23439 * stdio-common/printf-parse.h (read_int): Change return type to
23440 'int', return -1 on INT_MAX overflow.
23441 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23442 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23443 overflows INT_MAX. Check for overflow of in-format-string precision
23444 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23445 SIZE_MAX not INT_MAX for integer overflow test.
23446 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23447 skip the construct in the format string but do not record anything.
23448 * stdio-common/bug22.c: Adjust to test both width/prevision
23449 INT_MAX overflow as well as total length INT_MAX overflow. Check
23450 explicitly for proper errno values.
23452 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23454 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23456 * string/test-strcmp.c [! WIDE]: Likewise.
23457 * time/tst-mktime2.c: Likewise for INT_MAX.
23458 * string/test-string.h: #include <sys/param.h> for MIN.
23460 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23461 * sysdeps/i386/init-first.c (init): Likewise.
23462 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23463 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23464 * sysdeps/sh/init-first.c (init): Likewise.
23466 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23468 * po/ru.po: Update from translation team.
23469 * po/vi.po: Likewise.
23471 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23473 * resolv/nss_dns/dns-host.c: Merge copyright years.
23475 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23477 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23478 Optimize memcpy with prefetch if
23479 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23480 src, dst pointers have unequal 16 byte alignments.
23482 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23485 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23486 from a CNAME entry and return the minimum ttl for the query.
23487 (gaih_getanswer_slice): Likewise.
23489 2012-03-30 Jeff Law <law@redhat.com>
23491 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23493 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23494 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23496 * resolv/nss_dns/dns-host.c: Update copyright year.
23498 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23500 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23501 requests to save a system call. Fix check that all bytes are sent.
23503 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23504 comments for sendmmsg.
23506 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23509 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23510 with only 1 character between 0x0041 and 0x01b0.
23511 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23512 * wcsmbs/tst-mbsnrtowcs.c: New file.
23514 2012-03-29 David S. Miller <davem@davemloft.net>
23516 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23517 small copies by hand.
23519 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23522 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23523 _nss_compat_initgroups_dyn): Fall back to malloc/free
23524 for large group memberships.
23526 2012-03-28 David S. Miller <davem@davemloft.net>
23528 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23529 that branches into memcpy.
23530 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23533 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23534 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23536 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23537 implementation too.
23538 * sysdeps/sparc/mempcpy.S: New file.
23540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23541 the IFUNC routine in the libc case.
23542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23544 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23545 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23546 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23547 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23548 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23549 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23550 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23551 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23553 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23554 loop to 256 bytes instead of 64 bytes and fix test signedness.
23556 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23557 * sysdeps/sparc/sparc32/Makefile: rather than here...
23558 * sysdeps/sparc/sparc64/Makefile: and here.
23560 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23562 * malloc/mallocbug.c: Avoid warnings about unused variables.
23564 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23567 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23568 in the right place. Discard and retry query if response is
23569 larger than input buffer size.
23571 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23576 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23577 x for large integer exponent.
23578 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23579 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23580 sign of result as needed afterwards.
23581 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23582 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23583 result for underflowing pow the same as for overflow.
23584 (__kernel_standard_l): Handle powl overflow and underflow here
23585 rather than calling __kernel_standard.
23586 * math/libm-test.inc (pow_test): Add more tests.
23601 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23602 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23603 (__kernel_standard_l): New function.
23604 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23606 * math/w_acosl.c (__acosl): Likewise.
23607 * math/w_asinl.c (__asinl): Likewise.
23608 * math/w_atan2l.c (__atan2l): Likewise.
23609 * math/w_atanhl.c (__atanhl): Likewise.
23610 * math/w_coshl.c (__coshl): Likewise.
23611 * math/w_exp10l.c (__exp10l): Likewise.
23612 * math/w_exp2l.c (__exp2l): Likewise.
23613 * math/w_fmodl.c (__fmodl): Likewise.
23614 * math/w_hypotl.c (__hypotl): Likewise.
23615 * math/w_j0l.c (__j0l, __y0l): Likewise.
23616 * math/w_j1l.c (__j1l, __y1l): Likewise.
23617 * math/w_jnl.c (__jnl, __ynl): Likewise.
23618 * math/w_lgammal.c (__lgammal): Likewise.
23619 * math/w_log10l.c (__log10l): Likewise.
23620 * math/w_log2l.c (__log2l): Likewise.
23621 * math/w_logl.c (__logl): Likewise.
23622 * math/w_powl.c (__powl): Likewise.
23623 * math/w_remainderl.c (__remainderl): Likewise.
23624 * math/w_scalbl.c (sysv_scalbl): Likewise.
23625 * math/w_sinhl.c (__sinhl): Likewise.
23626 * math/w_sqrtl.c (__sqrtl): Likewise.
23627 * math/w_tgammal.c (__tgammal): Likewise.
23628 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23629 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23630 * math/libm-test.inc (acos_test): Add more tests.
23631 (acosh_test): Likewise.
23632 (asin_test): Likewise.
23633 (atanh_test): Likewise.
23634 (exp_test): Likewise.
23635 (exp10_test): Likewise.
23636 (exp2_test): Likewise.
23637 (expm1_test): Likewise.
23638 (lgamma_test): Likewise.
23639 (log_test): Likewise.
23640 (log10_test): Likewise.
23641 (log1p_test): Likewise.
23642 (log2_test): Likewise.
23643 (pow_test): Do not allow some spurious overflow exceptions.
23644 (sqrt_test): Add more tests.
23645 (tgamma_test): Likewise.
23646 (y0_test): Likewise.
23647 (y1_test): Likewise.
23648 (yn_test): Likewise.
23650 2012-03-27 Anton Blanchard <anton@samba.org>
23652 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23655 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23658 2012-03-27 David S. Miller <davem@davemloft.net>
23660 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23662 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23663 have-as-vis3 check.
23665 2012-03-27 Andreas Jaeger <aj@suse.de>
23667 * sysdeps/x86_64/elf/configure.in: Moved to ...
23668 * sysdeps/x86_64/configure.in: ... here.
23669 * sysdeps/x86_64/elf/start.S: Moved to ...
23670 * sysdeps/x86_64/start.S: ... here.
23671 * sysdeps/x86_64/elf/configure: Delete.
23673 * sysdeps/x86_64/configure.in: Merge contents from
23674 sysdeps/i386/configure.in (without i686 check).
23676 * sysdeps/i386/elf/Versions: Merge into ...
23677 * sysdeps/i386/Versions: ... this.
23678 * sysdeps/i386/elf/Versions: Delete file.
23679 * sysdeps/i386/elf/start.S: Moved to ...
23680 * sysdeps/i386/start.S: ...here.
23681 * sysdeps/i386/elf/configure.in: Merge into...
23682 * sysdeps/i386/configure.in: ...here.
23683 * sysdeps/i386/elf/configure.in: Delete file.
23684 * sysdeps/i386/elf/configure: Delete file.
23686 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23687 * debug/backtracesyms.c: ... here.
23688 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23689 * debug/backtracesymsfd.c: ... here.
23690 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23691 * sysdeps/generic/ifunc-sel.h: ... here.
23693 * sysdeps/unix/i386/start.c: Delete file.
23694 * sysdeps/unix/sparc/start.c: Delete file.
23695 * sysdeps/unix/start.c: Delete file.
23697 * sysdeps/sh/elf/configure.in: Moved to ...
23698 * sysdeps/sh/configure.in: ... here.
23699 * sysdeps/sh/elf/start.S: Moved to ...
23700 * sysdeps/sh/start.S: ... here.
23701 * sysdeps/sh/elf/configure: Delete file.
23703 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23704 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23705 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23706 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23707 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23708 * sysdeps/powerpc/powerpc64/start.S: here.
23709 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23710 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23711 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23712 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23713 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23715 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23716 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23717 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23718 * sysdeps/powerpc/powerpc32/start.S: ... here.
23719 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23720 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23721 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23723 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23724 * sysdeps/powerpc/ifunc-sel.h: ... here.
23725 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23726 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23728 * sysdeps/sparc/elf/configure.in: Moved to ...
23729 * sysdeps/sparc/configure.in: ... here.
23730 * sysdeps/sparc/elf/configure: Delete file.
23731 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23732 * sysdeps/sparc/sparc32/start.S: ... here.
23733 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23734 * sysdeps/sparc/sparc64/start.S: ... here.
23735 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23736 * sysdeps/sparc/sparc32/Makefile: ... this.
23737 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23738 * sysdeps/sparc/sparc64/Makefile: ... this.
23740 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23741 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23742 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23743 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23744 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23745 * sysdeps/s390/s390-32/setjmp.S: ... here.
23746 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23747 * sysdeps/s390/s390-32/configure.in: ... here.
23748 * sysdeps/s390/s390-32/elf/configure: Delete file.
23749 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23750 * sysdeps/s390/s390-32/start.S: ... here.
23752 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23753 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23754 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23755 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23756 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23757 * sysdeps/s390/s390-64/setjmp.S: ... here.
23758 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23759 * sysdeps/s390/s390-64/configure.in: ... here
23760 * sysdeps/s390/s390-64/elf/configure: Delete file.
23761 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23762 * sysdeps/s390/s390-64/start.S: ... here.
23763 * sysdeps/s390/s390-64/elf/configure: Delete.
23765 * configure.in: Remove support for elf directories in sysdeps.
23767 * configure: Regenerated.
23768 * sysdeps/i386/configure: Regenerated.
23769 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23770 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23771 * sysdeps/s390/s390-32/configure: Regenerated.
23772 * sysdeps/s390/s390-64/configure: Regenerated.
23773 * sysdeps/sh/configure: Regenerated.
23774 * sysdeps/sparc/configure: Regenerated.
23775 * sysdeps/x86_64/configure: Regenerated.
23777 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23781 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23782 denormal result into account.
23784 2012-03-25 Roland McGrath <roland@hack.frob.com>
23786 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23787 Reported by Allan McRae <allan@archlinux.org>.
23789 2012-03-23 Jeff Law <law@redhat.com>
23791 * nss/getnssent.c (__nss_getent): Fix typo.
23793 2012-03-23 David S. Miller <davem@davemloft.net>
23795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23797 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23799 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23800 to pad to uint64_t for each field.
23801 (dl_tls_index): Replace unsigned long with uint64_t.
23803 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23804 Paul Pluzhnikov <ppluzhnikov@google.com>
23807 * grp/Makefile (otherlibs): Don't set it.
23808 * inet/Makefile (otherlibs): Likewise.
23809 * login/Makefile (otherlibs): Likewise.
23810 * nscd/Makefile (otherlibs): Likewise.
23811 * posix/Makefile (otherlibs): Likewise.
23812 * pwd/Makefile (otherlibs): Likewise.
23813 * rt/Makefile (otherlibs): Likewise.
23814 * sunrpc/Makefile (otherlibs): Likewise.
23815 * nss/Makefile (otherlibs): Likewise.
23816 Add libnss_files to routines and static-only-routines.
23817 ($(objpfx)getent): Remove rule.
23818 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23819 static-only-routines.
23821 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23824 * math/s_cexp.c: Include <float.h>.
23825 (__cexp): Handle exp result overflowing not necessarily
23826 overflowing both real and imaginary parts of result.
23827 * math/s_cexpf.c: Likewise.
23828 * math/s_cexpl.c: Likewise.
23829 * math/libm-test.inc (cexp_test): Add more tests.
23830 * sysdeps/i386/fpu/libm-test-ulps: Update.
23831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23833 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23835 * include/link.h (ELFW): New macro.
23836 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23837 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23839 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23841 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23844 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23846 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23848 (struct La_x32_retval): Likewise.
23850 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23852 * sysdeps/x86_64/preconfigure.in: New file.
23853 * sysdeps/x86_64/preconfigure: New generated file.
23855 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23858 * math/e_exp2l.c: Include <float.h>.
23859 (__ieee754_exp2l): Handle overflow and underflow cases
23860 separately. Only pass fractional part of argument to
23862 * math/libm-test.inc (exp2_test): Add more tests.
23864 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23865 negating x to take absolute value.
23866 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23868 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23869 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23871 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23872 computing low part if x was negated.
23873 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23875 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23877 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23878 la_x32_gnu_pltexit.
23879 (pltexit): Cast int_retval to ptrdiff_t.
23880 * elf/tst-auditmod3b.c: Likewise.
23881 * elf/tst-auditmod4b.c: Likewise.
23882 * elf/tst-auditmod5b.c: Likewise.
23883 * elf/tst-auditmod6b.c: Likewise.
23884 * elf/tst-auditmod6c.c: Likewise.
23885 * elf/tst-auditmod7b.c: Likewise.
23887 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23888 and x32_gnu_pltexit.
23890 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23891 __ELF_NATIVE_CLASS.
23892 (La_x32_regs): New macro.
23893 (La_x32_retval): Likewise.
23894 (la_x32_gnu_pltenter): New function prototype.
23895 (la_x32_gnu_pltexit): Likewise.
23897 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23899 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23904 * configure.in (libc_cv_cc_nofma): Check for option to disable
23905 generation of FMA instructions.
23906 * configure: Regenerate.
23907 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23908 * sysdeps/ieee754/dbl-64/Makefile: New file.
23909 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23910 Remove brandred-fma4.
23911 (CFLAGS-brandred-fma4.c): Remove.
23912 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23913 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23915 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23918 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23920 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23921 LLONG_MAX != LONG_MAX.
23922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23923 (_fitoa_word): Likewise.
23924 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23925 LLONG_MAX != LONG_MAX.
23926 * stdio-common/_itowa.h: Include <_itoa.h>.
23927 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23928 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23929 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23930 only if not defined.
23931 (_ITOA_WORD_TYPE): Likewise.
23932 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23933 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23935 2012-03-21 David S. Miller <davem@davemloft.net>
23937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23939 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23941 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23942 of x86_64 when setting libc_cv_slibdir, libdir and
23944 * sysdeps/unix/sysv/linux/configure: Regenerated.
23946 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23948 * manual/lang.texi (Old Varargs): Remove section.
23949 (How Variadic): Update menu.
23950 (va_start): Do not mention varargs.h.
23952 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23953 Joseph Myers <joseph@codesourcery.com>
23955 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23957 * configure: Regenerated.
23959 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23961 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23962 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23965 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23968 * Makefile (files-for-dist): Remove NOTES.
23969 (NOTES): Remove rule.
23970 * README: Don't refer to NOTES.
23971 * manual/creature.texi: Don't include macros.texi.
23972 * manual/intro.texi (creature.texi): Remove comment referring to
23975 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23976 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23977 * configure: Regenerated.
23978 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23979 LIBC_TRY_CC_OPTION.
23980 (libc_cv_as_i686): Likewise.
23981 (libc_cv_cc_avx): Likewise.
23982 (libc_cv_cc_sse2avx): Likewise.
23983 (libc_cv_cc_fma4): Likewise.
23984 (libc_cv_cc_novzeroupper): Likewise.
23985 * sysdeps/i386/configure: Regenerated.
23988 * sysdeps/i386/fpu/s_cexp.S: Remove.
23989 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23990 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23991 * math/libm-test.inc (cexp_test): Add more tests.
23992 * sysdeps/i386/fpu/libm-test-ulps: Update.
23993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23995 2012-03-21 Allan McRae <allan@archlinux.org>
23997 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23999 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24002 * math/w_exp2.c: Do not include <float.h>.
24003 (o_threshold, u_threshold): Remove.
24004 (__exp2): Calculate result before checking finiteness and calling
24006 * math/w_exp2f.c: Likewise.
24007 * math/w_exp2l.c: Likewise.
24008 * math/libm-test.inc (exp2_test): Require overflow exception for
24012 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24013 range of signed 64-bit integers before using fistpll. Remove
24014 checks for whether integers fit in mantissa bits.
24015 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24016 the range of signed 32-bit integers before using fistpl. Remove
24017 checks for whether integers fit in mantissa bits.
24018 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24019 (__ieee754_powl): Test for y outside the range of signed 64-bit
24020 integers before using fistpll. Reduce 64-bit values to 63-bit
24022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24023 divide-by-zero is raised for zero to large negative powers.
24024 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24025 (__ieee754_powl): Test for y outside the range of signed 64-bit
24026 integers before using fistpll. Reduce 64-bit values to 63-bit
24028 * math/libm-test.inc (pow_test): Add more tests.
24030 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24032 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24033 <stdio-common/_itoa.h>.
24034 * debug/segfault.c: Likewise.
24035 * elf/dl-cache.c: Likewise.
24036 * elf/dl-minimal.c: Likewise.
24037 * elf/dl-misc.c: Likewise.
24038 * elf/dl-sysdep.c: Likewise.
24039 * elf/dl-version.c: Likewise.
24040 * elf/rtld.c: Likewise.
24041 * hurd/hurdsock.c: Likewise.
24042 * hurd/lookup-retry.c: Likewise.
24043 * malloc/malloc.c: Likewise.
24044 * malloc/mtrace.c: Likewise.
24045 * nscd/nscd_getgr_r.c: Likewise.
24046 * nscd/nscd_getpw_r.c: Likewise.
24047 * nscd/nscd_getserv_r.c: Likewise.
24048 * posix/getopt_init.c: Likewise.
24049 * posix/wordexp.c: Likewise.
24050 * stdio-common/_itoa.c: Likewise.
24051 * stdio-common/printf_fphex.c: Likewise.
24052 * stdio-common/vfprintf.c: Likewise.
24053 * string/_strerror.c: Likewise.
24054 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24055 * sysdeps/i386/i686/hp-timing.h: Likewise.
24056 * sysdeps/mach/_strerror.c: Likewise.
24057 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24058 * sysdeps/mach/hurd/sethostid.c: Likewise.
24059 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24060 * sysdeps/mach/xpg-strerror.c: Likewise.
24061 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24062 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24063 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24064 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24065 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24066 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24067 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24068 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24069 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24070 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24071 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24072 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24073 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24074 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24075 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24076 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24077 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24078 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24079 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24080 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24081 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24083 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24085 * stdio-common/_itoa.h: Moved to ...
24086 * sysdeps/generic/_itoa.h: Here.
24088 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24090 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24091 instead of "_itoa.h" and "_itowa.h".
24092 * stdio-common/vfprintf.: Likewise.
24094 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24096 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24098 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24099 (__signbit): Likwise.
24100 (llrintf): Likwise.
24103 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24105 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24108 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24110 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24111 OVERFLOW_EXCEPTION_OK.
24112 * math/libm-test.inc ("Philosophy"): Update comment about
24114 (OVERFLOW_EXCEPTION): Define.
24115 (OVERFLOW_EXCEPTION_OK): Likewise.
24116 (INVALID_EXCEPTION_OK): Renumber.
24117 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24118 (IGNORE_ZERO_INF_SIGN): Likewise.
24119 (test_exceptions): Handle FE_OVERFLOW.
24120 (exp10_test): Expect overflow exceptions.
24121 (exp2_test): Likewise.
24122 (expm1_test): Likewise.
24123 (nextafter_test): Likewise.
24124 (pow_test): Likewise.
24125 (scalbn_test): Likewise.
24126 (scalbln_test): Likewise.
24128 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24130 * sysdeps/x86_64/bits/atomic.h
24131 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24133 (atomic_exchange_acq): Likewise.
24134 (__arch_exchange_and_add_body): Likewise.
24135 (__arch_add_body): Likewise.
24136 (atomic_add_negative): Likewise.
24137 (atomic_add_zero): Likewise.
24139 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24141 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24142 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24144 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24146 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24147 Check __x86_64__ instead of __WORDSIZE.
24149 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24151 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24153 2012-03-19 David S. Miller <davem@davemloft.net>
24155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24157 * sysdeps/sparc/fpu/fenv_private.h: New file.
24158 * sysdeps/sparc/fpu/math_private.h: Use it.
24159 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24161 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24162 (libc_feholdexcept_setroundl): Remove.
24163 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24165 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24166 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24168 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24170 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24171 int64_t instead of long int.
24172 (INSERT_WORDS64): Likwise.
24174 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24176 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24177 _Unwind_GetCFA return to _Unwind_Ptr first.
24179 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24182 * math/s_clog.c: Include <float.h>.
24183 (__clog): Scale large or subnormal inputs.
24184 * math/s_clogf.c: Likewise.
24185 * math/s_clogl.c: Likewise.
24186 * math/s_clog10.c: Include <float.h>.
24187 (M_LOG10_2): Define.
24188 (__clog10): Scale large or subnormal inputs.
24189 * math/s_clog10f.c: Likewise.
24190 * math/s_clog10l.c: Likewise.
24191 * math/libm-test.inc (clog_test): Add more tests.
24192 (clog10_test): Likewise.
24193 * sysdeps/i386/fpu/libm-test-ulps: Update.
24194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24197 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24199 * math/libm-test.inc (atan2_test): Add another test.
24201 * Makerules (common-objdir-compile): Remove.
24202 * sysdeps/unix/Makefile (config-generated): Do not add
24203 $(unix-generated) to variable.
24204 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24205 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24207 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24209 [generic bits/local_lim.h] (before-compile): Do not append to
24211 [generic bits/local_lim.h] (common-generated): Likewise.
24212 [generic sys/param.h] (before-compile): Do not append to variable.
24213 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24214 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24215 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24216 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24218 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24219 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24220 [generic sys/param.h] ($(addprefix
24221 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24222 [generic sys/param.h] (common-generated): Do not append to
24224 [generic sys/param.h] (sysdep_headers): Likewise.
24225 [generic bits/errno.h] (before-compile): Do not append to
24227 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24229 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24230 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24231 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24232 [generic bits/errno.h] (common-generated): Do not append to
24234 [generic bits/ioctls.h] (before-compile): Do not append to
24236 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24238 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24239 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24240 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24242 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24243 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24244 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24245 [generic bits/ioctls.h] (common-generated): Do not append to
24247 [generic sys/syscall.h] (syscall.h): Remove variable.
24248 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24250 [generic sys/syscall.h] (before-compile): Do not append to
24252 [generic sys/syscall.h] (common-generated): Likewise.
24253 * sysdeps/unix/errnos-tmpl.c: Remove file.
24254 * sysdeps/unix/errnos.awk: Likewise.
24255 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24256 * sysdeps/unix/ioctls.awk: Likewise.
24257 * sysdeps/unix/mk-local_lim.c: Likewise.
24258 * sysdeps/unix/snarf-ioctls: Likewise.
24260 2012-03-19 Richard Henderson <rth@twiddle.net>
24262 * sysdeps/i386/fpu/fenv_private.h: New file.
24263 * sysdeps/i386/fpu/math_private.h: Use it.
24264 (math_opt_barrier, math_force_eval): Remove.
24265 (libc_feholdexcept_setround_53bit): Remove.
24266 (libc_feupdateenv_53bit): Remove.
24267 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24268 (math_opt_barrier, math_force_eval): Remove.
24269 (libc_feholdexcept): Remove.
24270 (libc_feholdexcept_setround): Remove.
24271 (libc_fetestexcept, libc_fesetenv): Remove.
24272 (libc_feupdateenv_test): Remove.
24273 (libc_feupdateenv, libc_feholdsetround): Remove.
24274 (libc_feresetround): Remove.
24276 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24277 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24279 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24280 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24281 (libc_feupdateenv_testl): New.
24282 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24283 (libc_feupdateenv_testf): New.
24284 (libc_feupdateenv): Use libc_feupdateenv_test.
24285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24286 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24288 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24289 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24290 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24291 (libc_feresetround_noex): New.
24292 (libc_feresetround_noexf): New.
24293 (libc_feresetround_noexl): New.
24294 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24295 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24296 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24297 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24300 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24302 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24303 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24304 SET_RESTORE_ROUND_NOEX.
24305 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24306 SET_RESTORE_ROUND_NOEXF.
24307 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24308 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24309 (libc_feholdsetroundf): New.
24310 (libc_feresetround, libc_feresetroundf): New.
24312 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24313 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24314 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24316 * sysdeps/generic/math_private.h: Include <fenv.h>.
24317 (default_libc_feholdexcept): New.
24318 (default_libc_feholdexcept_setround): New.
24319 (default_libc_fesetenv, default_libc_feupdateenv): New.
24320 (libc_feholdexcept): Only define if undefined.
24321 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24322 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24323 (libc_feholdexcept_setroundl): Likewise.
24324 (libc_feholdexcept_setround_53bit): Likewise.
24325 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24326 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24327 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24328 (libc_feupdateenv_53bit): Likewise.
24329 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24330 (libc_feholdexcept): Convert from macro to inline function.
24331 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24332 (libc_fesetenv, libc_feupdateenv): Likewise.
24334 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24335 not previously defined.
24336 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24337 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24338 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24339 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24340 * sysdeps/ieee754/flt-32/math_private.h: New file.
24341 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24342 math_private.h below SET_FLOAT_WORD.
24343 (__isnan, __isinf_ns, __finite): Remove.
24344 (__isnanf, __isinf_nsf, __finitef): Remove.
24346 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24350 2012-03-17 David S. Miller <davem@davemloft.net>
24353 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24356 2012-03-16 David S. Miller <davem@davemloft.net>
24358 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24362 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24364 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24365 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24366 sysdep_routines when subdir is sysvipc.
24367 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24368 __getshmlba helper.
24370 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24372 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24374 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24377 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24379 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24380 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24381 (__lround): Renamed to ...
24382 (__llround): This. Replace long int with long long int.
24383 Define lround functions as aliases of llround functions.
24384 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24386 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24388 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24389 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24390 adresses to uintptr_t. Replace "long int" and "unsigned long
24391 int" with "greg_t" on va_arg.
24393 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24395 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24396 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24398 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24399 Move e_machine check before EI_CLASS check. Handle x32
24400 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24401 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24402 SKIP_EM_IA_64 and include
24403 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24405 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24406 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24407 (add_system_dir): New macro.
24409 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24410 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24412 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24423 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24425 * math/w_j0f.c (j0f): Likewise.
24427 * math/w_j0l.c (__j0l): Likewise.
24429 * math/w_j1.c (j1): Likewise.
24431 * math/w_j1f.c (j1f): Likewise.
24433 * math/w_j1l.c (__j1l): Likewise.
24435 * math/w_jn.c (jn): Likewise.
24437 * math/w_jnf.c (jnf): Likewise.
24439 * math/w_jnl.c (__jnl): Likewise.
24441 * math/libm-test.inc (j0_test): Add more tests.
24442 (j1_test): Likewise.
24443 (jn_test): Likewise. Add trailing semicolon to existing test.
24444 (y0_test): Likewise.
24445 (y1_test): Likewise.
24446 * sysdeps/i386/fpu/libm-test-ulps: Update.
24447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24451 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24452 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24453 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24454 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24455 (__tanl): Set errno for infinite argument.
24456 * sysdeps/i386/fpu/mptan.c: Remove.
24457 * sysdeps/i386/fpu/s_tan.S: Likewise.
24458 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24459 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24460 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24461 * math/libm-test.inc (tan_test): Add more tests and enable more
24462 tests for double and long double.
24463 * sysdeps/i386/fpu/libm-test-ulps: Update.
24464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24466 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24468 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24469 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24471 2012-03-16 Roland McGrath <roland@hack.frob.com>
24473 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24474 * configure.in: Use it for both main tree and add-ons.
24475 * configure: Regenerated.
24477 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24479 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24481 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24483 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24487 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24488 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24489 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24490 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24491 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24493 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24495 != 0 for prec == 2.
24496 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24497 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24498 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24499 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24500 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24501 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24502 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24503 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24504 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24505 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24506 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24507 * math/libm-test.inc (cos_test): Add more tests and enable more
24508 tests for long double.
24509 (sin_test): Likewise.
24510 (sincos_test): Likewise.
24511 * sysdeps/i386/fpu/libm-test-ulps: Update.
24512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24514 2012-03-16 David S. Miller <davem@davemloft.net>
24516 * sysdeps/sparc/fpu/math_private.h: New file.
24518 2012-03-15 David S. Miller <davem@davemloft.net>
24520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24534 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24535 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24537 * sysdeps/sparc/sparc-ifunc.h: New file.
24538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24576 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24577 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24583 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24585 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24589 2012-03-15 Andreas Jaeger <aj@suse.de>
24592 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24593 ieee754/flt-32 implementation for sin, cos and sincos.
24594 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24595 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24596 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24597 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24598 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24599 ieee754/flt-32 implementation for tan.
24601 * math/libm-test.inc (cos_test): Enable some large input tests for
24603 (sin_test): Likewise.
24604 (sincos_test): Likewise.
24605 (tan_test): Add tests for large input.
24607 * sysdeps/i386/fpu/libm-test-ulps: Update.
24609 2012-03-15 Andreas Jaeger <aj@suse.de>
24612 * math/libm-test.inc (cos_test): Add more test cases.
24613 (sin_test): Likewise.
24614 (sincos_test): Likewise.
24616 2012-03-15 Andreas Jaeger <aj@suse.de>
24619 * math/libm-test.inc (cos_test): Add a test case for large input
24621 (sin_test): Likewise.
24622 (sincos_test): Likewise.
24624 2012-03-15 Andreas Jaeger <aj@suse.de>,
24625 Joseph Myers <joseph@codesourcery.com>
24628 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24629 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24630 * sysdeps/i386/fpu/branred.c: Likewise.
24631 * sysdeps/i386/fpu/dosincos.c: Likewise.
24632 * sysdeps/i386/fpu/mpa.c: Likewise.
24633 * sysdeps/i386/fpu/s_cos.S: Likewise.
24634 * sysdeps/i386/fpu/s_sin.S: Likewise.
24635 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24636 * sysdeps/i386/fpu/sincos32.c: Likewise.
24638 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24640 (libc_feupdateenv_53bit): Define.
24641 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24643 (libc_feupdateenv_53bit): Define.
24645 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24646 53 bit (without extend i386 double precision).
24648 * math/libm-test.inc (sincos_test): Add tests for large input.
24652 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24654 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24658 2012-03-15 David S. Miller <davem@davemloft.net>
24660 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24661 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24662 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24663 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24688 fmin/fmax sysdep routines.
24689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24691 2012-03-14 David S. Miller <davem@davemloft.net>
24693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24765 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24770 * sysdeps/sparc/configure.in: New file.
24771 * sysdeps/sparc/configure: Generate.
24772 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24773 * configure: Regenerate.
24774 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24775 * config.make.in (have-as-vis3): New.
24776 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24777 available use -Av9d instead of -Av9a.
24778 * sysdeps/sparc/sparc64/Makefile: Likewise.
24779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24788 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24791 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24794 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24795 fzeros/fnegs to load 0x80000000 into a float register instead of
24797 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24799 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24803 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24804 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24805 ($(inst_includedir)/bits/syscall.h): Remove rule.
24806 ($(objpfx)bits/syscall.d): Include instead of
24807 $(objpfx)syscall-list.d.
24808 (generated): Change syscall-list.h and syscall-list.d to
24809 bits/syscall.h and bits/syscall.d.
24811 2012-03-14 Roland McGrath <roland@hack.frob.com>
24814 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24816 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24819 * math/s_csqrt.c: Include <float.h>.
24820 (__csqrt): Scale large or subnormal inputs.
24821 * math/s_csqrtf.c: Likewise.
24822 * math/s_csqrtl.c: Likewise.
24823 * math/libm-test.inc (csqrt_test): Add more tests.
24824 * sysdeps/i386/fpu/libm-test-ulps: Update.
24825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24828 * math/libm-test.inc (hypot_test): Add more tests.
24830 2012-03-13 David S. Miller <davem@davemloft.net>
24833 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24834 double-precision for the calculation instead of scaling.
24836 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24838 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24839 manipulate bits before adding and subtracting TWO52[sx].
24840 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24841 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24843 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24845 2012-03-13 David S. Miller <davem@davemloft.net>
24847 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24848 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24850 rtld-global-offsets.h
24851 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24853 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24856 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24858 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24859 'err' in the ifdef scope in which it is actually used.
24861 * nss/nss_db/db-init.c: Include string.h
24863 2012-03-12 David S. Miller <davem@davemloft.net>
24865 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24866 masking out of the most significant byte of random value used.
24867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24868 Fix coding style in previous change.
24870 * sysdeps/unix/sysv/linux/kernel-features.h
24871 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24872 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24874 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24877 2012-03-11 David S. Miller <davem@davemloft.net>
24879 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24880 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24882 for 'resultvar' otherwise things get truncated on 64-bit.
24884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24885 Fix masking out of the most significant byte of random value used.
24887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24889 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24893 2012-03-09 David S. Miller <davem@davemloft.net>
24895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24896 variables with appropriate CPP guards.
24897 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24898 frame pointer, not the stack pointer. Correct layout comments. Fix test
24899 on resulting framesize and the management of the outregs buffer for pltexit.
24900 Preserve floating point return values across _dl_call_pltexit call.
24901 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24902 framesize and the management of the outregs buffer for pltexit.
24903 Preserve floating point return values across _dl_call_pltexit
24905 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24906 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24907 (print_exit): Fix format string for return register value.
24909 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24911 * sunrpc/Makefile (others): Add rpcgen.
24912 ($(objpfx)rpcgen): Remove special build rule and dependency on
24914 * sunrpc/rpcgen.c: New file.
24916 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24919 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24920 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24921 * sysdeps/i386/crti.S: Likewise.
24922 * sysdeps/i386/crtn.S: Likewise.
24923 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24924 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24925 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24926 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24927 * sysdeps/sh/crti.S: Likewise.
24928 * sysdeps/sh/crtn.S: Likewise.
24929 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24932 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24934 * locale/programs/locfile-kw.gperf: Likewise.
24935 * locale/programs/charmap-kw.h: Regenerated.
24936 * locale/programs/locfile-kw.h: Likewise.
24939 * intl/plural.y: Replace FSF snail mail address with URL.
24940 * intl/plural.c: Regenerated.
24942 2012-03-09 Richard Henderson <rth@twiddle.net>
24944 * include/math_private.h: Remove file.
24945 * math/math_private.h: Move file ...
24946 * sysdeps/generic/math_private.h: ... here.
24948 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24949 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24950 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24952 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24953 and <math_private.h>.
24954 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24955 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24956 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24957 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24958 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24959 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24960 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24962 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24963 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24964 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24965 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24966 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24967 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24968 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24969 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24970 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24971 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24972 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24973 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24974 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24975 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24976 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24977 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24978 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24979 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24980 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24981 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24982 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24983 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24984 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24986 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24987 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24988 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24989 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24990 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24991 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24992 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24993 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24994 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24995 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24996 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24999 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25000 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25001 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25002 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25004 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25006 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25007 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25008 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25009 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25010 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25011 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25012 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25013 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25014 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25015 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25017 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25018 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25019 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25020 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25021 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25022 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25023 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25024 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25025 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25026 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25027 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25028 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25030 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25032 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25033 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25034 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25035 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25036 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25037 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25038 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25040 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25041 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25042 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25043 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25044 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25045 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25046 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25047 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25048 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25049 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25050 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25051 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25052 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25053 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25054 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25055 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25056 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25057 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25058 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25059 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25060 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25061 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25062 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25063 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25064 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25065 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25066 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25067 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25068 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25069 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25070 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25071 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25072 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25073 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25074 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25075 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25076 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25077 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25078 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25079 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25080 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25081 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25082 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25083 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25084 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25085 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25086 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25087 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25088 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25089 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25090 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25091 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25092 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25093 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25094 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25095 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25096 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25097 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25098 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25099 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25100 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25101 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25102 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25103 * sysdeps/ieee754/k_standard.c: Likewise.
25104 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25105 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25106 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25107 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25108 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25109 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25110 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25111 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25112 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25113 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25114 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25115 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25116 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25117 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25118 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25119 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25120 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25121 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25122 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25123 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25124 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25125 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25129 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25130 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25131 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25132 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25133 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25134 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25135 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25136 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25137 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25138 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25139 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25140 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25141 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25142 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25143 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25144 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25145 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25146 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25147 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25148 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25149 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25150 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25151 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25152 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25153 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25154 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25155 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25156 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25157 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25158 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25159 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25160 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25161 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25162 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25163 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25164 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25165 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25166 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25167 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25170 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25171 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25172 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25173 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25174 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25176 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25177 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25178 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25179 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25180 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25181 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25182 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25183 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25184 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25186 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25187 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25189 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25190 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25191 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25192 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25194 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25195 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25196 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25197 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25198 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25199 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25200 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25201 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25202 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25203 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25207 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25211 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25212 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25216 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25219 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25221 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25223 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25224 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25226 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25228 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25229 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25230 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25231 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25232 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25233 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25234 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25235 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25236 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25237 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25238 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25239 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25240 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25241 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25242 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25243 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25244 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25245 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25246 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25247 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25248 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25249 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25250 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25251 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25252 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25253 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25254 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25255 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25256 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25257 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25258 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25259 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25260 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25261 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25262 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25263 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25264 * sysdeps/ieee754/s_lib_version.c: Likewise.
25265 * sysdeps/ieee754/s_matherr.c: Likewise.
25266 * sysdeps/ieee754/s_signgam.c: Likewise.
25267 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25268 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25269 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25270 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25271 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25272 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25273 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25274 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25275 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25276 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25277 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25278 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25279 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25280 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25281 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25282 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25283 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25284 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25285 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25287 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25289 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25291 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25292 * sunrpc/rpc_main.c: Likewise.
25293 * sunrpc/rpc_svcout.c: Likewise.
25295 2012-03-09 David S. Miller <davem@davemloft.net>
25297 * include/math_private.h: New file.
25299 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25301 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25302 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25303 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25304 from <bits/socket_type.h>.
25305 (enum __socket_type): Don't define here.
25306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25308 bits/socket_type.h.
25311 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25312 checking __USE_GNU.
25314 * Makerules ($(inst_includedir)/%.h): New rule.
25315 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25316 (install-others): Remove variable setting.
25317 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25319 2012-03-08 Richard Henderson <rth@twiddle.net>
25321 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25322 from macro to inline function; merge with the
25323 !__LIBC_INTERNAL_MATH_INLINES version.
25324 (__ieee754_sqrtf): Likewise.
25326 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25327 to inline function.
25328 (__rintf, __floor, __floorf): Likewise.
25330 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25331 macro to inline function.
25332 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25334 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25335 not <math/math_private.h>.
25337 2012-03-08 David S. Miller <davem@davemloft.net>
25339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25341 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25343 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25345 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25347 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25348 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25350 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25352 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25353 be defined individually, they must be defined as a block. Define
25354 S for printing a string instead of hidint the different by using a
25355 macro for adding the 'l'.
25356 * stdio-common/tst-fphex-wide.c: Adjust.
25358 2012-03-07 Marek Polacek <polacek@redhat.com>
25360 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25362 2012-03-08 Marek Polacek <polacek@redhat.com>
25365 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25366 * stdio-common/tst-fphex.c: Define a few macros to make the
25367 test reusable. Use them.
25368 * stdio-common/tst-fphex-wide.c: New file.
25370 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25373 * manual/macros.texi (gnusystems): New macro.
25374 (nongnusystems): Likewise.
25375 (gnulinuxhurdsystems): Likewise.
25376 (gnuhurdsystems): Likewise..
25377 (gnulinuxsystems): Likewise.
25378 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25379 variants of the GNU system, not "GNU system".
25380 * manual/conf.texi: Likewise.
25381 * manual/errno.texi: Likewise. Update example of errno macro
25383 * manual/filesys.texi: Likewise.
25384 (getumask): Document as specific to GNU/Hurd.
25385 * manual/install.texi: Likewise. Reword some references to
25387 * manual/intro.texi: Likewise.
25388 * manual/io.texi: Likewise.
25389 (File Name Portability): Detail which constraints are inapplicable
25390 to all GNU systems and which are only inapplicable to GNU/Hurd.
25391 * manual/job.texi: Likewise.
25392 * manual/llio.texi: Likewise.
25393 (O_NOCTTY): Document as present on GNU/Linux.
25394 * manual/maint.texi: Likewise.
25395 * manual/memory.texi: Likewise.
25396 * manual/pattern.texi: Likewise.
25397 * manual/pipe.texi: Likewise.
25398 * manual/process.texi: Likewise.
25399 * manual/resource.texi: Likewise.
25400 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25402 * manual/setjmp.texi: Likewise.
25403 * manual/signal.texi: Likewise.
25404 * manual/startup.texi: Likewise.
25405 * manual/stdio.texi: Likewise.
25406 * manual/terminal.texi: Likewise.
25407 (ONLCR): Document as POSIX.
25408 (OXTABS): Document availability on GNU/Linux as XTABS.
25409 (ONOEOT): Document availability separately from other bits.
25410 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25411 * manual/time.texi: Likewise.
25412 * manual/users.texi: Likewise.
25413 * INSTALL: Regenerated.
25414 * sysdeps/gnu/errlist.c: Regenerated.
25416 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25417 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25418 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25420 * configure: Regenerated.
25422 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25424 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25425 default includes instead of AC_HEADER_CHECK.
25426 * sysdeps/i386/configure: Regenerated.
25429 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25430 * math/s_cacoshf.c (__cacoshf): Likewise.
25431 * math/s_cacoshl.c (__cacoshl): Likewise.
25432 * math/s_casinh.c (__casinh): Set signs of result from argument.
25433 * math/s_casinhf.c (__casinhf): Likewise.
25434 * math/s_casinhl.c (__casinhl): Likewise.
25435 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25436 (casinh_test): Add more tests.
25437 * sysdeps/i386/fpu/libm-test-ulps: Update.
25438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25440 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25442 * po/zh_TW.po: Update from translation team.
25444 * login/Makefile (distribute): Remove variable.
25445 * catgets/Makefile: Likewise.
25446 * mach/Makefile: Likewise.
25447 * malloc/Makefile: Likewise.
25448 * misc/Makefile: Likewise.
25449 * iconv/Makefile: Likewise.
25450 * nscd/Makefile: Likewise.
25451 * hurd/Makefile: Likewise.
25452 * manual/Makefile: Likewise.
25453 * locale/Makefile: Likewise.
25454 * intl/Makefile: Likewise.
25455 * conform/Makefile: Likewise.
25456 * nss/Makefile: Likewise.
25457 * time/Makefile: Likewise.
25458 * soft-fp/Makefile: Likewise.
25459 * dirent/Makefile: Likewise.
25460 * gmon/Makefile: Likewise.
25461 * po/Makefile: Likewise.
25462 * rt/Makefile: Likewise.
25463 * socket/Makefile: Likewise.
25464 * math/Makefile: Likewise.
25465 * signal/Makefile: Likewise.
25466 * debug/Makefile: Likewise.
25467 * elf/Makefile: Likewise.
25468 * timezone/Makefile: Likewise.
25469 * stdlib/Makefile: Likewise.
25470 * iconvdata/Makefile: Likewise.
25471 * sunrpc/Makefile: Likewise.
25472 * io/Makefile: Likewise.
25473 * argp/Makefile: Likewise.
25474 * inet/Makefile: Likewise.
25475 * hesiod/Makefile: Likewise.
25476 * grp/Makefile: Likewise.
25477 * csu/Makefile: Likewise.
25478 * wctype/Makefile: Likewise.
25479 * crypt/Makefile: Likewise.
25480 * libio/Makefile: Likewise.
25481 * string/Makefile: Likewise.
25482 * nis/Makefile: Likewise.
25483 * resolv/Makefile: Likewise.
25484 * stdio-common/Makefile: Likewise.
25485 * wcsmbs/Makefile: Likewise.
25486 * dlfcn/Makefile: Likewise.
25487 * posix/Makefile: Likewise.
25490 * timezone/Makefile: Don't install timezone files, just the programs
25493 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25495 * nss/databases.def: Add missing gshadow entry.
25497 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25499 2012-03-06 Marek Polacek <polacek@redhat.com>
25502 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25503 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25504 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25505 * stdio-common/tst-long-dbl-fphex.c: New file.
25507 2012-03-06 David S. Miller <davem@davemloft.net>
25509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25510 (set_obp_int): New function.
25511 (get_obp_int): New function.
25512 (__get_clockfreq_via_dev_openprom): Likewise.
25513 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25514 Avoid unused variable warnings on 'val' and use builtin_expect.
25515 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25517 (INLINE_CLONE_SYSCALL): Likewise.
25519 2012-03-05 David S. Miller <davem@davemloft.net>
25521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25523 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25527 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25528 only for |x| >= 40.
25529 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25531 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25533 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25534 Replace gettimeofday with __vdso_gettimeofday.
25536 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25537 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25538 __vdso_clock_gettime and __vdso_getcpu.
25540 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25541 time with __vdso_time.
25543 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25545 * manual/lang.texi (size_t): Note types to which size_t may be
25546 equivalent with the GNU C Library, but do not describe when
25547 differences between them are significant.
25549 2012-03-05 Andreas Jaeger <aj@suse.de>
25551 * sysdeps/i386/fpu/libm-test-ulps: Update.
25553 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25556 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25557 (__ieee754_pow): Save and restore rounding mode and use
25558 round-to-nearest for main computations.
25559 * math/libm-test.inc (pow_test_tonearest): New function.
25560 (pow_test_towardzero): Likewise.
25561 (pow_test_downward): Likewise.
25562 (pow_test_upward): Likewise.
25563 (main): Call the new functions.
25564 * sysdeps/i386/fpu/libm-test-ulps: Update.
25565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25568 * math/libm-test.inc (cosh_test_tonearest): New function.
25569 (cosh_test_towardzero): Likewise.
25570 (cosh_test_downward): Likewise.
25571 (cosh_test_upward): Likewise.
25572 (sinh_test_tonearest): Likewise.
25573 (sinh_test_towardzero): Likewise.
25574 (sinh_test_downward): Likewise.
25575 (sinh_test_upward): Likewise.
25576 (main): Call the new functions.
25577 * sysdeps/i386/fpu/libm-test-ulps: Update.
25578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25580 2012-03-05 Tom de Vries <tom@codesourcery.com>
25582 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25583 default stack guard is set in last bytes.
25584 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25586 2012-03-05 Kees Cook <keescook@chromium.org>
25588 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25591 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25592 possibly allocate from heap instead of stack.
25593 * stdio-common/bug-vfprintf-nargs.c: New file.
25594 * stdio-common/Makefile (tests): Add nargs overflow test.
25596 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25600 2012-03-03 Marek Polacek <polacek@redhat.com>
25602 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25603 * math/math_private.h: Likewise.
25604 * stdlib/tst-strtod.c: Likewise.
25605 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25606 * sysdeps/x86_64/bits/atomic.h: Likewise.
25608 2012-03-02 David S. Miller <davem@davemloft.net>
25610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25614 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25615 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25616 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25617 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25619 2012-03-02 Roland McGrath <roland@hack.frob.com>
25622 * manual/examples/README: New file, says the example source files
25623 can be used under GPL>=2.
25624 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25625 line containing just "*/".
25626 * manual/examples/add.c: Add copyright header (GPL>=2).
25627 * manual/examples/argp-ex1.c: Likewise.
25628 * manual/examples/argp-ex2.c: Likewise.
25629 * manual/examples/argp-ex3.c: Likewise.
25630 * manual/examples/argp-ex4.c: Likewise.
25631 * manual/examples/atexit.c: Likewise.
25632 * manual/examples/db.c: Likewise.
25633 * manual/examples/dir.c: Likewise.
25634 * manual/examples/dir2.c: Likewise.
25635 * manual/examples/execinfo.c: Likewise.
25636 * manual/examples/filecli.c: Likewise.
25637 * manual/examples/filesrv.c: Likewise.
25638 * manual/examples/fmtmsgexpl.c: Likewise.
25639 * manual/examples/genpass.c: Likewise.
25640 * manual/examples/inetcli.c: Likewise.
25641 * manual/examples/inetsrv.c: Likewise.
25642 * manual/examples/isockad.c: Likewise.
25643 * manual/examples/longopt.c: Likewise.
25644 * manual/examples/memopen.c: Likewise.
25645 * manual/examples/memstrm.c: Likewise.
25646 * manual/examples/mkfsock.c: Likewise.
25647 * manual/examples/mkisock.c: Likewise.
25648 * manual/examples/mygetpass.c: Likewise.
25649 * manual/examples/pipe.c: Likewise.
25650 * manual/examples/popen.c: Likewise.
25651 * manual/examples/rprintf.c: Likewise.
25652 * manual/examples/search.c: Likewise.
25653 * manual/examples/select.c: Likewise.
25654 * manual/examples/setjmp.c: Likewise.
25655 * manual/examples/sigh1.c: Likewise.
25656 * manual/examples/sigusr.c: Likewise.
25657 * manual/examples/stpcpy.c: Likewise.
25658 * manual/examples/strdupa.c: Likewise.
25659 * manual/examples/strftim.c: Likewise.
25660 * manual/examples/strncat.c: Likewise.
25661 * manual/examples/subopt.c: Likewise.
25662 * manual/examples/swapcontext.c: Likewise.
25663 * manual/examples/termios.c: Likewise.
25664 * manual/examples/testopt.c: Likewise.
25665 * manual/examples/testpass.c: Likewise.
25666 * manual/examples/timeval_subtract.c: Likewise.
25669 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25671 * manual/timeval_subtract.c.texi: ... here, new file.
25673 2012-03-02 David S. Miller <davem@davemloft.net>
25675 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25677 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25680 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25681 (__sin): Save and restore rounding mode and use round-to-nearest
25682 for all computations.
25683 (__cos): Save and restore rounding mode and use round-to-nearest
25684 for all computations.
25685 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25687 (tan): Save and restore rounding mode and use round-to-nearest for
25689 * math/libm-test.inc (cos_test_tonearest): New function.
25690 (cos_test_towardzero): Likewise.
25691 (cos_test_downward): Likewise.
25692 (cos_test_upward): Likewise.
25693 (sin_test_tonearest): Likewise.
25694 (sin_test_towardzero): Likewise.
25695 (sin_test_downward): Likewise.
25696 (sin_test_upward): Likewise.
25697 (tan_test_tonearest): Likewise.
25698 (tan_test_towardzero): Likewise.
25699 (tan_test_downward): Likewise.
25700 (tan_test_upward): Likewise.
25701 (main): Call the new functions.
25702 * sysdeps/i386/fpu/libm-test-ulps: Update.
25703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25706 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25707 small n, then large n, before computing and testing k+n.
25708 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25713 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25714 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25715 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25716 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25717 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25718 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25719 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25721 * math/libm-test.inc (scalbn_test): Add more tests.
25722 (scalbln_test): Likewise.
25724 * manual/filesys.texi (mode_t): Describe constraints on size and
25725 signedness, not exact equivalence to a particular type.
25727 (ino64_t): Likewise.
25729 (nlink_t): Likewise.
25730 (blkcnt_t): Likewise.
25731 (blkcnt64_t): Likewise.
25732 * manual/llio.texi (off_t): Likewise.
25735 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25736 (__ieee754_exp): Save and restore rounding mode and use
25737 round-to-nearest for all computations.
25738 * math/libm-test.inc (exp_test_tonearest): New function.
25739 (exp_test_towardzero): Likewise.
25740 (exp_test_downward): Likewise.
25741 (exp_test_upward): Likewise.
25742 (main): Call the new functions.
25743 * sysdeps/i386/fpu/libm-test-ulps: Update.
25744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25746 2012-03-01 Chris Demetriou <cgd@google.com>
25748 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25749 have predictable order.
25751 2012-03-01 David S. Miller <davem@davemloft.net>
25753 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25755 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25756 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25757 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25758 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25760 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25761 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25762 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25764 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25765 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25766 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25767 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25768 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25772 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25773 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25774 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25776 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25777 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25778 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25779 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25780 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25781 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25783 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25784 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25785 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25786 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25787 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25788 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25789 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25790 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25792 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25793 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25794 * sysdeps/sparc/elf/configure: Regenerated.
25796 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25798 * configure.in (AS, LD): Require binutils 2.20 or later.
25799 * configure: Regenerated.
25800 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25801 as required minimum version.
25802 * INSTALL: Regenerated.
25806 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25807 before squaring exponent.
25808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25809 bottom long double and 27 bits of top long double before squaring
25811 * math/libm-test.inc (erfc_test): Add more tests.
25812 * sysdeps/i386/fpu/libm-test-ulps: Update.
25813 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25816 2012-03-01 Kai Tietz <ktietz@redhat.com>
25818 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25819 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25820 containing bit-fields.
25821 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25822 * soft-fp/single.h (_FP_UNION_S): Likewise.
25823 * soft-fp/double.h (_FP_UNION_D): Likewise.
25825 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25828 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25829 not include ../strcmp.S.
25830 [USE_AS_STRNCASECMP_L]: Likewise.
25831 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25832 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25833 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25834 (__strncasecmp_l_ia32): Define as alias to
25835 __strncasecmp_l_nonascii.
25838 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25839 * sysdeps/i386/fpu/libm-test-ulps: Update.
25840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25842 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25845 2012-02-29 Jeff Law <law@redhat.com>
25847 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25848 out of bounds read.
25850 2012-02-29 Marek Polacek <polacek@redhat.com>
25853 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25854 * elf/Makefile: Add rules to run tst-unused-dep.out.
25856 2012-02-28 David S. Miller <davem@davemloft.net>
25858 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25859 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25860 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25861 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25862 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25863 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25865 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25867 * math/libm-test.inc (llround_test): Move one test from
25868 lround_test. Use TEST_f_L in moved test.
25869 (lround_test): Move misplaced test to llround_test. Add testcase
25872 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25874 * sysdeps/x86_64/fpu/e_expf.S: New file.
25875 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25877 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25880 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25881 of remain_len that may cause incomplete multi-byte character and
25883 * posix/bug-regex33.c: New file.
25884 * posix/Makefile (tests): Add bug-regex33.
25886 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25888 * manual/macros.texi: New file.
25889 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25890 * manual/libc.texinfo: Include macros.texi.
25891 * manual/creatute.texi: Likewise.
25892 * manual/install.texi: Likewise.
25893 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25894 @glibcadj{} in references to the GNU C Library.
25895 * manual/charset.texi: Likewise.
25896 * manual/conf.texi: Likewise.
25897 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25898 when not using those macros.
25899 * manual/creature.texi: Likewise.
25900 * manual/crypt.texi: Likewise.
25901 * manual/errno.texi: Likewise.
25902 * manual/filesys.texi: Likewise.
25903 * manual/header.texi: Likewise.
25904 * manual/install.texi: Likewise.
25905 * manual/intro.texi: Likewise.
25906 * manual/io.texi: Likewise.
25907 * manual/job.texi: Likewise.
25908 * manual/lang.texi: Likewise.
25909 * manual/libc.texiinfo: Likewise.
25910 * manual/llio.texi: Likewise.
25911 * manual/locale.texi: Likewise.
25912 * manual/maint.texi: Likewise.
25913 * manual/math.texi: Likewise.
25914 * manual/memory.texi: Likewise.
25915 * manual/message.texi: Likewise.
25916 * manual/nss.texi: Likewise.
25917 * manual/pattern.texi: Likewise.
25918 * manual/process.texi: Likewise.
25919 * manual/resource.texi: Likewise.
25920 * manual/search.texi: Likewise.
25921 * manual/setjmp.texi: Likewise.
25922 * manual/signal.texi: Likewise.
25923 * manual/socket.texi: Likewise.
25924 * manual/startup.texi: Likewise.
25925 * manual/stdio.texi: Likewise.
25926 * manual/string.texi: Likewise.
25927 * manual/sysinfo.texi: Likewise.
25928 * manual/syslog.texi: Likewise.
25929 * manual/terminal.texi: Likewise.
25930 * manual/time.texi: Likewise.
25931 * manual/users.texi: Likewise.
25932 * INSTALL: Regenerated.
25933 * NOTES: Regenerated.
25934 * sysdeps/gnu/errlist.c: Regenerated.
25936 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25938 * include/dirent.h: Include <dirstream.h> before
25941 2012-02-28 David S. Miller <davem@davemloft.net>
25943 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25944 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25945 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25946 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25948 2012-02-27 David S. Miller <davem@davemloft.net>
25950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25952 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25953 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25956 frame pointer instead of stack pointer relative arg slot.
25957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25958 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25959 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25961 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25964 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25966 2012-02-27 David S. Miller <davem@davemloft.net>
25968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25972 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25973 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25974 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25975 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25977 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25979 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25980 later. Allow versions 5-9.
25981 * configure: Regenerated.
25982 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25983 required minimum version and 4.6 as recommended version. Do not
25984 mention bugs in GCC 2.7 and 2.8.
25985 * INSTALL: Regenerated.
25987 2012-02-27 David S. Miller <davem@davemloft.net>
25989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25993 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25994 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25995 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25996 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25998 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25999 manipulate bits before adding and subtracting TWO112[sx].
26000 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26002 2012-02-27 Roland McGrath <roland@hack.frob.com>
26005 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26006 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26007 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26008 being in POSIX, because they are in 1003.1-2008.
26010 * rt/tst-aio.c: Include <fcntl.h>.
26011 * rt/tst-aio7.c: Likewise.
26012 * rt/tst-aio64.c: Likewise.
26014 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26016 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26018 * manual/install.texi (--with-headers): Describe headers as
26019 interface headers, not private headers.
26020 (Specific advice for GNU/Linux systems): Describe use of headers
26021 from "make headers_install", not private headers from older
26023 * INSTALL: Regenerated.
26024 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26026 * sysdeps/unix/sysv/linux/configure: Regenerated.
26028 * manual/llio.texi (fclean): Remove documentation.
26030 * manual/Makefile (libc-texi-generated): New variable. Include
26032 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26033 $(libc-texi-generated), not duplicated list of files.
26034 (version.texi, stamp-version): New rules.
26035 (realclean): Remove $(libc-texi-generated), not individual files
26036 from that list. Do not remove dir-add.texinfo.
26037 * manual/libc.texinfo: Comment out uses of edition numbers and
26038 references to printed manual. Remove last-updated dates.
26039 (EDITION): Comment out.
26041 (VERSION, UPDATED): Remove.
26042 (version.texi): Include.
26044 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26046 * sysdeps/posix/spawni.c: Include <signal.h>.
26047 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26048 * sysdeps/pthread/aio_fsync.c: Likewise.
26050 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26052 * conform/Makefile (tests): Run only when not cross-compiling and
26053 when fast-check is not defined.
26055 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26056 * conform/data/limits.h-data: Fixes for POSIX2008.
26057 * conform/run-conformtest.sh: Run all tests.
26058 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26060 * include/bits/dlfcn.h: Likewise.
26061 * include/langinfo.h: Likewise.
26062 * include/monetary.h: Likewise.
26063 * include/sys/poll.h: Likewise.
26065 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26067 * posix/spawn.h: Define __need_sigset_t.
26068 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26069 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26070 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26071 to get sigevent_t only.
26072 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26073 only for __USE_GNU.
26074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26075 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26076 process_vm_writev only for __USE_GNU.
26077 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26079 * conform/Makefile: For now ignore errors from run-conformtest.
26080 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26081 POSIX to avoid namespace pollution. Don't prepend headers.
26082 * conform/data/aio.h-data: Fixes for POSIX testing.
26083 * conform/data/fcntl.h-data: Likewise.
26084 * conform/data/glob.h-data: Likewise.
26085 * conform/data/grp.h-data: Likewise.
26086 * conform/data/pthread.h-data: Likewise.
26087 * conform/data/pwd.h-data: Likewise.
26088 * conform/data/signal.h-data: Likewise.
26089 * conform/data/spawn.h-data: Likewise.
26090 * conform/data/stdio.h-data: Likewise.
26091 * conform/data/stdlib.h-data: Likewise.
26092 * conform/data/stropts.h-data: Likewise.
26093 * conform/data/sys/mman.h-data: Likewise.
26094 * conform/data/sys/stat.h-data: Likewise.
26095 * conform/data/sys/types.h-data: Likewise.
26096 * conform/data/sys/wait.h-data: Likewise.
26097 * conform/data/time.h-data: Likewise.
26098 * conform/data/unistd.h-data: Likewise.
26099 * conform/data/utime.h-data: Likewise.
26101 * io/sys/stat.h: fchmod was always in POSIX.
26102 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26103 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26104 * rt/aio.h: Define __need_timespec before including <time.h>.
26105 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26106 struct. Add forward declaration of pthread_attr_t and use it in
26108 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26109 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26110 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26111 always remove CLK_TCK definition.
26113 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26115 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26117 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26119 * conform/run-conformtest.sh: New file.
26120 * conform/Makefile: Run run-conformtest for tests.
26121 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26124 * conform/data/uchar.h-data: New file.
26125 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26126 * conform/data/arpa/inet.h-data: Likewise.
26127 * conform/data/assert.h-data: Likewise.
26128 * conform/data/complex.h-data: Likewise.
26129 * conform/data/cpio.h-data: Likewise.
26130 * conform/data/ctype.h-data: Likewise.
26131 * conform/data/dirent.h-data: Likewise.
26132 * conform/data/dlfcn.h-data: Likewise.
26133 * conform/data/errno.h-data: Likewise.
26134 * conform/data/fcntl.h-data: Likewise.
26135 * conform/data/float.h-data: Likewise.
26136 * conform/data/fmtmsg.h-data: Likewise.
26137 * conform/data/fnmatch.h-data: Likewise.
26138 * conform/data/ftw.h-data: Likewise.
26139 * conform/data/glob.h-data: Likewise.
26140 * conform/data/grp.h-data: Likewise.
26141 * conform/data/iconv.h-data: Likewise.
26142 * conform/data/inttypes.h-data: Likewise.
26143 * conform/data/langinfo.h-data: Likewise.
26144 * conform/data/libgen.h-data: Likewise.
26145 * conform/data/limits.h-data: Likewise.
26146 * conform/data/locale.h-data: Likewise.
26147 * conform/data/math.h-data: Likewise.
26148 * conform/data/monetary.h-data: Likewise.
26149 * conform/data/mqueue.h-data: Likewise.
26150 * conform/data/ndbm.h-data: Likewise.
26151 * conform/data/net/if.h-data: Likewise.
26152 * conform/data/netdb.h-data: Likewise.
26153 * conform/data/netinet/in.h-data: Likewise.
26154 * conform/data/nl_types.h-data: Likewise.
26155 * conform/data/poll.h-data: Likewise.
26156 * conform/data/pthread.h-data: Likewise.
26157 * conform/data/pwd.h-data: Likewise.
26158 * conform/data/regex.h-data: Likewise.
26159 * conform/data/sched.h-data: Likewise.
26160 * conform/data/search.h-data: Likewise.
26161 * conform/data/semaphore.h-data: Likewise.
26162 * conform/data/setjmp.h-data: Likewise.
26163 * conform/data/signal.h-data: Likewise.
26164 * conform/data/spawn.h-data: Likewise.
26165 * conform/data/stdarg.h-data: Likewise.
26166 * conform/data/stdio.h-data: Likewise.
26167 * conform/data/stdlib.h-data: Likewise.
26168 * conform/data/string.h-data: Likewise.
26169 * conform/data/strings.h-data: Likewise.
26170 * conform/data/stropts.h-data: Likewise.
26171 * conform/data/sys/ipc.h-data: Likewise.
26172 * conform/data/sys/mman.h-data: Likewise.
26173 * conform/data/sys/msg.h-data: Likewise.
26174 * conform/data/sys/resource.h-data: Likewise.
26175 * conform/data/sys/select.h-data: Likewise.
26176 * conform/data/sys/sem.h-data: Likewise.
26177 * conform/data/sys/shm.h-data: Likewise.
26178 * conform/data/sys/socket.h-data: Likewise.
26179 * conform/data/sys/stat.h-data: Likewise.
26180 * conform/data/sys/statvfs.h-data: Likewise.
26181 * conform/data/sys/time.h-data: Likewise.
26182 * conform/data/sys/timeb.h-data: Likewise.
26183 * conform/data/sys/times.h-data: Likewise.
26184 * conform/data/sys/types.h-data: Likewise.
26185 * conform/data/sys/uio.h-data: Likewise.
26186 * conform/data/sys/un.h-data: Likewise.
26187 * conform/data/sys/utsname.h-data: Likewise.
26188 * conform/data/sys/wait.h-data: Likewise.
26189 * conform/data/syslog.h-data: Likewise.
26190 * conform/data/tar.h-data: Likewise.
26191 * conform/data/termios.h-data: Likewise.
26192 * conform/data/utime.h-data: Likewise.
26193 * conform/data/utmpx.h-data: Likewise.
26194 * conform/data/varargs.h-data: Likewise.
26195 * conform/data/wchar.h-data: Likewise.
26196 * conform/data/wctype.h-data: Likewise.
26197 * conform/data/wordexp.h-data: Likewise.
26199 * include/stropts.h: New file.
26200 * include/uchar.h: New file.
26201 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26202 * include/assert.h: Likewise.
26203 * include/ctype.h: Likewise.
26204 * include/dirent.h: Likewise.
26205 * include/dlfcn.h: Likewise.
26206 * include/fcntl.h: Likewise.
26207 * include/fnmatch.h: Likewise.
26208 * include/glob.h: Likewise.
26209 * include/grp.h: Likewise.
26210 * include/libio.h: Likewise.
26211 * include/locale.h: Likewise.
26212 * include/math.h: Likewise.
26213 * include/net/if.h: Likewise.
26214 * include/netdb.h: Likewise.
26215 * include/netinet/in.h: Likewise.
26216 * include/pthread.h: Likewise.
26217 * include/pwd.h: Likewise.
26218 * include/regex.h: Likewise.
26219 * include/sched.h: Likewise.
26220 * include/search.h: Likewise.
26221 * include/setjmp.h: Likewise.
26222 * include/signal.h: Likewise.
26223 * include/stdio.h: Likewise.
26224 * include/stdlib.h: Likewise.
26225 * include/string.h: Likewise.
26226 * include/sys/cdefs.h: Likewise.
26227 * include/sys/mman.h: Likewise.
26228 * include/sys/msg.h: Likewise.
26229 * include/sys/resource.h: Likewise.
26230 * include/sys/select.h: Likewise.
26231 * include/sys/socket.h: Likewise.
26232 * include/sys/stat.h: Likewise.
26233 * include/sys/statvfs.h: Likewise.
26234 * include/sys/time.h: Likewise.
26235 * include/sys/times.h: Likewise.
26236 * include/sys/uio.h: Likewise.
26237 * include/sys/utsname.h: Likewise.
26238 * include/sys/wait.h: Likewise.
26239 * include/termios.h: Likewise.
26240 * include/time.h: Likewise.
26241 * include/ulimit.h: Likewise.
26242 * include/unistd.h: Likewise.
26243 * include/utime.h: Likewise.
26244 * include/wchar.h: Likewise.
26245 * include/wctype.h: Likewise.
26246 * include/wordexp.h: Likewise.
26248 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26250 * time/time.h: TIME_UTC must be a macro.
26251 Make timespec_get available for ISO C11 only as well.
26253 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26255 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26256 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26258 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26260 * configure.in: Use -o not -a in test for unsupported multi-arch.
26262 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26264 * manual/texinfo.tex: Update to version 2012-01-19.16.
26266 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26268 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26270 2012-02-24 Roland McGrath <roland@hack.frob.com>
26273 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26274 * manual/fdl-1.3.texi: New file.
26275 * manual/fdl-1.1.texi: File removed.
26278 * manual/libc.texinfo (FDL_VERSION): New @set.
26279 Use it for mention of FDL in cover text.
26280 (Documentation License): Use it in @include file name.
26282 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26283 Roland McGrath <roland@hack.frob.com>
26286 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26287 not LONG_LONG_MAX and LONG_LONG_MIN.
26288 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26289 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26291 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26293 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26297 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26298 manipulate bits before adding and subtracting TWO23[sx].
26299 * math/libm-test.inc (nearbyint_test): Add more tests.
26301 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26304 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26305 bits before adding and subtracting TWO23[sx].
26306 * math/libm-test.inc (rint_test): Add more tests.
26307 (rint_test_tonearest): Likewise.
26308 (rint_test_towardzero): Likewise.
26309 (rint_test_downward): Likewise.
26310 (rint_test_upward: Likewise.
26312 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26315 * include/stdc-predef.h: New file. Extracted from features.h.
26316 * include/features.h: Include stdc-predef.h.
26317 * Makefile (headers): Add stdc-predef.h.
26318 * CONFORMANCE (Compiler limitations): Update.
26320 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26322 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26324 2012-02-21 David S. Miller <davem@davemloft.net>
26326 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26327 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26329 2012-02-20 David S. Miller <davem@davemloft.net>
26331 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26332 using a normal save/restore sequence, rather than allocating a
26333 dummy stack frame just to store a frame pointer and restore.
26334 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26336 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26338 * manual/install.texi: Fix stray word in line-wrapped comment.
26340 2012-02-20 David S. Miller <davem@davemloft.net>
26342 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26343 both binutils and gcc support GOTDATA.
26345 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26346 "rd %pc" in the PIC register setup sequences.
26348 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26349 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26350 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26351 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26352 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26353 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26354 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26357 (SYSCALL_ERROR_HANDLER): Likewise.
26358 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26359 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26361 (SYSCALL_ERROR_HANDLER): Likewise.
26363 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26364 (HAVE_GCC_GOTDATA): New.
26365 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26366 relocation support in both binutils and gcc.
26367 * sysdeps/sparc/elf/configure: Regenerate.
26369 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26370 * sysdeps/sparc/sparc32/elf/configure: Delete.
26371 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26372 * sysdeps/sparc/sparc64/elf/configure: Delete.
26373 * sysdeps/sparc/elf/configure.in: New file.
26374 * sysdeps/sparc/elf/configure: Generate.
26376 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26377 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26378 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26379 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26380 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26382 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26384 * manual/install.texi: Do not mention specific glibc version
26386 * manual/libc.texinfo (VERSION, UPDATED): Update.
26387 (@copying): Use @copyright{} and range of years.
26389 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26392 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26393 [crti.S not in sysdirs] (generated): Do not append.
26394 [crti.S not in sysdirs] (omit-deps): Likewise.
26395 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26396 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26397 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26398 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26399 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26401 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26402 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26403 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26404 * csu/defs.awk: Remove file.
26405 * sysdeps/generic/initfini.c: Likewise.
26406 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26408 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26411 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26413 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26414 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26415 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26416 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26417 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26418 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26420 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26421 (__EPOLL_PACKED): Define to empty if not defined by
26423 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26427 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26429 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26430 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26431 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26432 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26434 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26438 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26440 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26442 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26443 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26444 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26447 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26449 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26450 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26452 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26454 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26455 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26457 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26459 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26462 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26464 * math/w_acos.c: Use non-signaling floating-point comparisons.
26465 * math/w_acosf.c: Likewise.
26466 * math/w_acosh.c: Likewise.
26467 * math/w_acoshf.c: Likewise.
26468 * math/w_acoshl.c: Likewise.
26469 * math/w_acosl.c: Likewise.
26470 * math/w_asin.c: Likewise.
26471 * math/w_asinf.c: Likewise.
26472 * math/w_asinl.c: Likewise.
26473 * math/w_atanh.c: Likewise.
26474 * math/w_atanhf.c: Likewise.
26475 * math/w_atanhl.c: Likewise.
26476 * math/w_exp2.c: Likewise.
26477 * math/w_exp2f.c: Likewise.
26478 * math/w_exp2l.c: Likewise.
26479 * math/w_j0.c: Likewise.
26480 * math/w_j0f.c: Likewise.
26481 * math/w_j0l.c: Likewise.
26482 * math/w_j1.c: Likewise.
26483 * math/w_j1f.c: Likewise.
26484 * math/w_j1l.c: Likewise.
26485 * math/w_jn.c: Likewise.
26486 * math/w_jnf.c: Likewise.
26487 * math/w_log.c: Likewise.
26488 * math/w_log10.c: Likewise.
26489 * math/w_log10f.c: Likewise.
26490 * math/w_log10l.c: Likewise.
26491 * math/w_log2.c: Likewise.
26492 * math/w_log2f.c: Likewise.
26493 * math/w_log2l.c: Likewise.
26494 * math/w_logf.c: Likewise.
26495 * math/w_logl.c: Likewise.
26496 * math/w_sqrt.c: Likewise.
26497 * math/w_sqrtf.c: Likewise.
26498 * math/w_sqrtl.c: Likewise.
26499 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26500 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26501 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26502 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26503 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26505 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26508 * manual/string.texi (strnlen): Use correct parameter name in
26509 equivalent expression.
26511 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26514 * manual/users.texi (seteuid): Consistently use neweuid for
26517 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26520 * manual/nss.texi (Services in the NSS configuration): Correct
26521 list of services in example configuration file.
26523 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26526 * manual/arith.texi: Remove statements about negative zero
26527 behaving identically to zero.
26529 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26532 * manual/install.texi: Do not document upgrading from libc5.
26534 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26537 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26539 2012-02-18 David S. Miller <davem@davemloft.net>
26541 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26542 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26543 %o7 across the call.
26544 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26546 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26547 SETUP_PIC_REG_LEAF.
26548 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26549 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26550 * sysdeps/sparc/crtn.S: Likewise.
26552 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26554 * aout/Makefile: Remove.
26556 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26559 * manual/examples/argp-ex1.c (main): Format definition in GNU
26561 * manual/examples/argp-ex2.c (main): Likewise.
26562 * manual/examples/argp-ex3.c (main): Likewise.
26563 * manual/examples/argp-ex4.c (main): Likewise.
26564 * manual/examples/longopt.c (main): Use new-style prototype
26566 * manual/examples/strncat.c (main): Specify return type and use
26567 (void) for arguments.
26568 * manual/examples/subopt.c (main): Use char **argv argument.
26570 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26573 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26576 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26579 * manual/string.texi (strchr): Change when strchrnul is
26582 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26585 * manual/locale.texi (setlocale): Document LOCPATH.
26587 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26590 * manual/process.texi (execle): Move @dots{} before last argument.
26592 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26595 * manual/charset.texi (Generic Charset Conversion): Fix typo
26596 (LC_TYPE -> LC_CTYPE).
26598 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26601 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26602 (scalbnf): Likewise.
26603 (scalbnl): Likewise.
26604 (scalbln): Likewise.
26605 (scalblnf): Likewise.
26606 (scalblnl): Likewise.
26607 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26608 (vwarnx): Likewise.
26611 * manual/filesys.texi (telldir): Use braces around return type.
26612 * manual/llio.texi (mmap): Add space after comma.
26613 (mmap64): Likewise.
26614 * manual/math.texi (jn): Use @var{} on parameter names.
26620 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26622 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26624 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26625 (sched_get_priority_max): Likewise.
26626 * manual/signal.texi (sigvec): Add space after comma.
26627 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26629 (if_indextoname): Likewise.
26630 (if_freenameindex): Likewise.
26631 (sendto): Use ',' instead of '.' in prototype.
26632 * manual/startup.texi (syscall): Use @dots{} instead of literal
26634 * manual/stdio.texi (__fpending): Separate initial words of
26635 paragraph from @deftypefun line.
26636 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26638 (vsyslog): Use @var{} on parameter names.
26639 * manual/terminal.texi (stty): Use @var{} on parameter names.
26640 * manual/users.texi (getutmp): Use @var{} on parameter names.
26641 (getutmpx): Likewise.
26643 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26646 * manual/stdio.texi (fopen): Fix typos in description of
26649 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26652 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26653 get clock_id definition.
26655 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26658 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26659 (madvise): Cast every argument to void on its own.
26661 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26664 * manual/startup.texi (Exit Status): Fix typo.
26666 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26669 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26670 * manual/examples/argp-ex2.c: Likewise.
26671 * manual/examples/argp-ex3.c: Likewise.
26673 2012-02-16 Richard Henderson <rth@redhat.com>
26675 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26676 * sysdeps/s390/s390-32/initfini.c: Remove.
26677 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26678 * sysdeps/s390/s390-64/initfini.c: Remove.
26680 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26682 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26683 compiler output for sysdeps/generic/initfini.c.
26684 * sysdeps/sh/elf/initfini.c: Remove file.
26686 2012-02-16 David S. Miller <davem@davemloft.net>
26689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26691 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26692 * sysdeps/sparc/crti.S: New file.
26693 * sysdeps/sparc/crtn.S: New file.
26694 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26695 * sysdeps/sparc/sparc64/Makefile: Likewise.
26697 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26700 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26702 2012-02-15 Roland McGrath <roland@hack.frob.com>
26705 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26707 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26708 (write, read, close): Likewise.
26709 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26711 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26713 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26714 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26715 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26716 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26718 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26722 2012-02-14 Marek Polacek <polacek@redhat.com>
26724 * sysdeps/x86_64/crti.S: New file.
26725 * sysdeps/x86_64/crtn.S: New file.
26726 * sysdeps/x86_64/elf/initfini.c: Remove file.
26728 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26730 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26731 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26732 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26733 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26735 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26739 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26741 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26742 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26743 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26744 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26746 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26750 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26752 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26753 __feraiseexcept instead of feraiseexcept.
26755 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26756 nanosleep invocations.
26757 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26758 strings, and add error checking for a nanosleep invocations.
26760 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26762 Replace FSF snail mail address with URLs, as per GNU coding standards.
26763 Most of the snail mail addresses were wrong anyway, and omitting
26764 them makes the source code easier to maintain. Almost all of the
26765 changes are to license notices and to locale LC_IDENTIFICATION
26766 addresses, except for this one:
26767 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26768 not its snail mail address.
26770 2012-02-09 Richard Henderson <rth@twiddle.net>
26772 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26773 of kernel-features.h.
26775 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26777 2012-02-08 Marek Polacek <polacek@redhat.com>
26779 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26780 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26781 * sysdeps/gnu/_G_config.h: Likewise.
26782 * sysdeps/generic/_G_config.h: Likewise.
26784 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26786 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26790 * sysdeps/powerpc/powerpc32/crti.S: New file.
26791 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26792 * sysdeps/powerpc/powerpc64/crti.S: New file.
26793 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26795 * Makeconfig (have-initfini): Don't set.
26796 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26797 * configure.in (nopic_initfini): Don't substitute.
26798 * config.h.in (HAVE_INITFINI): Don't #undef.
26799 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26800 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26802 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26804 Support crti.S and crtn.S provided directly by architectures.
26805 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26806 [crti.S in sysdirs] (omit-deps): Likewise.
26807 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26808 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26809 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26810 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26811 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26812 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26813 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26814 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26815 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26816 compiler output for sysdeps/generic/initfini.c.
26817 * sysdeps/i386/elf/Makefile: Remove file.
26818 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26820 2012-02-07 Marek Polacek <polacek@redhat.com>
26822 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26823 * sysdeps/gnu/_G_config.h: Likewise.
26824 * sysdeps/mach/hurd/_G_config.h: Likewise.
26826 2012-02-07 Marek Polacek <polacek@redhat.com>
26828 * math/Makefile (tests): Add tst-CMPLX2.
26829 * math/tst-CMPLX2.c: New file.
26831 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26833 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26835 * math/libm-test.inc (jn_test): Add missing L suffix.
26837 2012-02-06 Marek Polacek <polacek@redhat.com>
26839 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26840 * sysdeps/i386/fpu/e_powf.S: Likewise.
26841 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26842 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26843 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26844 * sysdeps/i386/fpu/e_pow.S: Likewise.
26845 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26846 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26847 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26848 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26849 * sysdeps/i386/fpu/e_log2.S: Likewise.
26850 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26851 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26852 * sysdeps/i386/fpu/e_powl.S: Likewise.
26853 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26854 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26855 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26856 * sysdeps/i386/fpu/e_logl.S: Likewise.
26857 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26858 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26859 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26860 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26861 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26862 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26863 * sysdeps/i386/fpu/e_log.S: Likewise.
26864 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26865 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26866 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26867 * sysdeps/i386/fpu/e_logf.S: Likewise.
26868 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26869 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26870 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26871 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26872 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26873 * sysdeps/i386/fpu/e_log10.S: Likewise.
26874 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26875 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26876 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26877 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26878 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26879 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26880 * sysdeps/i386/asm-syntax.h: Likewise.
26881 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26882 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26883 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26884 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26885 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26886 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26887 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26888 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26889 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26890 * sysdeps/powerpc/sysdep.h: Likewise.
26891 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26892 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26894 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26897 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26899 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26901 * sysdeps/i386/sysdep.h: Include <features.h>.
26902 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26905 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26907 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26909 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26912 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26914 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26915 (SETUP_PIC_REG): Use GET_PC_THUNK.
26916 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26919 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26921 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26922 for non-PIC compilation.
26923 (SETUP_PIC_REG): Add .p2align directive.
26924 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26925 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26926 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26927 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26928 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26929 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26930 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26931 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26932 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26933 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26934 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26935 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26936 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26937 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26938 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26939 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26940 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26941 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26942 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26943 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26944 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26945 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26946 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26947 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26948 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26949 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26950 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26951 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26952 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26953 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26954 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26955 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26956 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26957 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26958 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26959 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26960 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26961 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26962 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26963 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26964 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26966 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26968 * math/tst-CMPLX.c: Include <stdio.h>.
26970 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26972 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26974 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26975 * sysdeps/sparc/bits/mathdef.h: Likewise.
26977 2012-01-31 Marek Polacek <polacek@redhat.com>
26979 * libio/libio.h: Don't define _PARAMS.
26980 * locale/programs/config.h: Don't define PARAMS.
26981 * stdlib/strtol_l.c: Likewise.
26982 (__strtol_l): Remove PARAMS from the prototype.
26984 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26986 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26987 names. Just use the correct names. Remove unnecessary wrapper
26989 * malloc/arena.c: Likewise.
26990 * malloc/hooks.c: Likewise.
26992 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26993 ARENA_TEST says not to. Simplify test for creation of a new arena.
26994 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26996 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26998 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27000 (update_get_addr): New function.
27001 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27002 GET_ADDR_MODULE parameter.
27004 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27006 * crypt/cert.c: Remove __STDC__ conditionals.
27007 * crypt/crypt-entry.c: Likewise.
27008 * crypt/crypt_util.c: Likewise.
27009 * libio/filedoalloc.c: Likewise.
27010 * libio/fileops.c: Likewise.
27011 * libio/genops.c: Likewise.
27012 * libio/iofclose.c: Likewise.
27013 * libio/iofdopen.c: Likewise.
27014 * libio/iofopen.c: Likewise.
27015 * libio/iofopen64.c: Likewise.
27016 * libio/iogetdelim.c: Likewise.
27017 * libio/iopopen.c: Likewise.
27018 * libio/obprintf.c: Likewise.
27019 * libio/oldfileops.c: Likewise.
27020 * libio/oldiofclose.c: Likewise.
27021 * libio/oldiofdopen.c: Likewise.
27022 * libio/oldiofopen.c: Likewise.
27023 * libio/oldiopopen.c: Likewise.
27024 * libio/wfiledoalloc.c: Likewise.
27025 * libio/wgenops.c: Likewise.
27026 * locale/programs/xmalloc.c: Likewise.
27027 * misc/syslog.c: Likewise.
27028 * stdio-common/xbug.c: Likewise.
27029 * string/memchr.c: Likewise.
27030 * string/memcmp.c: Likewise.
27031 * string/memrchr.c: Likewise.
27032 * string/rawmemchr.c: Likewise.
27033 * sysdeps/posix/getcwd.c: Likewise.
27034 * time/strftime_l.c: Likewise.
27036 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27038 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27039 * config.make.in (config-cflags-sse2avx): Define.
27040 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27043 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27045 * scripts/config.guess: Update from upstream config git repository.
27046 * scripts/config.sub: Likewise.
27048 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27050 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27052 (R_TILEPRO_*, R_TILEGX_*): New macros.
27054 * scripts/firstversions.awk: Fix bug in version range handling.
27056 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27058 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27060 * include/sys/epoll.h: New file.
27061 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27064 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27066 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27067 Avoid unnecessary __WORDSIZE == 64 test.
27068 (fmaxf): Use VEX format if possible.
27073 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27074 * math/math_private.h: Remove libc_fegetround* and
27076 * sysdeps/i386/configure.in: Check for -msse2avx.
27077 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27078 also if SSE2AVX is defined.
27079 Remove libc_fegetround* and libc_fesetround*.
27080 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27081 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27082 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27084 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27085 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27086 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27087 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27088 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27090 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27092 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27094 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27096 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27098 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27101 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27103 * Makeconfig (libm): Define.
27104 * elf/Makefile: Add rules to build and run tst-relsort1.
27105 * elf/tst-relsort1.c: New file.
27106 * elf/tst-relsort1mod1.c: New file.
27107 * elf/tst-relsort1mod2.c: New file.
27109 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27111 * math/s_ldexp.c: Remove __STDC__ conditionals.
27112 * math/s_ldexpf.c: Likewise.
27113 * math/s_ldexpl.c: Likewise.
27114 * math/s_nextafter.c: Likewise.
27115 * math/s_nexttowardf.c: Likewise.
27116 * math/s_significand.c: Likewise.
27117 * math/s_significandf.c: Likewise.
27118 * math/s_significandl.c: Likewise.
27119 * math/w_jnl.c: Likewise.
27120 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27121 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27122 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27123 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27124 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27126 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27127 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27129 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27134 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27135 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27136 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27138 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27139 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27140 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27141 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27142 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27143 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27144 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27145 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27146 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27147 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27148 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27149 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27150 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27151 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27152 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27153 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27154 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27155 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27156 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27157 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27158 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27159 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27160 * sysdeps/ieee754/k_standard.c: Likewise.
27161 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27162 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27163 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27164 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27165 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27166 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27167 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27168 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27169 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27170 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27171 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27172 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27173 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27174 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27175 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27176 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27177 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27178 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27179 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27180 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27181 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27182 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27183 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27184 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27185 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27187 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27188 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27190 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27191 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27192 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27193 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27196 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27200 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27201 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27203 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27204 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27207 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27208 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27209 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27210 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27213 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27215 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27218 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27222 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27224 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27226 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27227 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27229 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27231 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27232 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27235 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27236 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27240 * sysdeps/ieee754/s_matherr.c: Likewise.
27241 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27242 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27243 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27244 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27246 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27248 * crypt/md5.h: Remove __STDC__ conditionals.
27249 * libio/libioP.h: Likewise.
27250 * locale/programs/config.h: Likewise.
27251 * sysdeps/generic/sysdep.h: Likewise.
27252 * sysdeps/i386/asm-syntax.h: Likewise.
27253 * sysdeps/s390/asm-syntax.h: Likewise.
27254 * sysdeps/unix/sysdep.h: Likewise.
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27258 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27260 * libio/libio.h: Remove __STDC__ conditionals.
27261 * malloc/obstack.h: Likewise.
27262 * math/complex.h: Likewise.
27263 * math/math.h: Likewise.
27264 * sysdeps/generic/_G_config.h: Likewise.
27265 * sysdeps/gnu/_G_config.h: Likewise.
27266 * sysdeps/mach/hurd/_G_config.h: Likewise.
27267 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27268 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27269 * sysdeps/sparc/bits/mathdef.h: Likewise.
27271 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27274 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27275 Clean up HAS_* macros.
27276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27277 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27279 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27281 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27282 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27283 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27284 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27285 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27287 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27289 * elf/tst-unique3.cc (gets): Remove declaration.
27290 * elf/tst-unique3lib.cc (gets): Likewise.
27291 * elf/tst-unique3lib2.cc (gets): Likewise.
27292 * elf/tst-unique4.cc (gets): Likewise.
27294 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27296 * include/stdio.h: Add C++ protection. Add gets declarations and
27298 * debug/tst-chk1.c: Don't declare gets here.
27299 * stdio-common/tst-gets.c: Likewise.
27301 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27303 * posix/glob: Remove directory.
27305 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27307 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27309 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27311 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27312 of the non-standard EPFNOSUPPORT.
27314 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27316 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27317 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27318 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27320 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27322 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27324 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27326 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27328 * nscd/grpcache.c (cache_addgr): Likewise.
27329 * nscd/hstcache.c (cache_addhst): Likewise.
27330 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27331 * nscd/pwdcache.c (cache_addpw): Likewise.
27332 * nscd/servicescache.c (cache_addserv): Likewise.
27334 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27336 * malloc/malloc.c: Various cleanups.
27337 * malloc/hooks.c: Likewise.
27339 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27340 * stdlib/bug-fmtmsg1.c: New file.
27342 * stdlib/fmtmsg.c (init): Add missing unlock.
27343 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27345 2012-01-12 Marek Polacek <polacek@redhat.com>
27347 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27350 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27352 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27353 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27354 macro to ensure uniqueness of label name.
27355 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27356 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27358 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27360 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27362 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27363 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27364 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27365 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27367 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27369 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27371 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27372 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27373 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27375 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27377 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27378 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27379 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27380 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27382 * math/bits/math-finite.h: Add ldexp support.
27384 2012-01-10 Marek Polacek <polacek@redhat.com>
27386 * locale/programs/localedef.h (show_archive_content): Add noreturn
27389 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27391 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27393 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27395 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27397 * io/Makefile (headers): Add bits/poll2.h.
27399 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27402 typo #include statement.
27404 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27406 * include/sys/cdefs.h: Define __attribute_alloc_size.
27407 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27408 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27409 * elf/pldd.c: Likewise.
27410 * iconv/iconv_charmap.c: Likewise.
27411 * iconv/iconvconfig.c: Likewise.
27412 * iconv/strtab.c: Likewise.
27413 * locale/programs/locale.c: Likewise.
27414 * locale/programs/localedef.h: Likewise.
27415 * locale/programs/simple-hash.c: Likewise.
27416 * nscd/nscd.h: Likewise.
27417 * nss/makedb.c: Likewise.
27418 * sysdeps/generic/ldconfig.h: Likewise.
27419 * locale/programs/localedef.c: Remove xmalloc prototype.
27420 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27422 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27424 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27427 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27429 * math/Makefile (tests): Add tst-CMPLX.
27430 * math/tst-CMPLX.c: New file.
27432 * math/complex.h (CMPLXL): Fix typo.
27434 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27435 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27437 * debug/tst-chk1.c: Add poll and ppoll tests.
27438 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27439 * include/sys/poll.h: Add hidden proto for ppoll.
27440 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27441 * sysdeps/mach/hurd/ppoll.c: Likewise.
27442 * io/ppoll.c: Likewise.
27443 * debug/poll_chk.c: New file.
27444 * debug/ppoll_chk.c: New file.
27445 * include/bits/poll2.h: New file.
27446 * io/bits/poll2.h: New file.
27449 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27451 * configure.in: static is always set to yes. Remove.
27452 * config.make.in: Don't set build-static.
27453 * Makeconfig: Remove use of build-static.
27454 * dlfcn/Makefile: Likewise.
27455 * elf/Makefile: Likewise.
27456 * math/Makefile: Likewise.
27457 * misc/Makefile: Likewise.
27458 * nptl/Makefile: Likewise.
27459 * sysdeps/mach/hurd/Makefile: Likewise.
27461 * configure.in: PWD_P is not used anymore.
27462 * config.make.in: Remove PWD_P entry.
27464 * configure.in: Remove last remnants of RANLIB.
27465 No need to check for signed size_t anymore.
27466 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27468 Remove __builtin_expect test because we require at least gcc 3.4.
27469 * aclocal.m4: Likewise.
27471 * wcsmbs/mbrtoc16.c: Implement using towc function.
27472 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27473 * wcsmbs/wcsmbsload.c: Likewise.
27474 * iconv/gconv_simple.c: Likewise.
27475 * iconv/gconv_int.h: Likewise.
27476 * iconv/gconv_builtin.h: Likewise.
27477 * iconv/iconv_prog.c: Remove CHAR16 handling.
27479 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27481 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27483 * configure.in: Remove --with-elf and --enable-bounded options.
27484 Dont set base_machine for ia64. More non-ELF conditions removed.
27485 Remove testing and setting of leading underscore information.
27486 * config.make.in (build-bounded): Set to no.
27487 * config.h.in: Remove NO_UNDERSCORES entry.
27488 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27490 * csu/start.c: Remove !NO_UNDERSCORE code.
27491 * locale/localeinfo.h: Likewise.
27492 * sysdeps/generic/machine-gmon.h: Likewise.
27493 * sysdeps/generic/sysdep.h: Likewise.
27494 * sysdeps/i386/sysdep.h: Likewise.
27495 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27496 * sysdeps/mach/sysdep.h: Likewise.
27497 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27498 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27499 * sysdeps/sh/sysdep.h: Likewise.
27500 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27501 * sysdeps/unix/i386/sysdep.S: Likewise.
27502 * sysdeps/unix/sparc/start.c: Likewise.
27503 * sysdeps/unix/sparc/sysdep.S: Likewise.
27504 * sysdeps/unix/sparc/sysdep.h: Likewise.
27505 * sysdeps/unix/start.c: Likewise.
27506 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27507 * sysdeps/x86_64/sysdep.h: Likewise.
27509 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27512 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27514 * argp/argp-fmtstream.h: Use const instead __const.
27515 * argp/argp.h: Likewise.
27516 * assert/assert.h: Likewise.
27517 * bits/fenv.h: Likewise.
27518 * bits/sched.h: Likewise.
27519 * bits/sigset.h: Likewise.
27520 * bits/sigthread.h: Likewise.
27521 * catgets/nl_types.h: Likewise.
27522 * conform/data/pthread.h-data: Likewise.
27523 * crypt/crypt-private.h: Likewise.
27524 * crypt/crypt.h: Likewise.
27525 * crypt/crypt_util.c: Likewise.
27526 * ctype/ctype.h: Likewise.
27527 * debug/execinfo.h: Likewise.
27528 * debug/mbsnrtowcs_chk.c: Likewise.
27529 * debug/mbsrtowcs_chk.c: Likewise.
27530 * debug/wcsnrtombs_chk.c: Likewise.
27531 * debug/wcsrtombs_chk.c: Likewise.
27532 * debug/wcstombs_chk.c: Likewise.
27533 * dirent/dirent.h: Likewise.
27534 * dlfcn/dlfcn.h: Likewise.
27535 * elf/neededtest4.c: Likewise.
27536 * grp/grp.h: Likewise.
27537 * gshadow/gshadow.h: Likewise.
27538 * iconv/gconv.h: Likewise.
27539 * iconv/gconv_int.h: Likewise.
27540 * iconv/gconv_simple.c: Likewise.
27541 * iconv/iconv.h: Likewise.
27542 * iconv/loop.c: Likewise.
27543 * iconv/skeleton.c: Likewise.
27544 * include/aio.h: Likewise.
27545 * include/aliases.h: Likewise.
27546 * include/argz.h: Likewise.
27547 * include/arpa/inet.h: Likewise.
27548 * include/assert.h: Likewise.
27549 * include/dirent.h: Likewise.
27550 * include/dlfcn.h: Likewise.
27551 * include/execinfo.h: Likewise.
27552 * include/fcntl.h: Likewise.
27553 * include/fenv.h: Likewise.
27554 * include/glob.h: Likewise.
27555 * include/grp.h: Likewise.
27556 * include/libintl.h: Likewise.
27557 * include/mntent.h: Likewise.
27558 * include/netdb.h: Likewise.
27559 * include/pwd.h: Likewise.
27560 * include/rpc/netdb.h: Likewise.
27561 * include/sched.h: Likewise.
27562 * include/search.h: Likewise.
27563 * include/shadow.h: Likewise.
27564 * include/signal.h: Likewise.
27565 * include/stdio.h: Likewise.
27566 * include/stdlib.h: Likewise.
27567 * include/string.h: Likewise.
27568 * include/sys/socket.h: Likewise.
27569 * include/sys/stat.h: Likewise.
27570 * include/sys/statfs.h: Likewise.
27571 * include/sys/statvfs.h: Likewise.
27572 * include/sys/syslog.h: Likewise.
27573 * include/sys/time.h: Likewise.
27574 * include/sys/uio.h: Likewise.
27575 * include/time.h: Likewise.
27576 * include/unistd.h: Likewise.
27577 * include/utmp.h: Likewise.
27578 * include/wchar.h: Likewise.
27579 * include/wctype.h: Likewise.
27580 * inet/aliases.h: Likewise.
27581 * inet/arpa/inet.h: Likewise.
27582 * inet/netinet/ether.h: Likewise.
27583 * inet/netinet/in.h: Likewise.
27584 * intl/libintl.h: Likewise.
27585 * io/bits/fcntl2.h: Likewise.
27586 * io/fcntl.h: Likewise.
27587 * io/ftw.h: Likewise.
27588 * io/sys/poll.h: Likewise.
27589 * io/sys/stat.h: Likewise.
27590 * io/sys/statfs.h: Likewise.
27591 * io/sys/statvfs.h: Likewise.
27592 * io/utime.h: Likewise.
27593 * libio/bits/stdio.h: Likewise.
27594 * libio/bits/stdio2.h: Likewise.
27595 * libio/libio.h: Likewise.
27596 * libio/libioP.h: Likewise.
27597 * libio/stdio.h: Likewise.
27598 * locale/lc-ctype.c: Likewise.
27599 * locale/locale.h: Likewise.
27600 * login/utmp.h: Likewise.
27601 * malloc/arena.c: Likewise.
27602 * malloc/malloc.c: Likewise.
27603 * malloc/malloc.h: Likewise.
27604 * malloc/mcheck.c: Likewise.
27605 * malloc/mtrace.c: Likewise.
27606 * math/bits/mathcalls.h: Likewise.
27607 * math/fenv.h: Likewise.
27608 * math/math_private.h: Likewise.
27609 * misc/bits/error.h: Likewise.
27610 * misc/bits/syslog.h: Likewise.
27611 * misc/err.h: Likewise.
27612 * misc/error.h: Likewise.
27613 * misc/fstab.h: Likewise.
27614 * misc/mntent.h: Likewise.
27615 * misc/regexp.h: Likewise.
27616 * misc/search.h: Likewise.
27617 * misc/sgtty.h: Likewise.
27618 * misc/sys/mman.h: Likewise.
27619 * misc/sys/syslog.h: Likewise.
27620 * misc/sys/uio.h: Likewise.
27621 * misc/sys/xattr.h: Likewise.
27622 * misc/ttyent.h: Likewise.
27623 * nis/rpcsvc/ypclnt.h: Likewise.
27624 * nss/nss.h: Likewise.
27625 * posix/bits/unistd.h: Likewise.
27626 * posix/fnmatch.h: Likewise.
27627 * posix/glob.h: Likewise.
27628 * posix/sched.h: Likewise.
27629 * posix/spawn.h: Likewise.
27630 * posix/sys/wait.h: Likewise.
27631 * posix/unistd.h: Likewise.
27632 * posix/wordexp.h: Likewise.
27633 * pwd/pwd.h: Likewise.
27634 * resolv/netdb.h: Likewise.
27635 * resource/sys/resource.h: Likewise.
27636 * rt/aio.h: Likewise.
27637 * rt/bits/mqueue2.h: Likewise.
27638 * rt/mqueue.h: Likewise.
27639 * shadow/shadow.h: Likewise.
27640 * signal/signal.h: Likewise.
27641 * socket/send.c: Likewise.
27642 * socket/sendto.c: Likewise.
27643 * socket/sys/socket.h: Likewise.
27644 * stdio-common/printf.h: Likewise.
27645 * stdlib/bits/stdlib.h: Likewise.
27646 * stdlib/fmtmsg.h: Likewise.
27647 * stdlib/monetary.h: Likewise.
27648 * stdlib/stdlib.h: Likewise.
27649 * stdlib/ucontext.h: Likewise.
27650 * streams/stropts.h: Likewise.
27651 * string/argz.h: Likewise.
27652 * string/bits/string2.h: Likewise.
27653 * string/string.h: Likewise.
27654 * string/strings.h: Likewise.
27655 * sunrpc/rpc/auth.h: Likewise.
27656 * sunrpc/rpc/auth_des.h: Likewise.
27657 * sunrpc/rpc/clnt.h: Likewise.
27658 * sunrpc/rpc/netdb.h: Likewise.
27659 * sunrpc/rpc/pmap_clnt.h: Likewise.
27660 * sunrpc/rpc/xdr.h: Likewise.
27661 * sysdeps/generic/inttypes.h: Likewise.
27662 * sysdeps/generic/net/if.h: Likewise.
27663 * sysdeps/generic/sys/swap.h: Likewise.
27664 * sysdeps/gnu/net/if.h: Likewise.
27665 * sysdeps/gnu/utmpx.h: Likewise.
27666 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27667 * sysdeps/i386/i486/bits/string.h: Likewise.
27668 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27669 * sysdeps/s390/bits/string.h: Likewise.
27670 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27671 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27672 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27673 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27674 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27675 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27676 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27677 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27678 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27679 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27680 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27681 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27682 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27683 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27684 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27685 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27686 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27688 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27689 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27690 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27691 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27692 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27693 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27694 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27695 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27696 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27697 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27698 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27700 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27701 * sysvipc/sys/ipc.h: Likewise.
27702 * sysvipc/sys/msg.h: Likewise.
27703 * sysvipc/sys/sem.h: Likewise.
27704 * sysvipc/sys/shm.h: Likewise.
27705 * termios/termios.h: Likewise.
27706 * time/sys/time.h: Likewise.
27707 * time/time.h: Likewise.
27708 * wcsmbs/bits/wchar2.h: Likewise.
27709 * wcsmbs/uchar.h: Likewise.
27710 * wcsmbs/wchar.h: Likewise.
27711 * wctype/wctype.h: Likewise.
27714 * Makeconfig: Remove all but ELF support including AIX support.
27715 * Makerules: Likewise.
27716 * config.h.in: Likewise.
27717 * config.make.in: Likewise.
27718 * configure: Likewise.
27719 * configure.in: Likewise.
27720 * csu/Makefile: Likewise.
27721 * csu/version.c: Likewise.
27722 * debug/Makefile: Likewise.
27723 * dlfcn/Makefile: Likewise.
27724 * elf/Makefile: Likewise.
27725 * extra-lib.mk: Likewise.
27726 * iconv/Makefile: Likewise.
27727 * include/libc-symbols.h: Likewise.
27728 * include/shlib-compat.h: Likewise.
27729 * resolv/Makefile: Likewise.
27730 * resolv/res_libc.c: Likewise.
27731 * rt/Makefile: Likewise.
27732 * sysdeps/i386/asm-syntax.h: Likewise.
27733 * sysdeps/i386/sysdep.h: Likewise.
27734 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27735 * sysdeps/mach/sysdep.h: Likewise.
27736 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27737 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27738 * sysdeps/s390/asm-syntax.h: Likewise.
27739 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27740 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27741 * sysdeps/sh/sysdep.h: Likewise.
27742 * sysdeps/unix/sparc/sysdep.h: Likewise.
27743 * sysdeps/wordsize-32/divdi3.c: Likewise.
27744 * sysdeps/x86_64/sysdep.h: Likewise.
27746 * argp/Versions: Remove _argp_unlock_xxx.
27749 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27750 * abilist/libBrokenLocale.abilist: Likewise.
27751 * abilist/libanl.abilist: Likewise.
27752 * abilist/libc.abilist: Likewise.
27753 * abilist/libcrypt.abilist: Likewise.
27754 * abilist/libdl.abilist: Likewise.
27755 * abilist/libm.abilist: Likewise.
27756 * abilist/libnsl.abilist: Likewise.
27757 * abilist/libpthread.abilist: Likewise.
27758 * abilist/libresolv.abilist: Likewise.
27759 * abilist/librt.abilist: Likewise.
27760 * abilist/libthread_db.abilist: Likewise.
27761 * abilist/libutil.abilist: Likewise.
27762 * abilist/libnss_db.abilist: New file.
27764 * scripts/abilist.awk: Add support for indirect functions.
27766 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27768 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27770 * shlib-versions: Remove entries for ports architectures.
27772 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27774 * elf/stackguard-macros.h: Remove support for IA-64.
27775 * elf/tst-auditmod1.c: Likewise.
27776 * sysdeps/generic/ldsodefs.h: Likewise.
27778 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27779 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27783 * configure.in: Remove --enable-omitfp support.
27785 * config.make.in: Likewise.
27786 * Makeconfig: Likewise.
27787 * manual/install.texi: Likewise.
27789 In case anyone cares, the IA-64 architecture could move to ports.
27790 * sysdeps/ia64/*: Removed.
27791 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27792 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27795 * configure.in: Remove entries for unsupported architectures.
27798 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27799 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27801 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27802 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27803 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27804 fall back to using wcrtomb.
27805 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27806 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27808 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27809 * wcsmbs/tst-c16c32-1.c: New file.
27811 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27814 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27816 * elf/tst-unique3.cc: Add explicit declaration of gets.
27817 * elf/tst-unique3lib.cc: Likewise.
27818 * elf/tst-unique3lib2.cc: Likewise.
27819 * elf/tst-unique4.cc: Likewise.
27821 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27823 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27826 * assert/assert.h (static_assert): Don't define for C++.
27827 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27828 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27830 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27832 * iconv/loop.c (single loop): Fix assertion in storing of
27835 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27837 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27839 * posix/getconf.c: Update copyright year.
27840 * nss/getent.c: Likewise.
27841 * nss/makedb.c: Likewise.
27842 * iconv/iconvconfig.c: Likewise.
27843 * iconv/iconv_prog.c: Likewise.
27844 * elf/ldconfig.c: Likewise.
27845 * elf/pldd.c: Likewise.
27846 * elf/sotruss.ksh: Likewise.
27847 * catgets/gencat.c: Likewise.
27848 * csu/version.c: Likewise.
27849 * elf/ldd.bash.in: Likewise.
27850 * elf/sprof.c (print_version): Likewise.
27851 * locale/programs/locale.c: Likewise.
27852 * locale/programs/localedef.c: Likewise.
27853 * login/programs/pt_chown.c: Likewise.
27854 * nscd/nscd.c (print_version): Likewise.
27855 * debug/xtrace.sh: Likewise.
27856 * malloc/memusage.sh: Likewise.
27857 * malloc/mtrace.pl: Likewise.
27858 * debug/catchsegv.sh: Likewise.
27860 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27862 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27865 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27868 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27869 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27871 * iconv/gconv_int.h: Likewise.
27872 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27873 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27874 from libc for GLIBC_2.16.
27875 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27876 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27877 * wcsmbs/uchar.h: Really define mbstate_t.
27878 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27879 * wcsmbs/c16rtomb.c: New file.
27880 * wcsmbs/mbrtoc16.c: New file.
27881 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27882 for C/POSIX locale.
27883 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27884 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27886 * wcsmbs/wchar.h: Add missing __restrict.
27888 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27891 * time/Makefile (routines): Add timespec_get.
27892 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27893 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27894 timespec for ISO C11.
27895 * time/timespec_get.c: New file.
27896 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27897 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27900 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27901 * stdlib/stdlib.h: Declare aligned_alloc.
27902 * Versions.def: Add GLIBC_2.16 for libc.
27903 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27906 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27909 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27913 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27916 * assert/assert.h (static_assert): Define.
27918 * version.h: Update for 2.16 development version.
27921 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27924 * version.h (RELEASE): Bump for 2.15 release.
27925 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27927 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27928 Patch by Marek Polacek <mpolacek@redhat.com>.
27930 * bits/byteswap.h: Protect long long constants with __extension__.
27931 * sysdeps/i386/bits/byteswap.h: Likewise.
27932 * sysdeps/ia64/bits/byteswap.h: Likewise.
27933 * sysdeps/s390/bits/byteswap.h: Likewise.
27934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27936 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27939 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27940 destination buffer.
27941 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27943 2011-12-23 Marek Polacek <polacek@redhat.com>
27945 * elf/dl-addr.c (determine_info): Add inline keyword.
27946 * elf/tst-auditmod4b.c (check_avx): Likewise.
27947 * elf/tst-auditmod6b.c (check_avx): Likewise.
27948 * elf/tst-auditmod6c.c (check_avx): Likewise.
27949 * elf/tst-auditmod7b.c (check_avx): Likewise.
27951 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27953 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27956 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27959 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27960 processing for last bytes.
27962 2011-08-06 Bruno Haible <bruno@clisp.org>
27965 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27966 U+0385, not to U+1FEE.
27969 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27970 entry for U+00A5 U+0301.
27972 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27975 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27976 buffer for the output is too small.
27978 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27982 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27983 SSE flags if possible.
27985 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27988 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27989 processing for last bytes.
27991 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27993 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27994 (syscall-list-default-options, syscall-list-default-condition)
27995 (syscall-list-includes): Define.
27996 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27997 list of ABIs and options and #if conditions for each ABI. Do not
27998 handle common syscalls between ABIs specially.
27999 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28001 (syscall-list-variants, syscall-list-32bit-options)
28002 (syscall-list-32bit-condition, syscall-list-64bit-options)
28003 (syscall-list-64bit-condition): Define.
28004 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28005 (syscall-list-variants, syscall-list-32bit-options)
28006 (syscall-list-32bit-condition, syscall-list-64bit-options)
28007 (syscall-list-64bit-condition): Define.
28008 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28010 (syscall-list-variants, syscall-list-32bit-options)
28011 (syscall-list-32bit-condition, syscall-list-64bit-options)
28012 (syscall-list-64bit-condition): Define.
28013 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28015 (syscall-list-variants, syscall-list-32bit-options)
28016 (syscall-list-32bit-condition, syscall-list-64bit-options)
28017 (syscall-list-64bit-condition): Define.
28019 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28021 * locale/iso-639.def: Add brx entry.
28024 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28025 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28027 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28028 __feraiseexcept_renamed.
28030 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28033 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28034 EPOLLET with unsigned values.
28035 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28036 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28038 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28039 to large cancellation.
28040 * math/s_cacoshf.c: Likewise.
28041 * math/s_cacoshl.c: Likewise.
28043 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28047 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28048 * math/s_cacoshf.c: Likewise.
28049 * math/s_cacoshl.c: Likewise.
28051 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28054 * iconv/gconv.h: Define __GCONV_SWAP.
28055 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28056 * iconvdata/utf-16.c: Likewise.
28057 * iconvdata/utf-32.c: Likewise.
28059 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28062 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28063 numerator after shifting it by one limb.
28065 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28067 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28068 under [__USE_EXTERN_INLINES].
28070 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28073 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28075 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28077 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28078 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28080 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28081 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28082 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28083 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28084 for strncasecmp/strncasecmp_l compilation.
28085 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28086 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28088 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28091 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28094 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28097 * time/tzfile.c (__tzfile_read): Check values from file header.
28099 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28101 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28102 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28103 * powerpc/powerpc32/dl-start.S: Likewise.
28104 * powerpc/powerpc32/elf/start.S: Likewise.
28105 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28106 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28107 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28108 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28109 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28110 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28111 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28112 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28113 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28114 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28115 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28116 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28117 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28118 * powerpc/powerpc32/memset.S: Likewise.
28119 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28120 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28121 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28122 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28123 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28124 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28125 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28126 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28127 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28128 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28129 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28130 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28131 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28133 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28135 * math/libm-test.inc: Added more nearbyint tests.
28136 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28137 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28138 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28139 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28141 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28143 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28146 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28148 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28149 Add wcscpy-ssse3 wcscpy-c.
28150 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28151 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28152 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28153 * sysdeps/x86_64/wcschr.S: New file.
28154 * sysdeps/x86_64/wcsrchr.S: New file.
28155 * string/test-strcmp.c: Remove checking of wcscmp function for
28157 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28158 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28159 wcsrchr-sse2 wcsrchr-c.
28160 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28161 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28162 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28163 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28164 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28165 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28166 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28167 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28168 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28169 * wcsmbc/wcschr.c (WCSCHR): New macro.
28171 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28173 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28174 * wcsmbs/test-wcsrchr.c: New file.
28175 * string/test-strrchr.c: Add wcsrchr support.
28177 * wcsmbs/test-wcscpy.c: New file.
28178 * string/test-strcpy.c: Add wcscpy support.
28181 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28183 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28186 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28189 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28191 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28193 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28194 Minor optimizations.
28196 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28197 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28198 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28200 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28202 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28203 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28204 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28205 for gcc to avoid warnings.
28206 * inet/Makefile (tests): Add tst-checks.
28207 * inet/tst-checks.c: New file.
28209 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28212 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28215 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28216 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28218 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28220 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28222 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28225 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28227 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28229 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28230 conditional on GCC version.
28231 (__arch_compare_and_exchange_val_8_acq)
28232 (__arch_compare_and_exchange_val_16_acq)
28233 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28234 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28235 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28237 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28239 * sysdeps/sh/backtrace.c: New file.
28241 2011-12-02 Andreas Schwab <schwab@redhat.com>
28243 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28246 2011-12-01 Andreas Schwab <schwab@redhat.com>
28248 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28249 falling back to utime.
28251 2011-11-30 Andreas Schwab <schwab@redhat.com>
28253 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28254 expectations for float.
28256 2011-11-29 Andreas Schwab <schwab@redhat.com>
28258 * locale/weight.h (findidx): Add parameter len.
28259 * locale/weightwc.h (findidx): Likewise.
28260 * posix/fnmatch_loop.c (FCT): Adjust caller.
28261 * posix/regcomp.c (build_equiv_class): Likewise.
28262 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28263 * posix/regexec.c (check_node_accept_bytes): Likewise.
28264 * string/strcoll_l.c (STRCOLL): Likewise.
28265 * string/strxfrm_l.c (STRXFRM): Likewise.
28267 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28269 * Makefile.in: Remove CVSOPT handling.
28270 * configure.in: Remove use of AC_REVISION.
28271 * iconvdata/Makefile (distribute): No need to filter out CVS.
28272 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28275 2011-11-16 Andreas Schwab <schwab@redhat.com>
28277 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28278 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28279 [USE_AS_STRNCASECMP_L]: Likewise.
28280 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28281 NO_TLS_DIRECT_SEG_REFS.
28282 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28283 Fix argument offsets for non-PIC.
28284 [USE_AS_STRNCASECMP_L]: Likewise.
28285 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28286 NO_TLS_DIRECT_SEG_REFS.
28288 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28290 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28292 * locale/loadlocale.c (_nl_load_locale): Likewise.
28294 2011-11-15 Andreas Schwab <schwab@redhat.com>
28296 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28297 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28298 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28299 (SYSCALL_GETTIME): Set errno on error.
28301 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28302 count references to noai6ai_cached.
28304 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28306 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28308 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28309 FD_CLOEXEC for /proc/self/maps.
28311 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28312 FD_CLOEXEC for /proc/meminfo.
28314 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28317 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28318 FD_CLOEXEC for given file.
28320 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28322 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28323 FD_CLOEXEC for /etc/hosts.
28324 (_gethtent): Likewise.
28326 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28328 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28329 cancellation and set FD_CLOEXEC for /etc/netgroup.
28331 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28332 reading /etc/publickey.
28334 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28335 allow cancellation when reading /etc/group.
28337 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28339 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28341 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28342 when using data file.
28344 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28346 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28347 (write_nis_obj): Use "c" and "e" in fopen.
28349 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28351 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28353 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28355 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28357 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28360 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28362 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28364 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28366 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28367 file parsing and set FD_CLOEXEC.
28369 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28371 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28373 2011-11-14 Andreas Schwab <schwab@redhat.com>
28375 * malloc/arena.c (arena_get2): Don't call reused_arena when
28376 _int_new_arena failed.
28378 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28380 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28381 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28382 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28383 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28384 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28385 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28386 to compile strcasecmp and strncasecmp.
28387 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28388 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28390 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28392 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28394 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28395 locale-defines.sym to gen-as-const-headers.
28396 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28397 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28399 to compile strcasecmp and strncasecmp.
28400 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28401 strcasecmp_l and strncasecmp_l.
28402 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28403 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28404 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28405 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28406 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28407 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28408 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28409 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28410 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28411 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28412 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28414 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28416 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28417 result of SYSDEP_GETTIME_CPU to retval.
28418 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28419 parameter list to macro. Remove trailing semicolon. Adjust users.
28421 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28424 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28426 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28428 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28429 from unused variable.
28431 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28433 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28436 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28439 * sunrpc/rpc_prot.c (rejected): Fix case value.
28441 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28442 unsigned long long int to avoid warnings in shift.
28444 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28446 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28449 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28450 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28451 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28453 * nis/nis_table.c (nis_list): Use variable of correct type for
28454 result of __follow_path call.
28456 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28458 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28459 of math functions ceil, trunc, floor, round, and sqrt, when
28460 avaliable on the platform.
28461 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28463 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28464 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28465 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28467 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28469 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28470 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28472 2011-11-11 Roland McGrath <roland@hack.frob.com>
28474 * include/unistd.h: Fix __readlink return type.
28475 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28477 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28479 * stdlib/ucontext.h: Undo last change for makecontext.
28481 2011-11-11 Andreas Schwab <schwab@redhat.com>
28483 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28485 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28486 * setjmp/setjmp.h: Mark functions as non-leaf.
28487 * setjmp/bits/setjmp2.h: Likewise.
28488 * stdlib/ucontext.h: Likewise.
28490 2011-11-10 Andreas Schwab <schwab@redhat.com>
28492 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28493 (reused_arena): Don't check arena limit.
28494 (arena_get2): Atomically check arena limit.
28496 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28498 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28499 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28501 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28504 2011-11-07 Andreas Schwab <schwab@redhat.com>
28506 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28507 handler when locking.
28509 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28510 Fix size of allocated buffer.
28512 2011-11-04 Andreas Schwab <schwab@redhat.com>
28515 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28516 declarations for long double functions.
28517 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28519 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28521 2011-11-03 Andreas Schwab <schwab@redhat.com>
28523 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28526 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28529 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28531 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28533 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28535 * include/alloca.h (stackinfo_alloca_round): Define.
28536 (extend_alloca): Use it.
28537 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28538 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28541 * scripts/check-local-headers.sh: Ignore libaudit.h.
28543 * nscd/Makefile (extra-objs): Make recursively expanded.
28545 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28547 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28548 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28550 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28551 * posix/tst-rfc3484-2.c: Likewise.
28552 * posix/tst-rfc3484-3.c: Likewise.
28554 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28556 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28558 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28559 process_vm_writev from libc using GLIBC_2.15 version.
28561 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28563 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28565 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28568 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28571 * nss/getent.c (initgroups_keys): Show error message in case no group
28574 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28575 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28576 __bump_nl_timestamp.
28577 * nscd/connections (nscd_init): When host database is served open
28578 netlink socket and request notification about configuration changes.
28579 (main_loop_poll): Track netlink file descriptor and bump timestamp
28580 in case data becomes available.
28581 (main_loop_epoll): Likewise.
28582 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28583 (database_pers_head): Add extra_data fileds.
28584 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28585 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28586 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28588 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28589 in6ai data, call __free_in6ai.
28590 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28591 Add -DHAVE_NETLINK.
28592 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28593 interface information. Reuse previous data if netlink timestamp
28595 (__bump_nl_timestamp): New function.
28596 (__free_in6ai): New function.
28598 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28600 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28601 close_not_cancel_no_status here.
28602 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28604 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28607 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28610 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28611 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28612 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28614 2011-07-03 Andreas Jaeger <aj@suse.de>
28617 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28618 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28619 * math/libm-test.inc (sin_test): Add test case.
28621 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28624 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28625 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28627 * elf/chroot_canon.c (chroot_canon): Cleanups.
28629 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28632 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28633 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28635 * string/test-strchr.c: Make usable for strchrnul testing.
28636 * string/test-strchrnul.c: New file.
28637 * string/Makefile (strop-tests): Add strchrnul.
28639 * po/it.po: Update from translation team.
28640 * po/es.po: Likewise.
28642 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28644 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28645 the three constants needed as parameters. Drop the others.
28646 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28647 __m128i_strloadu_tolower.
28648 Create and initialize variable zero and use it in all the places
28649 where _mm_setzero_si128 was used.
28651 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28652 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28653 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28654 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28656 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28657 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28658 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28659 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28660 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28661 __mpranred, __mptan.
28662 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28663 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28664 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28665 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28666 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28667 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28668 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28669 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28670 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28672 2011-10-28 Andreas Schwab <schwab@redhat.com>
28674 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28675 redefine if SHARED.
28676 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28679 wide char related routines to wcsmbs subdir.
28681 2011-10-27 Andreas Schwab <schwab@redhat.com>
28684 * misc/sys/cdefs.h (__THROWNL): Define.
28685 * posix/unistd.h: Use __THREADNL instead of __THREAD
28686 for memory synchronization functions.
28688 2011-10-26 Roland McGrath <roland@hack.frob.com>
28691 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28693 * manual/stdio.texi (Obstack Streams): Node removed.
28695 2011-10-26 Andreas Schwab <schwab@redhat.com>
28697 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28698 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28699 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28701 * math/math_private.h (math_force_eval): Allow non-addressable
28703 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28705 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28707 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28708 file is not needed.
28710 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28711 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28713 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28717 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28719 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28720 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28721 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28722 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28723 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28724 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28725 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28726 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28727 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28728 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28729 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28730 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28732 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28733 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28734 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28735 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28736 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28737 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28739 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28740 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28742 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28743 place. Use VEX encoding when compiling for AVX.
28745 2011-10-25 Andreas Schwab <schwab@redhat.com>
28747 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28748 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28750 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28752 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28754 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28755 useless if() expression.
28756 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28757 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28758 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28759 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28760 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28761 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28762 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28763 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28764 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28765 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28766 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28767 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28768 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28769 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28770 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28771 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28772 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28774 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28776 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28778 2011-10-25 Andreas Schwab <schwab@redhat.com>
28780 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28782 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28784 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28786 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28787 .text section. Avoid duplicate constants.
28788 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28789 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28790 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28792 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28796 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28797 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28798 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28799 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28800 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28801 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28802 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28803 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28804 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28805 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28806 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28807 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28811 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28812 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28813 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28814 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28815 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28816 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28817 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28818 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28819 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28820 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28821 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28822 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28823 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28824 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28825 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28826 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28827 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28828 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28829 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28830 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28831 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28832 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28834 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28836 * sysdeps/x86_64/dla.h: Move to ...
28837 * sysdeps/x86_64/fpu/dla.h: ...here.
28838 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28839 situations. Use __builtin_fma only for gcc 4.6 and up.
28841 * config.make.in: Add have-mfma4 entry.
28842 * configure.in: Substitute libc_cv_cc_fma4.
28843 * math/Makefile (dbl-only-routines): Add sincostab.
28844 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28845 Use __sincostab not sincos.
28846 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28848 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28853 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28854 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28855 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28856 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28858 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28859 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28861 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28862 define aliases when function name is a macro.
28863 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28864 sysdeps/ieee754/dbl-64/sincos.tbl.
28865 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28866 fma4-enabled routines.
28867 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28868 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28869 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28870 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28871 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28872 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28873 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28874 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28875 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28876 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28877 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28878 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28879 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28880 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28881 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28882 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28883 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28884 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28885 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28886 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28887 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28888 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28889 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28890 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28891 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28892 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28893 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28894 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28895 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28896 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28898 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28900 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28901 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28906 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28909 2011-10-24 Andreas Schwab <schwab@redhat.com>
28911 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28913 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28915 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28917 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28919 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28921 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28922 Remove unused variable magic_bits.
28923 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28925 * string/strnlen.c: Define and use STRNLEN macro.
28926 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28927 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28928 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28929 * wcsmbs/wcslen.c: Define and use WCSLEN.
28930 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28931 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28932 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28933 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28934 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28935 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28936 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28938 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28941 strnlen-sse2-no-bsf.
28942 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28943 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28944 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28945 Add strnlen support.
28946 (USE_AS_STRNLEN): New macro.
28947 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28948 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28949 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28950 * sysdeps/x86_64/wcslen.S: New file.
28952 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28954 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28955 XMM-moves are used for copying on small sizes.
28957 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28959 * wcsmbs/Makefile (strop-tests): Add wcschr.
28960 * wcsmbs/test-wcschr.c: New file.
28961 * string/test-strchr.c: Update.
28962 Add wcschr support.
28965 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28967 * wcsmbs/Makefile (strop-tests): Add wcslen.
28968 * wcsmbs/test-wcslen.c: New file.
28969 * string/test-strlen.c: Update.
28970 Add wcslen support.
28973 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28975 * po/it.po: Update from translation team.
28977 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28979 * sysdeps/x86_64/wcscmp.S: Update.
28980 Fix wrong comparison semantics.
28981 wcscmp shall use signed comparison not unsigned.
28982 Don't use substraction to avoid overflow bug.
28983 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28984 * wcsmbc/wcscmp.c: Likewise.
28985 * string/test-strcmp.c: Likewise.
28986 Add new tests to check cases with negative values.
28988 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28990 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28991 * sysdeps/x86_64/dla.h: ...here. New file.
28992 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28997 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28999 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29000 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29002 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29004 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29005 __ynl_finite aliases.
29007 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29011 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29013 [DLA_FMA] (EMULV): Use DLA_FMA.
29014 [DLA_FMA] (MUL12): Use EMULV.
29015 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29016 that are not needed.
29017 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29025 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29027 * math/s_nan.c: Undef __nan.
29028 * math/s_nanf.c: Undef __nanf.
29029 * math/s_nanl.c: Undef __nanl.
29030 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29033 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29035 * math/s_catan.c: Add branch predictions.
29036 * math/s_catanf.c: Likewise.
29037 * math/s_catanh.c: Likewise.
29038 * math/s_catanhf.c: Likewise.
29039 * math/s_catanhl.c: Likewise.
29040 * math/s_catanl.c: Likewise.
29041 * math/s_cexp.c: Likewise.
29042 * math/s_cexpf.c: Likewise.
29043 * math/s_cexpl.c: Likewise.
29044 * math/s_clog.c: Likewise.
29045 * math/s_clog10.c: Likewise.
29046 * math/s_clog10f.c: Likewise.
29047 * math/s_clog10l.c: Likewise.
29048 * math/s_clogf.c: Likewise.
29049 * math/s_clogl.c: Likewise.
29050 * math/s_csqrt.c: Likewise.
29051 * math/s_csqrtf.c: Likewise.
29052 * math/s_csqrtl.c: Likewise.
29053 * math/s_ctanf.c: Likewise.
29054 * math/s_ctanh.c: Likewise.
29055 * math/s_ctanhf.c: Likewise.
29056 * math/s_ctanhl.c: Likewise.
29057 * math/s_ctanl.c: Likewise.
29059 * math/math_private.h: Define __nan, __nanf, __nanl.
29060 * math/s_cacosh.c: Include <math_private.h>.
29061 * math/s_cacoshl.c: Likewise.
29062 * math/s_casinh.c: Likewise.
29063 * math/s_casinhf.c: Likewise.
29064 * math/s_casinhl.c: Likewise.
29065 * math/s_ccos.c: Rely entire on ccosh.
29066 * math/s_ccosf.c: Rely entire on ccoshf.
29067 * math/s_ccosl.c: Rely entirely on ccoshl.
29068 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29069 Remove tests for FE_INVALID.
29070 * math/s_ccoshf.c: Likewise.
29071 * math/s_ccoshl.c: Likewise.
29072 * math/s_csin.c: Likewise.
29073 * math/s_csinf.c: Likewise.
29074 * math/s_csinh.c Likewise.
29075 * math/s_csinhf.c: Likewise.
29076 * math/s_csinhl.c: Likewise.
29077 * math/s_csinl.c: Likewise.
29078 * math/s_ctan.c: Likewise.
29079 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29080 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29081 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29083 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29086 compilation problems.
29088 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29091 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29093 * sysdeps/i386/configure.in: Test for -mfma4 option.
29094 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29095 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29096 COMMON_CPUID_INDEX_80000001.
29097 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29098 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29099 use it if FMA3 is not supported.
29100 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29102 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29103 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29105 2011-10-20 Andreas Schwab <schwab@redhat.com>
29108 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29109 it would create a cycle with a link time dependency.
29111 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29113 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29115 * string/Makefile (strop-tests): Add rawmemchr.
29116 * string/test-rawmemchr.c: New file.
29118 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29119 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29120 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29121 when compiling str{,n}casecmp and when AVX is available. Hook up
29122 new optimized code in initializers.
29124 2011-10-19 Andreas Schwab <schwab@redhat.com>
29126 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29127 __feraiseexcept instead of feraiseexcept.
29129 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29131 * math/math_private.h: Define defaults for libc_fetestexcept and
29133 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29134 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29135 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29136 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29137 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29138 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29139 libc_fetestexcept and libc_feupdateenv.
29141 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29142 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29143 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29144 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29145 libc_feholdexcept_setround.
29147 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29148 Add s_nearbyint-c and s_nearbyintf-c.
29149 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29150 nearbyintf inlines.
29151 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29152 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29153 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29154 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29156 * math/math_private.h: Define defaults for libc_fegetround,
29157 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29158 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29159 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29160 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29161 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29162 standard functions.
29163 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29164 Remove comments and hacks for old compiler versions.
29165 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29166 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29167 libc_feholdexceptl.
29169 2011-10-18 Andreas Schwab <schwab@redhat.com>
29171 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29172 (__feraiseexcept_renamed): Add __NTH.
29173 (feraiseexcept): Add __NTH. Rename local variables to fix
29174 namespace violations.
29176 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29178 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29180 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29182 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29183 recently added interfaces.
29184 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29186 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29187 about macro parameter expansion.
29189 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29190 __NO_MATH_INLINES is defined. Cleanups.
29192 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29193 and __floorf is target has SSE4.1.
29194 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29195 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29196 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29197 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29199 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29201 (floorf): Likewise.
29203 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29205 2011-10-17 Andreas Schwab <schwab@redhat.com>
29207 * misc/sys/cdefs.h: Fix last change.
29209 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29212 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29214 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29216 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29217 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29218 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29219 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29220 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29221 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29222 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29223 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29224 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29225 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29226 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29227 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29228 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29229 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29230 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29231 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29232 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29233 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29234 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29235 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29236 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29237 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29239 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29240 ceil, ceilf, floor, floorf.
29242 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29243 Perform IRELATIVE relocations last.
29245 * elf/do-rel.h: Add another parameter nrelative, replacing the
29246 local variable with the same name. Change name of the function
29247 to end in Rel or Rela (uppercase).
29248 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29249 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29250 elf_dynamic_do_##reloc function.
29252 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29254 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29255 is sufficient, at least on modern CPUs.
29257 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29259 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29260 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29262 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29264 * math/bits/math-finite.h: Add entries for exp.
29265 * math/e_expl.c: Add __*_finite alias.
29266 * sysdeps/i386/fpu/e_exp.S: Likewise.
29267 * sysdeps/i386/fpu/e_expf.S: Likewise.
29268 * sysdeps/i386/fpu/e_expl.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29270 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29274 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29275 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29277 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29278 is sufficient, at least on modern CPUs.
29280 * ctype/ctype-info.c (__ctype_init): Define.
29281 * include/ctype.h (__ctype_init): Declare.
29282 (__ctype_b_loc): The variable is always initialized.
29283 (__ctype_toupper_loc): Likewise.
29284 (__ctype_tolower_loc): Likewise.
29285 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29286 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29288 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29290 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29292 * configure.in: Also look in $cxxmachine/include for C++ system
29295 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29297 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29298 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29299 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29300 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29301 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29302 (USE_AS_WMEMCMP): New macro.
29304 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29305 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29306 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29307 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29308 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29309 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29310 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29311 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29312 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29313 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29314 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29315 (USE_AS_WMEMCMP): New macro.
29316 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29317 * sysdeps/string/test-memcmp.c: Update.
29318 Fix simple_wmemcmp.
29320 * wcsmbs/wmemcmp.c: Update.
29321 (WMEMCMP): New macro.
29324 2011-10-12 Andreas Jaeger <aj@suse.de>
29327 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29329 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29331 * libio/iofwide.c (do_length): Avoid warning.
29333 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29335 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29337 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29339 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29340 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29341 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29342 * sysdeps/i386/i686/fpu/e_log.S: New file.
29343 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29344 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29346 * ctype/ctype.h: Add support for inlined isXXX functions when
29347 compiling C++ code.
29349 2011-10-14 Andreas Schwab <schwab@redhat.com>
29351 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29353 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29355 2011-10-13 Roland McGrath <roland@hack.frob.com>
29358 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29360 2011-10-13 Andreas Schwab <schwab@redhat.com>
29362 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29363 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29366 * sysdeps/x86_64/memrchr.S: Check for zero size.
29368 * string/stratcliff.c: Add memrchr tests.
29370 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29373 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29374 rawmemchr-sse2 rawmemchr-sse2-bsf.
29375 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29376 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29377 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29378 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29379 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29380 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29381 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29382 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29383 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29384 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29385 * string/memrchr.c (MEMRCHR): New macro.
29387 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29389 Add integration with gcc's -ffinite-math-only and optimize wrapper
29391 * Versions.def: Define GLIBC_2.15 version for libm.
29392 * math/Makefile (headers): Add bits/math-finite.h.
29393 * math/bits/math-finite.h: New file.
29394 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29395 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29396 * math/e_acoshl.c: Add __*_finite alias.
29397 * math/e_acosl.c: Likewise.
29398 * math/e_asinl.c: Likewise.
29399 * math/e_atan2l.c: Likewise.
29400 * math/e_atanhl.c: Likewise.
29401 * math/e_coshl.c: Likewise.
29402 * math/e_exp10.c: Likewise.
29403 * math/e_exp10f.c: Likewise.
29404 * math/e_exp10l.c: Likewise.
29405 * math/e_exp2l.c: Likewise.
29406 * math/e_fmodl.c: Likewise.
29407 * math/e_gammal_r.c: Likewise.
29408 * math/e_hypotl.c: Likewise.
29409 * math/e_j0l.c: Likewise.
29410 * math/e_j1l.c: Likewise.
29411 * math/e_jnl.c: Likewise.
29412 * math/e_lgammal_r.c: Likewise.
29413 * math/e_log10l.c: Likewise.
29414 * math/e_log2l.c: Likewise.
29415 * math/e_logl.c: Likewise.
29416 * math/e_powl.c: Likewise.
29417 * math/e_sinhl.c: Likewise.
29418 * math/e_sqrtl.c: Likewise.
29419 * math/e_scalb.c: Completely rewritten and optimized.
29420 * math/e_scalbf.c: Likewise.
29421 * math/e_scalbl.c: Likewise.
29422 * math/w_acos.c: Likewise.
29423 * math/w_acosf.c: Likewise.
29424 * math/w_acosl.c: Likewise.
29425 * math/w_acosh.c: Likewise.
29426 * math/w_acoshf.c: Likewise.
29427 * math/w_acoshl.c: Likewise.
29428 * math/w_asin.c: Likewise.
29429 * math/w_asinf.c: Likewise.
29430 * math/w_asinl.c: Likewise.
29431 * math/w_atan2.c: Likewise.
29432 * math/w_atan2f.c: Likewise.
29433 * math/w_atan2l.c: Likewise.
29434 * math/w_atanh.c: Likewise.
29435 * math/w_atanhf.c: Likewise.
29436 * math/w_atanhl.c: Likewise.
29437 * math/w_exp10.c: Likewise.
29438 * math/w_exp10f.c: Likewise.
29439 * math/w_exp10l.c: Likewise.
29440 * math/w_fmod.c: Likewise.
29441 * math/w_fmodf.c: Likewise.
29442 * math/w_fmodl.c: Likewise.
29443 * math/w_j0.c: Likewise.
29444 * math/w_j0f.c: Likewise.
29445 * math/w_j0l.c: Likewise.
29446 * math/w_j1.c: Likewise.
29447 * math/w_j1f.c: Likewise.
29448 * math/w_j1l.c: Likewise.
29449 * math/w_jn.c: Likewise.
29450 * math/w_jnf.c: Likewise.
29451 * math/w_log.c: Likewise.
29452 * math/w_logf.c: Likewise.
29453 * math/w_logl.c: Likewise.
29454 * math/w_log10.c: Likewise.
29455 * math/w_log10f.c: Likewise.
29456 * math/w_log10l.c: Likewise.
29457 * math/w_log2.c: Likewise.
29458 * math/w_log2f.c: Likewise.
29459 * math/w_log2l.c: Likewise.
29460 * math/w_pow.c: Likewise.
29461 * math/w_powf.c: Likewise.
29462 * math/w_powl.c: Likewise.
29463 * math/w_remainder.c: Likewise.
29464 * math/w_remainderf.c: Likewise.
29465 * math/w_remainderl.c: Likewise.
29466 * math/w_scalb.c: Likewise.
29467 * math/w_scalbf.c: Likewise.
29468 * math/w_scalbl.c: Likewise.
29469 * math/w_sqrt.c: Likewise.
29470 * math/w_sqrtf.c: Likewise.
29471 * math/w_sqrtl.c: Likewise.
29472 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29473 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29475 * math/math_private.h: Declare __kernel_standard_f.
29476 * math/w_cosh.c: Remove cruft and optimize a bit.
29477 * math/w_coshf.c: Likewise.
29478 * math/w_coshl.c: Likewise.
29479 * math/w_exp2.c: Likewise.
29480 * math/w_exp2f.c: Likewise.
29481 * math/w_exp2l.c: Likewise.
29482 * math/w_hypot.c: Likewise.
29483 * math/w_hypotf.c: Likewise.
29484 * math/w_hypotl.c: Likewise.
29485 * math/w_lgamma.c: Likewise.
29486 * math/w_lgamma_r.c: Likewise.
29487 * math/w_lgammaf.c: Likewise.
29488 * math/w_lgammaf_r.c: Likewise.
29489 * math/w_lgammal.c: Likewise.
29490 * math/w_lgammal_r.c: Likewise.
29491 * math/w_sinh.c: Likewise.
29492 * math/w_sinhf.c: Likewise.
29493 * math/w_sinhl.c: Likewise.
29494 * math/w_tgamma.c: Likewise.
29495 * math/w_tgammaf.c: Likewise.
29496 * math/w_tgammal.c: Likewise.
29497 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29498 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29499 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29500 Minor optimizations. Pretty printing. Remove cruft.
29501 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29502 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29503 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29504 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29505 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29506 * sysdeps/i386/fpu/e_asin.S: Likewise.
29507 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29508 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29509 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29510 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29511 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29512 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29513 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29514 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29515 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29516 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29517 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29518 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29519 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29520 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29521 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29522 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29523 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29524 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29525 * sysdeps/i386/fpu/e_log.S: Likewise.
29526 * sysdeps/i386/fpu/e_log10.S: Likewise.
29527 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29528 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29529 * sysdeps/i386/fpu/e_log2.S: Likewise.
29530 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29531 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29532 * sysdeps/i386/fpu/e_logf.S: Likewise.
29533 * sysdeps/i386/fpu/e_logl.S: Likewise.
29534 * sysdeps/i386/fpu/e_pow.S: Likewise.
29535 * sysdeps/i386/fpu/e_powf.S: Likewise.
29536 * sysdeps/i386/fpu/e_powl.S: Likewise.
29537 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29538 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29539 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29540 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29541 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29542 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29543 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29544 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29545 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29546 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29547 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29549 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29550 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29551 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29552 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29553 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29554 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29555 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29556 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29557 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29559 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29560 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29562 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29563 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29564 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29566 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29567 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29568 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29569 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29570 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29571 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29572 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29573 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29574 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29575 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29576 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29577 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29578 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29579 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29580 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29581 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29582 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29583 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29584 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29585 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29586 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29587 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29588 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29589 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29590 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29591 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29592 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29593 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29594 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29595 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29596 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29597 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29598 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29599 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29600 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29601 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29602 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29603 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29604 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29605 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29606 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29607 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29608 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29609 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29610 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29611 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29612 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29613 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29614 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29615 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29616 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29617 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29618 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29619 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29620 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29621 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29622 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29623 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29624 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29625 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29626 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29627 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29628 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29629 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29630 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29631 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29632 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29633 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29634 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29635 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29636 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29637 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29638 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29639 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29640 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29641 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29642 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29643 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29644 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29645 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29646 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29647 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29648 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29649 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29650 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29651 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29652 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29653 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29654 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29655 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29656 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29657 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29658 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29659 (__isnanf): Likewise.
29660 (__isinf_ns): Likewise.
29661 (__isinf_nsf): Likewise.
29662 (__finite): Likewise.
29663 (__finitef): Likewise.
29664 (__ieee754_sqrt): Define as macro.
29665 (__ieee754_sqrtf): Define as macro.
29666 (__ieee754_sqrtl): Define as macro.
29667 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29669 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29670 __FINITE_MATH_ONLY__ consistent.
29671 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29673 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29675 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29678 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29680 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29682 * po/ja.po: Update from translation team.
29684 2011-10-08 Roland McGrath <roland@hack.frob.com>
29686 * locale/programs/locarchive.c (prepare_address_space): New function.
29687 (create_archive, enlarge_archive, open_archive): Use it.
29689 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29690 inside [SHARED], where it is used.
29692 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29694 * nss/getent.c (netgroup_keys): Remove unused variable.
29695 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29697 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29699 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29700 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29702 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29703 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29704 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29705 * math/Makefile (libm-calls): Add s_isinf_ns.
29706 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29707 * math/multc3.c: Likewise.
29708 * math/s_casin.c: Likewise.
29709 * math/s_casinf.c: Likewise.
29710 * math/s_casinl.c: Likewise.
29711 * math/s_ccos.c: Likewise.
29712 * math/s_ccosf.c: Likewise.
29713 * math/s_ccosl.c: Likewise.
29714 * math/s_ctan.c: Likewise.
29715 * math/s_ctanf.c: Likewise.
29716 * math/s_ctanh.c: Likewise.
29717 * math/s_ctanhf.c: Likewise.
29718 * math/s_ctanhl.c: Likewise.
29719 * math/s_ctanl.c: Likewise.
29720 * math/w_fmod.c: Likewise.
29721 * math/w_fmodf.c: Likewise.
29722 * math/w_fmodl.c: Likewise.
29723 * math/w_remainder.c: Likewise.
29724 * math/w_remainderf.c: Likewise.
29725 * math/w_remainderl.c: Likewise.
29726 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29727 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29728 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29729 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29730 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29731 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29732 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29733 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29735 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29737 * stdio-common/printf_fphex.c: Likewise.
29738 * stdio-common/printf_size.c: Likewise.
29740 * math/e_exp10.c: Include math_private.h using <...> not "...".
29741 * math/e_exp10f.c: Likewise.
29742 * math/e_exp10l.c: Likewise.
29743 * math/e_exp2l.c: Likewise.
29744 * math/e_j0l.c: Likewise.
29745 * math/e_j1l.c: Likewise.
29746 * math/e_jnl.c: Likewise.
29747 * math/e_lgammal_r.c: Likewise.
29748 * math/e_rem_pio2l.c: Likewise.
29749 * math/e_scalb.c: Likewise.
29750 * math/e_scalbf.c: Likewise.
29751 * math/e_scalbl.c: Likewise.
29752 * math/k_cosl.c: Likewise.
29753 * math/k_sinl.c: Likewise.
29754 * math/k_tanl.c: Likewise.
29755 * math/s_cacoshf.c: Likewise.
29756 * math/s_catan.c: Likewise.
29757 * math/s_catanf.c: Likewise.
29758 * math/s_catanh.c: Likewise.
29759 * math/s_catanhf.c: Likewise.
29760 * math/s_catanhl.c: Likewise.
29761 * math/s_catanl.c: Likewise.
29762 * math/s_ccosh.c: Likewise.
29763 * math/s_ccoshf.c: Likewise.
29764 * math/s_ccoshl.c: Likewise.
29765 * math/s_cexp.c: Likewise.
29766 * math/s_cexpf.c: Likewise.
29767 * math/s_cexpl.c: Likewise.
29768 * math/s_clog.c: Likewise.
29769 * math/s_clog10.c: Likewise.
29770 * math/s_clog10f.c: Likewise.
29771 * math/s_clog10l.c: Likewise.
29772 * math/s_clogf.c: Likewise.
29773 * math/s_clogl.c: Likewise.
29774 * math/s_csin.c: Likewise.
29775 * math/s_csinf.c: Likewise.
29776 * math/s_csinh.c: Likewise.
29777 * math/s_csinhf.c: Likewise.
29778 * math/s_csinhl.c: Likewise.
29779 * math/s_csinl.c: Likewise.
29780 * math/s_csqrt.c: Likewise.
29781 * math/s_csqrtf.c: Likewise.
29782 * math/s_csqrtl.c: Likewise.
29783 * math/s_ctan.c: Likewise.
29784 * math/s_ctanf.c: Likewise.
29785 * math/s_ctanh.c: Likewise.
29786 * math/s_ctanhf.c: Likewise.
29787 * math/s_ctanhl.c: Likewise.
29788 * math/s_ctanl.c: Likewise.
29789 * math/s_ldexp.c: Likewise.
29790 * math/s_ldexpf.c: Likewise.
29791 * math/s_ldexpl.c: Likewise.
29792 * math/s_significand.c: Likewise.
29793 * math/s_significandf.c: Likewise.
29794 * math/s_significandl.c: Likewise.
29795 * math/w_acos.c: Likewise.
29796 * math/w_acosf.c: Likewise.
29797 * math/w_acosh.c: Likewise.
29798 * math/w_acoshf.c: Likewise.
29799 * math/w_acoshl.c: Likewise.
29800 * math/w_acosl.c: Likewise.
29801 * math/w_asin.c: Likewise.
29802 * math/w_asinf.c: Likewise.
29803 * math/w_asinl.c: Likewise.
29804 * math/w_atan2.c: Likewise.
29805 * math/w_atan2f.c: Likewise.
29806 * math/w_atan2l.c: Likewise.
29807 * math/w_atanh.c: Likewise.
29808 * math/w_atanhf.c: Likewise.
29809 * math/w_atanhl.c: Likewise.
29810 * math/w_cosh.c: Likewise.
29811 * math/w_coshf.c: Likewise.
29812 * math/w_coshl.c: Likewise.
29813 * math/w_dremf.c: Likewise.
29814 * math/w_exp10.c: Likewise.
29815 * math/w_exp10f.c: Likewise.
29816 * math/w_exp10l.c: Likewise.
29817 * math/w_exp2.c: Likewise.
29818 * math/w_exp2f.c: Likewise.
29819 * math/w_fmod.c: Likewise.
29820 * math/w_fmodf.c: Likewise.
29821 * math/w_fmodl.c: Likewise.
29822 * math/w_hypot.c: Likewise.
29823 * math/w_hypotf.c: Likewise.
29824 * math/w_hypotl.c: Likewise.
29825 * math/w_j0.c: Likewise.
29826 * math/w_j0f.c: Likewise.
29827 * math/w_j0l.c: Likewise.
29828 * math/w_j1.c: Likewise.
29829 * math/w_j1f.c: Likewise.
29830 * math/w_j1l.c: Likewise.
29831 * math/w_jn.c: Likewise.
29832 * math/w_jnf.c: Likewise.
29833 * math/w_jnl.c: Likewise.
29834 * math/w_lgamma.c: Likewise.
29835 * math/w_lgamma_r.c: Likewise.
29836 * math/w_lgammaf.c: Likewise.
29837 * math/w_lgammaf_r.c: Likewise.
29838 * math/w_lgammal.c: Likewise.
29839 * math/w_lgammal_r.c: Likewise.
29840 * math/w_log.c: Likewise.
29841 * math/w_log10.c: Likewise.
29842 * math/w_log10f.c: Likewise.
29843 * math/w_log10l.c: Likewise.
29844 * math/w_log2.c: Likewise.
29845 * math/w_log2f.c: Likewise.
29846 * math/w_log2l.c: Likewise.
29847 * math/w_logf.c: Likewise.
29848 * math/w_logl.c: Likewise.
29849 * math/w_pow.c: Likewise.
29850 * math/w_powf.c: Likewise.
29851 * math/w_powl.c: Likewise.
29852 * math/w_remainder.c: Likewise.
29853 * math/w_remainderf.c: Likewise.
29854 * math/w_remainderl.c: Likewise.
29855 * math/w_scalb.c: Likewise.
29856 * math/w_scalbf.c: Likewise.
29857 * math/w_scalbl.c: Likewise.
29858 * math/w_sinh.c: Likewise.
29859 * math/w_sinhf.c: Likewise.
29860 * math/w_sinhl.c: Likewise.
29861 * math/w_sqrt.c: Likewise.
29862 * math/w_sqrtf.c: Likewise.
29863 * math/w_sqrtl.c: Likewise.
29864 * math/w_tgamma.c: Likewise.
29865 * math/w_tgammaf.c: Likewise.
29866 * math/w_tgammal.c: Likewise.
29868 * po/ja.po: Update from translation team.
29870 2011-09-29 Andreas Jaeger <aj@suse.de>
29873 * sunrpc/netname.c (netname2host): Fix logic.
29877 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29879 * math/w_remainder.c (__remainder): Likewise.
29880 * math/w_remainderf.c (__remainderf): Likewise.
29881 * math/libm-test.inc (remainder_test): Add test cases.
29883 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29885 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29888 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29890 * string/test-memcmp.c: Avoid unncessary #defines.
29891 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29893 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29895 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29896 Use new sse2 version for core i3 - i7 as it's faster
29897 than sse42 version.
29898 (bit_Prefer_PMINUB_for_stringop): New.
29899 * sysdeps/x86_64/rawmemchr.S: Update.
29900 Replace with faster SSE2 version.
29901 * sysdeps/x86_64/memrchr.S: New file.
29902 * sysdeps/x86_64/memchr.S: Update.
29903 Replace with faster SSE2 version.
29905 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29907 * elf/dl-load.c (lose): Add cast to avoid warning.
29909 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29911 * po/ca.po: Update from translation team.
29913 * inet/getnetgrent_r.c: Hook up nscd.
29914 * nscd/Makefile (routines): Add nscd_netgroup.
29915 (nscd-modules): Add netgroupcache.
29916 (CFLAGS-netgroupcache.c): Define.
29917 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29918 (cache_search): Add const to second parameter.
29919 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29921 (dbs): Add netgrdb entry.
29922 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29923 (verify_persistent_db): Handle netgrdb.
29924 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29925 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29927 (netgroup_response_header): Define.
29928 (innetgroup_response_header): Define.
29929 (datahead): Add netgroup_response_header and innetgroup_response_header
29931 * nscd/nscd.conf: Add entries for netgroup cache.
29932 * nscd/nscd.h (dbtype): Add netgrdb.
29933 (_PATH_NSCD_NETGROUP_DB): Define.
29934 (netgroup_iov_disabled): Declare.
29935 (xmalloc, xcalloc, xrealloc): Move declarations here.
29936 (cache_search): Adjust prototype.
29937 Add netgroup-related prototypes.
29938 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29939 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29940 (__nscd_innetgr): Declare.
29941 * nscd/selinux.c (perms): Use access_vector_t as element type and
29942 add netgroup-related initializers.
29943 * nscd/netgroupcache.c: New file.
29944 * nscd/nscd_netgroup.c: New file.
29945 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29946 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29947 For four parameters use innetgr.
29948 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29949 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29950 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29951 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29953 * nscd/connections.c (register_traced_file): Don't register file
29954 for disabled databases.
29956 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29958 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29960 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29961 from tree and freeing node.
29963 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29965 * nss/nsswitch.c (__nss_database_lookup): Handle
29966 nss_parse_service_list out of memory case.
29968 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29970 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29971 out of memory case.
29973 2011-10-04 Andreas Schwab <schwab@redhat.com>
29975 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29976 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29978 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29979 elf_machine_rela, elf_machine_lazy_rel.
29980 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29981 (ELF_DYNAMIC_DO_REL): Likewise.
29982 (ELF_DYNAMIC_DO_RELA): Likewise.
29983 (ELF_DYNAMIC_RELOCATE): Likewise.
29984 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29985 to ELF_DYNAMIC_DO_REL.
29986 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29987 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29988 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29990 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29991 skip_ifunc, don't call ifunc function if non-zero.
29992 (elf_machine_rela): Likewise.
29993 (elf_machine_lazy_rel): Likewise.
29994 (elf_machine_lazy_rela): Likewise.
29995 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29996 (elf_machine_lazy_rel): Likewise.
29997 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29999 (elf_machine_lazy_rel): Likewise.
30000 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30002 (elf_machine_lazy_rel): Likewise.
30003 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30004 (elf_machine_lazy_rel): Likewise.
30005 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30006 (elf_machine_lazy_rel): Likewise.
30007 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30008 (elf_machine_lazy_rel): Likewise.
30009 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30010 (elf_machine_lazy_rel): Likewise.
30011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30012 (elf_machine_lazy_rel): Likewise.
30013 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30014 (elf_machine_lazy_rel): Likewise.
30016 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30018 * nss/nss_files/files-init.c (_nss_files_init): Use static
30019 initialization for all the *_traced_file variables.
30021 2011-09-28 Andreas Schwab <schwab@redhat.com>
30023 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30025 2011-09-27 Roland McGrath <roland@hack.frob.com>
30028 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30030 2011-09-27 Andreas Schwab <schwab@redhat.com>
30032 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30033 Reread the line before reparsing it.
30035 2011-09-26 Andreas Schwab <schwab@redhat.com>
30037 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30039 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30040 Maxim Kuvyrkov <maxim@codesourcery.com>
30041 Joseph Myers <joseph@codesourcery.com>
30043 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30044 if needed for __stack_chk_guard.
30046 2011-09-19 Roland McGrath <roland@hack.frob.com>
30048 * sysdeps/posix/spawni.c (script_execute): Always define it.
30049 It will be optimized away if unused.
30050 (maybe_script_execute): New function.
30051 (__spawni): Call it.
30053 * Makerules: Don't include tls.make.
30054 (config-tls): Always set to thread.
30055 * tls.make.c: File removed.
30057 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30059 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30060 * config.make.in (CPPFLAGS-config): New substituted variable.
30062 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30064 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30067 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30068 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30070 2011-09-15 Roland McGrath <roland@hack.frob.com>
30072 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30073 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30074 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30075 (CALL_FAIL): Likewise.
30076 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30077 (CALL_FAIL): Macro removed.
30078 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30080 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30082 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30083 for __FINITE_MATH_ONLY__ == 1.
30085 2011-09-15 Andreas Schwab <schwab@redhat.com>
30087 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30088 __ieee754_sqrt instead of sqrt.
30089 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30090 __ieee754_sqrtf instead of sqrtf.
30091 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30092 __floorf instead of floorf.
30093 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30094 __floorf, __truncf instead of floorf, truncf.
30096 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30098 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30100 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30101 __extern_always_inline.
30102 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30105 2011-09-14 Andreas Schwab <schwab@redhat.com>
30107 * elf/rtld.c (dl_main): Also relocate in dependency order when
30108 doing symbol dependency testing.
30110 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30112 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30113 Always define `refsym'.
30115 2011-09-13 Andreas Schwab <schwab@redhat.com>
30117 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30118 (__FD_ELT): Renamed from __FDELT.
30119 * misc/bits/select2.h (__FD_ELT): Likewise.
30120 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30121 __FD_MASK instead of __FDELT, __FDMASK.
30122 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30124 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30127 * elf/Makefile (gen-ldd): Fix pattern.
30129 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30130 (init_tls): Likewise.
30132 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30134 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30136 2011-09-12 Andreas Schwab <schwab@redhat.com>
30138 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30139 `struct cmsghdr *' instead of `void *'.
30140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30143 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30145 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30147 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30148 ldd_rewrite_script.
30150 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30152 * configure.in: Remove --with-tls option.
30153 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30154 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30155 out in case it is missing.
30156 * sysdeps/ia64/elf/configure.in: Likewise.
30157 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30158 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30159 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30160 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30161 * sysdeps/sh/elf/configure.in: Likewise.
30162 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30163 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30164 * sysdeps/x86_64/elf/configure.in: Likewise.
30165 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30166 * sysdeps/mach/hurd/tls.h: Likewise.
30169 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30172 * configure.in: Fix use of AC_INIT.
30174 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30176 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30178 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30180 * malloc/hooks.c: Likewise.
30183 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30184 variables statically.
30185 (narenas): Initialize.
30186 (list_lock): Initialize.
30187 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30188 initializtion of main_arena and list_lock. Small cleanups.
30189 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30190 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30191 Add initializers to main_arena and mp_.
30192 (malloc_state): Remove pagesize member. Change all users to use
30195 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30196 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30197 is always initialized.
30199 * malloc/malloc.c: Removed unused configurations and dead code.
30200 * malloc/arena.c: Likewise.
30201 * malloc/hooks.c: Likewise.
30202 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30204 * include/tls.h: Removed. USE___THREAD must always be defined.
30205 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30206 * elf/dl-libc.c: Likewise.
30207 * elf/dl-tsd.c: Likewise.
30208 * include/errno.h: Likewise.
30209 * include/netdb.h: Likewise.
30210 * include/resolv.h: Likewise.
30211 * inet/herrno-loc.c: Likewise.
30212 * inet/herrno.c: Likewise.
30213 * malloc/arena.c: Likewise.
30214 * malloc/hooks.c: Likewise.
30215 * malloc/malloc.c: Likewise.
30216 * resolv/res-state.c: Likewise.
30217 * resolv/res_libc.c: Likewise.
30218 * sysdeps/i386/dl-machine.h: Likewise.
30219 * sysdeps/ia64/dl-machine.h: Likewise.
30220 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30221 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30222 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30223 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30224 * sysdeps/sh/dl-machine.h: Likewise.
30225 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30226 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30227 * sysdeps/unix/i386/sysdep.S: Likewise.
30228 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30229 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30230 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30231 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30232 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30233 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30234 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30235 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30236 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30238 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30239 * sysdeps/x86_64/dl-machine.h: Likewise.
30240 * tls.make.c: Likewise.
30242 * configure.in: Remove --with-__thread option. Make tests for
30243 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30244 tls_model attribute fail if no support is available. Remove
30246 * Makeconfig: Adjust for dropped configure option. All features are
30248 * Makerules: Likewise.
30249 * Versions.def: Likewise.
30250 * argp/argp-fmtstream.c: Likewise.
30251 * argp/argp-fmtstream.h: Likewise.
30252 * argp/argp-help.c: Likewise.
30253 * assert/assert.c: Likewise.
30254 * config.h.in: Likewise.
30255 * config.make.in: Likewise.
30256 * configure: Likewise.
30257 * configure.in: Likewise.
30258 * csu/Versions: Likewise.
30259 * csu/init.c: Likewise.
30260 * elf/tst-audit2.c: Likewise.
30261 * elf/tst-tls10.c: Likewise.
30262 * elf/tst-tls10.h: Likewise.
30263 * elf/tst-tls11.c: Likewise.
30264 * elf/tst-tls12.c: Likewise.
30265 * elf/tst-tls14.c: Likewise.
30266 * elf/tst-tlsmod11.c: Likewise.
30267 * elf/tst-tlsmod12.c: Likewise.
30268 * elf/tst-tlsmod13.c: Likewise.
30269 * elf/tst-tlsmod13a.c: Likewise.
30270 * elf/tst-tlsmod14a.c: Likewise.
30271 * elf/tst-tlsmod15b.c: Likewise.
30272 * elf/tst-tlsmod16a.c: Likewise.
30273 * elf/tst-tlsmod16b.c: Likewise.
30274 * elf/tst-tlsmod7.c: Likewise.
30275 * elf/tst-tlsmod8.c: Likewise.
30276 * elf/tst-tlsmod9.c: Likewise.
30277 * gmon/gmon.c: Likewise.
30278 * grp/fgetgrent_r.c: Likewise.
30279 * grp/putgrent.c: Likewise.
30280 * hurd/fopenport.c: Likewise.
30281 * include/libc-symbols.h: Likewise.
30282 * include/tls.h: Likewise.
30283 * intl/gettextP.h: Likewise.
30284 * intl/loadinfo.h: Likewise.
30285 * locale/global-locale.c: Likewise.
30286 * locale/localeinfo.h: Likewise.
30287 * mach/devstream.c: Likewise.
30288 * malloc/arena.c: Likewise.
30289 * malloc/set-freeres.c: Likewise.
30290 * misc/err.c: Likewise.
30291 * misc/getttyent.c: Likewise.
30292 * misc/mntent_r.c: Likewise.
30293 * posix/getopt.c: Likewise.
30294 * posix/wordexp.c: Likewise.
30295 * pwd/fgetpwent_r.c: Likewise.
30296 * resolv/Versions: Likewise.
30297 * resolv/res_hconf.c: Likewise.
30298 * shadow/fgetspent_r.c: Likewise.
30299 * shadow/putspent.c: Likewise.
30300 * stdio-common/printf_fphex.c: Likewise.
30301 * stdio-common/tmpfile.c: Likewise.
30302 * stdlib/abort.c: Likewise.
30303 * stdlib/fmtmsg.c: Likewise.
30304 * sunrpc/auth_unix.c: Likewise.
30305 * sunrpc/clnt_perr.c: Likewise.
30306 * sunrpc/clnt_tcp.c: Likewise.
30307 * sunrpc/clnt_udp.c: Likewise.
30308 * sunrpc/clnt_unix.c: Likewise.
30309 * sunrpc/openchild.c: Likewise.
30310 * sunrpc/svc_simple.c: Likewise.
30311 * sunrpc/svc_tcp.c: Likewise.
30312 * sunrpc/svc_udp.c: Likewise.
30313 * sunrpc/svc_unix.c: Likewise.
30314 * sunrpc/xdr.c: Likewise.
30315 * sunrpc/xdr_array.c: Likewise.
30316 * sunrpc/xdr_rec.c: Likewise.
30317 * sunrpc/xdr_ref.c: Likewise.
30318 * sunrpc/xdr_stdio.c: Likewise.
30320 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30322 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30324 2011-07-03 Andreas Jaeger <aj@suse.de>
30326 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30327 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30328 regenerate with gen-libm-tests.pl.
30330 2010-05-12 Petr Baudis <pasky@suse.cz>
30333 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30334 around j0() zero points by switching to j1().
30335 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30336 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30337 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30340 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30342 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30344 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30347 Patch in part by Pavel Roskin <proski@gnu.org>.
30350 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30352 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30353 Free memory block if necessary.
30356 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30357 be NULL. Don't lock in this case.
30359 2011-09-09 Roland McGrath <roland@hack.frob.com>
30361 * elf/elf.h (ELFOSABI_GNU): New macro.
30362 (ELFOSABI_LINUX): Define to that.
30364 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30366 * string/strncat.c (strncat): Undef the symbol in case it has been
30367 defined in bits/string.h.
30369 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30371 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30373 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30376 2011-08-17 Andreas Jaeger <aj@suse.de>
30378 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30380 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30381 Ian Lance Taylor <iant@google.com>
30383 * math/libm-test.inc (lround_test): New testcase.
30384 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30386 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30388 * Makefile: Remove support for automatic cvs check-ins.
30389 * Makerules: Likewise.
30390 * config.make.in: Likewise.
30391 * configure.in: Likewise.
30392 * intl/Makefile: Likewise.
30393 * locale/Makefile: Likewise.
30394 * po/Makefile: Likewise.
30395 * posix/Makefile: Likewise.
30396 * sysdeps/gnu/Makefile: Likewise.
30397 * sysdeps/mach/hurd/Makefile: Likewise.
30398 * sysdeps/sparc/sparc32/Makefile: Likewise.
30401 * posix/Makefile (bug-regex32-ENV): Define.
30402 Patch by John Stanley <jpsinthemix@verizon.net>.
30404 * misc/Makefile (headers): Add bits/select2.h.
30405 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30406 * misc/bits/select2.h: New file.
30407 * include/bits/select2.h: New file.
30408 * debug/Makefile (routines): Add fdelt_chk.
30409 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30410 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30412 * debug/fdelt_chk.c: New file.
30414 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30415 * wcsmbs/test-wmemcmp.c: Likewise.
30416 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30417 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30419 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30421 * string/Makefile (strop-tests): Add memcmp.
30422 * string/test-wmemcmp.c: New file.
30423 * string/test-memcmp.c: Add wmemcmp support.
30425 2011-09-08 Roland McGrath <roland@hack.frob.com>
30428 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30431 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30432 garbage value in a __mach_port_mod_refs call in the cases of the
30433 task-self and thread-self ports.
30435 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30437 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30439 2011-09-08 Andreas Schwab <schwab@redhat.com>
30441 * elf/dl-load.c (lose): Check for non-null L.
30443 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30445 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30447 * elf/dl-libc.c (dlerror_run): Pass back error code from
30451 * elf/dl-load.c (lose): Free l_origin if it is valid.
30453 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30455 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30456 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30457 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30458 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30459 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30460 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30462 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30464 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30465 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30466 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30467 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30468 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30469 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30470 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30471 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30472 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30473 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30475 2011-08-15 Alan Modra <amodra@gmail.com>
30478 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30479 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30480 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30481 ppc_mcount to static-only-routines.
30482 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30484 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30485 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30487 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30489 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30490 for finite and infinity parameters.
30492 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30494 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30495 and add nop instructions for throughput optimization.
30496 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30498 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30500 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30501 aligned copy for power7 with vector-scalar instructions.
30502 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30504 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30509 2011-09-07 Andreas Schwab <schwab@redhat.com>
30512 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30515 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30517 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30518 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30519 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30520 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30523 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30525 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30526 Forgot to demangle the pointer.
30528 * sysdeps/i386/sysdep.h: Define atom_text_section.
30529 * sysdeps/x86_64/sysdep.h: Likewise.
30530 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30531 section with atom_text_section.
30532 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30533 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30534 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30535 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30536 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30538 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30539 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30540 already be defined. Change to take two parameters and don't assign
30541 result to variable. Adjust all users.
30542 Define INTERNAL_GETTIME if not already defined.
30543 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30546 HAVE_CLOCK_GETTIME_VSYSCALL.
30547 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30549 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30550 gettimeofday vsyscall, just use time.
30552 2011-09-06 Andreas Schwab <schwab@redhat.com>
30554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30557 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30559 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30561 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30563 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30564 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30565 syscall if possible.
30567 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30569 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30570 e_ident. Don't pass to find_mapsXX.
30571 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30573 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30576 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30577 * sysdeps/x86_64/multiarch/strchr.S: Update.
30578 Check bit_slow_BSF bit.
30579 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30580 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30581 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30583 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30586 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30588 (tryshell): Define.
30589 (__spawni): Change last parameter to be flag. Test
30590 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30591 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30592 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30593 * posix/spawni.c: Likewise.
30594 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30595 * posix/spawnp.c: Likewise. Change normal version to use
30596 SPAWN_XFLAGS_USE_PATH.
30597 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30598 SPAWN_XFLAGS_TRY_SHELL.
30601 * posix/glob.h: Remove gcc 1.x support.
30604 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30606 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30609 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30611 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30612 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30613 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30614 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30615 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30616 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30618 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30620 * sysdeps/x86_64/wcscmp.S: New file.
30622 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30623 wcscmp-c wcscmp-sse2
30624 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30625 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30626 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30627 * wcsmbs/wcscmp.c: Allow renaming.
30629 2011-09-05 David S. Miller <davem@davemloft.net>
30631 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30632 stack slot, rather than the struct return pointer slot.
30633 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30634 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30636 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30638 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30640 * po/ja.po: Update from translation team.
30643 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30644 kernel in 64-bit binaries.
30646 2011-09-01 David S. Miller <davem@davemloft.net>
30648 * elf/elf.h (HWCAP_SPARC_*): Move to..
30649 * sysdeps/sparc/sysdep.h: this new file and add new values.
30650 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30651 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30652 _DL_HWCAP_COUNT to 24.
30653 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30655 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30656 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30657 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30658 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30659 instead of magic constants.
30660 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30662 2011-08-31 David S. Miller <davem@davemloft.net>
30664 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30666 Reimplement to do errno handling inline.
30667 (SYSCALL_ERROR_HANDLER): New macro.
30668 (__SYSCALL_STRING): Do not do errno handling in asm.
30669 (__CLONE_SYSCALL_STRING): Delete.
30670 (__INTERNAL_SYSCALL_STRING): Delete.
30671 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30672 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30673 (PSEUDO): Reimplement to do errno handling inline.
30674 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30675 (SYSCALL_ERROR_HANDLER): New macro.
30676 (__SYSCALL_STRING): Do not do errno handling in asm.
30677 (__CLONE_SYSCALL_STRING): Delete.
30678 (__INTERNAL_SYSCALL_STRING): Delete.
30679 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30680 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30682 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30683 (inline_syscall*): Add 'err' argument.
30684 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30685 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30686 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30687 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30689 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30690 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30692 2011-08-30 Andreas Schwab <schwab@redhat.com>
30694 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30696 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30698 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30701 2011-08-24 David S. Miller <davem@davemloft.net>
30703 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30705 2011-08-24 Andreas Schwab <schwab@redhat.com>
30707 * elf/Makefile: Add rules to build and run unload8 test.
30708 * elf/unload8.c: New file.
30709 * elf/unload8mod1.c: New file.
30710 * elf/unload8mod1x.c: New file.
30711 * elf/unload8mod2.c: New file.
30712 * elf/unload8mod3.c: New file.
30714 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30717 2011-08-23 David S. Miller <davem@davemloft.net>
30719 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30720 subtract stack bias.
30721 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30722 %sp not %fp in calculations.
30723 (_JMPBUF_UNWINDS_ADJ): Likewise.
30725 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30726 (aio_suspend): Call it to force an exception region around the
30727 AIO_MISC_WAIT() invocation.
30729 2011-08-23 Andreas Schwab <schwab@redhat.com>
30731 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30734 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30736 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30738 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30739 and <dl-machine.h>.
30740 (Elf64_FuncDesc): Remove.
30742 2011-08-22 David S. Miller <davem@davemloft.net>
30744 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30745 sigaltstack check, add missing cfi directives.
30746 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30747 missing cfi directives, and sigaltstack handling.
30749 2011-08-16 Andreas Schwab <schwab@redhat.com>
30752 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30753 object is seen twice.
30754 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30756 * elf/Makefile (distribute): Add tst-initorder2.c.
30757 (tests): Add tst-initorder2.
30758 (modules-names): Add tst-initorder2a tst-initorder2b
30759 tst-initorder2c tst-initorder2d. Add rules to build them.
30760 ($(objpfx)tst-initorder2.out): New rule.
30761 * elf/tst-initorder2.c: New file.
30762 * elf/tst-initorder2.exp: New file.
30764 2011-08-22 Andreas Schwab <schwab@redhat.com>
30766 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30768 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30769 dependencies back to end of function.
30771 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30772 $(elfobjdir)/ld.so.
30774 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30777 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30778 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30779 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30780 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30781 of __vdso_gettimeofday.
30782 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30783 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30785 (_libc_vdso_platform_setup): Remove initialization of
30786 __vdso_gettimeofday and __vdso_time.
30788 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30790 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30791 and fgetc_unlocked.
30792 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30795 * elf/dl-open.c (add_to_global): Report additions to the global scope
30796 for LD_DEBUG=scopes.
30797 (dl_open_worker): Also print scope of newly loaded dependencies.
30798 (_dl_show_scope): Indicate if there is no scope.
30801 * stdio-common/Makefile (tests): Add bug24.
30802 * stdio-common/bug24.c: New file.
30804 2011-08-19 Andreas Jaeger <aj@suse.de>
30807 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30808 non-existant file when using close-on-exec mode.
30810 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30812 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30813 the very first instruction.
30815 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30816 the CFI state in the end.
30817 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30818 inclusion of dl-trampoline.h.
30819 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30821 2011-08-19 Andreas Schwab <schwab@redhat.com>
30823 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30824 expectations for long double.
30826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30827 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30829 2011-08-14 David S. Miller <davem@davemloft.net>
30831 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30832 artificual limit depends upon the system page size.
30834 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30836 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30837 * resolv/Makefile: Define CFLAGS-libresolv.
30839 2011-08-17 Andreas Schwab <schwab@redhat.com>
30841 * nss/makedb.c (compute_tables): Make variables used in nested
30844 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30846 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30847 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30848 if buffer was too small.
30850 * elf/pldd.c (main): Attach to all threads in the process.
30851 Rewrite /proc handling to use *at functions.
30853 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30855 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30856 specifies first scope to show.
30857 (dl_open_worker): Update callers. Move printing scope of new
30858 object to before the relocation.
30859 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30860 * sysdeps/generic/ldsodefs.h: Update declaration.
30862 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30863 string for the scope number.
30865 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30867 * nscd/servicescache.c (cache_addserv): Make sure written is always
30870 2011-08-14 Roland McGrath <roland@hack.frob.com>
30872 * sysdeps/i386/i486/bits/atomic.h
30873 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30874 statement expression, so as to suppress "set but not used" warning.
30875 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30877 * string/strncat.c (STRNCAT): Use prototype definition.
30879 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30880 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30882 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30883 (localedef-modules): Add localedef.
30884 (locale-modules): Add locale.
30886 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30887 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30888 to avoid a warning.
30890 2011-08-14 David S. Miller <davem@davemloft.net>
30892 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30893 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30895 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30897 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30898 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30899 * elf/rtld.c (dl_main): Set l_name of vDSO.
30900 Call _dl_show_scope when DL_DEBUG_SCOPES.
30901 (process_dl_debug): Recognize scopes flag and also set it for all.
30902 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30903 Declare _dl_show_scope.
30905 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30906 (do_dlopen): Pass caller_dlopen to dl_open.
30907 (__libc_dlopen_mode): Initialize caller_dlopen.
30909 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30910 of libc. Make tolower call locale-independent. Optimize a bit by
30911 using isdigit instead of isalnum.
30912 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30914 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30916 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30917 was a dependency or dynamically loaded.
30919 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30921 * intl/l10nflist.c: Allow architecture-specific pop function.
30922 * sysdeps/x86_64/l10nflist.c: New file.
30924 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30927 2011-08-10 Andreas Schwab <schwab@redhat.com>
30929 * include/dirent.h: Add libc_hidden_proto for scandirat and
30930 scandirat64. Don't declare __scandirat64.
30931 * dirent/scandirat.c: Add libc_hidden_def.
30932 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30933 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30935 2011-08-10 David S. Miller <davem@davemloft.net>
30937 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30939 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30940 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30941 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30943 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30945 * Versions.def [libc]: Add GLIBC_2.15.
30946 * dirent/Makefile (routines): Add scandirat and scandirat64.
30947 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30949 * dirent/dirent.h: Declare scandirat and scandirat64.
30950 * dirent/scandirat.c: New file.
30951 * dirent/scandirat64.c: New file.
30952 * sysdeps/wordsize-64/scandirat.c: New file.
30953 * sysdeps/wordsize-64/scandirat64.c: New file.
30954 * dirent/opendir.c: Define opendirat.
30955 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30957 * dirent/scandir64.c: Adjust for scandir.c change.
30958 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30959 __scandirat64, and __scandir_cancel_handler.
30960 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30961 additional parameter and use openat instead of open (outside of ld.so).
30962 Add new __opendir as wrapper around __opendirat.
30963 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30964 here without requiring old scandirat implementation.
30966 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30968 * dirent/scandir.c (cancel_handler): Renamed to
30969 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30970 defined. Adjust users.
30971 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30972 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30974 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30976 * string/test-string.h (IMPL): Use __STRING to expand name and then
30979 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30982 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30984 * string/Makefile: Update.
30985 (strop-tests): Append strncat.
30986 * string/test-wcscmp.c: New file.
30987 New comprehensive test for wcscmp.
30988 * string/test-strcmp.c: Update.
30989 (WIDE): New define.
30991 2011-07-22 Andreas Schwab <schwab@redhat.com>
30993 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30996 2011-07-26 Andreas Schwab <schwab@redhat.com>
30998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30999 encoding to ACE if AI_IDN.
31001 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31004 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31006 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31008 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31009 Fix overflow bug in strncat.
31010 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31012 * string/test-strncat.c: Update.
31013 Add new tests for checking overflow bugs.
31015 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31018 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31019 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31020 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31021 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31022 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31023 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31024 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31025 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31027 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31028 (USE_AS_STRCAT): Define.
31029 Add strcat and strncat support.
31030 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31032 2011-07-25 Andreas Schwab <schwab@redhat.com>
31034 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31035 __n bigger than INT_MAX+1.
31036 (__strncmp_g): Likewise.
31038 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31040 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31041 * libio/stido.h: Likewise.
31043 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31048 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31049 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31050 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31051 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31052 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31055 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31058 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31060 (_dl_x86_64_save_sse): Likewise.
31062 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31066 (_dl_x86_64_save_sse): Likewise.
31068 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31070 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31072 2011-07-21 Andreas Schwab <schwab@redhat.com>
31074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31076 (_dl_x86_64_save_sse): Use correct AVX check.
31078 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31080 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31081 bug in strncpy/strncat.
31082 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31084 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31086 * string/tester.c (test_strcat): Add tests for different alignments
31087 of source and destination.
31088 (test_strncat): Likewise.
31090 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31093 * posix/glob.c (glob): Check passed in values before using them in
31094 expressions to avoid some overflows.
31095 (glob_in_dir): Likewise.
31098 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31099 check for AVX enablement so that we don't crash with old kernels and
31101 * elf/tst-audit4.c: Add same checks here.
31102 * elf/tst-audit6.c: Likewise.
31104 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31106 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31108 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31110 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31112 * po/cs.po: Update from translation team.
31113 * po/bg.po: Likewise.
31115 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31117 * misc/sys/cdefs.h: Add support for const attribute.
31118 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31119 to gnu_dev_{major,minor,makedev} functions.
31121 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31123 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31125 2011-07-20 Andreas Schwab <schwab@redhat.com>
31127 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31130 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31132 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31133 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31134 register in order to avoid conflicts with the soft frame pointer
31135 being held in r11 when necessary.
31136 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31137 (INTERNAL_VSYSCALL_NCS): Likewise.
31139 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31141 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31142 * elf/dl-fini.c (_dl_fini): Adjust caller.
31143 * elf/dl-close.c (_dl_close_worker): Likewise.
31144 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31146 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31148 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31149 "aux_cache->nlibs < 0".
31151 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31152 in the reload-count case.
31154 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31157 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31158 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31159 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31160 * sysdeps/x86_64/multiarch/strcat.S: New file.
31161 * sysdeps/x86_64/multiarch/strncat.S: New file.
31162 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31163 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31164 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31165 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31166 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31167 (USE_AS_STRCAT): Define.
31168 Add strcat and strncat support.
31169 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31170 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31171 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31172 * string/strncat.c: Update.
31173 (USE_AS_STRNCAT): Define.
31174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31175 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31177 * sysdeps/x86_64/multiarch/init-arch.h
31178 (bit_Prefer_PMINUB_for_stringop): New.
31179 (index_Prefer_PMINUB_for_stringop): Likewise.
31180 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31181 bit_Prefer_PMINUB_for_stringop.
31183 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31185 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31187 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31188 of casting of buffer.
31189 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31190 buffer32 and buffer64.
31191 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31192 writes instead of casting of buffer.
31193 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31195 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31198 2011-07-19 Andreas Schwab <schwab@redhat.com>
31200 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31202 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31204 * nscd/nscd.c (termination_handler): Don't do anything for a database
31205 if it has not yet been initialized.
31207 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31209 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31211 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31213 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31215 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31217 * po/nl.po: Update from translation team.
31218 * po/sv.po: Likewise.
31220 2011-07-16 Roland McGrath <roland@hack.frob.com>
31222 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31223 now disallowed by GCC.
31225 * configure.in (use-default-link): Default to yes if a test -shared
31226 link meets our qualifications.
31227 * configure: Regenerated.
31229 * config.make.in (output-format): New variable.
31230 * configure.in: Check for ld --print-output-format support.
31231 * configure: Regenerated.
31232 * Makerules ($(common-objpfx)format.lds)
31233 [$(output-format) != unknown]: Just use $(output-format),
31234 instead of the linker-script munging.
31236 2011-07-14 Roland McGrath <roland@hack.frob.com>
31238 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31239 of $(common-objpfx)shlib.lds.
31240 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31242 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31243 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31245 * configure.in (-z relro check): Adjust test code to add a large
31246 writable data section after it.
31247 * configure: Regenerated.
31249 2011-07-11 Roland McGrath <roland@hack.frob.com>
31251 * configure.in (-z relro check): Fix test code to make the variable
31253 * configure: Regenerated.
31255 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31257 * nscd/nscd.h (struct traced_file): Define.
31258 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31259 elements. Add traced_files.
31260 (inotify_fd): Declare.
31261 (register_traced_file): Declare.
31262 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31263 (inotify_fd): Export.
31264 (resolv_conf_descr): Remove.
31265 (nscd_init): Move inotify descriptor creation to main.
31266 Don't register files for notification here.
31267 (register_traced_file): New function.
31268 (invalidate_cache): Don't use reset_res to determine whether to call
31269 res_init, go through the list of registered files.
31270 (main_loop_poll): The inotify descriptors are now stored in the
31271 structures for the traced files.
31272 (main_loop_epoll): Likewise
31273 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31274 to __nss_disable_nscd.
31275 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31276 for a database anymore. Check the records for all the registered
31278 * nss/Makefile (libnss_files-routines): Add files-init.
31279 (libnss_db-routines): Add db-init.
31280 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31281 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31282 * nss/nss_db/db-init.c: New file.
31283 * nss/nss_files/files-init.c: New file.
31284 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31285 __nss_lookup_function.
31286 (__nss_lookup_function): Call nss_load_library.
31287 (nss_load_all_libraries): New function.
31288 (__nss_disable_nscd): Take parameter with callback function for files
31289 to register. Set is_nscd. Load all the DSOs for the NSS modules
31290 used for the cached services.
31291 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31292 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31293 options for features to all the files in nscd.
31295 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31297 2011-07-10 Roland McGrath <roland@hack.frob.com>
31299 * csu/elf-init.c (__libc_csu_init): Comment typo.
31301 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31303 * po/pl.po: Update from translation team.
31304 * po/ja.po: Likewise.
31305 * po/ru.po: Likewise.
31306 * po/ko.po: Likewise.
31307 * po/fr.po: Likewise.
31309 2011-07-09 Roland McGrath <roland@hack.frob.com>
31311 * configure.in (.ctors/.dtors header and trailer check):
31312 Use an empirical test on a built program.
31313 * configure: Regenerated.
31315 * configure.in (-z relro check): Use an empirical test on a built DSO.
31316 Detect, but do not require, on ia64.
31317 * configure: Regenerated.
31319 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31320 Update tests that use readelf to use $READELF instead.
31321 * configure: Regenerated.
31323 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31325 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31326 if the result is not used.
31328 2011-07-05 Andreas Jaeger <aj@suse.de>
31331 * stdlib/tst-strtod.c: Add testcase.
31333 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31335 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31336 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31337 The latter has a higher limit. Take additional parameter to pass to
31339 (__pathconf): Pass file to __statfs_link_max.
31340 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31342 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31346 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31349 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31350 (__statfs_filesize_max): Likewise.
31351 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31353 2011-07-05 Andreas Jaeger <aj@suse.de>
31355 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31357 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31359 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31361 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31364 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31366 * Makefile (strop-tests): Add strncat.
31367 * string/test-strncat.c: New file.
31369 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31371 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31373 2011-06-21 Andreas Jaeger <aj@suse.de>
31375 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31376 Copy rule from iconvdata/Makefile.
31378 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31381 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31382 but no long options are defined, just return 'W'.
31384 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31387 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31389 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31391 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31393 (innetgr): Likewise.
31395 2011-07-05 Roland McGrath <roland@hack.frob.com>
31397 * config.make.in (install_root): Default to $(DESTDIR).
31399 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31401 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31403 2011-07-02 Roland McGrath <roland@hack.frob.com>
31405 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31407 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31408 containing directory rather than embedding absolute directory names.
31410 * scripts/check-local-headers.sh: Rewritten using awk.
31411 Match by word, not by line. Print error messages for matches.
31412 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31414 * Makerules [shlib-lds-flags empty]:
31415 ($(common-objpfx)libc_pic.opts): New target.
31416 ($(common-objpfx)libc_pic.os.clean): New target.
31417 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31419 * config.make.in (OBJCOPY): New variable.
31420 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31421 * configure: Regenerated.
31423 * config.make.in (use-default-link): New variable.
31424 * configure.in (use_default_link): Grok --with-default-link to set it.
31425 * configure: Regenerated.
31426 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31427 (shlib-lds, shlib-lds-flags): Define to empty.
31429 * Makerules (shlib-lds): New variable.
31430 (shlib-lds-flags): New variable.
31431 (build-shlib, build-moduile, build-module-asneeded): Use it.
31432 ($(common-objpfx)libc.so): Use $(shlib-lds).
31433 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31434 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31436 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31437 DT_FLAGS/DT_FLAGS_1 with zero flags.
31439 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31440 linker script munging.
31442 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31444 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31446 * crypt/sha512.c (sha512_process_block): Perform total addition using
31447 128-bit if possible.
31448 (__sha512_finish_ctx): Likewise.
31449 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31451 * crypt/sha256.c (SWAP64): Define.
31452 (sha256_process_block): Perform total addition using 64-bit if
31454 (__sha256_finish_ctx): Likewise.
31456 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31458 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31459 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31460 * nscd/hstcache.c (cache_addhst): Likewise.
31461 * nscd/grpcache.c (cache_addgr): Likewise.
31462 * nscd/aicache.c (addhstaiX): Likewise
31463 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31465 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31467 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31468 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31469 * nscd/hstcache.c (cache_addhst): Likewise.
31470 * nscd/grpcache.c (cache_addgr): Likewise.
31471 * nscd/aicache.c (addhstaiX): Likewise
31473 2011-07-01 Andreas Schwab <schwab@redhat.com>
31475 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31476 domain only when needed.
31478 2011-06-30 Andreas Schwab <schwab@redhat.com>
31480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31481 is always restored.
31483 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31485 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31486 are re-adding the entry.
31487 * nscd/servicescache.c (cache_addserv): Likewise.
31489 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31491 * sysdeps/generic/dl-irel.h: fix protection against multiple
31493 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31495 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31498 * malloc/memusage.sh: Fix quoting in message.
31499 * debug/xtrace.sh: Likewise.
31501 * configure.in: Remove support for --experimental-malloc option, make
31503 * config.make.in: Likewise.
31504 * malloc/Makefile: Likewise.
31506 2011-06-27 Andreas Schwab <schwab@redhat.com>
31508 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31509 two-byte characters.
31511 2011-06-27 Roland McGrath <roland@hack.frob.com>
31513 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31514 AC_CACHE_CHECK invocation.
31515 * configure: Regenerated.
31517 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31519 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31522 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31523 bit from old_res_options.
31525 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31527 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31528 value type for setfct.
31530 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31533 __gettimeofday instead of gettimeofday.
31535 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31537 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31539 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31541 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31543 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31546 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31549 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31550 strcpy-sse2-unaligned strncpy-sse2-unaligned
31551 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31552 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31553 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31554 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31555 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31556 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31557 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31558 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31559 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31560 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31561 (STRCPY): Support SSE2 and SSSE3 versions.
31563 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31566 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31567 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31568 kernels which artificially limit size of requests.
31570 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31573 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31574 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31575 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31576 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31577 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31578 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31579 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31580 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31581 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31582 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31583 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31584 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31585 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31586 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31588 Enable unaligned load optimization for Intel Core i3, i5 and i7
31590 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31592 (index_Fast_Unaligned_Load): Define.
31593 (HAS_FAST_UNALIGNED_LOAD): Define.
31595 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31597 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31599 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31602 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31603 until it is clear that the information is realy needed.
31604 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31606 2011-06-22 Andreas Schwab <schwab@redhat.com>
31608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31610 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31612 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31613 /sys/devices/system/cpu/online if it is usable.
31615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31616 reading the information from the /proc filesystem to once a second.
31618 2011-06-21 Andreas Jaeger <aj@suse.de>
31620 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31621 NULL after inclusion of kernel headers.
31623 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31625 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31626 calls to internal_setent.
31629 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31630 addresses using gethostbyname4_r ignore IPv4 addresses.
31632 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31633 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31635 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31637 2011-06-20 David S. Miller <davem@davemloft.net>
31639 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31641 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31643 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31644 (elf_irel): Use it.
31645 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31646 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31647 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31648 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31649 * sysdeps/x86_64/dl-irel.h: Likewise.
31651 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31652 * elf/dl-sym.c: Likewise.
31654 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31656 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31657 need to dereference resplen2.
31659 2011-06-14 Andreas Schwab <schwab@redhat.com>
31661 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31663 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31665 * Makeconfig: Define vardbdir and inst_vardbdir.
31666 * nss/Makefile: Add rules to install db-Makefile.
31668 * nss/nss_db/db-XXX.c: Cleanup.
31670 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31671 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31673 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31674 * nss/makedb.c: Implement -g option to specify that value strings
31675 are generated and should not be added to table iterated over for
31677 * nss/nss_db/db-initgroups.c: New file.
31679 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31682 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31683 (internal_getgrouplist): Adjust to name change.
31684 Update use_initgroups_entry if this is not the first call.
31685 * nss/databases.def: Add initgroups entry.
31687 * nss/makedb.c (compute_tables): Check result of multiple hash table
31688 sizes to minimize maximum chain length.
31690 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31692 * Versions.def: Add entry for libnss_db.
31693 * shlib-versions: Likewise.
31694 * nss/Makefile: Add rules to build libnss_db.
31695 * nss/Versions: Add libnss_db information. Organize libnss_files
31697 * nss/db-Makefile: Add gshadow support. Change rules for the new
31698 makedb progra. Some minor improvements to generate smaller files.
31699 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31701 * nss/makedb.c: ...here.
31702 Improve database format to be smaller and require less memory at
31704 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31706 * nss/nss_db/db-netgrp.c: Likewise.
31707 * nss/nss_db/db-open.c: Likewise.
31708 * nss/nss_files/flies-XXX.x: Adjust comments.
31709 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31710 * nss/nss_files/files-grp.c: Likewise.
31711 * nss/nss_files/files-hosts.c: Likewise.
31712 * nss/nss_files/files-network.c: Likewise.
31713 * nss/nss_files/files-proto.c: Likewise.
31714 * nss/nss_files/files-pwd.c: Likewise.
31715 * nss/nss_files/files-rpc.c: Likewise.
31716 * nss/nss_files/files-service.c: Likewise.
31717 * nss/nss_files/files-sgrp.c: Likewise.
31718 * nss/nss_files/files-spwd.c: Likewise.
31719 * nss/nss_db/db-alias.c: Removed.
31720 * nss/nss_db/dummy-db.h: Removed.
31722 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31724 * nss/makedb.c: Rewritten to not use database library.
31725 * nss/Makefile: Update to build new makedb program.
31727 2011-06-14 Andreas Jaeger <aj@suse.de>
31729 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31730 memset declaration.
31732 2011-06-10 Andreas Schwab <schwab@redhat.com>
31734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31737 2011-06-10 Roland McGrath <roland@hack.frob.com>
31739 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31740 * elf/Makefile ($(objpfx)ld.so): Likewise.
31742 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31743 Don't list ld.so twice in dependencies.
31745 * posix/bug-regex31.c: Include <stdlib.h>.
31747 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31749 * nis/nss_compat/compat-spwd.c
31750 (getspent_next_nss_netgr): Remove unused variable.
31751 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31753 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31754 nonmembers" output to use the right array.
31756 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31758 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31760 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31761 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31762 * catgets/gencat.c (read_input_file): Likewise.
31763 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31765 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31766 variable definition inside #if's controlling its use.
31768 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31770 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31772 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31774 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31777 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31779 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31780 * configure: Regenerated.
31782 * Makerules: Revert last change.
31783 * elf/Makefile: Likewise.
31785 2011-06-09 Roland McGrath <roland@hack.frob.com>
31787 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31788 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31789 (reloc-link): Likewise.
31791 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31793 * elf/Makefile: Add rules to build pldd.
31794 * elf/pldd.c: New file.
31795 * elf/pldd-xx.c: New file.
31797 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31799 * version.h: Update for 2.15 development version.
31801 2011-06-07 David S. Miller <davem@davemloft.net>
31803 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31805 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31806 elf_machine_lazy_rel): Likewise.
31807 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31808 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31809 elf_machine_lazy_rel): Likewise.
31810 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31811 dl_hwcap via passed in argument.
31812 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31815 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31817 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31819 2011-06-06 Roland McGrath <roland@hack.frob.com>
31822 * manual/fdl-1.1.texi: New file, verbatim from:
31823 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31824 * manual/lgpl-2.1.texi: New file, verbatim from:
31825 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31826 * manual/Makefile (licenses): New variable, list those new file names.
31828 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31830 * manual/fdl.texi: File removed.
31831 * manual/lesser.texi: File removed.
31832 * manual/libc.texinfo (Copying, Documentation License):
31833 Use new @include file names, put @appendix directive before @include.
31835 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31838 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31839 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31840 (mq_open): Add __NTH.
31842 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31845 Assume Intel Core i3/i5/i7 processor if AVX is available.
31847 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31849 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31852 2011-05-31 Andreas Schwab <schwab@redhat.com>
31854 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31855 memory. Use alloca_account. Fix memory leak when retrying.
31857 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31859 * version.h (RELEASE): Bump for 2.14 release.
31860 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31862 * config.make.in (RANLIB): Remove entry.
31864 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31866 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31867 (libc.pot): Work around missing support for .ksh extension in xgettext.
31870 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31871 if both request failed.
31872 (send_dg): In case of server errors clear resplen or *resplen2.
31875 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31876 when there are multiple maps.
31877 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31878 (_dl_fini): Remove test here.
31880 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31882 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31885 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31886 bit from old_res_options.
31887 (gaih_inet): Likewise.
31890 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31893 * resolv/res_init.c (res_setoptions): Make the code more compact.
31896 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31900 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31902 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31905 * malloc/malloc.h: Declare malloc hook variables as volatile.
31907 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31911 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31912 raise in the comment.
31913 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31914 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31915 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31917 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31920 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31921 grow the buffers more if it already has to be sufficient.
31922 (build_wcs_upper_buffer): Likewise.
31923 * posix/regexec.c (check_matching): Likewise.
31924 (clean_state_log_if_needed): Likewise.
31925 (extend_buffers): Don't enlarge buffers beyond size of the input
31927 Patches mostly by Emil Wojak <emil@wojak.eu>.
31928 * posix/bug-regex32.c: New file.
31929 * posix/Makefile (tests): Add bug-regex32.
31931 * locale/findlocale.c (_nl_find_locale): Return right away if
31932 _nl_explode_name failed.
31933 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31935 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31937 * debug/xtrace.sh: Unify messages.
31938 * malloc/memusage.sh: Likewise.
31941 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31942 time symbol from vDSO. Substitute with vsyscall if not available.
31943 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31946 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31947 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31948 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31949 Add sendmmsg and internal_sendmmsg.
31950 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31951 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31952 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31954 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31955 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31956 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31958 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31961 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31962 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31964 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31968 * iconvdata/Makefile (tests): Add bug-iconv9.
31969 * iconvdata/bug-iconv9.c: New file.
31971 2011-05-27 Andreas Schwab <schwab@redhat.com>
31974 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31976 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31979 (struct user_regs_struct): Change intcs field back to cs.
31981 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31983 * po/ja.po: Update from translation team.
31985 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31988 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31989 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31991 2011-05-20 Andreas Schwab <schwab@redhat.com>
31993 * stdlib/longlong.h: Update from GCC.
31995 2011-05-23 Andreas Schwab <schwab@redhat.com>
31997 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31999 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32000 Add parameter name.
32001 (__sysconf): Pass it down.
32003 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32006 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32008 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32009 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32010 add in in __libc_use_alloca calls. Adjust callers.
32011 (glob): Use malloc in some situations.
32013 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32014 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32017 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32019 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32020 and CLOCK_BOOTTIME_ALARM.
32023 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32026 * string/_strerror.c (__strerror_r): Print negative errors as signed
32030 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32031 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32032 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32034 * configure.in: Fix typo in redirection and correct removal of test
32035 files in two cases.
32038 * locale/setlocale.c (new_composite_name): Fix test to check for
32039 identical name of all categories.
32042 * libio/filedoalloc.c (local_isatty): New function.
32043 (_IO_file_doallocate): Use local_isatty.
32044 * stdio-common/perror.c (perror): In case a new stream is used
32045 forward the stream error.
32046 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32049 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32054 * include/alloca.h (extend_alloca_account): Define.
32057 * posix/regex.h: Fix comments with documentation of user-accessible
32058 fields after compilation and describe correct free'ing of pattern
32059 after re_compile_pattern.
32060 Patch by Reuben Thomas <rrt@sc3d.org>.
32062 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32064 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32065 and -mno-altivec to prevent the compiler from using Altivec and/or
32066 VSX instructions when the corresponding registers are not available.
32068 2011-05-19 Andreas Schwab <schwab@redhat.com>
32070 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32072 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32074 * libio/freopen.c (freopen): Use __dup2, not dup2.
32075 * libio/freopen64.c (freopen64): Likewise.
32077 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32080 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32081 * math/Makefile (tests): Add test-powl.
32082 (CFLAGS-test-powl.c): Define.
32083 * math/test-powl.c: New file.
32085 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32087 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32089 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32092 * iconvdata/gb18030.c: Update to GB18020-2005.
32094 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32096 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32097 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32098 Patch by Aharon Robbins <arnold@skeeve.com>.
32101 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32105 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32106 through underflows.
32109 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32110 point to strings before performing equality test for error_one_per_line
32114 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32117 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32118 (struct user_fpregs_struct): Avoid __uint*_t types.
32121 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32122 symbol info. Use it instead of calling _dl_addr locally.
32123 (lock_and_info): New function.
32124 (tr_freehook): Call lock_and_info and pass symbol info as additional
32125 parameter to tr_where.
32126 (tr_mallochook): Likewise.
32127 (tr_reallochook): Likewise.
32128 (tr_memalignhook): Likewise.
32130 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32131 used and couldn't be at all thread-safe.
32133 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32135 * libio/freopen.c (freopen): Don't close old file descriptor
32136 before the new one is opened. Instead dup the new file descriptor
32137 to the old one after the new stream is created.
32138 * libio/freopen64.c (freopen64): Likewise.
32139 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32140 * libio/fileops.c (_IO_new_file_close_it): Handle new
32141 _IO_FLAGS2_NOCLOSE flag.
32142 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32143 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32144 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32145 _IO_FLAGS2_NOCLOSE flag.
32146 * include/unistd.h: Add hidden_proto for dup3.
32147 Define __have_dup3.
32148 * io/dup3.c: Define hidden symbol.
32149 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32152 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32153 when an incomplete long option is used.
32154 * posix/tst-getopt_long1.c: New file.
32155 * posix/Makefile (tests): Add tst-getopt_long1.
32158 * scripts/config.guess: Update from autoconf-2.68.
32159 * scripts/config.sub: Likewise.
32162 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32164 (has_cpuclock): ...this. New function.
32165 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32166 macro here based on has_cpuclock code.
32169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32170 First byte (not low byte) is now always NUL.
32171 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32174 Use non-cancelable interfaces.
32177 * locale/iso-639.def: Add entry for Sorani.
32180 * include/stdlib.h: Move include protection to the right place.
32181 Define abort_msg_s. Declare __abort_msg with it.
32182 * stdlib/abort.c (__abort_msg): Adjust type.
32183 * assert/assert.c (__assert_fail_base): New function. Majority
32184 of code from __assert_fail. Allocate memory for __abort_msg with
32186 (__assert_fail): Now call __assert_fail_base.
32187 * assert/assert-perr.c: Remove bulk of implementation. Use
32188 __assert_fail_base.
32189 * include/assert.hL Declare __assert_fail_base.
32190 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32192 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32194 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32198 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32199 until all modules are registered in the DTV.
32200 * elf/Makefile: Add rules to build and run tst-tls19.
32201 * elf/tst-tls19.c: New file.
32202 * elf/tst-tls19mod1.c: New file.
32203 * elf/tst-tls19mod2.c: New file.
32204 * elf/tst-tls19mod3.c: New file.
32205 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32208 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32212 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32213 two-byte sequence errors.
32214 * iconvdata/Makefile (tests): Add bug-iconv8.
32215 * iconvdata/bug-iconv8.c: New file.
32218 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32221 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32224 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32225 (dummy_getcfa): New function.
32226 (init): Get _Unwind_GetCFA address, use dummy if not found.
32227 (backtrace_helper): In recursion check, also check whether CFA changes.
32228 (__backtrace): Completely initialize arg.
32230 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32231 storing incomplete byte sequence in state object. Avoid testing for
32232 guaranteed too small input if we know there is enough data available.
32234 2011-05-11 Andreas Schwab <schwab@redhat.com>
32236 * Makeconfig (+link-pie): Indent.
32237 * Rules (binaries-pie): Define if $(have-fpie) and
32239 (binaries-shared): Also filter out $(binaries-pie).
32240 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32241 * nscd/Makefile (others-pie): Add nscd.
32242 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32243 ($(objpfx)nscd): Remove command override.
32244 * login/Makefile (others-pie): Add pt_chown.
32245 ($(objpfx)pt_chown): Remove command override.
32246 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32247 remove command overrides.
32249 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32251 * libio/tst_putwc.c: Fix error messages.
32254 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32255 currently writing and seek to current position when not.
32256 * libio/Makefile (tests): Add bug-fclose1.
32257 * libio/bug-fclose1.c: New file.
32259 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32262 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32263 don't set DF_1_NODELETE here.
32264 (do_lookup_x): When entering new entry test for copy relocation
32265 and if necessary set DF_1_NODELETE flag.
32266 * elf/tst-unique4.cc: New file.
32267 * elf/tst-unique4.h: New file.
32268 * elf/tst-unique4lib.cc: New file.
32269 * elf/Makefile: Add rules to build and run tst-unique4.
32270 Patch by Piotr Bury <pbury@goahead.com>.
32272 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32275 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32278 * misc/mntent_r.c (addmntent): Flush the stream after the output
32281 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32282 (is_trusted_path_normalize): Skip initial colon. Append slash
32283 to empty buffer. Duplicate is_trusted_path code but allow
32284 constructed patch to be prefix.
32285 (is_dst): Allow $ORIGIN followed by /.
32286 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32287 Correct testing of result of is_trusted_path_normalize
32288 (decompose_rpath): Fix warning.
32290 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32293 * grp/initgroups.c (internal_getgrouplist): When we found the service
32294 list through the initgroups entry in nsswitch.conf do not always
32295 continue on a successful lookup. Don't always use the
32296 __nss_group_database value if it is set.
32297 * nss/nsswitch.conf (initgroups): Change action for successful db
32298 lookup to continue for compatibility.
32300 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32303 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32305 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32307 * iconvdata/tst-tables.sh: Likewise.
32308 * iconvdata/cp770.c: New file.
32309 * iconvdata/cp771.c: New file.
32310 * iconvdata/cp772.c: New file.
32311 * iconvdata/cp773.c: New file.
32312 * iconvdata/cp774.c: New file.
32313 * iconvdata/testdata/CP770: New file.
32314 * iconvdata/testdata/CP770..UTF8: New file.
32315 * iconvdata/testdata/CP771: New file.
32316 * iconvdata/testdata/CP771..UTF8: New file.
32317 * iconvdata/testdata/CP772: New file.
32318 * iconvdata/testdata/CP772..UTF8: New file.
32319 * iconvdata/testdata/CP773: New file.
32320 * iconvdata/testdata/CP773..UTF8: New file.
32321 * iconvdata/testdata/CP774: New file.
32322 * iconvdata/testdata/CP774..UTF8: New file.
32324 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32326 * iconvdata/gen-8bit-gap.sh: Likewise.
32327 * iconvdata/gen-8bit.sh: Likewise.
32329 * locale/iso-639.def: Add ary entry.
32332 * locale/C-translit.h.in: Add U20A1 transliteration.
32335 * locale/iso-639.def: Add wae entry.
32336 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32339 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32343 * locale/C-translit.h.in: Add entry for U20B9.
32344 Patch by pravin.d.s@gmail.com.
32346 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32349 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32350 ENAMETOOLONG use generic getcwd.
32351 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32352 in rtld. Use *stat64.
32353 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32354 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32355 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32356 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32357 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32358 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32359 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32360 __fstatat64 macros.
32361 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32362 * dirent/rewinddir.c: Add libc_hidden_def.
32363 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32364 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32366 * include/dirent.h (__alloc_dir): Add flags parameter.
32367 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32368 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32370 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32371 from fdopendir if O_CLOEXEC is already set.
32373 2011-03-15 Alan Modra <amodra@gmail.com>
32375 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32376 l_tls_firstbyte_offset non-zero. Save padding offset in
32377 l_tls_firstbyte_offset for later use.
32378 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32379 freeing static tls block.
32381 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32383 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32384 where #ifdef was intended. The intent is to prevent ARG_MAX from
32385 being defined by the kernel headers.
32387 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32390 * resolv/resolv.h: Define RES_NOTLDQUERY.
32391 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32392 no-tld-query and set RES_NOTLDQUERY.
32393 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32394 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32395 modern BIND to search name as TLD unless forbidden.
32397 2011-05-07 Petr Baudis <pasky@suse.cz>
32398 Ulrich Drepper <drepper@gmail.com>
32401 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32402 (is_trusted_path): ...to here.
32403 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32404 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32405 using is_trusted_path_normalize() in setuid scripts.
32407 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32409 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32410 __BEGIN/__END_DECLS.
32412 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32415 NSS_STATUS_NOTFOUND if no record was found.
32417 2011-05-05 Andreas Schwab <schwab@redhat.com>
32419 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32420 (headers-not-in-tirpc): Remove rpc/netdb.h
32421 * resolv/netdb.h: Revert last change.
32423 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32425 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32426 circular dependency between libgcc.a and libc.a.
32428 2011-05-05 Andreas Schwab <schwab@redhat.com>
32430 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32431 * nis/Makefile: Don't install rpcsvc/*.
32432 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32433 instead of <rpc/types.h>.
32434 (MAXHOSTNAMELEN): Define.
32436 2011-05-03 Andreas Schwab <schwab@redhat.com>
32438 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32440 2011-04-28 Maciej Babinski <mbabinski@google.com>
32443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32444 gethostbyname4_r when IPv6 results are possible.
32446 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32449 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32450 _PC_PIPE_BUF handling.
32452 2011-04-30 Bruno Haible <bruno@clisp.org>
32455 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32456 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32458 * inet/getnameinfo.c (getnameinfo): Likewise.
32460 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32462 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32463 to groups setting in database lookup.
32464 * nss/nsswitch.conf: Add initgroups entry.
32466 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32469 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32471 Patch by Eric Blake <eblake@redhat.com>.
32473 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32475 * sunrpc/Makefile (need-export-routines): Add svc_run.
32476 (routines): Remove svc_run.
32477 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32478 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32479 * sunrpc/svc_run.c (svc_run): Likewise.
32480 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32482 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32484 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32485 problem in reallocation in last patch.
32487 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32489 * sunrpc/Makefile: Move inclusion of Rules.
32491 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32493 * nss/nss_files/files-initgroups.c: New file.
32494 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32495 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32496 _nss_files_initgroups_dyn.
32498 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32500 * elf/elf.h (R_ARM_IRELATIVE): Define.
32502 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32504 * po/ru.po: Update from translation team.
32506 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32508 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32511 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32514 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32515 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32516 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32517 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32518 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32520 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32522 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32524 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32525 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32526 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32528 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32531 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32533 * stdlib/bug-getcontext.c: New file.
32534 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32536 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32538 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32539 instructions into .machine "z9-109".
32540 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32541 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32543 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32545 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32546 between environment variables and auxiliary vector.
32548 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32550 * Makefile: Add rules to build linkobj/libc.so.
32551 * include/libc-symbols.h: Define libc_hidden_nolink.
32552 * include/rpc/auth.h: Mark functions which are to be hidden.
32553 * include/rpc/auth_des.h: Likewise.
32554 * include/rpc/auth_unix.h: Likewise.
32555 * include/rpc/clnt.h: Likewise.
32556 * include/rpc/des_crypt.h: Likewise.
32557 * include/rpc/key_prot.h: Likewise.
32558 * include/rpc/pmap_clnt.h: Likewise.
32559 * include/rpc/pmap_prot.h: Likewise.
32560 * include/rpc/pmap_rmt.h: Likewise.
32561 * include/rpc/rpc_msg.h: Likewise.
32562 * include/rpc/svc.h: Likewise.
32563 * include/rpc/svc_auth.h: Likewise.
32564 * include/rpc/xdr.h: Likewise.
32565 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32566 * nss/Makefile: Likewise.
32567 * sunrpc/Makefile: Don't install headers. Build library with normal
32568 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32569 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32570 for the compat linking library. Remove use of INTDEF/INTUSE.
32571 * sunrpc/auth_none.c: Likewise.
32572 * sunrpc/auth_unix.c: Likewise.
32573 * sunrpc/authdes_prot.c: Likewise.
32574 * sunrpc/authuxprot.c: Likewise.
32575 * sunrpc/clnt_gen.c: Likewise.
32576 * sunrpc/clnt_perr.c: Likewise.
32577 * sunrpc/clnt_raw.c: Likewise.
32578 * sunrpc/clnt_simp.c: Likewise.
32579 * sunrpc/clnt_tcp.c: Likewise.
32580 * sunrpc/clnt_udp.c: Likewise.
32581 * sunrpc/clnt_unix.c: Likewise.
32582 * sunrpc/des_crypt.c: Likewise.
32583 * sunrpc/des_soft.c: Likewise.
32584 * sunrpc/get_myaddr.c: Likewise.
32585 * sunrpc/key_call.c: Likewise.
32586 * sunrpc/key_prot.c: Likewise.
32587 * sunrpc/netname.c: Likewise.
32588 * sunrpc/pm_getmaps.c: Likewise.
32589 * sunrpc/pm_getport.c: Likewise.
32590 * sunrpc/pmap_clnt.c: Likewise.
32591 * sunrpc/pmap_prot.c: Likewise.
32592 * sunrpc/pmap_prot2.c: Likewise.
32593 * sunrpc/pmap_rmt.c: Likewise.
32594 * sunrpc/publickey.c: Likewise.
32595 * sunrpc/rpc_cmsg.c: Likewise.
32596 * sunrpc/rpc_common.c: Likewise.
32597 * sunrpc/rpc_dtable.c: Likewise.
32598 * sunrpc/rpc_prot.c: Likewise.
32599 * sunrpc/rpc_thread.c: Likewise.
32600 * sunrpc/rtime.c: Likewise.
32601 * sunrpc/svc.c: Likewise.
32602 * sunrpc/svc_auth.c: Likewise.
32603 * sunrpc/svc_authux.c: Likewise.
32604 * sunrpc/svc_raw.c: Likewise.
32605 * sunrpc/svc_run.c: Likewise.
32606 * sunrpc/svc_simple.c: Likewise.
32607 * sunrpc/svc_tcp.c: Likewise.
32608 * sunrpc/svc_udp.c: Likewise.
32609 * sunrpc/svc_unix.c: Likewise.
32610 * sunrpc/svcauth_des.c: Likewise.
32611 * sunrpc/xcrypt.c: Likewise.
32612 * sunrpc/xdr.c: Likewise.
32613 * sunrpc/xdr_array.c: Likewise.
32614 * sunrpc/xdr_float.c: Likewise.
32615 * sunrpc/xdr_intXX_t.c: Likewise.
32616 * sunrpc/xdr_mem.c: Likewise.
32617 * sunrpc/xdr_rec.c: Likewise.
32618 * sunrpc/xdr_ref.c: Likewise.
32619 * sunrpc/xdr_sizeof.c: Likewise.
32620 * sunrpc/xdr_stdio.c: Likewise.
32622 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32625 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32626 * sysdeps/ia64/dl-tls.h: Likewise.
32627 * sysdeps/powerpc/dl-tls.h: Likewise.
32628 * sysdeps/s390/dl-tls.h: Likewise.
32629 * sysdeps/sh/dl-tls.h: Likewise.
32630 * sysdeps/sparc/dl-tls.h: Likewise.
32631 * sysdeps/x86_64/dl-tls.h: Likewise.
32632 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32634 2011-03-14 Andreas Schwab <schwab@redhat.com>
32636 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32637 rpath element also skip the following colon.
32638 (expand_dynamic_string_token): Add is_path parameter and pass
32639 down to DL_DST_REQUIRED and _dl_dst_substitute.
32640 (decompose_rpath): Call expand_dynamic_string_token with
32641 non-zero is_path. Ignore empty rpaths.
32642 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32645 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32650 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32653 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32654 Patch by Filipe David Manana <fdmanana@apache.org>.
32656 2011-04-07 Andreas Schwab <schwab@redhat.com>
32658 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32659 Maintain aligned stack.
32660 (CHECK_RSP): Remove unused macro.
32662 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32664 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32665 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32667 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32669 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32671 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32673 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32676 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32677 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32678 * sysdeps/x86_64/memmove.c: New file.
32679 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32680 (memcpy): Renamed to ...
32681 (__new_memcpy): This.
32682 (memcpy): Provide GLIBC_2_14 memcpy.
32683 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32684 (memcpy): Provide GLIBC_2_2_5 memcpy.
32686 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32689 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32691 2011-03-30 Andreas Schwab <schwab@redhat.com>
32693 * misc/syncfs.c: New file.
32694 * misc/Makefile (routines): Add syncfs.
32695 * posix/unistd.h: Declare syncfs.
32696 * sysdeps/unix/syscalls.list: Add syncfs.
32698 2011-04-01 Andreas Schwab <schwab@redhat.com>
32700 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32703 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32705 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32707 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32710 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32712 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32713 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32714 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32716 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32717 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32718 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32720 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32721 sync_file_range.c with -fexceptions.
32722 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32723 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32724 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32725 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32726 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32727 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32729 sync_file_range as cancellation point
32730 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32731 now a wrapper around __call_sync_file_range with cancellation handling.
32732 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32733 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32734 function name to __call_sync_file_range.
32735 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32736 Add call_sync_file_range.
32738 2011-04-01 Andreas Schwab <schwab@redhat.com>
32740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32743 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32745 * iconv/iconv.h: Fix typo in comment.
32746 * io/fcntl.h: Likewise.
32747 * libio/stdio.h: Likewise.
32748 * posix/spawn.h: Likewise.
32749 * posix/unistd.h: Likewise.
32750 * stdlib/stdlib.h: Likewise.
32751 * time/time.h: Likewise.
32752 * wcsmbs/wchar.h: Likewise.
32754 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32755 open_by_handle): Add.
32756 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32757 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32758 Augment a few comments.
32759 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32764 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32767 * io/fcntl.h (AT_EMPTY_PATH): Define.
32769 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32771 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32772 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32773 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32775 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32776 * Versions.def: Add GLIBC_2.14.
32777 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32780 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32782 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32784 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32786 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32789 * string/test-strncmp.c (do_page_test): New function.
32790 (check2): Likewise.
32791 (test_main): Call check2.
32792 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32794 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32797 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32798 Handle cache information in CPU leaf 4.
32799 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32801 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32804 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32805 character representation.
32806 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32808 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32810 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32811 END(__isnan) to END(__isnanf) to match function entry point/label
32812 EALIGN(__isnanf,...).
32814 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32816 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32818 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32821 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32822 copy from the symbol referenced in the relocation to initialize the
32824 Patch by Piotr Bury <pbury@goahead.com>.
32825 * elf/Makefile: Add rules to build and tst-unique3.
32826 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32827 * elf/tst-unique3.cc: New file.
32828 * elf/tst-unique3.h: New file.
32829 * elf/tst-unique3lib.cc: New file.
32830 * elf/tst-unique3lib2.cc: New file.
32832 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32834 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32836 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32837 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32840 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32842 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32843 to-be-loaded object along a path to loader is ld.so.
32845 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32846 Ulrich Drepper <drepper@gmail.com>
32848 * sysdeps/x86_64/memset.S: After aligning destination, code
32849 branches to different locations depending on the value of
32850 misalignment, when multiarch is enabled. Fix this.
32852 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32854 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32855 Set _x86_64_preferred_memory_instruction for AMD processsors.
32856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32857 Set bit_Prefer_SSE_for_memop for AMD processors.
32859 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32861 * libio/fmemopen.c (fmemopen): Optimize a bit.
32863 2011-03-03 Andreas Schwab <schwab@redhat.com>
32865 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32867 2011-03-03 Roland McGrath <roland@redhat.com>
32869 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32871 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32873 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32874 __bzero_ultra1 instead of __memset_ultra1.
32876 2011-02-23 Andreas Schwab <schwab@redhat.com>
32877 Ulrich Drepper <drepper@gmail.com>
32880 * include/link.h (struct link_map): Add l_orig_initfini.
32881 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32882 returning unsuccessfully.
32883 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32884 close of a file loaded at startup, restore the original l_initfini
32886 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32887 list, store the pointer.
32888 * elf/Makefile ($(objpfx)noload-mem): New rule.
32889 (noload-ENV): Define.
32890 (tests): Add $(objpfx)noload-mem.
32891 * elf/noload.c: Include <memcheck.h>.
32892 (main): Call mtrace. Close all opened handles.
32894 2011-02-17 Andreas Schwab <schwab@redhat.com>
32897 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32898 dependencies are missing.
32900 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32902 Fix __if_freereq crash: Unlike the generic version which uses free,
32904 * sysdeps/mach/hurd/ifreq.h: New file.
32906 2011-01-27 Petr Baudis <pasky@suse.cz>
32907 Ulrich Drepper <drepper@gmail.com>
32910 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32911 to extend_alloca().
32912 * stdio-common/bug23.c: New file.
32913 * stdio-common/Makefile (tests): Add bug23.
32915 2010-09-28 Andreas Schwab <schwab@redhat.com>
32916 Ulrich Drepper <drepper@gmail.com>
32919 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32920 before performing relro protection. At old place add assertion
32921 to make sure nothing changed.
32923 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32924 Glauber de Oliveira Costa <glommer@gmail.com>
32926 * elf/elf.h: Add new ARM TLS relocs.
32928 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32931 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32933 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32935 * sysdeps/wordsize-64/tst-writev.c: New file.
32937 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32939 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32940 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32941 insns in _dl_start to prevent a TOC reference before relocs are
32944 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32947 * Makeconfig: Remove RANLIB definition.
32948 * Makerules: Don't use RANLIB.
32949 * aclocal.m4: Remove ranlib test.
32950 * configure.in: No need to check for ranlib.
32951 * elf/rtld-Rules: Don't use RANLIB.
32953 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32955 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32957 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32958 inclusion protection macro.
32960 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32961 SIGRTMIN and SIGRTMAX and print information in that case only when
32962 SIGRTMIN is defined.
32964 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32966 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32967 arginfo fn returning -1.
32969 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32970 and thousands string is zero terminated.
32972 2011-02-03 Andreas Schwab <schwab@redhat.com>
32974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32975 sysdeps/unix/sysv/linux/bits/socket.h.
32977 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32979 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32980 (__CPU_COUNT): Remove old macros.
32981 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32982 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32983 (__CPU_ALLOC, __CPU_FREE): Add macros.
32984 (__sched_cpualloc, __sched_cpufree): Add declarations.
32986 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32988 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32989 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32990 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32991 (readdhstai): Return value of addhstaiX call.
32992 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32993 (addgrbyX): Return value returned by cache_addgr.
32994 (readdgrbyname): Return value returned by addgrbyX.
32995 (readdgrbygid): Likewise.
32996 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32997 (addpwbyX): Return value returned by cache_addpw.
32998 (readdpwbyname): Return value returned by addhstbyX.
32999 (readdpwbyuid): Likewise.
33000 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33001 (addservbyX): Return value returned by cache_addserv.
33002 (readdservbyname): Return value returned by addservbyX:
33003 (readdservbyport): Likewise.
33004 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33005 (addhstbyX): Return value returned by cache_addhst.
33006 (readdhstbyname): Return value returned by addhstbyX.
33007 (readdhstbyaddr): Likewise.
33008 (readdhstbynamev6): Likewise.
33009 (readdhstbyaddrv6): Likewise.
33010 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33011 (readdinitgroups): Return value returned by addinitgroupsX.
33012 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33013 (prune_cache): Keep track of timeout value of re-added entries.
33014 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33015 * nscd/nscd.h: Adjust prototypes of readd* functions.
33017 2011-02-04 Roland McGrath <roland@redhat.com>
33019 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33020 (nis_stats): Likewise.
33021 * nis/nis_modify.c (nis_modify): Likewise.
33022 * nis/nis_remove.c (nis_remove): Likewise.
33023 * nis/nis_add.c (nis_add): Likewise.
33025 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33027 * posix/fnmatch_loop.c: Add some consts.
33029 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33031 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33034 * config.make.in (config-cflags-novzeroupper): Define.
33035 * configure.in: Substitute libc_cv_cc_novzeroupper.
33036 * elf/Makefile (AVX-CFLAGS): Define.
33037 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33038 (CFLAGS-tst-auditmod4a.c): Likewise.
33039 (CFLAGS-tst-auditmod4b.c): Likewise.
33040 (CFLAGS-tst-auditmod6b.c): Likewise.
33041 (CFLAGS-tst-auditmod6c.c): Likewise.
33042 (CFLAGS-tst-auditmod7b.c): Likewise.
33043 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33045 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33047 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33048 function to the callback.
33049 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33051 2011-02-02 Andreas Schwab <schwab@redhat.com>
33053 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33056 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33059 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33061 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33063 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33066 * elf/Makefile: Add rules to build and run new test.
33067 * elf/tst-initorder.c: New file.
33068 * elf/tst-initorder.exp: New file.
33069 * elf/tst-initordera1.c: New file.
33070 * elf/tst-initordera2.c: New file.
33071 * elf/tst-initordera3.c: New file.
33072 * elf/tst-initordera4.c: New file.
33073 * elf/tst-initorderb1.c: New file.
33074 * elf/tst-initorderb2.c: New file.
33075 * elf/tst-order-a1.c: New file.
33076 * elf/tst-order-a2.c: New file.
33077 * elf/tst-order-a3.c: New file.
33078 * elf/tst-order-a4.c: New file.
33079 * elf/tst-order-b1.c: New file.
33080 * elf/tst-order-b2.c: New file.
33081 * elf/tst-order-main.c: New file.
33082 New test case by George Gensure <werkt0@gmail.com>.
33084 2010-10-01 Andreas Schwab <schwab@redhat.com>
33086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33087 decoding ACE if AI_CANONIDN.
33089 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33091 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33093 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33095 * version.h (RELEASE): Bump for 2.13 release.
33096 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33098 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33100 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33102 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33103 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33104 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33105 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33106 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33107 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33109 * posix/getconf.c: Update copyright year.
33110 * catgets/gencat.c: Likewise.
33111 * csu/version.c: Likewise.
33112 * debug/catchsegv.sh: Likewise.
33113 * debug/xtrace.sh: Likewise.
33114 * elf/ldconfig.c: Likewise.
33115 * elf/ldd.bash.in: Likewise.
33116 * elf/sprof.c (print_version): Likewise.
33117 * iconv/iconv_prog.c: Likewise.
33118 * iconv/iconvconfig.c: Likewise.
33119 * locale/programs/locale.c: Likewise.
33120 * locale/programs/localedef.c: Likewise.
33121 * malloc/memusage.sh: Likewise.
33122 * malloc/mtrace.pl: Likewise.
33123 * nscd/nscd.c (print_version): Likewise.
33124 * nss/getent.c: Likewise.
33126 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33127 PF_CAIF, and PF_ALG.
33128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33130 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33132 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33133 (modules-names): Use them.
33134 (ifunc-test-modules, ifunc-pie-tests): Define.
33135 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33136 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33137 (test-extras): Likewise.
33138 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33139 $(compile-command.c).
33140 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33141 (all-built-dso): Define.
33142 (check-textrel.out, check-execstack.out): Depend on it.
33144 * configure.in: Don't override --enable-multi-arch.
33146 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33149 * nscd/hstcache.c (tryagain): Define.
33150 (cache_addhst): Return tryagain not notfound for temporary errors.
33151 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33154 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33157 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33158 to make the syscall.
33159 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33162 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33163 and fall back to matching as normal character if the string ends before
33164 the matching ']' is found. This is what POSIX requires.
33165 * posix/testfnm.c: Adjust test result.
33166 * posix/globtest.sh: Adjust test result. Add new test.
33167 * posix/tst-fnmatch.input: Likewise.
33168 * posix/tst-fnmatch2.c: Add new test.
33170 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33172 * elf/Makefile (check-execstack): Revert last change. Depend on
33174 (check-execstack.h): New target.
33175 (generated): Add check-execstack.h.
33176 * elf/check-execstack.c: Include "check-execstack.h".
33177 (main): Revert last change.
33178 (handle_file): Return zero if GNU_STACK is absent and
33179 DEFAULT_STACK_PERMS doesn't include PF_X.
33181 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33183 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33184 in child fails because the descriptor is already closed.
33185 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33186 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33187 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33190 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33194 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33195 temporary buffer used to handle multi lookups locally.
33196 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33198 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33200 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33203 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33205 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33206 alignment for SSE2.
33208 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33211 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33212 characters. When rounding increased number of integer digits recompute
33214 * stdio-common/tst-grouping.c: New file.
33215 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33217 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33219 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33220 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33222 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33224 * bits/select.h: Likewise.
33226 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33228 * po/ja.po: Update from translation team.
33230 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33233 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33234 implementation just like for lxstat, fxstatat, et al.
33236 2010-12-27 Jim Meyering <meyering@redhat.com>
33239 * posix/regexec.c (build_trtable): Return failure indication upon
33240 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33242 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33245 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33246 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33247 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33248 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33251 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33254 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33255 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33257 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33259 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33260 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33261 script has SORT_BY_INIT_PRIORITY.
33262 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33263 NO_CTORS_DTORS_SECTIONS is defined.
33264 * elf/soinit.c: Likewise.
33265 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33266 NO_CTORS_DTORS_SECTIONS is defined.
33267 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33268 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33269 * sysdeps/sh/init-first.c: Likewise.
33270 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33272 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33274 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33275 always use the slow path.
33277 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33279 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33280 similar rule which adds the sysdep directories to the header search in
33281 order to pick up the correct platform stackinfo.h.
33282 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33283 perform test if it is, otherwise return successfully without testing.
33284 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33285 DEFAULT_STACK_PERMS define in stackinfo.h.
33286 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33287 defined in stackinfo.h.
33288 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33289 DEFAULT_STACK_PERMS defined in stackinfo.h.
33290 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33291 * sysdeps/ia64/stackinfo.h: Likewise.
33292 * sysdeps/s390/stackinfo.h: Likewise.
33293 * sysdeps/sh/stackinfo.h: Likewise.
33294 * sysdeps/sparc/stackinfo.h: Likewise.
33295 * sysdeps/x86_64/stackinfo.h: Likewise.
33296 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33297 PF_X for powerpc64. Retain PF_X for powerpc32.
33299 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33301 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33303 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33304 GETDENTS_64BIT_ALIGNED.
33306 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33308 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33310 2010-12-10 Andreas Schwab <schwab@redhat.com>
33312 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33315 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33316 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33318 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33319 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33321 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33324 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33327 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33329 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33331 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33333 * po/it.po: Update from translation team.
33335 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33337 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33340 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33342 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33344 2010-11-24 Andreas Schwab <schwab@redhat.com>
33346 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33348 (gaih_getanswer_slice): Likewise.
33350 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33352 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33354 2010-05-31 Petr Baudis <pasky@suse.cz>
33357 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33358 silently even in the chroot mode.
33360 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33362 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33363 last patch a bit. Pretty printing
33365 2010-05-31 Petr Baudis <pasky@suse.cz>
33368 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33369 initialization of skip_initgroups_dyn.
33371 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33373 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33374 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33376 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33378 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33380 2010-11-11 Andreas Schwab <schwab@redhat.com>
33382 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33383 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33384 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33385 ($(objpfx)tst-fnmatch-mem): New rule.
33386 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33387 * posix/tst-fnmatch.c (main): Call mtrace.
33389 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33392 Support Intel processor model 6 and model 0x2c.
33394 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33396 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33399 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33402 * string/test-strncasecmp.c (check_result): New function.
33403 (do_one_test): Use it.
33404 (check1): New function.
33405 (test_main): Use it.
33406 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33407 Support strcasecmp and strncasecmp.
33409 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33412 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33413 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33415 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33417 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33421 * sysdeps/x86_64/multiarch/bzero.S: New file.
33422 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33423 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33424 * sysdeps/x86_64/multiarch/memset.S: New file.
33425 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33427 Set bit_Prefer_SSE_for_memop for Intel processors.
33428 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33430 (index_Prefer_SSE_for_memop): Define.
33431 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33433 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33435 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33436 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33438 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33441 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33442 (__x86_64_raw_data_cache_size_half): Likewise.
33443 (__x86_64_raw_shared_cache_size): Likewise.
33444 (__x86_64_raw_shared_cache_size_half): Likewise.
33446 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33447 (__x86_64_raw_data_cache_size_half): Likewise.
33448 (__x86_64_raw_shared_cache_size): Likewise.
33449 (__x86_64_raw_shared_cache_size_half): Likewise.
33450 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33451 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33452 and __x86_64_raw_shared_cache_size_half. Round
33453 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33454 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33455 to multiple of 256 bytes.
33457 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33460 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33461 of inacessible symlinks. Verify result of symlink before returning it.
33462 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33463 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33465 2010-10-28 Erich Ritz <erichritz@gmail.com>
33467 * math/math.h (isinf): Fix typo in comment.
33469 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33471 * po/da.po: Update from translation team.
33473 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33475 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33476 is added to the list.
33478 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33479 Ulrich Drepper <drepper@gmail.com>
33481 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33482 the global list here. Move code to...
33483 (_dl_add_to_namespace_list): ...here. New function.
33484 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33485 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33486 * elf/dl-load.c (lose): Don't remove the element from the list.
33487 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33488 (_dl_map_object): Likewise.
33490 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33493 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33494 into all bytes of SSE register.
33495 Patch by Richard Li <richardpku@gmail.com>.
33497 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33500 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33503 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33505 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33506 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33507 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33508 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33513 2010-10-22 Andreas Schwab <schwab@redhat.com>
33515 * include/dlfcn.h (__RTLD_SECURE): Define.
33516 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33517 mode & __RTLD_SECURE instead.
33518 (open_path): Rename preloaded parameter to secure.
33519 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33520 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33521 * elf/dl-deps.c (openaux): Likewise.
33522 * elf/rtld.c (struct map_args): Remove is_preloaded.
33523 (map_doit): Don't use it.
33524 (dl_main): Likewise.
33525 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33526 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33528 2010-09-09 Andreas Schwab <schwab@redhat.com>
33530 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33531 (sysd-rules-targets): Remove duplicates.
33532 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33533 rtld-%.$o dependency.
33535 2010-10-18 Andreas Schwab <schwab@redhat.com>
33537 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33538 _dl_map_object do it.
33540 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33542 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33543 fast fma builtins, define the macros in the C99 standard.
33544 (FP_FAST_FMAF): Likewise.
33545 (FP_FAST_FMAL): Likewise.
33546 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33548 * bits/mathdef.h: Update copyright year.
33549 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33551 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33553 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33554 builtins, define the macros in the C99 standard.
33555 (FP_FAST_FMAF): Likewise.
33556 (FP_FAST_FMAL): Likewise.
33557 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33559 (FP_FAST_FMAF): Likewise.
33561 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33564 * math/libm-test.inc (fma_test): Some new testcases.
33565 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33566 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33567 y and infinite z. Do multiplication by C already in long double.
33568 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33570 y and infinite z. Do bitwise or of inexact bit into u.d.
33571 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33572 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33573 * sysdeps/i386/fpu/s_fma.S: Removed.
33574 * sysdeps/i386/fpu/s_fmal.S: Removed.
33576 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33579 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33581 computation is not scheduled after fetestexcept. Fix value
33582 of minimum denormal long double.
33584 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33587 * math/libm-test.inc (fma_test): Add some more tests.
33588 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33591 2010-10-15 Andreas Schwab <schwab@redhat.com>
33593 * scripts/data/localplt-s390-linux-gnu.data: New file.
33594 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33596 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33599 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33600 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33602 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33604 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33606 if one of x and y is very large and the other is subnormal.
33607 * sysdeps/s390/fpu/s_fmaf.c: New file.
33608 * sysdeps/s390/fpu/s_fma.c: New file.
33609 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33610 * sysdeps/powerpc/fpu/s_fma.S: New file.
33611 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33612 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33613 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33615 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33618 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33620 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33621 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33622 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33623 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33624 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33625 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33626 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33628 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33631 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33632 * posix/bug-regex31.input: Add test case.
33634 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33636 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33637 * posix/bug-regex31.input: New file.
33640 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33641 (parse_sub_exp): Fix last change, use postorder.
33643 * posix/bug-regex31.c: New file.
33644 * posix/Makefile: Add rules to build and run bug-regex31.
33646 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33649 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33652 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33653 to have entries in sys_siglist.
33656 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33659 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33662 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33663 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33664 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33665 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33666 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33667 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33668 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33669 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33670 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33671 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33672 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33673 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33674 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33675 * math/ftestexcept.c (fetestexcept): Likewise.
33676 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33677 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33678 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33679 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33680 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33681 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33682 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33684 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33687 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33690 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33692 * string/bug-strstr1.c: New file.
33693 * string/Makefile: Add rules to build and run bug-strstr1.
33695 2010-10-05 Eric Blake <eblake@redhat.com>
33698 * string/str-two-way.h (two_way_long_needle): Always clear memory
33699 when skipping input due to the shift table.
33701 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33704 * malloc/mcheck.c: Handle large requests.
33707 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33708 for strncmp and strncasecmp.
33709 * string/stratcliff.c: Add tests for strcmp and strncmp.
33710 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33712 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33714 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33717 2010-09-30 Andreas Jaeger <aj@suse.de>
33719 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33720 (CGROUP_SUPER_MAGIC): Define.
33721 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33722 Handle btrfs and cgroup file systems.
33723 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33726 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33728 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33729 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33731 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33734 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33735 trying to locate the ELF header.
33737 2010-09-27 Andreas Schwab <schwab@redhat.com>
33740 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33741 Mask out sign-bit copies when constructing f_fsid.
33743 2010-09-24 Petr Baudis <pasky@suse.cz>
33745 * debug/stack_chk_fail_local.c: Add missing licence exception.
33746 * debug/warning-nop.c: Likewise.
33748 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33750 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33751 implementing getdents64 using getdents syscall, set d_type if
33752 __ASSUME_GETDENTS32_D_TYPE.
33754 2010-09-16 Andreas Schwab <schwab@redhat.com>
33756 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33757 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33759 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33762 * posix/unistd.h: Undo change of feature selection for ftruncate from
33765 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33767 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33770 2010-09-20 Andreas Schwab <schwab@redhat.com>
33772 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33774 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33776 2010-09-14 Andreas Schwab <schwab@redhat.com>
33778 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33779 variables after CHECK_SP call.
33780 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33782 2010-09-13 Andreas Schwab <schwab@redhat.com>
33783 Ulrich Drepper <drepper@redhat.com>
33785 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33786 re-relocationg ld.so.
33787 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33788 _dl_init_paths call.
33789 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33792 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33794 * resolv/res_init.c (__res_vinit): Count the default server we added.
33796 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33797 Ulrich Drepper <drepper@redhat.com>
33800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33801 (____longjmp_chk): Use %ebx for saving value across system call.
33804 2010-09-06 Andreas Schwab <schwab@redhat.com>
33806 * manual/Makefile: Don't mix pattern rules with normal rules.
33808 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33810 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33812 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33813 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33814 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33815 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33816 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33819 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33822 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33823 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33825 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33827 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33828 * sysdeps/x86_64/addmul_1.S: Likewise.
33829 * sysdeps/x86_64/lshift.S: Likewise.
33830 * sysdeps/x86_64/mul_1.S: Likewise.
33831 * sysdeps/x86_64/rshift.S: Likewise.
33832 * sysdeps/x86_64/sub_n.S: Likewise.
33833 * sysdeps/x86_64/submul_1.S: Likewise.
33835 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33837 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33838 Define __sched_param instead of SCHED_* and sched_param when
33839 <bits/sched.h> is included with __need_schedparam defined.
33840 * bits/sched.h [__need_schedparam]
33841 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33842 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33843 (__defined_schedparam): Define to 1.
33844 (__sched_param): New structure, identical to sched_param.
33845 (__need_schedparam): Undefine.
33847 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33849 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33850 (epoll_create1): Declare.
33852 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33854 2010-08-31 Andreas Schwab <schwab@redhat.com>
33857 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33858 shifting retval into place.
33860 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33862 * nis/rpcsvc/nis.h: Update copyright notice.
33863 * nis/rpcsvc/nis.x: Likewise.
33864 * nis/rpcsvc/nis_callback.h: Likewise.
33865 * nis/rpcsvc/nis_callback.x: Likewise.
33866 * nis/rpcsvc/nis_object.x: Likewise.
33867 * nis/rpcsvc/nis_tags.h: Likewise.
33868 * nis/rpcsvc/yp.h: Likewise.
33869 * nis/rpcsvc/yp.x: Likewise.
33870 * nis/rpcsvc/ypupd.h: Likewise.
33871 * nis/yp_xdr.c: Likewise.
33872 * nis/ypupdate_xdr.c: Likewise.
33874 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33875 mainly the body of pmap_getport. Add parameters to specify timeouts.
33876 (pmap_getport): Use __libc_rpc_getport.
33877 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33878 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33879 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33881 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33886 2010-08-27 Roland McGrath <roland@redhat.com>
33888 * sysdeps/i386/i686/multiarch/Makefile
33889 (CFLAGS-varshift.c): New variable.
33891 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33893 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33894 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33898 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33900 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33902 * sysdeps/x86_64/strlen.S: Unroll the loop.
33903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33904 strlen-sse2 strlen-sse2-bsf.
33905 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33906 __strlen_no_bsf if bit_Slow_BSF is set.
33907 (__strlen_sse42): Removed.
33908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33909 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33911 2010-08-25 Roland McGrath <roland@redhat.com>
33913 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33914 * sysdeps/x86_64/multiarch/varshift.c: New file.
33915 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33916 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33917 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33918 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33920 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33923 strlen-sse2 strlen-sse2-bsf.
33924 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33925 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33926 (__strlen_sse2): Removed.
33927 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33928 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33930 bit_Slow_BSF for Atom.
33931 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33932 (index_Slow_BSF): Define.
33933 (HAS_SLOW_BSF): Define.
33935 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33938 * resolv/res_init.c (__res_vinit): When no server address at all
33939 is given default to loopback.
33941 2010-08-24 Roland McGrath <roland@redhat.com>
33943 * configure.in: Remove config-name.h generation.
33944 * configure: Regenerated.
33945 * config-name.in: File removed.
33946 * scripts/config-uname.sh: New file.
33947 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33948 ($(objdir)config-name.h): New target.
33950 * sunrpc/rpc_parse.h: Avoid nested comment.
33952 2010-08-24 Richard Henderson <rth@redhat.com>
33953 Ulrich Drepper <drepper@redhat.com>
33954 H.J. Lu <hongjiu.lu@intel.com>
33956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33958 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33959 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33960 _mm_alignr_epi8 with _mm_loadu_si128.
33961 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33962 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33963 (__m128i_shift_right): Removed.
33964 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33965 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33966 * sysdeps/x86_64/multiarch/varshift.h: New file.
33967 * sysdeps/x86_64/multiarch/varshift.S: New file.
33969 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33971 * configure.in: Move assembler checks to before sysdep dir checking.
33973 2010-08-20 Petr Baudis <pasky@suse.cz>
33975 * LICENSES: Sync the sunrpc license.
33977 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33979 * sunrpc/auth_des.c: Update copyright notice once again.
33980 * sunrpc/auth_none.c: Likewise.
33981 * sunrpc/auth_unix.c: Likewise.
33982 * sunrpc/authdes_prot.c: Likewise.
33983 * sunrpc/authuxprot.c: Likewise.
33984 * sunrpc/bindrsvprt.c: Likewise.
33985 * sunrpc/clnt_gen.c: Likewise.
33986 * sunrpc/clnt_perr.c: Likewise.
33987 * sunrpc/clnt_raw.c: Likewise.
33988 * sunrpc/clnt_simp.c: Likewise.
33989 * sunrpc/clnt_tcp.c: Likewise.
33990 * sunrpc/clnt_udp.c: Likewise.
33991 * sunrpc/clnt_unix.c: Likewise.
33992 * sunrpc/des_crypt.c: Likewise.
33993 * sunrpc/des_soft.c: Likewise.
33994 * sunrpc/get_myaddr.c: Likewise.
33995 * sunrpc/getrpcport.c: Likewise.
33996 * sunrpc/key_call.c: Likewise.
33997 * sunrpc/key_prot.c: Likewise.
33998 * sunrpc/openchild.c: Likewise.
33999 * sunrpc/pm_getmaps.c: Likewise.
34000 * sunrpc/pm_getport.c: Likewise.
34001 * sunrpc/pmap_clnt.c: Likewise.
34002 * sunrpc/pmap_prot.c: Likewise.
34003 * sunrpc/pmap_prot2.c: Likewise.
34004 * sunrpc/pmap_rmt.c: Likewise.
34005 * sunrpc/rpc/auth.h: Likewise.
34006 * sunrpc/rpc/auth_unix.h: Likewise.
34007 * sunrpc/rpc/clnt.h: Likewise.
34008 * sunrpc/rpc/des_crypt.h: Likewise.
34009 * sunrpc/rpc/key_prot.h: Likewise.
34010 * sunrpc/rpc/netdb.h: Likewise.
34011 * sunrpc/rpc/pmap_clnt.h: Likewise.
34012 * sunrpc/rpc/pmap_prot.h: Likewise.
34013 * sunrpc/rpc/pmap_rmt.h: Likewise.
34014 * sunrpc/rpc/rpc.h: Likewise.
34015 * sunrpc/rpc/rpc_des.h: Likewise.
34016 * sunrpc/rpc/rpc_msg.h: Likewise.
34017 * sunrpc/rpc/svc.h: Likewise.
34018 * sunrpc/rpc/svc_auth.h: Likewise.
34019 * sunrpc/rpc/types.h: Likewise.
34020 * sunrpc/rpc/xdr.h: Likewise.
34021 * sunrpc/rpc_clntout.c: Likewise.
34022 * sunrpc/rpc_cmsg.c: Likewise.
34023 * sunrpc/rpc_common.c: Likewise.
34024 * sunrpc/rpc_cout.c: Likewise.
34025 * sunrpc/rpc_dtable.c: Likewise.
34026 * sunrpc/rpc_hout.c: Likewise.
34027 * sunrpc/rpc_main.c: Likewise.
34028 * sunrpc/rpc_parse.c: Likewise.
34029 * sunrpc/rpc_parse.h: Likewise.
34030 * sunrpc/rpc_prot.c: Likewise.
34031 * sunrpc/rpc_sample.c: Likewise.
34032 * sunrpc/rpc_scan.c: Likewise.
34033 * sunrpc/rpc_scan.h: Likewise.
34034 * sunrpc/rpc_svcout.c: Likewise.
34035 * sunrpc/rpc_tblout.c: Likewise.
34036 * sunrpc/rpc_util.c: Likewise.
34037 * sunrpc/rpc_util.h: Likewise.
34038 * sunrpc/rpcinfo.c: Likewise.
34039 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34040 * sunrpc/rpcsvc/key_prot.x: Likewise.
34041 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34042 * sunrpc/rpcsvc/mount.x: Likewise.
34043 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34044 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34045 * sunrpc/rpcsvc/rex.x: Likewise.
34046 * sunrpc/rpcsvc/rstat.x: Likewise.
34047 * sunrpc/rpcsvc/rusers.x: Likewise.
34048 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34049 * sunrpc/rpcsvc/spray.x: Likewise.
34050 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34051 * sunrpc/rtime.c: Likewise.
34052 * sunrpc/svc.c: Likewise.
34053 * sunrpc/svc_auth.c: Likewise.
34054 * sunrpc/svc_authux.c: Likewise.
34055 * sunrpc/svc_raw.c: Likewise.
34056 * sunrpc/svc_run.c: Likewise.
34057 * sunrpc/svc_simple.c: Likewise.
34058 * sunrpc/svc_tcp.c: Likewise.
34059 * sunrpc/svc_udp.c: Likewise.
34060 * sunrpc/svc_unix.c: Likewise.
34061 * sunrpc/svcauth_des.c: Likewise.
34062 * sunrpc/xcrypt.c: Likewise.
34063 * sunrpc/xdr.c: Likewise.
34064 * sunrpc/xdr_array.c: Likewise.
34065 * sunrpc/xdr_float.c: Likewise.
34066 * sunrpc/xdr_mem.c: Likewise.
34067 * sunrpc/xdr_rec.c: Likewise.
34068 * sunrpc/xdr_ref.c: Likewise.
34069 * sunrpc/xdr_sizeof.c: Likewise.
34070 * sunrpc/xdr_stdio.c: Likewise.
34072 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34075 2010-08-19 Andreas Schwab <schwab@redhat.com>
34077 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34079 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34081 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34082 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34083 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34084 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34085 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34086 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34087 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34088 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34089 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34090 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34091 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34092 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34093 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34094 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34096 2010-07-26 Anton Blanchard <anton@samba.org>
34098 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34099 * malloc/arena.c (heap_trim): Likewise.
34101 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34103 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34106 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34108 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34110 * sysdeps/i386/elf/Makefile: New file.
34112 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34114 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34115 from fanotify_init.
34116 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34119 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34121 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34123 * sysdeps/multiarch/strcmp.S: Likewise.
34125 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34127 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34128 strncase_l-nonascii.
34129 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34130 Add strncase_l-ssse3.
34131 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34132 * sysdeps/x86_64/strcmp.S: Likewise.
34133 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34134 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34135 * sysdeps/x86_64/strncase.S: New file.
34136 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34137 * sysdeps/x86_64/strncase_l.S: New file.
34138 * string/Makefile (strop-tests): Add strncasecmp.
34139 * string/test-strncasecmp.c: New file.
34141 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34144 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34145 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34147 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34149 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34151 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34153 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34154 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34155 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34157 2010-05-01 Alan Modra <amodra@gmail.com>
34159 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34160 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34161 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34162 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34163 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34164 tidying. Don't tail-call __sigjmp_save for static lib.
34165 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34167 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34168 (CALL_MCOUNT): Add eh info, and nop after bl.
34169 (TAIL_CALL_SYSCALL_ERROR): New macro.
34170 (PSEUDO_RET): Use it.
34171 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34172 Correct save location of integer regs and cr.
34173 (_dl_profile_resolve): Correct cr save location. Delete nops
34174 after bl when SHARED. Reduce cfi size a little by better
34175 placement of cfi directives.
34176 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34177 make a stack frame. Instead use parm save area as a temp.
34178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34179 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34181 Don't make a stack frame for parent, use parm save area.
34182 Increase child stack frame to 112 bytes. Don't save unused reg,
34183 and adjust reg usage. Set up cfi on error recovery and
34184 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34186 (__makecontext): Add dummy nop after jump to exit.
34187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34188 Use correct parm save area and cr save, reduce stack frame.
34189 Correct cfi for possible PSEUDO_RET frame setup.
34190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34191 Branch to local label emitted by PSEUDO_RET rather than
34194 2010-08-12 Andreas Schwab <schwab@redhat.com>
34197 * locale/programs/locale.c (print_assignment): New function.
34198 (show_locale_vars): Use it.
34200 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34202 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34204 (struct statfs64): Likewise.
34205 (_STATFS_F_FLAGS): Define.
34206 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34207 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34208 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34209 (ST_VALID): Define locally.
34210 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34211 __statvfs_getflags, use the provided value.
34212 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34213 __ASSUME_STATFS_F_FLAGS.
34215 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34217 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34218 Add sys/fanotify.h.
34219 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34220 fanotify_mask for GLIBC_2.13.
34221 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34222 fanotify_init and fanotify_mark.
34223 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34224 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34226 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34228 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34229 prlimit64 for GLIBC_2.13.
34230 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34235 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34236 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34237 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34238 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34240 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34243 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34244 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34246 * nss/Makefile: Add rules to build and run tst-nss-test1.
34247 * shlib-versions: Add entry for libnss_test1.
34248 * nss/nss_test1.c: New file.
34249 * nss/tst-nss-test1.c: New file.
34251 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34252 (__nss_configure_lookup): Set appropriate entry in
34253 __nss_configure_lookup to true.
34254 * nss/nsswitch.h: Define enum with indeces of databases in
34255 databases and __nss_database_custom arrays. Declare
34256 __nss_database_custom.
34257 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34258 to avoid using nscd when custom rules are installed.
34259 * nss/getXXbyYY_r.c: Likewise.
34260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34262 * nss/nss_files/files-parse.c: Whitespace fixes.
34264 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34267 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34268 * posix/fnmatch_loop.c: Likewise.
34270 2010-07-17 Andi Kleen <ak@linux.intel.com>
34272 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34273 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34274 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34275 * Versions.def [GLIBC_2.13]: Add.
34277 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34279 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34280 Also fail if tpwd after pwuid call is NULL.
34282 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34284 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34285 when converting to ms.
34287 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34289 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34290 EOPNOTSUPP errors with ENOTTY.
34291 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34292 EOPNOTSUPP errors with ENOTTY.
34294 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34296 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34297 Add strcasecmp_l-ssse3.
34298 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34300 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34301 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34302 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34304 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34306 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34308 * string/Makefile (strop-tests): Add strcasecmp.
34309 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34310 strcasecmp_l-nonascii.
34311 (gen-as-const-headers): Add locale-defines.sym.
34312 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34313 * sysdeps/x86_64/strcasecmp.S: New file.
34314 * sysdeps/x86_64/strcasecmp_l.S: New file.
34315 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34316 * sysdeps/x86_64/locale-defines.sym: New file.
34317 * string/test-strcasecmp.c: New file.
34319 * string/test-strcasestr.c: Test both ends of the range of characters.
34320 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34322 2010-07-29 Roland McGrath <roland@redhat.com>
34325 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34327 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34329 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34332 2010-07-27 Andreas Schwab <schwab@redhat.com>
34334 * manual/memory.texi (Malloc Tunable Parameters): Document
34337 2010-07-26 Roland McGrath <roland@redhat.com>
34340 * configure.in (-fgnu89-inline check): Set and substitute
34341 gnu89_inline, not libc_cv_gnu89_inline.
34342 * configure: Regenerated.
34343 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34345 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34347 * string/test-strnlen.c: New file.
34348 * string/Makefile (strop-tests): Add strnlen.
34349 * string/tester.c (test_strnlen): Add a few more test cases.
34350 * string/tst-strlen.c: Better error reporting.
34352 * sysdeps/x86_64/strnlen.S: New file.
34354 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34356 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34357 lower-latency instructions.
34359 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34361 * string/test-strcasestr.c: New file.
34362 * string/test-strstr.c: New file.
34363 * string/Makefile (strop-tests): Add strstr and strcasestr.
34364 * string/str-two-way.h: Don't undefine MAX.
34365 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34367 2010-07-21 Andreas Schwab <schwab@redhat.com>
34369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34370 strcasestr-nonascii.
34371 (CFLAGS-strcasestr-nonascii.c): Define.
34372 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34373 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34374 Remove unused attribute.
34376 2010-07-20 Roland McGrath <roland@redhat.com>
34378 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34379 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34380 ld.so.cache was broken. With it, there is no way to disable dsocaps
34381 like LD_HWCAP_MASK can disable hwcaps.
34383 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34385 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34387 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34389 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34390 call in strcasestr.
34391 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34392 __strcasestr_sse42_nonascii.
34393 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34394 strcasestr-nonascii.c.
34395 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34397 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34399 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34400 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34401 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34402 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34404 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34406 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34409 2010-07-06 Andreas Schwab <schwab@redhat.com>
34412 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34415 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34417 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34418 _PC_PIPE_BUF using F_GETPIPE_SZ.
34420 2010-07-05 Roland McGrath <roland@redhat.com>
34422 * manual/arith.texi (Rounding Functions): Fix rint description
34423 implicit in round description.
34425 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34427 * elf/Makefile: Fix linking for a few tests to make recent linker
34430 2010-06-30 Andreas Schwab <schwab@redhat.com>
34432 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34433 $(common-objpfx)libc_nonshared.a.
34435 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34437 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34438 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34439 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34440 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34441 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34442 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34443 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34444 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34459 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34460 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34461 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34462 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34463 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34464 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34465 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34466 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34467 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34468 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34469 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34470 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34486 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34488 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34489 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34490 * string/memmove.c (memmove): Renamed to ...
34491 (MEMMOVE): ...this. Default to memmove.
34492 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34493 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34496 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34497 mempcpy-ssse3-back memmove-ssse3-back.
34498 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34499 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34500 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34501 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34502 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34503 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34504 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34505 * sysdeps/x86_64/multiarch/memmove.c: New file.
34506 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34507 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34508 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34509 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34510 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34511 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34513 (index_Fast_Copy_Backward): Define.
34514 (HAS_ARCH_FEATURE): Define.
34515 (HAS_FAST_REP_STRING): Define.
34516 (HAS_FAST_COPY_BACKWARD): Define.
34518 2010-06-21 Andreas Schwab <schwab@redhat.com>
34520 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34521 Restore proper fallback handling.
34523 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34526 * posix/group_member.c (__group_member): Correct checking loop.
34528 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34529 OOM in getpwuid_r correctly. Return error number when the caller
34530 should return, otherwise -1.
34531 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34532 call returning > 0 value.
34533 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34535 2010-06-07 Andreas Schwab <schwab@redhat.com>
34537 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34538 libc_nonshared.a from targets in modules-names.
34540 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34542 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34545 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34547 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34548 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34549 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34552 2010-06-02 Andreas Schwab <schwab@redhat.com>
34554 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34556 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34558 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34560 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34561 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34562 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34564 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34565 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34567 2010-06-14 Roland McGrath <roland@redhat.com>
34569 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34571 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34573 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34574 __REDIRECT followed by __THROW.
34575 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34576 * posix/getopt.h (getopt): Likewise.
34578 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34580 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34581 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34582 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34584 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34585 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34587 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34589 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34591 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34595 Properly check family and model.
34597 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34599 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34601 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34603 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34605 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34607 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34610 2010-05-19 Andreas Schwab <schwab@redhat.com>
34612 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34615 2010-05-21 Andreas Schwab <schwab@redhat.com>
34617 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34618 and internal_recvmmsg.
34619 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34620 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34621 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34622 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34624 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34625 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34626 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34628 2010-05-20 Andreas Schwab <schwab@redhat.com>
34630 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34632 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34634 POWER7 optimizations.
34635 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34636 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34638 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34640 * version.h: Update for 2.13 development version.
34642 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34644 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34645 exceptions. Return 0.
34647 2010-05-07 Roland McGrath <roland@redhat.com>
34649 * elf/ldconfig.c (main): Add a const.
34651 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34653 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34654 (args_options): Add no-idn option.
34655 (ahosts_keys_int): Add idn_flags to ai_flags.
34656 (parse_option): Handle 'i' option to clear idn_flags.
34658 * malloc/malloc.c (_int_free): Possible race in the most recently
34659 added check. Only act on the data if no current modification
34662 See ChangeLog.17 for earlier changes.