1 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4 * sunrpc/rpc_main.c: Document rpcgen -5.
6 2013-10-19 Michael Stahl <mstahl@redhat.com>
8 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13 * posix/glob.c: Match only directories when trailing slash is present.
14 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22 2013-10-18 Carlos O'Donell <carlos@redhat.com>
24 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26 AUTH_DES and cindex for FIPS 140-2.
27 (DES Encryption): Add cindex FIPS 46-3.
29 * locale/locarchive.h (struct locarhandle): Add fname.
30 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31 if an optional argument was specified to --list-archive,
33 * locale/programs/locarchive.c (show_archive_content): Take new
34 argument fname and pass it via ah.fname to open_archive.
35 * locale/programs/localedef.h: Update decl.
36 (open_archive): If AH->fname is non-null, open that file
37 rather than the default file name, and don't ignore ENOENT.
38 (create_archive): Set AH.fname to NULL.
39 (delete_locales_from_archive): Likewise.
40 (add_locales_to_archive): Likewise.
41 * locale/programs/locfile.c (write_all_categories): Likewise.
43 2013-10-18 Joseph Myers <joseph@codesourcery.com>
44 Aldy Hernandez <aldyh@redhat.com>
46 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
49 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
52 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
53 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
56 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
57 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
59 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
62 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
64 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
66 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
68 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
69 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
71 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
72 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
73 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
74 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
76 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
77 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
78 * sysdeps/powerpc/preconfigure: Likewise.
79 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
81 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
82 Replace contents of file by #include of <fenv_libc.h>.
83 * sysdeps/powerpc/soft-fp/sfp-machine.h
84 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
86 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
87 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
88 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
89 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
90 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
91 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
92 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
93 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
94 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
95 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
96 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
97 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
98 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
99 Allow copysignl PLT reference to be missing.
101 2013-10-18 Richard Sandiford <richard@codesourcery.com>
102 Joseph Myers <joseph@codesourcery.com
105 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
107 (add_to_tablewc): Assert sequence of wide characters is nonempty.
109 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
111 * elf/tst-tls-dlinfo.c: Don't include tls.h.
112 * elf/tst-tls1.c: Likewise.
113 * elf/tst-tls10.h: Likewise.
114 * elf/tst-tls14.c: Likewise.
115 * elf/tst-tls2.c: Likewise.
116 * elf/tst-tls3.c: Likewise.
117 * elf/tst-tls4.c: Likewise.
118 * elf/tst-tls5.c: Likewise.
119 * elf/tst-tls6.c: Likewise.
120 * elf/tst-tls7.c: Likewise.
121 * elf/tst-tls8.c: Likewise.
122 * elf/tst-tls9.c: Likewise.
123 * elf/tst-tlsmod1.c: Likewise.
124 * elf/tst-tlsmod13.c: Likewise.
125 * elf/tst-tlsmod13a.c: Likewise.
126 * elf/tst-tlsmod14a.c: Likewise.
127 * elf/tst-tlsmod16a.c: Likewise.
128 * elf/tst-tlsmod16b.c: Likewise.
129 * elf/tst-tlsmod2.c: Likewise.
130 * elf/tst-tlsmod3.c: Likewise.
131 * elf/tst-tlsmod4.c: Likewise.
132 * elf/tst-tlsmod5.c: Likewise.
133 * elf/tst-tlsmod6.c: Likewise.
135 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
138 * malloc/malloc.c: remove checks for statistics.
140 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
143 * inet/inet_net.c (inet_network): Detect additional invalid strings.
144 * inet/tst-network.c: Add testcase.
146 2013-10-17 Andreas Schwab <schwab@suse.de>
149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
150 to determine canonical name.
152 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
154 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
155 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
156 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
157 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
159 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
160 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
161 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
162 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
163 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
164 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
165 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
166 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
167 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
168 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
169 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
171 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
172 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
173 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
177 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
178 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
179 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
180 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
181 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
182 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
183 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
184 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
185 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
186 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
187 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
190 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
191 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
192 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
193 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
194 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
195 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
196 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
197 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
198 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
199 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
200 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
201 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
202 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
203 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
204 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
205 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
206 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
207 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
208 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
209 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
210 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
211 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
213 2013-10-17 Joseph Myers <joseph@codesourcery.com>
216 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
217 make result into a quiet NaN.
219 2013-10-16 Joseph Myers <joseph@codesourcery.com>
221 * soft-fp/adddf3.c: Fix horizontal whitespace.
222 * soft-fp/addsf3.c: Likewise.
223 * soft-fp/addtf3.c: Likewise.
224 * soft-fp/divdf3.c: Likewise.
225 * soft-fp/divsf3.c: Likewise.
226 * soft-fp/divtf3.c: Likewise.
227 * soft-fp/double.h: Likewise.
228 * soft-fp/eqdf2.c: Likewise.
229 * soft-fp/eqsf2.c: Likewise.
230 * soft-fp/eqtf2.c: Likewise.
231 * soft-fp/extenddftf2.c: Likewise.
232 * soft-fp/extended.h: Likewise.
233 * soft-fp/extendsfdf2.c: Likewise.
234 * soft-fp/extendsftf2.c: Likewise.
235 * soft-fp/extendxftf2.c: Likewise.
236 * soft-fp/fixdfdi.c: Likewise.
237 * soft-fp/fixdfsi.c: Likewise.
238 * soft-fp/fixdfti.c: Likewise.
239 * soft-fp/fixsfdi.c: Likewise.
240 * soft-fp/fixsfsi.c: Likewise.
241 * soft-fp/fixsfti.c: Likewise.
242 * soft-fp/fixtfdi.c: Likewise.
243 * soft-fp/fixtfsi.c: Likewise.
244 * soft-fp/fixtfti.c: Likewise.
245 * soft-fp/fixunsdfdi.c: Likewise.
246 * soft-fp/fixunsdfsi.c: Likewise.
247 * soft-fp/fixunsdfti.c: Likewise.
248 * soft-fp/fixunssfdi.c: Likewise.
249 * soft-fp/fixunssfsi.c: Likewise.
250 * soft-fp/fixunssfti.c: Likewise.
251 * soft-fp/fixunstfdi.c: Likewise.
252 * soft-fp/fixunstfsi.c: Likewise.
253 * soft-fp/fixunstfti.c: Likewise.
254 * soft-fp/floatdidf.c: Likewise.
255 * soft-fp/floatdisf.c: Likewise.
256 * soft-fp/floatditf.c: Likewise.
257 * soft-fp/floatsidf.c: Likewise.
258 * soft-fp/floatsisf.c: Likewise.
259 * soft-fp/floatsitf.c: Likewise.
260 * soft-fp/floattidf.c: Likewise.
261 * soft-fp/floattisf.c: Likewise.
262 * soft-fp/floattitf.c: Likewise.
263 * soft-fp/floatundidf.c: Likewise.
264 * soft-fp/floatundisf.c: Likewise.
265 * soft-fp/floatunditf.c: Likewise.
266 * soft-fp/floatunsidf.c: Likewise.
267 * soft-fp/floatunsisf.c: Likewise.
268 * soft-fp/floatunsitf.c: Likewise.
269 * soft-fp/floatuntidf.c: Likewise.
270 * soft-fp/floatuntisf.c: Likewise.
271 * soft-fp/floatuntitf.c: Likewise.
272 * soft-fp/fmadf4.c: Likewise.
273 * soft-fp/fmasf4.c: Likewise.
274 * soft-fp/fmatf4.c: Likewise.
275 * soft-fp/gedf2.c: Likewise.
276 * soft-fp/gesf2.c: Likewise.
277 * soft-fp/getf2.c: Likewise.
278 * soft-fp/ledf2.c: Likewise.
279 * soft-fp/lesf2.c: Likewise.
280 * soft-fp/letf2.c: Likewise.
281 * soft-fp/muldf3.c: Likewise.
282 * soft-fp/mulsf3.c: Likewise.
283 * soft-fp/multf3.c: Likewise.
284 * soft-fp/negdf2.c: Likewise.
285 * soft-fp/negsf2.c: Likewise.
286 * soft-fp/negtf2.c: Likewise.
287 * soft-fp/op-1.h: Likewise.
288 * soft-fp/op-2.h: Likewise.
289 * soft-fp/op-4.h: Likewise.
290 * soft-fp/op-8.h: Likewise.
291 * soft-fp/op-common.h: Likewise.
292 * soft-fp/quad.h: Likewise.
293 * soft-fp/single.h: Likewise.
294 * soft-fp/soft-fp.h: Likewise.
295 * soft-fp/sqrtdf2.c: Likewise.
296 * soft-fp/sqrtsf2.c: Likewise.
297 * soft-fp/sqrttf2.c: Likewise.
298 * soft-fp/subdf3.c: Likewise.
299 * soft-fp/subsf3.c: Likewise.
300 * soft-fp/subtf3.c: Likewise.
301 * soft-fp/truncdfsf2.c: Likewise.
302 * soft-fp/trunctfdf2.c: Likewise.
303 * soft-fp/trunctfsf2.c: Likewise.
304 * soft-fp/trunctfxf2.c: Likewise.
305 * soft-fp/unorddf2.c: Likewise.
306 * soft-fp/unordsf2.c: Likewise.
307 * soft-fp/unordtf2.c: Likewise.
309 2013-10-15 Joseph Myers <joseph@codesourcery.com>
311 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
312 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
314 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
316 * elf/dl-libc.c: Clear initfini list after freeing.
318 2013-10-14 Joseph Myers <joseph@codesourcery.com>
320 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
321 * soft-fp/addsf3.c: Likewise.
322 * soft-fp/addtf3.c: Likewise.
323 * soft-fp/divdf3.c: Likewise.
324 * soft-fp/divsf3.c: Likewise.
325 * soft-fp/divtf3.c: Likewise.
326 * soft-fp/double.h: Likewise.
327 * soft-fp/eqdf2.c: Likewise.
328 * soft-fp/eqsf2.c: Likewise.
329 * soft-fp/eqtf2.c: Likewise.
330 * soft-fp/extenddftf2.c: Likewise.
331 * soft-fp/extended.h: Likewise.
332 * soft-fp/extendsfdf2.c: Likewise.
333 * soft-fp/extendsftf2.c: Likewise.
334 * soft-fp/extendxftf2.c: Likewise.
335 * soft-fp/fixdfdi.c: Likewise.
336 * soft-fp/fixdfsi.c: Likewise.
337 * soft-fp/fixdfti.c: Likewise.
338 * soft-fp/fixsfdi.c: Likewise.
339 * soft-fp/fixsfsi.c: Likewise.
340 * soft-fp/fixsfti.c: Likewise.
341 * soft-fp/fixtfdi.c: Likewise.
342 * soft-fp/fixtfsi.c: Likewise.
343 * soft-fp/fixtfti.c: Likewise.
344 * soft-fp/fixunsdfdi.c: Likewise.
345 * soft-fp/fixunsdfsi.c: Likewise.
346 * soft-fp/fixunsdfti.c: Likewise.
347 * soft-fp/fixunssfdi.c: Likewise.
348 * soft-fp/fixunssfsi.c: Likewise.
349 * soft-fp/fixunssfti.c: Likewise.
350 * soft-fp/fixunstfdi.c: Likewise.
351 * soft-fp/fixunstfsi.c: Likewise.
352 * soft-fp/fixunstfti.c: Likewise.
353 * soft-fp/floatdidf.c: Likewise.
354 * soft-fp/floatdisf.c: Likewise.
355 * soft-fp/floatditf.c: Likewise.
356 * soft-fp/floatsidf.c: Likewise.
357 * soft-fp/floatsisf.c: Likewise.
358 * soft-fp/floatsitf.c: Likewise.
359 * soft-fp/floattidf.c: Likewise.
360 * soft-fp/floattisf.c: Likewise.
361 * soft-fp/floattitf.c: Likewise.
362 * soft-fp/floatundidf.c: Likewise.
363 * soft-fp/floatundisf.c: Likewise.
364 * soft-fp/floatunsidf.c: Likewise.
365 * soft-fp/floatunsisf.c: Likewise.
366 * soft-fp/floatuntidf.c: Likewise.
367 * soft-fp/floatuntisf.c: Likewise.
368 * soft-fp/floatuntitf.c: Likewise.
369 * soft-fp/fmadf4.c: Likewise.
370 * soft-fp/fmasf4.c: Likewise.
371 * soft-fp/fmatf4.c: Likewise.
372 * soft-fp/gedf2.c: Likewise.
373 * soft-fp/gesf2.c: Likewise.
374 * soft-fp/getf2.c: Likewise.
375 * soft-fp/ledf2.c: Likewise.
376 * soft-fp/lesf2.c: Likewise.
377 * soft-fp/letf2.c: Likewise.
378 * soft-fp/muldf3.c: Likewise.
379 * soft-fp/mulsf3.c: Likewise.
380 * soft-fp/multf3.c: Likewise.
381 * soft-fp/negdf2.c: Likewise.
382 * soft-fp/negsf2.c: Likewise.
383 * soft-fp/negtf2.c: Likewise.
384 * soft-fp/op-1.h: Likewise.
385 * soft-fp/op-2.h: Likewise.
386 * soft-fp/op-4.h: Likewise.
387 * soft-fp/op-8.h: Likewise.
388 * soft-fp/op-common.h: Likewise.
389 * soft-fp/quad.h: Likewise.
390 * soft-fp/single.h: Likewise.
391 * soft-fp/soft-fp.h: Likewise.
392 * soft-fp/sqrtdf2.c: Likewise.
393 * soft-fp/sqrtsf2.c: Likewise.
394 * soft-fp/sqrttf2.c: Likewise.
395 * soft-fp/subdf3.c: Likewise.
396 * soft-fp/subsf3.c: Likewise.
397 * soft-fp/subtf3.c: Likewise.
398 * soft-fp/truncdfsf2.c: Likewise.
399 * soft-fp/trunctfdf2.c: Likewise.
400 * soft-fp/trunctfsf2.c: Likewise.
401 * soft-fp/trunctfxf2.c: Likewise.
402 * soft-fp/unorddf2.c: Likewise.
403 * soft-fp/unordsf2.c: Likewise.
404 * soft-fp/unordtf2.c: Likewise.
406 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
409 * misc/error.c (error_tail): Fix possible buffer overflow.
411 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
414 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
417 2013-10-14 P. J. McDermott <pj@pehjota.net>
420 * elf/ldd.bash.in (try_trace): New function. Delete previous code
421 testing pipefail option.
423 2013-10-12 Joseph Myers <joseph@codesourcery.com>
425 * soft-fp/double.h: Indent preprocessor directives inside #if.
426 * soft-fp/extended.h: Likewise.
427 * soft-fp/op-2.h: Likewise.
428 * soft-fp/op-4.h: Likewise.
429 * soft-fp/op-common.h: Likewise.
430 * soft-fp/quad.h: Likewise.
431 * soft-fp/single.h: Likewise.
432 * soft-fp/soft-fp.h: Likewise.
434 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
436 * iconv/iconv_prog.c: Fix typos.
437 * stdio-common/psiginfo-data.h: Likewise.
439 2013-10-12 Reuben Thomas <rrt@sc3d.org>
442 * locale/setlocale.c: Fix typo.
444 2013-10-12 Joseph Myers <joseph@codesourcery.com>
447 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
448 signaling NaN arguments.
449 * soft-fp/unordsf2.c (__unordsf2): Likewise.
450 * soft-fp/unordtf2.c (__unordtf2): Likewise.
453 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
455 * soft-fp/gesf2.c (__gesf2): Likewise.
456 * soft-fp/getf2.c (__getf2): Likewise.
457 * soft-fp/ledf2.c (__ledf2): Likewise.
458 * soft-fp/lesf2.c (__lesf2): Likewise.
459 * soft-fp/letf2.c (__letf2): Likewise.
461 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
462 * soft-fp/eqsf2.c (__eqsf2): Likewise.
463 * soft-fp/eqtf2.c (__eqtf2): Likewise.
464 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
465 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
466 * soft-fp/fixdfti.c (__fixdfti): Likewise.
467 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
468 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
469 * soft-fp/fixsfti.c (__fixsfti): Likewise.
470 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
471 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
472 * soft-fp/fixtfti.c (__fixtfti): Likewise.
473 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
474 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
475 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
476 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
477 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
478 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
479 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
480 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
481 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
482 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
483 * soft-fp/floatdisf.c (__floatdisf): Likewise.
484 * soft-fp/floatsisf.c (__floatsisf): Likewise.
485 * soft-fp/floattidf.c (__floattidf): Likewise.
486 * soft-fp/floattisf.c (__floattisf): Likewise.
487 * soft-fp/floattitf.c (__floattitf): Likewise.
488 * soft-fp/floatundidf.c (__floatundidf): Likewise.
489 * soft-fp/floatundisf.c (__floatundisf): Likewise.
490 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
491 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
492 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
493 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
494 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
495 * soft-fp/gesf2.c (__gesf2): Likewise.
496 * soft-fp/getf2.c (__getf2): Likewise.
497 * soft-fp/ledf2.c (__ledf2): Likewise.
498 * soft-fp/lesf2.c (__lesf2): Likewise.
499 * soft-fp/letf2.c (__letf2): Likewise.
501 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
502 Undefine and redefine.
503 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
504 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
505 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
506 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
507 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
508 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
509 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
510 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
511 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
512 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
513 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
514 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
515 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
516 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
517 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
520 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
521 without decrementing exponent if mantissa >= that for the
523 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
524 denominator, not >. Decrement exponent in < case instead of
525 incrementing in >= case.
526 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
527 without decrementing exponent if mantissa >= that for the
530 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
531 computing saturated result for unsigned overflow.
533 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
534 Jeff Law <law@redhat.com>
536 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
537 (atan2Mp): Add systemtap probe marker.
538 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
539 (__ieee754_log): Add systemtap probe marker.
540 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
541 (atanMp): Add systemtap probe marker.
542 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
543 (tanMp): Add systemtap probe marker.
544 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
545 (__slowexp): Add systemtap probe marker.
546 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
547 (__slowpow): Add systemtap probe marker.
548 * manual/probes.texi: Document probes.
550 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
553 * libio/fileops.c (_IO_new_file_write): Return count of bytes
555 (_IO_new_file_xsputn): Don't return EOF if nothing has been
557 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
558 written to buffer but not flushed.
559 * libio/iofwrite_u.c: Likewise.
560 * libio/iopadn.c: Return bytes returned even if EOF was
562 * libio/iowpadn.c: Likewise.
563 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
564 if _IO_padn does not write the whole buffer.
565 [!COMPILE_WPRINTF] (PAD): Likewise.
567 2013-10-10 David S. Miller <davem@davemloft.net>
569 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
572 2013-10-10 Joseph Myers <joseph@codesourcery.com>
574 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
575 instead of FSF address.
576 * soft-fp/fixdfti.c: Likewise.
577 * soft-fp/fixsfti.c: Likewise.
578 * soft-fp/fixtfti.c: Likewise.
579 * soft-fp/fixunsdfti.c: Likewise.
580 * soft-fp/fixunssfti.c: Likewise.
581 * soft-fp/fixunstfti.c: Likewise.
582 * soft-fp/floattidf.c: Likewise.
583 * soft-fp/floattisf.c: Likewise.
584 * soft-fp/floattitf.c: Likewise.
585 * soft-fp/floatuntidf.c: Likewise.
586 * soft-fp/floatuntisf.c: Likewise.
587 * soft-fp/floatuntitf.c: Likewise.
588 * soft-fp/trunctfxf2.c: Likewise.
590 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
591 * soft-fp/fixdfti.c: Likewise.
592 * soft-fp/fixsfti.c: Likewise.
593 * soft-fp/fixtfti.c: Likewise.
594 * soft-fp/fixunsdfti.c: Likewise.
595 * soft-fp/fixunssfti.c: Likewise.
596 * soft-fp/fixunstfti.c: Likewise.
597 * soft-fp/floattidf.c: Likewise.
598 * soft-fp/floattisf.c: Likewise.
599 * soft-fp/floattitf.c: Likewise.
600 * soft-fp/floatuntidf.c: Likewise.
601 * soft-fp/floatuntisf.c: Likewise.
602 * soft-fp/floatuntitf.c: Likewise.
603 * soft-fp/trunctfxf2.c: Likewise.
605 2013-10-10 David S. Miller <davem@davemloft.net>
607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
609 2013-10-10 Joseph Myers <joseph@codsourcery.com>
611 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
612 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
613 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
614 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
615 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
616 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
617 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
619 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
620 for NaNs before doing comparisons on argument.
621 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
624 2013-10-10 Will Newton <will.newton@linaro.org>
626 * malloc/hooks.c (memalign_check): Ensure the value of bytes
627 passed to _int_memalign does not overflow.
629 2013-10-10 Torvald Riegel <triegel@redhat.com>
631 * scripts/bench.pl: Add include-sources directive.
632 * benchtests/README: Update documentation.
634 2013-10-10 Joseph Myers <joseph@codesourcery.com>
636 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
637 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
638 instead of FP_INIT_ROUNDMODE.
639 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
640 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
643 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
644 copy class of input value.
645 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
646 not handle exceptions.
647 * soft-fp/negsf2.c (__negsf2): Likewise.
648 * soft-fp/negtf2.c (__negtf2): Likewise.
649 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
651 2013-10-09 Joseph Myers <joseph@codesourcery.com>
653 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
654 semicolon. From Linux kernel.
656 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
658 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
660 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
663 * manual/socket.texi: Added statement about buffer
664 for gethostbyname2_r.
666 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
668 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
669 Use .p2align directive instead, throughout.
670 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
671 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
672 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
673 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
674 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
675 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
676 * sysdeps/x86_64/strchr.S: Likewise.
677 * sysdeps/x86_64/strrchr.S: Likewise.
679 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
681 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
683 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
685 * sysdeps/generic/math_private.h (__mpsin1): Remove
687 (__mpcos1): Likewise.
688 (__mpsin): New argument __range_reduce.
690 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
691 (slow): Use __mpsin and __mpcos.
704 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
705 range_reduce. Merge in __mpsin1.
708 (__mpcos1): Likewise.
710 2013-10-07 Joseph Myers <joseph@codesourcery.com>
712 * locale/loadlocale.c (_nl_intern_locale_data): Use
714 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
715 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
716 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
717 obstack data is appropriately aligned.
718 (obstack_int32_grow_fast): Likewise.
719 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
720 * locale/programs/locfile.c (add_locale_uint32): Likewise.
721 (add_locale_uint32_array): Likewise.
723 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
725 * benchtests/Makefile: Remove ARGLIST and RET variables.
726 ($(objpfx)bench-%.c): Pass only function name to the script.
727 * benchtests/README: Update documentation.
728 * benchtests/acos-inputs: Add new directives.
729 * benchtests/acosh-inputs: Likewise.
730 * benchtests/asin-inputs: Likewise.
731 * benchtests/asinh-inputs: Likewise.
732 * benchtests/atan-inputs: Likewise.
733 * benchtests/atanh-inputs: Likewise.
734 * benchtests/cos-inputs: Likewise.
735 * benchtests/cosh-inputs: Likewise.
736 * benchtests/exp-inputs: Likewise.
737 * benchtests/log-inputs: Likewise.
738 * benchtests/pow-inputs: Likewise.
739 * benchtests/rint-inputs: Likewise.
740 * benchtests/sin-inputs: Likewise.
741 * benchtests/sinh-inputs: Likewise.
742 * benchtests/tan-inputs: Likewise.
743 * benchtests/tanh-inputs: Likewise.
744 * scripts/bench.pl: Add support for new directives.
746 2013-10-07 Alan Modra <amodra@gmail.com>
748 * README: Fix careless merge.
750 2013-10-05 Alan Modra <amodra@gmail.com>
752 * NEWS: Mention powerpc64le support and bugs fixed.
753 * README: Both big-endian and little-endian powerpc64 supported.
755 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
757 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
758 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
759 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
760 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
762 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
764 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
767 2013-10-04 Joseph Myers <joseph@codesourcery.com>
769 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
770 Move -mhard-float appending from
771 ports/sysdeps/powerpc/powerpc32/Makefile.
772 [$(with-fp) = yes] (ASFLAGS): Likewise.
773 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
774 * sysdeps/powerpc/nofpu: Move directory from
775 ports/sysdeps/powerpc/nofpu.
776 * sysdeps/powerpc/soft-fp: Move directory from
777 ports/sysdeps/powerpc/soft-fp.
778 * sysdeps/powerpc/powerpc32/405: Move directory from
779 ports/sysdeps/powerpc/powerpc32/405.
780 * sysdeps/powerpc/powerpc32/440: Move directory from
781 ports/sysdeps/powerpc/powerpc32/440.
782 * sysdeps/powerpc/powerpc32/464: Move directory from
783 ports/sysdeps/powerpc/powerpc32/464.
784 * sysdeps/powerpc/powerpc32/476: Move directory from
785 ports/sysdeps/powerpc/powerpc32/476.
786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
787 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
789 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
791 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
793 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
795 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
796 * README: Update for powerpc-*-linux-gnu software floating point
799 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
800 case to powerpc/powerpc32*.
801 * sysdeps/unix/sysv/linux/configure: Regenerated.
803 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
804 (_FPU_MASK_OM): Define as 0x04.
805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
813 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
816 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
819 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
822 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
824 * locale/iso-3166.def: Update iso-1366.def and related occurrences
826 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
828 * manual/threads.texi (Default Thread Attributes): Fix typo.
830 2013-10-04 Will Newton <will.newton@linaro.org>
832 * malloc/Makefile: Add tst-memalign.
833 * malloc/tst-memalign.c: New file.
835 * malloc/tst-posix_memalign.c: Add comments.
836 (do_test): Add comments and call free on all potentially
837 allocated pointers. Add space after cast.
839 * malloc/tst-pvalloc.c: Add comments.
840 (do_test): Add comments and call free on all potentially
841 allocated pointers. Remove duplicate check for NULL pointer.
842 Add space after cast.
844 * malloc/tst-valloc.c: Add comments.
845 (do_test): Add comments and call free on all potentially
846 allocated pointers. Remove duplicate check for NULL pointer.
847 Add space after cast.
849 2013-10-04 Alan Modra <amodra@gmail.com>
851 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
852 Use stdint types in rather than __attribute__((mode())).
853 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
855 2013-10-04 Alan Modra <amodra@gmail.com>
857 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
858 Correct handling of unaligned relocs for little-endian.
859 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
861 2013-10-04 Alan Modra <amodra@gmail.com>
863 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
864 * configure: Regenerate.
865 * nptl/shlib-versions: Powerpc*le starts at 2.18.
866 * shlib-versions: Likewise.
868 2013-10-04 Alan Modra <amodra@gmail.com>
870 * string/tester.c (test_memrchr): Increment reported test cycle.
872 2013-10-04 Alan Modra <amodra@gmail.com>
874 * string/test-memcpy.c (do_one_test): When reporting errors, print
875 string address and don't overrun end of string.
877 2013-10-04 Alan Modra <amodra@gmail.com>
879 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
880 insrdi. Make better use of reg selection to speed exit slightly.
881 Schedule entry path a little better. Remove useless "are we done"
882 checks on entry to main loop. Handle wrapping around zero address.
883 Correct main loop count. Handle single left-over word from main
884 loop inline rather than by using loop_small. Remove extra word
885 case in loop_small caused by wrong loop count. Add little-endian
887 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
888 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
890 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
891 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
892 support. Avoid rlwimi.
893 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
895 2013-10-04 Alan Modra <amodra@gmail.com>
897 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
899 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
900 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
901 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
902 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
903 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
904 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
906 2013-10-04 Alan Modra <amodra@gmail.com>
908 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
909 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
910 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
911 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
912 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
913 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
914 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
915 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
916 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
917 use of regs. Use power7 mtocrf. Tidy function tails.
919 2013-10-04 Alan Modra <amodra@gmail.com>
921 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
922 Formatting. Consistently use rXXX register defines or rN defines.
923 Use early exit labels that avoid restoring unused non-volatile regs.
924 Make cr field use more consistent with rWORDn compares. Rename
925 regs used as shift registers for unaligned loop, using rN defines
926 for short lifetime/multiple use regs.
927 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
928 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
929 addi 1,1,64 to pop stack frame. Simplify return value code.
930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
932 2013-10-04 Alan Modra <amodra@gmail.com>
934 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
935 support. Correct typos, formatting. Optimize tail. Use insrdi
937 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
938 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
939 little-endian support. Correct typos.
940 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
942 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
943 in loop and entry code to keep "and." results.
944 (strchr): Add little-endian support. Comment. Move cntlzd
946 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
948 2013-10-04 Alan Modra <amodra@gmail.com>
950 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
951 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
952 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
953 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
955 2013-10-04 Alan Modra <amodra@gmail.com>
957 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
958 (rTMP): Define as r11.
959 (strcmp): Add little-endian support. Optimise tail.
960 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
961 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
962 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
963 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
964 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
965 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
968 2013-10-04 Alan Modra <amodra@gmail.com>
970 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
971 little-endian support. Remove unnecessary "are we done" tests.
972 Handle "s" wrapping around zero and extremely large "size".
973 Correct main loop count. Handle single left-over word from main
974 loop inline rather than by using small_loop. Correct comments.
975 Delete "zero" tail, use "end_max" instead.
976 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
978 2013-10-04 Alan Modra <amodra@gmail.com>
980 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
981 support. Don't branch over align.
982 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
983 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
984 support. Rearrange tmp reg use to suit. Comment.
985 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
987 2013-10-04 Alan Modra <amodra@gmail.com>
989 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
991 2013-10-04 Alan Modra <amodra@gmail.com>
993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
994 conditional form of branch and link when obtaining pc.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
997 2013-10-04 Alan Modra <amodra@gmail.com>
999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1004 2013-10-04 Alan Modra <amodra@gmail.com>
1006 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1007 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1008 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1009 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1010 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1011 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1012 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1013 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1014 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1015 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1017 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1018 Alistair Popple <alistair@ozlabs.au.ibm.com>
1019 Alan Modra <amodra@gmail.com>
1022 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1023 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1024 _dl_hwcap access for little-endian.
1025 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1026 destroy vmx regs when saving unaligned.
1027 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1028 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1029 destroy vmx regs when saving unaligned.
1031 2013-10-04 Alan Modra <amodra@gmail.com>
1033 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1034 Don't use a union to pack hi/low value.
1036 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1038 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1040 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1041 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1042 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1043 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1044 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1046 2013-10-04 Alan Modra <amodra@gmail.com>
1048 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1049 constants to usual value for .cst8 section, and remove redundant
1051 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1052 constant for 0x1p52. Load little-endian words of double from
1053 correct stack offsets.
1055 2013-10-04 Alan Modra <amodra@gmail.com>
1057 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1058 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1059 words of double from correct stack offsets.
1060 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1061 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1062 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1063 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1064 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1065 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1066 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1067 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1068 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1069 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1070 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1071 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1072 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1073 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1074 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1075 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1076 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1078 2013-10-04 Alan Modra <amodra@gmail.com>
1080 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1081 64-bit int/double union.
1082 (_FPU_SETCW): Likewise.
1083 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1084 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1086 2013-10-04 Alan Modra <amodra@gmail.com>
1088 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1089 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1091 2013-10-04 Alan Modra <amodra@gmail.com>
1093 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1094 use vector int constants.
1095 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1097 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1099 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1100 array with long long.
1101 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1102 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1103 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1104 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1105 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1106 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1107 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1108 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1109 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1110 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1111 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1112 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1113 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1115 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1117 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1118 (__signbit): Likewise. Correct for little-endian.
1119 (__signbitl): Call __signbit.
1120 (lrint): Correct for little-endian.
1121 (lrintf): Call lrint.
1123 2013-10-04 Alan Modra <amodra@gmail.com>
1125 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1126 union 32-bit int array member with 64-bit int array.
1127 (t515, tm256): Double rather than long double.
1128 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1130 2013-10-04 Alan Modra <amodra@gmail.com>
1132 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1134 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1135 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1136 version of math_ldbl.h.
1138 2013-10-04 Alan Modra <amodra@gmail.com>
1140 [BZ #15734], [BZ #15735]
1141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1142 all uses of ieee875 long double macros and unions. Simplify test
1143 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1144 ldbl_extract_mantissa value for ix,iy exponents. Properly
1145 normalize after ldbl_extract_mantissa, and don't add hidden bit
1146 already handled. Don't treat low word of ieee854 mantissa like
1147 low word of IBM long double and mask off bit when testing for
1149 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1150 all uses of ieee875 long double macros and unions. Simplify tests
1151 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1152 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1153 two1022, instead use their values. Recognise that tests for large
1154 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1155 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1156 Rewrite all uses of ieee875 long double macros and unions. Simplify
1157 test for 0.0L and nan. Correct negation.
1158 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1159 ieee875 long double macros and unions. Correct output for large
1160 magnitude x. Correct absolute value calculation.
1161 (__erfcl): Likewise.
1162 * math/libm-test.inc: Add tests for errors discovered in IBM long
1163 double versions of fmodl, remainderl, erfl and erfcl.
1165 2013-10-04 Alan Modra <amodra@gmail.com>
1167 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1168 all uses of ieee854 long double macros and unions. Simplify tests
1169 for long doubles that are fully specified by the high double.
1170 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1172 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1173 Remove dead code too.
1174 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1175 (__ieee754_ynl): Likewise.
1176 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1177 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1179 Remove dead code too.
1180 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1181 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1182 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1183 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1185 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1187 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1188 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1189 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1190 Comment on variable precision.
1191 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1192 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1194 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1195 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1196 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1197 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1198 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1200 2013-10-04 Alan Modra <amodra@gmail.com>
1202 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1203 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1204 all uses of ieee854 long double macros and unions.
1205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1207 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1208 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1209 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1210 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1212 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1214 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1215 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1216 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1217 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1218 Simplify sign and nan test too.
1219 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1220 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1221 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1222 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1224 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1225 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1227 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1228 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1229 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1230 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1231 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1234 2013-10-04 Alan Modra <amodra@gmail.com>
1236 * stdio-common/printf_size.c (__printf_size): Don't use
1237 union ieee854_long_double in fpnum union.
1238 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1239 signbit macro to retrieve sign from long double.
1240 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1241 retrieve sign from long double.
1242 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1243 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1244 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1245 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1246 * math/test-misc.c (main): Don't use union ieee854_long_double.
1248 2013-10-04 Alan Modra <amodra@gmail.com>
1251 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1252 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1253 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1254 calculation. Remove unnecessary test for denormal exponent.
1255 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1256 Correct handling of denormals. Avoid undefined shift behaviour.
1257 Correct normalisation of low mantissa when low double is denormal.
1258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1259 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1260 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1261 Correct normalisation of low mantissa. Test for overflow of high
1262 mantissa and normalise.
1263 (ldbl_nearbyint): Use more readable constant for two52.
1264 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1265 (__mpn_construct_long_double): Fix test for overflow of high
1266 mantissa and correct normalisation. Avoid undefined shift.
1268 2013-10-04 Alan Modra <amodra@gmail.com>
1270 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1271 (union ibm_extended_long_double): Define as an array of ieee754_double.
1272 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1273 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1274 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1275 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1276 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1277 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1278 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1279 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1280 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1281 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1282 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1284 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1286 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1287 page size instead of calling getpagesize.
1289 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1290 (LOCFILE_ALIGN_MASK): Likewise.
1291 (LOCFILE_ALIGN_UP): Likewise.
1292 (LOCFILE_ALIGNED_P): Likewise.
1293 * locale/programs/ld-collate.c (collate_output): Use the new
1294 macros instead of __alignof__ (int32_t).
1295 * locale/weight.h (findidx): Likewise.
1297 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1300 * manual/string.texi: Fix strncat and wcsncat.
1302 2013-10-03 Brooks Moses <bmoses@google.com>
1305 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1306 * Makerules: ...here, and adjust associated comments.
1308 2013-10-02 Will Newton <will.newton@linaro.org>
1310 * malloc/Makefile: Add tst-pvalloc.
1311 * malloc/tst-pvalloc.c: New file.
1313 2013-10-02 Will Newton <will.newton@linaro.org>
1315 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1316 improve test coverage.
1318 2013-10-02 Will Newton <will.newton@linaro.org>
1320 * malloc/Makefile: Add tst-posix_memalign.
1321 * malloc/tst-posix_memalign.c: New file.
1323 2013-10-01 Eric Blake <eblake@redhat.com>
1325 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1326 Use __THROWNL rather than __THROW on static functions.
1328 2013-09-30 Petr Machata <pmachata@redhat.com>
1330 * elf/elf.h (R_AARCH64_ABS16): New macro.
1331 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1332 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1333 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1334 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1335 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1336 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1337 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1338 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1339 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1340 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1341 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1342 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1343 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1344 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1345 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1346 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1347 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1348 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1349 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1350 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1351 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1352 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1353 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1354 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1355 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1356 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1357 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1358 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1359 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1360 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1361 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1362 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1363 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1364 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1365 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1366 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1367 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1368 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1369 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1370 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1371 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1372 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1373 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1374 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1375 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1376 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1377 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1378 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1379 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1380 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1381 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1382 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1383 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1384 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1385 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1386 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1387 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1388 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1389 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1390 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1391 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1392 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1393 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1394 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1395 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1396 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1397 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1398 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1399 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1400 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1401 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1402 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1403 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1404 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1405 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1406 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1407 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1408 (R_AARCH64_TLSDESC_LDR): Likewise.
1409 (R_AARCH64_TLSDESC_ADD): Likewise.
1410 (R_AARCH64_TLSDESC_CALL): Likewise.
1412 2013-09-30 Andreas Schwab <schwab@suse.de>
1415 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1416 the nss database lookup.
1417 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1420 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1422 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1424 2013-09-28 P. J. McDermott <pj@pehjota.net>
1426 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1427 ${Bash-specific parameter/pattern/string} parameter expansion.
1428 * sysdeps/unix/make-syscalls.sh: Likewise.
1430 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1432 * sysdeps/sh/stackguard-macros.h: New file.
1434 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1438 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1439 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1440 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1441 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1443 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1445 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1446 Fix thread ID register.
1448 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1450 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1451 [POSIX || UNIX98]: Require rather than permitting all symbols from
1453 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1454 element of struct sched_param.
1455 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1456 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1457 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1458 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1461 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1463 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1464 argument calculation.
1466 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1468 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1470 [POSIX] (pthread_attr_t): Do not require type.
1471 [POSIX] (pthread_cond_t): Likewise.
1472 [POSIX] (pthread_condattr_t): Likewise.
1473 [POSIX] (pthread_key_t): Likewise.
1474 [POSIX] (pthread_mutex_t): Likewise.
1475 [POSIX] (pthread_mutexattr_t): Likewise.
1476 [POSIX] (pthread_once_t): Likewise.
1477 [POSIX] (pthread_t): Likewise.
1478 [POSIX-based standards] (pthread_atfork): Expect function.
1480 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1481 Richard Sandiford <richard@codesourcery.com>
1483 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1484 (swap_endianness_p): New extern variable.
1485 (set_big_endian): New inline function.
1486 (maybe_swap_uint32): Likewise.
1487 (maybe_swap_uint32_array): Likewise.
1488 (maybe_swap_uint32_obstack): Likewise.
1489 * locale/programs/locfile.c: Include <stdbool.h>.
1490 (swap_endianness_p): New variable.
1491 (add_locale_uint32): Call maybe_swap_uint32.
1492 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1493 (write_locale_data): Call maybe_swap_uint32_array.
1494 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1496 (obstack_int32_grow_fast): Likewise.
1497 (output_weightwc): Call maybe_swap_uint32_obstack.
1498 (collate_output): Likewise.
1499 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1500 (OPT_LITTLE_ENDIAN): Likewise.
1501 (options): Add --little-endian and --big-endian options.
1502 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1503 * locale/programs/locarchive.c: Include "locfile.h".
1507 (create_archive): Use the new macros to access fields of
1508 structures directly mapped from or written to locale archives.
1509 (oldlocrecentcmp): Likewise.
1510 (enlarge_archive): Likewise.
1511 (insert_name): Likewise.
1512 (add_alias): Likewise.
1513 (add_locale): Likewise.
1514 (delete_locales_from_archive): Likewise.
1515 (show_archive_content): Likewise.
1516 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1519 2013-09-24 Roland McGrath <roland@hack.frob.com>
1521 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1522 http://www.gnu.org/doc/freemanuals.texi.
1523 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1525 2013-09-24 Will Newton <will.newton@linaro.org>
1527 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1530 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1532 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1535 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1537 * manual/threads.texi (POSIX Threads): Fix a typo.
1539 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1542 * string/tst-strcoll-overflow.c: New test case.
1543 * string/Makefile (xtests): Add tst-strcoll-overflow.
1544 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1545 cache if string sizes may cause integer overflow.
1548 * string/strcoll_l.c (coll_seq): New members rule, idx,
1549 save_idx and back_us.
1550 (get_next_seq_nocache): New function.
1551 (do_compare_nocache): New function.
1552 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1555 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1558 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1559 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1560 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1563 * elf/Makefile (tests): Add tst-ptrguard1.
1564 (tests-static): Add tst-ptrguard1-static.
1565 (tst-ptrguard1-ARGS): Define.
1566 (tst-ptrguard1-static-ARGS): Define.
1567 * elf/tst-ptrguard1.c: New file.
1568 * elf/tst-ptrguard1-static.c: New file.
1569 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1570 * sysdeps/i386/stackguard-macros.h: Likewise.
1571 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1572 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1573 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1574 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1575 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1576 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1578 2013-09-23 Hector Marco <hecmargi@upv.es>
1579 Ismael Ripoll <iripoll@disca.upv.es>
1580 Carlos O'Donell <carlos@redhat.com>
1583 * sysdeps/generic/stackguard-macros.h: Define
1584 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1585 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1586 Define __pointer_chk_guard_local.
1587 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1588 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1590 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1593 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1595 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1597 * include/string.h (__ffs): Declare as hidden.
1598 * string/ffs.c (__ffs): Define as hidden.
1599 * sysdeps/i386/ffs.c (__ffs): Likewise.
1600 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1601 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1602 * sysdeps/s390/ffs.c (__ffs): Likewise.
1603 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1605 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1607 * NEWS: Mention malloc probes.
1609 * malloc/arena.c (new_heap): New memory_heap_new probe.
1610 (grow_heap): New memory_heap_more probe.
1611 (shrink_heap): New memory_heap_less probe.
1612 (heap_trim): New memory_heap_free probe.
1613 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1614 (systrim): New memory_sbrk_less probe.
1615 * manual/probes.texi: Document them.
1617 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1618 * manual/probes.texi: Document it.
1620 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1621 (__libc_realloc): Add memory_realloc_retry probe.
1622 (__libc_memalign): Add memory_memalign_retry probe.
1623 (__libc_valloc): Add memory_valloc_retry probe.
1624 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1625 (__libc_calloc): Add memory_calloc_retry probe.
1626 * manual/probes.texi: Document them.
1628 * malloc/arena.c (get_free_list): Add probe
1629 memory_arena_reuse_free_list.
1630 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1631 and memory_arena_reuse.
1632 (arena_get2) [!PER_THREAD]: Likewise.
1633 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1634 memory_arena_reuse_realloc.
1635 * manual/probes.texi: Document them.
1637 * malloc/malloc.c (__libc_free): Add
1638 memory_mallopt_free_dyn_thresholds probe.
1639 (__libc_mallopt): Add multiple memory_mallopt probes.
1640 * manual/probes.texi: Document them.
1642 * malloc/malloc.c: Include stap-probe.h.
1643 (__libc_mallopt): Add memory_mallopt probe.
1644 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1645 * manual/probes.texi: New.
1646 * manual/Makefile (chapters): Add probes.
1647 * manual/threads.texi: Set next node.
1649 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1652 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1653 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1654 Add `Chinese' to `nan' entry name.
1656 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1658 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1659 (POLYNOMIAL): Likewise.
1660 (TAYLOR_SINCOS): Likewise.
1661 (TAYLOR_SLOW): Likewise.
1662 (__sin): Use TAYLOR_SINCOS.
1664 (slow): Use TAYLOR_SLOW.
1669 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1671 * stdlib/strtod_l.c: Fix buffer overrun.
1673 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1675 * benchtests/Makefile (bench): Add sincos.
1676 * benchtests/bench-sincos.c: New file.
1678 * math/libm-test.inc (cos_test_data): New test inputs.
1679 (sin_test_data): Likewise.
1681 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1689 (bsloww1): Likewise.
1690 (bsloww2): Likewise.
1692 (csloww1): Likewise.
1693 (csloww2): Likewise.
1695 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1704 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1706 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1707 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1708 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1709 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1710 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1711 * elf/cache.c (print_entry): Handle the new cache flags.
1713 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1714 Aldy Hernandez <aldyh@redhat.com>
1716 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1717 Change condition to [_SOFT_FLOAT].
1718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1730 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1733 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1736 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1738 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1739 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1740 (__longjmp): Use LOAD_GP to load saved GPRs.
1741 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1742 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1743 (__sigsetjmp): Use SAVE_GP to save GPRs.
1745 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1746 Do not append -msoft-float.
1747 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1749 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1751 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1753 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1756 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1757 (_FPU_GETCW): Use initial "__" on variable and field names but not
1758 on macro parameter name.
1759 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1760 parentheses around reference to macro parameter.
1762 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1764 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1766 (ctype_startup): Use uint32_t in cast and sizeof for
1769 2013-09-11 Jia Liu <proljc@gmail.com>
1771 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1773 [__FreeBSD__]: Likewise.
1775 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1777 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1778 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1779 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1780 (strchr): Remove __strchr_sse42 ifunc selection.
1781 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1782 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1784 2013-09-11 Will Newton <will.newton@linaro.org>
1786 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1787 parameter to RES. Remove hardcoded 1000 value.
1788 * benchtests/bench-skeleton.c (main): Pass RES parameter
1789 to TIMING_INIT and multiply result by 1000.
1791 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1795 2013-09-11 Andreas Schwab <schwab@suse.de>
1797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1799 (O_TMPFILE) [__USE_GNU]: Define.
1800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1803 2013-09-11 Will Newton <will.newton@linaro.org>
1806 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1809 2013-09-11 Will Newton <will.newton@linaro.org>
1812 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1815 2013-09-11 Will Newton <will.newton@linaro.org>
1818 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1821 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1823 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1824 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1825 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1826 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1827 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1829 2013-09-10 Allan McRae <allan@archlinux.org>
1832 * manual/arith.texi (Parsing of Floats): Clarify
1836 * manual/install.texi (Running make install): Mention
1838 * INSTALL: Regenerated.
1840 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1842 * csu/init-first.c (_init): Remove the !SHARED condition around
1843 FPU control word initialization.
1844 * elf/dl-support.c (_dl_fpu_control): New variable.
1845 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1846 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1847 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1848 * math/test-fpucw-static.c: New file.
1849 * math/test-fpucw-ieee.c: New file.
1850 * math/test-fpucw-ieee-static.c: New file.
1851 * math/Makefile (tests): Add `test-fpucw-ieee' and
1853 (tests-static): New variable.
1854 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1856 [($(build-shared),yes)]
1857 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1859 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1862 2013-09-09 Allan McRae <allan@archlinux.org>
1865 * manual/string.texi (Collation Functions): Fix typo in
1867 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1870 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1873 * libio/memstream.c (open_memstream): Fix memory leak.
1874 * libio/wmemstream.c (open_wmemstream): Likewise.
1877 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1879 2013-09-09 Will Newton <will.newton@linaro.org>
1881 * malloc/Makefile: Add tst-realloc to tests.
1882 * malloc/tst-realloc.c: New file.
1884 2013-09-09 Allan McRae <allan@archlinux.org>
1887 * COPYING: Update from GNU website to fix FSF address.
1888 * COPYING.LIB: Likewise.
1890 2013-09-06 David S. Miller <davem@davemloft.net>
1892 * po/zh_TW.po: Update Chinese (traditional) translation from
1893 translation project.
1895 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1896 Joseph Myers <joseph@codesourcery.com>
1898 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1900 (obstack_chunk_alloc): New macro.
1901 (obstack_chunk_free): Likewise.
1902 (record_offset): New function.
1903 (init_locale_data): Likewise.
1904 (align_locale_data): Likewise.
1905 (add_locale_empty): Likewise.
1906 (add_locale_raw_data): Likewise.
1907 (add_locale_raw_obstack): Likewise.
1908 (add_locale_string): Likewise.
1909 (add_locale_wstring): Likewise.
1910 (add_locale_uint32): Likewise.
1911 (add_locale_uint32_array): Likewise.
1912 (add_locale_char): Likewise.
1913 (start_locale_structure): Likewise.
1914 (end_locale_structure): Likewise.
1915 (start_locale_prelude): Likewise.
1916 (end_locale_prelude): Likewise.
1917 (write_locale_data): Take locale_file structure rather than an
1919 * locale/programs/locfile.h: Include "obstack.h".
1920 (struct locale_file): Change to store locale file contents instead
1922 (init_locale_data): New prototype.
1923 (align_locale_data): Likewise.
1924 (add_locale_empty): Likewise.
1925 (add_locale_raw_data): Likewise.
1926 (add_locale_raw_obstack): Likewise.
1927 (add_locale_string): Likewise.
1928 (add_locale_wstring): Likewise.
1929 (add_locale_uint32): Likewise.
1930 (add_locale_uint32_array): Likewise.
1931 (add_locale_char): Likewise.
1932 (start_locale_structure): Likewise.
1933 (end_locale_structure): Likewise.
1934 (start_locale_prelude): Likewise.
1935 (end_locale_prelude): Likewise.
1936 (write_locale_data): Update prototype.
1937 * locale/programs/3level.h (struct TABLE): Remove result field.
1938 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1939 Use new locale_file interface.
1940 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1941 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1942 * locale/programs/ld-address.c (address_output): Use new
1943 locale_file interface.
1944 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1946 (collate_finish): Don't call collseq_table_finalize.
1947 (collate_output): Use new locale_file interface.
1948 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1950 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1951 (TABLE): Move defines earlier in file.
1952 (ELEMENT): Likewise.
1953 (DEFAULT): Likewise.
1954 (wctrans_table_add): Move macro and inline function earlier in
1956 (struct wctype_table): Move type earlier in file.
1957 (add_locale_wctype_table): New static prototype.
1958 (struct locale_ctype_t): Use logical types instead of struct iovec
1959 pointers for members.
1960 (ctype_output): Use new locale_file interface.
1961 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1962 new locale_file interface.
1963 (allocate_arrays): Update for use of new locale_file interface.
1964 * locale/programs/ld-identification.c (identification_output): Use
1965 new locale_file interface.
1966 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1967 * locale/programs/ld-messages.c (messages_output): Likewise.
1968 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1969 * locale/programs/ld-name.c (name_output): Likewise.
1970 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1971 * locale/programs/ld-paper.c (paper_output): Likewise.
1972 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1973 * locale/programs/ld-time.c (time_output): Likewise.
1975 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1977 * benchtests/Makefile: Add memrchr benchmark.
1978 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1979 benchmark as memrchr.
1980 * benchtests/bench-memrchr-ifunc.c: New file.
1981 * benchtests/bench-memrchr.c: New file.
1983 2013-09-06 Will Newton <will.newton@linaro.org>
1985 * benchtests/Makefile (string-bench): Add memcpy.
1987 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1988 Cong Wang <amwang@redhat.com>
1990 * sysdeps/unix/sysv/linux/bits/in.h
1991 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1992 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1993 before __USE_KERNEL_IPV6_DEFS uses.
1994 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1996 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1997 sockaddr_in6, or ipv6_mreq.
1999 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2001 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2002 memory access for final bytes in some large inputs.
2003 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2005 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007 * string/test-memrchr.c: New file.
2008 * string/test-memrchr-ifunc.c: New file.
2009 * string/Makefile: Add new memrchr testcase.
2011 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2013 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2014 fanotify_init returns EPERM.
2016 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2018 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2020 (top level): Treat second token from macro or constant entries for
2021 allowed headers as allowed.
2022 * include/complex.h: Condition internal declarations on
2024 * include/fenv.h: Condition include of <stdbool.h> and internal
2025 declarations on [!_ISOMAC].
2027 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2030 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2032 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2034 * configure.in (--enable-versioning): Remove configure option.
2035 (libc_cv_asm_symver_directive): Remove configure test.
2036 (libc_cv_ld_version_script_option): Likewise.
2037 (VERSIONING): Remove variable and AC_SUBST.
2038 (DO_VERSIONING): Remove AC_DEFINE.
2039 * configure: Regenerated.
2040 * config.h.in (DO_VERSIONING): Remove macro.
2041 * Makerules [$(versioning) = yes]: Change conditionals to
2042 [$(build-shared) = yes].
2043 * config.make.in (versioning): Remove variable.
2044 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2045 [$(build-shared) = yes].
2046 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2047 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2048 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2049 [$(build-shared) = yes].
2050 * extra-lib.mk [$(versioning) = yes]: Likewise.
2051 * hurd/Makefile [$(versioning) = yes]: Likewise.
2052 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2054 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2056 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2057 [SHARED && !NO_HIDDEN].
2058 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2060 [SHARED && DO_VERSIONING]: Likewise..
2061 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2062 [$(build-shared) = yes].
2063 * manual/install.texi (--disable-versioning): Remove
2065 * INSTALL: Regenerated.
2066 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2068 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2069 [$(build-shared) = yes].
2070 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2071 * sysdeps/i386/i686/multiarch/strstr-c.c
2072 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2073 [SHARED && !NO_HIDDEN].
2074 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2075 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2076 * sysdeps/powerpc/powerpc32/dl-machine.c
2077 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2078 * sysdeps/powerpc/powerpc32/sysdep.h
2079 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2080 to [SHARED && PIC && !NO_HIDDEN].
2081 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2082 conditional to [SHARED].
2084 2013-09-04 Will Newton <will.newton@linaro.org>
2086 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2087 * benchtests/bench-string.h: Include bench-timing.h instead
2088 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2089 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2090 call to HP_TIMING_DIFF_INIT.
2091 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2092 instead of hp-timing.h macros.
2093 * benchtests/bench-memchr.c: Likewise.
2094 * benchtests/bench-memcmp.c: Likewise.
2095 * benchtests/bench-memcpy.c: Likewise.
2096 * benchtests/bench-memmem.c: Likewise.
2097 * benchtests/bench-memmove.c: Likewise.
2098 * benchtests/bench-memset.c: Likewise.
2099 * benchtests/bench-rawmemchr.c: Likewise.
2100 * benchtests/bench-strcasecmp.c: Likewise.
2101 * benchtests/bench-strcasestr.c: Likewise.
2102 * benchtests/bench-strcat.c: Likewise.
2103 * benchtests/bench-strchr.c: Likewise.
2104 * benchtests/bench-strcmp.c: Likewise.
2105 * benchtests/bench-strcpy.c: Likewise.
2106 * benchtests/bench-strcpy_chk.c: Likewise.
2107 * benchtests/bench-strlen.c: Likewise.
2108 * benchtests/bench-strncasecmp.c: Likewise.
2109 * benchtests/bench-strncat.c: Likewise.
2110 * benchtests/bench-strncmp.c: Likewise.
2111 * benchtests/bench-strncpy.c: Likewise.
2112 * benchtests/bench-strnlen.c: Likewise.
2113 * benchtests/bench-strpbrk.c: Likewise.
2114 * benchtests/bench-strrchr.c: Likewise.
2115 * benchtests/bench-strspn.c: Likewise.
2116 * benchtests/bench-strstr.c: Likewise.
2118 2013-09-04 Will Newton <will.newton@linaro.org>
2120 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2122 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2125 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2126 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2127 * math/libm-test.inc (lgamma_test_data): Add more tests.
2128 * sysdeps/i386/fpu/libm-test-ulps: Update.
2129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2131 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2133 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2134 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2137 Add strcmp-sse2-unaligned
2138 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2140 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2142 * Versions.def (libc): Add GLIBC_2.19.
2144 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2146 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2147 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2149 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2152 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2153 intermediate calculations in recurrence.
2154 (__ieee754_ynf): Likewise.
2155 * math/libm-test.inc (jn_test_data): Do not allow spurious
2156 underflow exception. Add more tests.
2157 (yn_test_data): Add more tests.
2158 * sysdeps/i386/fpu/libm-test-ulps: Update.
2159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2161 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2163 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2165 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2167 * csu/init-first.c: Fix then/than typos.
2168 * locale/programs/ld-collate.c: Likewise.
2169 * locale/programs/linereader.h: Likewise.
2170 * manual/charset.texi: Likewise.
2171 * manual/filesys.texi: Likewise.
2172 * manual/stdio.texi: Likewise.
2173 * manual/string.texi: Likewise.
2174 * stdlib/fmtmsg.c: Likewise.
2175 * sysdeps/i386/stpncpy.S: Likewise.
2176 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2177 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2178 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2179 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2181 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2183 * elf/dl-open.c: Fix typos.
2184 * iconvdata/gbbig5.c: Likewise.
2185 * iconvdata/iso-2022-jp.c: Likewise.
2186 * iconv/gconv_int.h: Likewise.
2187 * iconv/loop.c: Likewise.
2188 * nis/rpcsvc/nis.h: Likewise.
2189 * resolv/ns_name.c: Likewise.
2190 * stdio-common/vfscanf.c: Likewise.
2191 * streams/stropts.h: Likewise.
2192 * sunrpc/rpc_thread.c: Likewise.
2193 * sysdeps/i386/strpbrk.S: Likewise.
2194 * sysdeps/ieee754/k_standard.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2197 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2198 * sysdeps/mach/hurd/profil.c: Likewise.
2199 * sysdeps/s390/dl-procinfo.h: Likewise.
2200 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2201 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2202 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2203 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2206 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2208 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2211 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2213 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2215 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2216 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2217 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2218 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2219 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2221 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2222 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2224 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2225 Roland McGrath <roland@hack.frob.com>
2227 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2228 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2230 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2232 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2233 __executable_start symbol instead of _start.
2235 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2237 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2238 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2240 * sysdeps/gnu/ldsodefs.h: ... this new file.
2242 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2243 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2244 instead of ELFOSABI_LINUX.
2246 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2247 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2248 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2249 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2251 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2252 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2253 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2255 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2256 (ibm_extended_long_double): Add ieee_nan member.
2257 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2258 (do_test): New function.
2260 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2262 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2263 functions, renamed from truncdfsf_test, trunctfsf_test,
2265 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2267 (do_test): Run all these.
2269 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2271 * argp/argp-help.c: Fix typos.
2272 * argp/argp-parse.c: Likewise.
2273 * debug/backtracesyms.c: Likewise.
2274 * elf/elf.h: Likewise.
2275 * malloc/malloc.c: Likewise.
2276 * nis/nis_print.c: Likewise.
2277 * resolv/res_comp.c: Likewise.
2278 * stdlib/stdlib.h: Likewise.
2279 * sunrpc/clnt_tcp.c: Likewise.
2280 * sunrpc/clnt_udp.c: Likewise.
2281 * sunrpc/clnt_unix.c: Likewise.
2282 * sysdeps/unix/bsd/ptsname.c: Likewise.
2283 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2284 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2291 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2293 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2295 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2298 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2301 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2302 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2303 ($(objpfx)bug-dl-leaf): New rule.
2304 ($(objpfx)bug-dl-leaf.so): Likewise.
2305 ($(objpfx)bug-dl-leaf.out): Likewise.
2306 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2307 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2308 * dlfcn/bug-dl-leaf.c: New test.
2309 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2310 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2311 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2312 (dlclose): Likewise.
2313 (dlmopen): Likewise.
2315 2013-08-27 Roland McGrath <roland@hack.frob.com>
2317 * include/netdb.h [!_ISOMAC]:
2318 Don't include <tls.h>.
2319 (h_errno, __libc_h_errno): Move declaration and macros out of
2322 * include/resolv.h [_RESOLV_H_]:
2323 Don't include <tls.h>.
2324 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2325 * resolv/res_libc.c: Don't include <tls.h>.
2326 (_res): Use __attribute__ ((nocommon)) in place of
2327 __attribute__ ((section (".bss"))).
2329 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2330 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2332 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2334 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2335 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2337 * resolv/res_mkquery.c: Include <sys/time.h>.
2339 * inet/ifreq.c: Moved to ...
2340 * sysdeps/unix/ifreq.c: ... here.
2341 * inet/ifreq.c: New file, true stub version.
2343 * socket/sa_len.c: New file.
2344 * socket/Makefile (aux): Add it.
2345 * sysdeps/unix/sysv/linux/Makefile
2346 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2347 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2348 and #include <socket/sa_len.c>.
2349 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2350 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2352 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2353 * bits/socket.h: ... here.
2355 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2356 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2357 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2359 2013-08-27 Andreas Schwab <schwab@suse.de>
2362 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2363 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2364 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2365 * string/test-strcasecmp.c (test_main): Run tests in several
2367 * string/test-strncasecmp.c (test_main): Likewise.
2369 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2370 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2371 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2373 (__strncasecmp_ssse3) [PIC]: Likewise.
2375 2013-08-26 Roland McGrath <roland@hack.frob.com>
2377 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2379 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2380 instead of explicitly declaring xdecrypt.
2381 * nis/nss_nis/nis-publickey.c: Likewise.
2383 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2386 * nscd/aicache.c: Include res_hconf.h.
2387 (addhstaiX): Initialize res_hconf.
2389 2013-08-26 Andreas Schwab <schwab@suse.de>
2391 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2392 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2394 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2396 * nscd/aicache.c (addhstaiX): Fix indentation.
2398 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2400 * configure.ac: Quote $build_pt_chown test.
2401 * configure: Regenerated.
2403 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2406 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2407 * math/s_cexpf.c (__cexpf): Likewise.
2408 * math/s_cexpl.c (__cexpl): Likewise.
2409 * math/libm-test.inc (cexp_test_data): Correct expected return
2410 value for NaN + i0. Add another test.
2412 2013-08-22 David S. Miller <davem@davemloft.net>
2414 * po/ca.po: Update Catalan translation from translation project.
2415 * po/uk.po: Add Ukrainian translations from translation project.
2417 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2420 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2421 is infinite, not alongside NaN test.
2422 * math/s_fdimf.c (__fdimf): Likewise.
2423 * math/s_fdiml.c (__fdiml): Likewise.
2424 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2427 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2429 * argp/argp-help.c: Fix typos.
2430 * crypt/speeds.c: Likewise.
2431 * csu/check_fds.c: Likewise.
2432 * elf/dl-load.c: Likewise.
2433 * elf/dl-open.c: Likewise.
2434 * elf/reldep3.c: Likewise.
2435 * elf/reldep.c: Likewise.
2436 * elf/sprof.c: Likewise.
2437 * iconv/iconv_charmap.c: Likewise.
2438 * iconv/skeleton.c: Likewise.
2439 * iconv/strtab.c: Likewise.
2440 * io/lockf64.c: Likewise.
2441 * libio/libioP.h: Likewise.
2442 * resolv/gai_notify.c: Likewise.
2443 * resolv/ns_name.c: Likewise.
2444 * resolv/ns_samedomain.c: Likewise.
2445 * resolv/res_send.c: Likewise.
2446 * stdlib/random.c: Likewise.
2447 * sunrpc/rpc/xdr.h: Likewise.
2448 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2450 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2451 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2452 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2453 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2455 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2456 * sysdeps/mach/hurd/check_fds.c: Likewise.
2457 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2458 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2459 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2460 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2461 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2463 * sysdeps/pthread/aio_notify.c: Likewise.
2464 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2465 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2466 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2467 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2468 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2470 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2472 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2473 version if bit_Slow_SSE4_2 is set.
2474 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2475 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2477 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2480 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2481 trampoline stack frame information.
2482 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2483 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2484 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2485 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2486 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2487 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2488 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2489 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2491 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2492 interrupting a syscall and set with option SA_SIGINFO.
2494 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2497 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2498 argument is infinite.
2499 * math/s_cprojf.c (__cprojf): Likewise.
2500 * math/s_cprojl.c (__cprojl): Likewise.
2501 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2502 * math/libm-test.inc (cproj_test_data): Add more tests.
2504 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2506 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2507 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2508 size. Use __ffs to determine corresponding shift.
2510 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2511 Roland McGrath <roland@hack.frob.com>
2513 * Makefile (INSTALL): Remove trailing blank lines from output of
2516 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2518 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2519 Align 32 bit compat elf_greg to 8 bytes.
2521 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2523 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2525 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2527 * string/strcoll_l.c (coll_seq): New structure.
2528 (get_next_seq_cached): New function.
2529 (get_next_seq): New function.
2530 (do_compare): New function.
2531 (STRCOLL): Use GNU style definition. Simplify implementation
2532 by using get_next_seq, get_next_seq_cached and do_compare.
2534 2013-08-16 Florian Weimer <fweimer@redhat.com>
2538 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2540 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2542 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2543 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2544 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2546 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2547 GETDENTS_64BIT_ALIGNED.
2548 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2549 * manual/filesys.texi (Reading/Closing Directory): Document
2550 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2552 * manual/conf.texi (Limits for Files): Add portability note to
2554 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2556 2013-08-13 Andreas Schwab <schwab@suse.de>
2559 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2561 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2562 LDBL_MAX_EXP >= 16384]: Add tests for it.
2564 2013-08-12 David S. Miller <davem@davemloft.net>
2566 * version.h (RELEASE): Set to "development".
2567 (VERSION): Set to "2.18.90".
2568 * NEWS: Add 2.19 section.
2570 2013-08-03 David S. Miller <davem@davemloft.net>
2572 * po/ko.po: Update Korean translation from translation project.
2574 2013-08-01 David S. Miller <davem@davemloft.net>
2576 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2577 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2580 2013-07-30 David S. Miller <davem@davemloft.net>
2582 * po/fr.po: Update French translation from translation project.
2584 2013-07-28 David S. Miller <davem@davemloft.net>
2586 * po/cs.po: Update Czech translation from translation project.
2588 * po/sv.po: Update Swedish translation from translation project.
2590 2013-07-27 David S. Miller <davem@davemloft.net>
2592 * po/eo.po: Update Esperanto translation from translation project.
2594 * po/vi.po: Update Vietnamese translation from translation project.
2596 * po/de.po: Update German translation from translation project.
2598 2013-07-26 David S. Miller <davem@davemloft.net>
2600 * po/bg.po: Update Bulgarian translation from translation project.
2602 * po/nl.po: Update Dutch translation from translation project.
2603 * po/pl.po: Update Polish translation from translation project.
2604 * po/ru.po: Update Russian translation from translation project.
2606 2013-07-24 David S. Miller <davem@davemloft.net>
2608 * po/libc.pot: Update.
2610 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2612 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2614 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2615 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2616 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2618 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2620 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2622 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2623 Andreas Schwab <schwab@suse.de>
2624 Roland McGrath <roland@hack.frob.com>
2625 Joseph Myers <joseph@codesourcery.com>
2626 Carlos O'Donell <carlos@redhat.com>
2629 * config.h.in: Define HAVE_PT_CHOWN.
2630 * config.make.in (build-pt-chown): New variable.
2631 * configure.in (--enable-pt_chown): New configure option.
2632 * configure: Regenerate.
2633 * login/Makefile: Include Makeconfig. Build pt_chown only if
2634 build-pt-chown is enabled.
2635 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2636 pt_chown to fix pty ownership.
2637 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2639 * manual/install.texi (Configuring and compiling): Mention
2640 --enable-pt_chown. Add @findex for grantpt.
2641 * INSTALL: Regenerate.
2643 2013-07-20 David S. Miller <davem@davemloft.net>
2645 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2646 difference between 32-bit and 64-bit.
2648 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2651 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2652 Avoid system header dependency with -ffreestanding.
2653 ($(objpfx)bits/syscall%d): Likewise.
2655 2013-07-13 David S. Miller <davem@davemloft.net>
2657 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2658 underflows from atanl/atan2l due to bug 15319.
2659 (casinh_test_data): Likewise.
2661 2013-07-07 David S. Miller <davem@davemloft.net>
2663 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2665 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2667 * sysdeps/i386/fpu/libm-test-ulps: Update.
2668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2670 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2672 * configure.in (--enable-lock-elision): Fix message text.
2673 * INSTALL: Regenerate.
2674 * configure: Regenerate.
2676 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2680 2013-07-03 Andreas Jaeger <aj@suse.de>
2682 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2684 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2685 (ptrace_peeksiginfo_args): Add.
2686 (__ptrace_peeksiginfo_flags): Add.
2687 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2688 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2689 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2691 2013-07-03 Allan McRae <allan@archlinux.org>
2693 * sysdeps/i386/fpu/libm-test-ulps: Update.
2695 2013-07-02 David S. Miller <davem@davemloft.net>
2697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2699 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2703 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2705 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2708 2013-07-02 Andi Kleen <ak@linux.intel.com>
2710 * config.h.in (ENABLE_LOCK_ELISION): Add.
2711 * configure.in (--enable-lock-elision): Add option.
2712 * manual/install.texi: Document --enable lock elision.
2713 * configure: Regenerate
2714 * INSTALL: Regenerate.
2716 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2718 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2719 SSE4.2 strcasecmp for libc.a.
2720 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2722 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2725 * soft-fp/op-common.h (_FP_FMA): New macro.
2726 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2727 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2728 (_FP_MUL_MEAT_1_imm): ... here.
2729 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2730 (_FP_MUL_MEAT_1_wide): ... here.
2731 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2732 (_FP_MUL_MEAT_1_hard): ... here.
2733 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2734 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2735 (_FP_MUL_MEAT_2_wide): ... here.
2736 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2737 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2738 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2739 (_FP_MUL_MEAT_2_gmp): ... here.
2740 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2741 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2742 (_FP_MUL_MEAT_4_wide): ... here.
2743 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2744 (_FP_MUL_MEAT_4_gmp): ... here.
2745 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2746 (_FP_WFRACBITS_DW_S): Likewise.
2747 (_FP_WFRACXBITS_DW_S): Likewise.
2748 (_FP_HIGHBIT_DW_S): Likewise.
2749 (FP_FMA_S): Likewise.
2750 (_FP_FRAC_HIGH_DW_S): Likewise.
2751 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2752 (_FP_WFRACBITS_DW_D): Likewise.
2753 (_FP_WFRACXBITS_DW_D): Likewise.
2754 (_FP_HIGHBIT_DW_D): Likewise.
2755 (FP_FMA_D): Likewise.
2756 (_FP_FRAC_HIGH_DW_D): Likewise.
2757 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2758 (_FP_WFRACBITS_DW_E): Likewise.
2759 (_FP_WFRACXBITS_DW_E): Likewise.
2760 (_FP_HIGHBIT_DW_E): Likewise.
2761 (FP_FMA_E): Likewise.
2762 (_FP_FRAC_HIGH_DW_E): Likewise.
2763 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2764 (_FP_WFRACBITS_DW_Q): Likewise.
2765 (_FP_WFRACXBITS_DW_Q): Likewise.
2766 (_FP_HIGHBIT_DW_Q): Likewise.
2767 (FP_FMA_Q): Likewise.
2768 (_FP_FRAC_HIGH_DW_Q): Likewise.
2769 * soft-fp/fmasf4.c: New file.
2770 * soft-fp/fmadf4.c: Likewise.
2771 * soft-fp/fmatf4.c: Likewise.
2773 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2776 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2778 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2780 (index_Slow_SSE4_2): Likewise.
2781 (index_Prefer_PMINUB_for_stringop): Likewise.
2782 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2783 bit_Slow_SSE4_2 is set.
2784 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2785 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2787 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2789 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2790 rtld_global._dl_hwcap2.
2791 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2793 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2794 POWER8 feature descriptions defined in _dl_hwcap2.
2795 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2796 string handling for POWER8 feature bits.
2797 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2798 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2799 _dl_powerpc_cap_flags.
2800 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2801 * sysdeps/powerpc/rtld-global-offsets.sym
2802 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2803 _dl_hwcap2 in the rtld_global_ro structure.
2805 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2807 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2808 hardware capabilities in support of AT_HWCAP2.
2809 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2810 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2812 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2813 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2814 explicitly the unknown a_type display mechanism is used.
2815 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2816 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2818 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2819 to macro prototype for AT_HWCAP2 support.
2820 * sysdeps/i386/dl-procinfo.h: Likewise.
2821 * sysdeps/s390/dl-procinfo.h: Likewise.
2822 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2823 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2824 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2825 return -1 for unknown a_type display fallback.
2826 * sysdeps/sparc/dl-procinfo.h: Likewise.
2827 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2828 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2830 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2832 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2833 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2835 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2838 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2839 mprotect making __stack_prot writable.
2841 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2842 Joseph Myers <joseph@codesourcery.com>
2844 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2845 as being properly aligned.
2847 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2849 * dlfcn/modstatic5.c: New file.
2850 * dlfcn/tststatic5.c: New file.
2851 * dlfcn/Makefile (tests): Add tststatic5.
2852 (tests-static): Likewise.
2853 (modules-names): Add modstatic5.
2854 (tststatic5-ENV): New variable.
2855 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2858 * elf/dl-support.c (_dl_main_map): New variable.
2859 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2860 (_dl_nns, _dl_load_adds): Set to 1.
2861 (_dl_initial_searchlist): Refer to _dl_main_map.
2862 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2863 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2864 call to _dl_get_origin.
2865 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2867 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2868 * dlfcn/modstatic3.c: New file.
2869 * dlfcn/tststatic3.c: New file.
2870 * dlfcn/tststatic4.c: New file.
2871 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2872 (tests-static): Likewise.
2873 (modules-names): Add modstatic3.
2874 (tststatic3-ENV, tststatic4-ENV): New variables.
2875 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2876 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2878 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2880 * configure.in (CC): Require GCC version 4.4 or later.
2881 * configure: Regenerated.
2882 * manual/install.texi (Tools for Compilation): Update GCC version
2884 * INSTALL: Regenerated.
2886 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2889 * string/test-memcmp.c (check2): New.
2890 (main): Call check2.
2892 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2894 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2897 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2899 (dl_open_worker) [!SHARED]: ... here.
2901 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2903 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2905 2013-06-25 Richard Henderson <rth@redhat.com>
2907 * locale/programs/locarchive.c: Include <libc-internal.h>
2909 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2911 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2912 trailing whitespace removed.
2914 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2917 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2918 * locale/programs/locarchive.c: Include libc-mmap.h.
2919 (prepare_address_space): Take two new outputs (the mmap base and len).
2920 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2922 (create_archive): Declare new mmap base and len values for
2923 prepare_address_space, and store the result in ah.
2924 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2925 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2926 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2927 Declare new mmap base and len values for
2928 prepare_address_space, and store the result in new_ah.
2929 (open_archive): Declare new mmap base and len values for
2930 prepare_address_space, and store the result in ah.
2931 (close_archive): If ah->mmap_base is not NULL, use that and
2932 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2933 * sysdeps/generic/libc-mmap.h: New file.
2935 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2937 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2938 (ALIGN_UP): Likewise.
2939 (PTR_ALIGN_DOWN): Likewise.
2940 (PTR_ALIGN_UP): Likewise.
2942 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2944 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2945 entry mapped to PPC_PLATFORM_POWER8.
2946 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2948 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2949 (_dl_string_platform): Add case for exporting platform position for
2951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2952 search path to sysdeps/powerpc/powerpc32/power8 directory.
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2954 search path to sysdeps/powerpc/powerpc64/power8 directory.
2955 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2957 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2960 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2962 * INSTALL: Regenerate.
2964 * nscd/connections.c (nscd_init): Fix comment.
2966 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2968 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2971 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2972 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2974 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2976 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2978 (DL_DST_REQ_STATIC): Remove macro.
2980 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2983 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2984 with a shift of 0 bits.
2986 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2988 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2991 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2994 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2996 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2998 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2999 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3000 accepts -fno-tree-loop-distribute-patterns.
3001 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3002 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3004 * string/memset.c (memset): Likewise.
3005 * string/test-memmove.c (simple_memmove): Disable loop transformation
3007 * string/test-memset.c (simple_memset): Likewise.
3008 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3009 * benchtests/bench-memset.c (simple_memset): Likewise.
3010 * configure: Regenerated.
3012 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3014 * math/test-misc.c (main): Ignore fesetround failure when failures
3015 of subsequent rounding tests would be ignored.
3018 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3019 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3020 * math/fegetenv.c (__fegetenv): Return 0.
3021 * math/fegetexcept.c (fegetexcept): Return 0.
3022 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3024 * math/feholdexcpt.c (feholdexcept): Return 0.
3025 * math/fesetenv.c (__fesetenv): Return 0.
3026 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3027 argument FE_TONEAREST.
3028 * math/feupdateenv.c (__feupdateenv): Return 0.
3029 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3031 2013-06-18 Roland McGrath <roland@hack.frob.com>
3033 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3034 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3035 ($(objpfx)rtld-%.os rules): Use them.
3037 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3039 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3042 2013-06-17 Roland McGrath <roland@hack.frob.com>
3044 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3045 length of target pattern, then descending length of dependency pattern.
3046 * configure.in (AWK): Require gawk 3.1.2 or newer.
3047 * manual/install.texi (Tools for Compilation): Say that we do.
3048 * configure: Regenerated.
3050 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3051 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3052 * scripts/sysd-rules.awk: ... this new script.
3053 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3054 than a glob-style pattern.
3056 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3058 * math/test-misc.c (main): Do not treat incorrectly rounded
3059 conversions as failure unless ROUNDING_TESTS passes.
3061 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3064 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3065 restore exception state around main square root computation, then
3066 check for inexactness explicitly.
3068 * math/libm-test.inc (fma_test_data): Add another test.
3070 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3072 * manual/threads.texi (Non-POSIX Extensions): New document
3073 node. Document pthread_getattr_default_np and
3074 pthread_setattr_default_np.
3076 * Versions.def (libpthread): Add GLIBC_2.18.
3077 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3086 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3097 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3100 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3102 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3103 H.J. Lu <hjl.tools@gmail.com>
3106 * sysdeps/x86_64/rtld-memset.c: Remove file.
3107 * sysdeps/x86_64/rtld-memset.S: New file.
3109 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3111 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3112 (test_in_one_mode): Take arguments for whether the rounding mode
3113 is supported for each floating-point type.
3114 (do_test): Pass new arguments to test_in_one_mode using
3117 2013-06-13 Roland McGrath <roland@hack.frob.com>
3119 * posix/tst-waitid.c (do_test): Distinguish different instances of
3120 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3121 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3122 before entering the kernel for waitpid.
3124 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3126 * NEWS: Fix note on clock function precision. Text by Roland
3129 2013-06-13 Roland McGrath <roland@hack.frob.com>
3131 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3132 it into place only when and if the sanity check passes.
3134 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3136 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3137 output for whether conversion result is exact. Take argument
3138 indicating whether type is IBM long double.
3139 (round_for_all): Change need_exact field to ibm_ld.
3140 * stdlib/tst-strtod-round.c (struct exactness): New type.
3141 (struct test): Change bool ld_ok field to struct exactness exact.
3142 (TEST): Update all definitions for change to field.
3143 (tests): Regenerate array contents.
3144 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3145 field value. Check for IBM long double here.
3146 (do_test): Update calls to test_in_one_mode.
3148 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3151 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3152 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3154 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3157 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3158 generated by the compiler on loop optimizations.
3159 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3160 general definitions.
3162 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3164 * math/bug-nextafter.c: Include <math-tests.h>.
3165 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3167 * math/bug-nexttoward.c: Include <math-tests.h>.
3168 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3170 * math/test-misc.c: Include <math-tests.h>.
3171 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3174 2013-06-12 Andreas Jaeger <aj@suse.de>
3176 * po/ia.po: Update Interlingua translation from translation
3179 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3181 * include/fenv.h: Include stdbool.h.
3182 (struct rm_ctx): New structure.
3183 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3185 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3186 (SET_RESTORE_ROUNDF): Likewise.
3187 (SET_RESTORE_ROUNDL): Likewise.
3188 (SET_RESTORE_ROUND_NOEX): Likewise.
3189 (SET_RESTORE_ROUND_NOEXF): Likewise.
3190 (SET_RESTORE_ROUND_NOEXL): Likewise.
3191 (SET_RESTORE_ROUND_53BIT): Likewise.
3192 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3193 (libc_feresetround_noexf_ctx): Likewise.
3194 (libc_feresetround_noexl_ctx): Likewise.
3195 (libc_feholdsetround_53bit_ctx): Likewise.
3196 (libc_feresetround_53bit_ctx): Likewise.
3197 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3198 (libc_feholdexcept_setround_sse_ctx): New function.
3199 (libc_fesetenv_sse_ctx): Likewise.
3200 (libc_feupdateenv_sse_ctx): Likewise.
3201 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3202 (libc_feholdexcept_setround_387_ctx): Likewise.
3203 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3204 (libc_feholdsetround_387_prec_ctx): Likewise.
3205 (libc_feholdsetround_387_ctx): Likewise.
3206 (libc_feholdsetround_387_53bit_ctx): Likewise.
3207 (libc_feholdsetround_sse_ctx): Likewise.
3208 (libc_feresetround_sse_ctx): Likewise.
3209 (libc_feresetround_387_ctx): Likewise.
3210 (libc_feupdateenv_387_ctx): Likewise.
3211 (libc_feholdexcept_setroundf_ctx): Define macro.
3212 (libc_fesetenvf_ctx): Likewise.
3213 (libc_feupdateenvf_ctx): Likewise.
3214 (libc_feholdsetroundf_ctx): Likewise.
3215 (libc_feresetroundf_ctx): Likewise.
3216 (libc_feholdexcept_setround_ctx): Likewise.
3217 (libc_fesetenv_ctx): Likewise.
3218 (libc_feupdateenv_ctx): Likewise.
3219 (libc_feholdsetround_ctx): Likewise.
3220 (libc_feresetround_ctx): Likewise.
3221 (libc_feholdexcept_setroundl_ctx): Likewise.
3222 (libc_feupdateenvl_ctx): Likewise.
3223 (libc_feholdsetroundl_ctx): Likewise.
3224 (libc_feresetroundl_ctx): Likewise.
3225 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3226 (libc_feresetround_53bit_ctx): Likewise.
3228 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3230 * locale/iso-639.def: Convert to UTF-8.
3232 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3234 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3235 (EXCEPTION_TESTS_double): Likewise.
3236 (EXCEPTION_TESTS_long_double): Likewise.
3237 (EXCEPTION_TESTS): Likewise.
3238 * math/libm-test.inc (test_exceptions): Only test exceptions if
3239 EXCEPTION_TESTS (FLOAT).
3241 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3243 * benchtests/Makefile (string-bench): Add strcpy_chk and
3245 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3246 * benchtests/bench-stpcpy_chk.c: New file.
3247 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3248 * benchtests/bench-strcpy_chk.c: New file.
3249 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3251 (do_test): Likewise.
3253 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3255 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3256 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3257 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3258 with tabs where appropriate.
3259 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3261 [PPC_PLATFORM_PPC440]: Likewise.
3262 [PPC_PLATFORM_PPC464]: Likewise.
3263 [PPC_PLATFORM_PPC476]: Likewise.
3264 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3265 ppc464, and ppc476 platform strings merging from ports/
3268 2013-06-11 Andreas Schwab <schwab@suse.de>
3271 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3272 (from_ucs4_idx): Regenerate.
3273 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3274 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3275 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3276 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3277 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3278 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3279 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3280 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3281 from FROM_LOOP and TO_LOOP specific macros.
3282 (BODY): Handle combining characters.
3283 * iconvdata/BIG5HKSCS.irreversible: Update.
3284 * iconvdata/BIG5HKSCS.precomposed: New file.
3285 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3287 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3289 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3291 * include/sys/time.h: Fix indentation and add copyright header.
3293 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3294 (do_test): Likewise.
3295 * string/test-memchr.c (do_one_test): Likewise.
3296 (do_test): Likewise.
3297 * string/test-memcmp.c (do_one_test): Likewise.
3298 (do_test): Likewise.
3299 * string/test-memcpy.c (do_one_test): Likewise.
3300 (do_test): Likewise.
3301 * string/test-memmem.c (do_one_test): Likewise.
3302 (do_test): Likewise.
3303 (do_random_tests): Likewise.
3304 * string/test-memmove.c (do_one_test): Likewise.
3305 (do_test): Likewise.
3306 * string/test-memset.c (do_one_test): Likewise.
3307 (do_test): Likewise.
3308 * string/test-rawmemchr.c (do_one_test): Likewise.
3309 (do_test): Likewise.
3310 * string/test-strcasecmp.c (do_one_test): Likewise.
3311 (do_test): Likewise.
3312 * string/test-strcasestr.c (do_one_test): Likewise.
3313 (do_test): Likewise.
3314 * string/test-strcat.c (do_one_test): Likewise.
3315 (do_test): Likewise.
3316 * string/test-strchr.c (do_one_test): Likewise.
3317 (do_test): Likewise.
3318 * string/test-strcmp.c (do_one_test): Likewise.
3319 (do_test): Likewise.
3320 * string/test-strcpy.c (do_one_test): Likewise.
3321 (do_test): Likewise.
3322 * string/test-string.h: Likewise.
3323 (test_init): Likewise.
3324 * string/test-strlen.c (do_one_test): Likewise.
3325 (do_test): Likewise.
3326 * string/test-strncasecmp.c (do_one_test): Likewise.
3327 (do_test): Likewise.
3328 * string/test-strncat.c (do_one_test): Likewise.
3329 (do_test): Likewise.
3330 * string/test-strncmp.c (do_one_test): Likewise.
3331 (do_test_limit): Likewise.
3332 (do_test): Likewise.
3333 * string/test-strncpy.c (do_one_test): Likewise.
3334 (do_test): Likewise.
3335 * string/test-strnlen.c (do_one_test): Likewise.
3336 (do_test): Likewise.
3337 * string/test-strpbrk.c (do_one_test): Likewise.
3338 (do_test): Likewise.
3339 * string/test-strrchr.c (do_one_test): Likewise.
3340 (do_test): Likewise.
3341 * string/test-strspn.c (do_one_test): Likewise.
3342 (do_test): Likewise.
3343 * string/test-strstr.c (do_one_test): Likewise.
3344 (do_test): Likewise.
3346 * benchtests/Makefile (string-bench): Add string benchmarks.
3347 * benchtests/bench-bcopy-ifunc.c: New file.
3348 * benchtests/bench-bcopy.c: New file.
3349 * benchtests/bench-bzero-ifunc.c: New file.
3350 * benchtests/bench-bzero.c: New file.
3351 * benchtests/bench-memccpy-ifunc.c: New file.
3352 * benchtests/bench-memccpy.c: New file.
3353 * benchtests/bench-memchr-ifunc.c: New file.
3354 * benchtests/bench-memchr.c: New file.
3355 * benchtests/bench-memcmp-ifunc.c: New file.
3356 * benchtests/bench-memcmp.c: New file.
3357 * benchtests/bench-memmem-ifunc.c: New file.
3358 * benchtests/bench-memmem.c: New file.
3359 * benchtests/bench-memmove-ifunc.c: New file.
3360 * benchtests/bench-memmove.c: New file.
3361 * benchtests/bench-mempcpy-ifunc.c: New file.
3362 * benchtests/bench-mempcpy.c: New file.
3363 * benchtests/bench-memset-ifunc.c: New file.
3364 * benchtests/bench-memset.c: New file.
3365 * benchtests/bench-rawmemchr-ifunc.c: New file.
3366 * benchtests/bench-rawmemchr.c: New file.
3367 * benchtests/bench-stpcpy-ifunc.c: New file.
3368 * benchtests/bench-stpcpy.c: New file.
3369 * benchtests/bench-stpncpy-ifunc.c: New file.
3370 * benchtests/bench-stpncpy.c: New file.
3371 * benchtests/bench-strcasecmp-ifunc.c: New file.
3372 * benchtests/bench-strcasecmp.c: New file.
3373 * benchtests/bench-strcasestr-ifunc.c: New file.
3374 * benchtests/bench-strcasestr.c: New file.
3375 * benchtests/bench-strcat-ifunc.c: New file.
3376 * benchtests/bench-strcat.c: New file.
3377 * benchtests/bench-strchr-ifunc.c: New file.
3378 * benchtests/bench-strchr.c: New file.
3379 * benchtests/bench-strchrnul-ifunc.c: New file.
3380 * benchtests/bench-strchrnul.c: New file.
3381 * benchtests/bench-strcmp-ifunc.c: New file.
3382 * benchtests/bench-strcmp.c: New file.
3383 * benchtests/bench-strcpy-ifunc.c: New file.
3384 * benchtests/bench-strcpy.c: New file.
3385 * benchtests/bench-strcspn-ifunc.c: New file.
3386 * benchtests/bench-strcspn.c: New file.
3387 * benchtests/bench-strlen-ifunc.c: New file.
3388 * benchtests/bench-strlen.c: New file.
3389 * benchtests/bench-strncasecmp-ifunc.c: New file.
3390 * benchtests/bench-strncasecmp.c: New file.
3391 * benchtests/bench-strncat-ifunc.c: New file.
3392 * benchtests/bench-strncat.c: New file.
3393 * benchtests/bench-strncmp-ifunc.c: New file.
3394 * benchtests/bench-strncmp.c: New file.
3395 * benchtests/bench-strncpy-ifunc.c: New file.
3396 * benchtests/bench-strncpy.c: New file.
3397 * benchtests/bench-strnlen-ifunc.c: New file.
3398 * benchtests/bench-strnlen.c: New file.
3399 * benchtests/bench-strpbrk-ifunc.c: New file.
3400 * benchtests/bench-strpbrk.c: New file.
3401 * benchtests/bench-strrchr-ifunc.c: New file.
3402 * benchtests/bench-strrchr.c: New file.
3403 * benchtests/bench-strspn-ifunc.c: New file.
3404 * benchtests/bench-strspn.c: New file.
3405 * benchtests/bench-strstr-ifunc.c: New file.
3406 * benchtests/bench-strstr.c: New file.
3408 * benchtests/Makefile: Disable parallel execution of targets.
3409 (string-bench): Add memcpy.
3410 (benchset): New variable to store a list of benchmark sets.
3411 (bench-func): Renamed from bench.
3412 (bench-set): New target.
3413 (bench): Depend on bench-func and bench-set.
3414 * benchtests/README: Add section on benchmark sets.
3415 * benchtests/bench-memcpy-ifunc.c: New file.
3416 * benchtests/bench-memcpy.c: New file.
3417 * benchtests/bench-string.h: New file.
3419 2013-06-11 Andreas Schwab <schwab@suse.de>
3422 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3423 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3424 values in the triple.
3425 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3426 terminator in the group key.
3428 2013-06-11 Andreas Jaeger <aj@suse.de>
3430 * po/zh_TW.po: Update Chinese (traditional) translation from
3431 translation project.
3433 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3435 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3436 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3437 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3439 (clock_getcpuclockid): Likewise.
3440 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3441 Add weak_alias and libc_hidden_def.
3442 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3443 * rt/clock_gettime.c (clock_gettime): Rename to
3444 __clock_gettime. Add weak_alias and libc_hidden_def.
3445 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3446 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3447 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3448 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3449 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3451 * rt/clock_settime.c (clock_settime): Rename to
3452 __clock_settime. Add weak_alias and libc_hidden_def.
3453 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3455 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3457 * mach/err_boot.sub: Remove trailing whitespace.
3458 * mach/err_ipc.sub: Likewise.
3459 * mach/err_mach.sub: Likewise.
3461 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3462 (ROUNDING_TESTS_double): Likewise.
3463 (ROUNDING_TESTS_long_double): Likewise.
3464 (ROUNDING_TESTS): Likewise.
3465 * math/libm-test.inc: Include <math-tests.h>.
3466 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3467 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3468 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3469 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3471 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3473 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3476 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3478 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3479 otherwise empty TRANS lines.
3480 * sysdeps/gnu/errlist.c: Regenerated.
3482 * catgets/gencat.c (error_print): Use (void) in function
3484 * crypt/crypt_util.c (__init_des): Likewise.
3485 * crypt/speeds.c (Stop): Likewise.
3487 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3488 * inet/ruserpass.c (token): Likewise.
3489 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3490 * intl/localealias.c (extend_alias_table): Likewise.
3491 * intl/plural-exp.c (init_germanic_plural): Likewise.
3492 * libio/fcloseall.c (__fcloseall): Likewise.
3493 * libio/genops.c (_IO_flush_all): Likewise.
3494 (_IO_flush_all_linebuffered): Likewise.
3495 (_IO_cleanup): Likewise.
3496 (_IO_iter_begin): Likewise.
3497 (_IO_iter_end): Likewise.
3498 (_IO_list_lock): Likewise.
3499 (_IO_list_unlock): Likewise.
3500 (_IO_list_resetlock): Likewise.
3501 * libio/getchar.c (getchar): Likewise.
3502 * libio/getchar_u.c (getchar_unlocked): Likewise.
3503 * libio/getwchar.c (getwchar): Likewise.
3504 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3505 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3506 * login/getpt.c (__getpt): Likewise.
3507 * login/tst-utmp.c (main): Likewise.
3508 * malloc/hooks.c (__malloc_check_init): Likewise.
3509 * malloc/malloc.c (__malloc_stats): Likewise.
3510 * malloc/mtrace.c (tr_break): Likewise.
3512 (muntrace): Likewise.
3513 * misc/fstab.c (endfsent): Likewise.
3514 * misc/getclktck.c (__getclktck): Likewise.
3515 * misc/getdtsz.c (__getdtablesize): Likewise.
3516 * misc/gethostid.c (gethostid): Likewise.
3517 * misc/getpagesize.c (__getpagesize): Likewise.
3518 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3519 (__get_nprocs): Likewise.
3520 (__get_phys_pages): Likewise.
3521 (__get_avphys_pages): Likewise.
3522 * misc/getttyent.c (getttyent): Likewise.
3523 (setttyent): Likewise.
3524 (endttyent): Likewise.
3525 * misc/getusershell.c (getusershell): Likewise.
3526 (endusershell): Likewise.
3527 (setusershell): Likewise.
3528 (initshells): Likewise.
3529 * misc/hsearch.c (__hdestroy): Likewise.
3530 * misc/sync.c (sync): Likewise.
3531 * misc/syslog.c (closelog_internal): Likewise.
3532 (closelog): Likewise.
3533 * misc/ttyslot.c (ttyslot): Likewise.
3534 * misc/vhangup.c (vhangup): Likewise.
3535 * posix/fork.c (__fork): Likewise.
3536 * posix/getegid.c (__getegid): Likewise.
3537 * posix/geteuid.c (__geteuid): Likewise.
3538 * posix/getgid.c (__getgid): Likewise.
3539 * posix/getpid.c (__getpid): Likewise.
3540 * posix/getppid.c (__getppid): Likewise.
3541 * posix/getuid.c (__getuid): Likewise.
3542 * posix/pause.c (pause): Likewise.
3543 * posix/setpgrp.c (setpgrp): Likewise.
3544 * posix/setsid.c (__setsid): Likewise.
3545 * posix/test-vfork.c (noop): Likewise.
3546 * resolv/gethnamaddr.c (_endhtent): Likewise.
3547 (_gethtent): Likewise.
3548 (ht_endhostent): Likewise.
3549 (gethostent): Likewise.
3550 (dns_service): Likewise.
3551 * stdlib/drand48.c (drand48): Likewise.
3552 * stdlib/lrand48.c (lrand48): Likewise.
3553 * stdlib/mrand48.c (mrand48): Likewise.
3554 * stdlib/rand.c (rand): Likewise.
3555 * stdlib/random.c (__random): Likewise.
3556 * stdlib/setenv.c (clearenv): Likewise.
3557 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3558 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3559 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3560 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3561 (__get_nprocs): Likewise.
3562 (__get_phys_pages): Likewise.
3563 (__get_avphys_pages): Likewise.
3564 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3565 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3566 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3567 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3568 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3569 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3570 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3571 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3572 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3573 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3574 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3575 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3576 * sysdeps/posix/clock.c (clock): Likewise.
3577 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3578 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3579 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3580 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3581 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3582 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3583 (__get_nprocs_conf): Likewise.
3584 (__get_phys_pages): Likewise.
3585 (__get_avphys_pages): Likewise.
3586 * time/clock.c (clock): Likewise.
3587 * time/tzset.c (__tzname_max): Likewise.
3589 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3591 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3592 (__bswap_32): Do not use "register".
3593 * crypt/crypt.c (_ufc_doit_r): Likewise.
3594 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3595 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3596 * gmon/gmon.c (__monstartup): Likewise.
3597 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3598 * hurd/hurdmalloc.c (more_memory): Likewise.
3601 (realloc): Likewise.
3602 (malloc_fork_prepare): Likewise.
3603 (malloc_fork_parent): Likewise.
3604 (malloc_fork_child): Likewise.
3605 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3606 (_svcauth_des): Likewise.
3607 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3608 * inet/inet_net.c (inet_network): Likewise.
3609 * inet/inet_netof.c (inet_netof): Likewise.
3610 * inet/rcmd.c (__validuser2_sa): Likewise.
3611 * io/fts.c (fts_open): Likewise.
3612 (fts_load): Likewise.
3613 (fts_close): Likewise.
3614 (fts_read): Likewise.
3615 (fts_children): Likewise.
3616 (fts_build): Likewise.
3617 (fts_stat): Likewise.
3618 (fts_sort): Likewise.
3619 (fts_alloc): Likewise.
3620 (fts_lfree): Likewise.
3621 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3622 (_IO_file_xsgetn): Likewise.
3623 (_IO_file_xsgetn_mmap): Likewise.
3624 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3625 (_IO_cookie_write): Likewise.
3626 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3627 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3628 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3629 * malloc/obstack.c (_obstack_begin): Likewise.
3630 (_obstack_begin_1): Likewise.
3631 (_obstack_newchunk): Likewise.
3632 (_obstack_allocated_p): Likewise.
3633 (obstack_free): Likewise.
3634 (_obstack_memory_used): Likewise.
3635 * misc/getttyent.c (getttynam): Likewise.
3636 (getttyent): Likewise.
3639 * misc/getusershell.c (initshells): Likewise.
3640 * misc/syslog.c (__vsyslog_chk): Likewise.
3641 * misc/ttyslot.c (ttyslot): Likewise.
3642 * nis/nis_hash.c (__nis_hash): Likewise.
3643 * posix/fnmatch_loop.c (FCT): Likewise.
3644 * posix/getconf.c (print_all): Likewise.
3646 * posix/getopt.c (exchange): Likewise.
3647 * posix/glob.c (globfree): Likewise.
3648 (prefix_array): Likewise.
3649 (__glob_pattern_type): Likewise.
3650 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3651 (NS_GET32): Likewise.
3652 (NS_PUT16): Likewise.
3653 (NS_PUT32): Likewise.
3654 * resolv/gethnamaddr.c (getanswer): Likewise.
3655 (gethostbyname2): Likewise.
3656 (gethostbyaddr): Likewise.
3657 (_gethtent): Likewise.
3658 (_gethtbyname2): Likewise.
3659 (_gethtbyaddr): Likewise.
3660 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3661 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3662 * resolv/res_init.c (__res_vinit): Likewise.
3663 (net_mask): Likewise.
3664 * resolv/res_mkquery.c (outchar): Likewise.
3666 * stdio-common/printf_fp.c (outchar): Likewise.
3668 * stdio-common/printf_fphex.c (outchar): Likewise.
3670 * stdio-common/printf_size.c (outchar): Likewise.
3672 * stdio-common/test_rdwr.c (main): Likewise.
3673 * stdio-common/tfformat.c (matches): Likewise.
3674 * stdio-common/vfprintf.c (outchar): Likewise.
3675 (printf_unknown): Likewise.
3676 (buffered_vfprintf): Likewise.
3677 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3678 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3679 (ReadFile): Likewise.
3680 * stdlib/qsort.c (SWAP): Likewise.
3681 (_quicksort): Likewise.
3682 * stdlib/setenv.c (__add_to_environ): Likewise.
3683 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3684 * stdlib/strtol_l.c (__strtol_l): Likewise.
3685 * stdlib/tst-strtod.c (main): Likewise.
3686 * stdlib/tst-strtol.c (main): Likewise.
3687 * stdlib/tst-strtoll.c (main): Likewise.
3688 * string/bits/string2.h (__strcmp_cc): Likewise.
3689 (__strcmp_cg): Likewise.
3690 (__strcspn_c1): Likewise.
3691 (__strcspn_c2): Likewise.
3692 (__strcspn_c3): Likewise.
3693 (__strspn_c1): Likewise.
3694 (__strspn_c2): Likewise.
3695 (__strspn_c3): Likewise.
3696 (__strsep_1c): Likewise.
3697 (__strsep_2c): Likewise.
3698 (__strsep_3c): Likewise.
3699 * string/memccpy.c (__memccpy): Likewise.
3700 * string/stpcpy.c (__stpcpy): Likewise.
3701 * string/strcmp.c (strcmp): Likewise.
3702 * string/strrchr.c (strrchr): Likewise.
3703 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3705 * sysdeps/mach/hurd/getcwd.c
3706 (_hurd_canonicalize_directory_name_internal): Likewise.
3707 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3708 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3709 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3710 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3711 Likewise, in both definitions.
3712 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3714 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3715 64] (__bswap_64): Likewise.
3716 * time/test_time.c (main): Likewise.
3717 * time/tzfile.c (__tzfile_read): Likewise.
3718 (__tzfile_compute): Likewise.
3719 * time/tzset.c (__tzset_parse_tz): Likewise.
3720 (tzset_internal): Likewise.
3721 (compute_change): Likewise.
3722 * wcsmbs/wcscat.c (__wcscat): Likewise.
3723 * wcsmbs/wcschr.c (wcschr): Likewise.
3724 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3725 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3726 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3727 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3728 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3729 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3730 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3731 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3732 * wcsmbs/wmemset.c (wmemset): Likewise.
3734 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3736 * scripts/config.guess: Update to version 2013-05-16.
3737 * scripts/config.sub: Update to version 2013-04-24.
3738 * scripts/install-sh: Update to version 2011-11-20.07.
3739 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3740 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3742 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3744 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3745 * elf/sln.c: Likewise.
3746 * hurd/hurd/ioctl.h: Likewise.
3747 * hurd/hurdmalloc.c: Likewise.
3748 * hurd/xattr.c: Likewise.
3749 * include/shlib-compat.h: Likewise.
3750 * inet/ruserpass.c: Likewise.
3751 * libio/iofgets_u.c: Likewise.
3752 * libio/iofgetws_u.c: Likewise.
3753 * locale/programs/ld-identification.c: Likewise.
3754 * locale/programs/ld-time.c: Likewise.
3755 * mach/msg-destroy.c: Likewise.
3756 * nss/nss_files/files-netgrp.c: Likewise.
3757 * resolv/res_data.c: Likewise.
3758 * soft-fp/op-1.h: Likewise.
3759 * soft-fp/op-2.h: Likewise.
3760 * soft-fp/op-4.h: Likewise.
3761 * soft-fp/op-common.h: Likewise.
3762 * stdio-common/printf_fphex.c: Likewise.
3763 * stdlib/strtod_l.c: Likewise.
3764 * sunrpc/rpc/clnt.h: Likewise.
3765 * sysdeps/generic/framestate.c: Likewise.
3766 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3767 * sysdeps/i386/bsd-setjmp.S: Likewise.
3768 * sysdeps/i386/__longjmp.S: Likewise.
3769 * sysdeps/i386/setjmp.S: Likewise.
3770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3771 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3772 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3788 * sysdeps/ieee754/support.c: Likewise.
3789 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3790 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3791 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3792 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3793 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3794 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3795 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3796 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3797 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3798 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3799 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3800 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3801 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3802 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3803 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3804 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3805 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3808 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3810 * posix/transbug.c: Remove executable mode.
3812 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3814 * crypt/speeds.c: Remove trailing whitespace.
3815 * dlfcn/default.c: Likewise.
3816 * elf/ifuncdep2.c: Likewise.
3817 * elf/ifuncmain1.c: Likewise.
3818 * elf/ifuncmain1vis.c: Likewise.
3819 * elf/testobj.h: Likewise.
3820 * elf/tst-stackguard1.c: Likewise.
3821 * gmon/sys/gmon.h: Likewise.
3822 * hurd/hurdmsg.c: Likewise.
3823 * hurd/new-fd.c: Likewise.
3824 * hurd/ports-get.c: Likewise.
3825 * iconvdata/ibm1008_420.c: Likewise.
3826 * inet/tst-getni1.c: Likewise.
3827 * inet/tst-getni2.c: Likewise.
3828 * libio/ioungetc.c: Likewise.
3829 * libio/wfiledoalloc.c: Likewise.
3830 * manual/libm-err-tab.pl: Likewise.
3831 * math/w_dremf.c: Likewise.
3832 * misc/ftruncate.c: Likewise.
3833 * posix/bug-glob2.c: Likewise.
3834 * posix/tst-pcre.c: Likewise.
3835 * posix/wait4.c: Likewise.
3836 * resolv/README: Likewise.
3837 * resolv/res_debug.h: Likewise.
3838 * resolv/tst-inet_ntop.c: Likewise.
3839 * setjmp/bug269-setjmp.c: Likewise.
3840 * soft-fp/extended.h: Likewise.
3841 * soft-fp/op-1.h: Likewise.
3842 * soft-fp/op-2.h: Likewise.
3843 * soft-fp/op-4.h: Likewise.
3844 * soft-fp/op-8.h: Likewise.
3845 * soft-fp/testit.c: Likewise.
3846 * stdio-common/bug16.c: Likewise.
3847 * stdlib/random.c: Likewise.
3848 * sunrpc/rpcsvc/rquota.x: Likewise.
3849 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3850 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3851 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3852 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3853 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3854 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3855 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3856 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3857 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3858 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3859 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3878 * sysdeps/ieee754/s_lib_version.c: Likewise.
3879 * sysdeps/mach/hurd/check_fds.c: Likewise.
3880 * sysdeps/mach/hurd/getsockname.c: Likewise.
3881 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3882 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3883 * sysdeps/powerpc/bits/link.h: Likewise.
3884 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3885 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3886 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3887 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3888 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3889 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3890 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3891 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3892 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3893 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3894 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3895 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3896 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3897 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3898 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3899 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3900 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3901 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3902 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3903 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3905 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3906 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3909 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3910 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3911 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3912 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3913 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3914 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3915 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3917 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3918 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3919 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3921 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3922 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3923 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3926 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3927 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3928 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3929 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3932 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3935 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3936 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3937 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3939 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3940 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3942 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3943 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3944 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3945 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3946 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3947 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3948 * sysdeps/powerpc/sysdep.h: Likewise.
3949 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3950 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3951 * sysdeps/sh/dl-trampoline.S: Likewise.
3952 * sysdeps/sh/memset.S: Likewise.
3953 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3954 * sysdeps/sh/strlen.S: Likewise.
3955 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3956 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3957 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3958 * sysdeps/sparc/sparc32/rem.S: Likewise.
3959 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3960 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3961 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3962 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3963 * sysdeps/sparc/sparc32/urem.S: Likewise.
3964 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3965 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3966 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3967 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3968 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3969 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3970 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3971 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3972 * sysdeps/unix/bsd/times.c: Likewise.
3973 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3974 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3978 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3979 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3980 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3981 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3982 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3983 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3984 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3985 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3986 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3987 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3988 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3989 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3990 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3991 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3992 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3993 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3994 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3995 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3996 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3997 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3998 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3999 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4000 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4001 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4002 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4003 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4004 * sysdeps/x86_64/strcspn.S: Likewise.
4006 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4008 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4009 generated file. Regenerate properly from gen-translit.pl.
4010 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4011 locale/C-translit.h.
4013 2013-06-05 Andreas Schwab <schwab@suse.de>
4016 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4017 week as 6 instead of -1.
4018 * time/tst-strptime.c (day_tests): Add test case.
4020 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4022 * sysdeps/generic/math_private.h
4023 (libc_feholdexcept_setround_53bit): Replace with
4024 libc_feholdsetround_53bit.
4025 (libc_feupdateenv_53bit): Replace with
4026 libc_feresetround_53bit.
4027 (SET_RESTORE_ROUND_53BIT): Adjust.
4029 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4031 * string/test-strchrnul.c: Add copyright header.
4033 * posix/tst-getaddrinfo4.c: Increase test timeout.
4035 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4038 * math/libm-test.inc (MAX_EXP): Remove
4040 (ulp): Use MIN_EXP - MANT_DIG.
4041 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4043 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4045 * po/be.po: Revert last change.
4046 * po/zh_CN.po: Likewise.
4047 * po/header.pot: Likewise.
4049 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4051 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4052 link-libc-deps to empty as target-specific variable.
4053 * Makerules (link-libc-args): New variable.
4054 (libc-for-link): Likewise.
4055 (link-libc-deps): Likewise.
4056 (lib%.so): Depend on $(link-libc-deps). Link with
4058 (build-module): Link with $(link-libc-args).
4059 (build-module-asneeded): Likewise.
4060 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4062 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4063 target-specific variable.
4064 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4065 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4066 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4068 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4070 ($(objpfx)libpcprofile.so): Likewise.
4071 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4073 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4074 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4075 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4077 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4078 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4079 * login/Makefile ($(objpfx)libutil.so): Likewise.
4080 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4081 * math/Makefile ($(objpfx)libm.so): Likewise.
4082 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4083 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4084 variable instead of depending directly on libc.
4085 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4086 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4088 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4090 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4091 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4092 ($(objpfx)libanl.so): Likewise.
4093 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4095 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4097 * sysdeps/i386/fpu/Makefile: Remove file.
4098 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4099 ($(objpfx)libm.so): Remove dependency on ld.so.
4101 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4104 * nis/yp_xdr.c (XDRMAXNAME): Define.
4105 (XDRMAXRECORD): Define.
4106 (xdr_domainname): Use XDRMAXNAME.
4107 (xdr_mapname): Likewise.
4108 (xdr_peername): Likewise.
4109 (xdr_keydat): Use XDRMAXRECORD.
4110 (xdr_valdat): Likewise.
4112 2013-05-30 Jeff Law <law@redhat.com>
4115 * manual/errno.texi (ESTALE): Update to account for more than
4116 just NFS file systems.
4117 * sysdeps/gnu/errlist.c: Regenerated.
4119 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4122 * elf/Makefile (tests): Add tst-null-argv.
4123 (modules-names): Add tst-null-argv-lib.
4124 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4125 (tst-null-argv-ENV): Set environment for tst-null-argv.
4126 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4127 (RTLD_PROGNAME): New macro.
4128 * elf/tst-null-argv.c: New test case.
4129 * elf/tst-null-argv-lib.c: Library for test case.
4130 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4131 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4132 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4133 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4134 * elf/dl-init.c (call_init): Likewise.
4135 (_dl_init): Likewise.
4136 * elf/dl-load.c (print_search_path): Likewise.
4137 (_dl_map_object): Likewise.
4138 * elf/dl-lookup.c (do_lookup_x): Likewise.
4139 (add_dependency): Likewise.
4140 (_dl_lookup_symbol_x): Likewise.
4141 (_dl_debug_bindings): Likewise.
4142 * elf/dl-open.c (_dl_show_scope): Likewise.
4143 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4144 * elf/dl-version.c (match_symbol): Likewise.
4145 (_dl_check_map_versions): Likewise.
4146 * elf/rtld.c (dl_main): Likewise.
4147 (print_unresolved): Use RTLD_PROGNAME.
4148 (print_missing_version): Likewise.
4149 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4150 (elf_machine_rela): Likewise.
4151 * sysdeps/powerpc/powerpc32/dl-machine.c
4152 (__process_machine_rela): Likewise.
4153 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4155 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4157 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4159 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4166 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4168 * po/be.po: Add descriptive title.
4169 * po/zh_CN.po: Likewise.
4170 * po/header.pot: Likewise.
4172 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4174 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4176 (enlarge_archive): Likewise.
4178 2013-05-28 Ben North <ben@redfrontdoor.org>
4180 * manual/arith.texi (frexp): It is the magnitude of the return
4181 value which lies in [0.5, 1), not the return value itself.
4183 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4187 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4189 * stdio-common/bug26.c (main): Correct fscanf template.
4191 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4192 declare _dl_skip_args.
4194 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4197 * manual/platform.texi: Add missing @end deftypefun.
4199 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4202 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4203 bit of mantissa of 2^16382.
4204 * math/libm-test.inc (hypot_test_data): Add more tests.
4206 * math/libm-test.inc: Add drem and pow10 to list of tested
4208 (pow10_test): New function.
4209 (drem_test): Likewise.
4210 (drem_test_tonearest): Likewise.
4211 (drem_test_towardzero): Likewise.
4212 (drem_test_downward): Likewise.
4213 (drem_test_upward): Likewise.
4214 (main): Call the new functions.
4216 * math/libm-test.inc (finite_test_data): Remove.
4217 (finite_test): Run tests from isfinite_test_data.
4218 (gamma_test_data): Remove.
4219 (gamma_test): Run tests from lgamma_test_data.
4220 * sysdeps/i386/fpu/libm-test-ulps: Update.
4221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4223 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4225 * manual/platform.texi: Add PowerPC PPR function set documentation.
4226 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4229 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4231 * math/libm-test.inc (MAX_EXP): Define.
4233 (ulp): New function.
4234 (check_float_internal): Use ULPDIFF.
4235 (cpow_test): Disable failing test.
4236 (check_ulp): Test ulp() implemetnation.
4237 (main): Call check_ulp before starting tests.
4239 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4241 * math/gen-libm-test.pl (generate_testfile): Do not handle
4242 START_DATA and END_DATA.
4243 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4245 (acos_tonearest_test_data): Likewise.
4246 (acos_towardzero_test_data): Likewise.
4247 (acos_downward_test_data): Likewise.
4248 (acos_upward_test_data): Likewise.
4249 (acosh_test_data): Likewise.
4250 (asin_test_data): Likewise.
4251 (asin_tonearest_test_data): Likewise.
4252 (asin_towardzero_test_data): Likewise.
4253 (asin_downward_test_data): Likewise.
4254 (asin_upward_test_data): Likewise.
4255 (asinh_test_data): Likewise.
4256 (atan_test_data): Likewise.
4257 (atanh_test_data): Likewise.
4258 (atan2_test_data): Likewise.
4259 (cabs_test_data): Likewise.
4260 (cacos_test_data): Likewise.
4261 (cacosh_test_data): Likewise.
4262 (carg_test_data): Likewise.
4263 (casin_test_data): Likewise.
4264 (casinh_test_data): Likewise.
4265 (catan_test_data): Likewise.
4266 (catanh_test_data): Likewise.
4267 (cbrt_test_data): Likewise.
4268 (ccos_test_data): Likewise.
4269 (ccosh_test_data): Likewise.
4270 (ceil_test_data): Likewise.
4271 (cexp_test_data): Likewise.
4272 (cimag_test_data): Likewise.
4273 (clog_test_data): Likewise.
4274 (clog10_test_data): Likewise.
4275 (conj_test_data): Likewise.
4276 (copysign_test_data): Likewise.
4277 (cos_test_data): Likewise.
4278 (cos_tonearest_test_data): Likewise.
4279 (cos_towardzero_test_data): Likewise.
4280 (cos_downward_test_data): Likewise.
4281 (cos_upward_test_data): Likewise.
4282 (cosh_test_data): Likewise.
4283 (cosh_tonearest_test_data): Likewise.
4284 (cosh_towardzero_test_data): Likewise.
4285 (cosh_downward_test_data): Likewise.
4286 (cosh_upward_test_data): Likewise.
4287 (cpow_test_data): Likewise.
4288 (cproj_test_data): Likewise.
4289 (creal_test_data): Likewise.
4290 (csin_test_data): Likewise.
4291 (csinh_test_data): Likewise.
4292 (csqrt_test_data): Likewise.
4293 (ctan_test_data): Likewise.
4294 (ctan_tonearest_test_data): Likewise.
4295 (ctan_towardzero_test_data): Likewise.
4296 (ctan_downward_test_data): Likewise.
4297 (ctan_upward_test_data): Likewise.
4298 (ctanh_test_data): Likewise.
4299 (ctanh_tonearest_test_data): Likewise.
4300 (ctanh_towardzero_test_data): Likewise.
4301 (ctanh_downward_test_data): Likewise.
4302 (ctanh_upward_test_data): Likewise.
4303 (erf_test_data): Likewise.
4304 (erfc_test_data): Likewise.
4305 (exp_test_data): Likewise.
4306 (exp_tonearest_test_data): Likewise.
4307 (exp_towardzero_test_data): Likewise.
4308 (exp_downward_test_data): Likewise.
4309 (exp_upward_test_data): Likewise.
4310 (exp10_test_data): Likewise.
4311 (exp2_test_data): Likewise.
4312 (expm1_test_data): Likewise.
4313 (fabs_test_data): Likewise.
4314 (fdim_test_data): Likewise.
4315 (finite_test_data): Likewise.
4316 (floor_test_data): Likewise.
4317 (fma_test_data): Likewise.
4318 (fma_towardzero_test_data): Likewise.
4319 (fma_downward_test_data): Likewise.
4320 (fma_upward_test_data): Likewise.
4321 (fmax_test_data): Likewise.
4322 (fmin_test_data): Likewise.
4323 (fmod_test_data): Likewise.
4324 (fpclassify_test_data): Likewise.
4325 (frexp_test_data): Likewise.
4326 (gamma_test_data): Likewise.
4327 (hypot_test_data): Likewise.
4328 (ilogb_test_data): Likewise.
4329 (isfinite_test_data): Likewise.
4330 (isgreater_test_data): Likewise.
4331 (isgreaterequal_test_data): Likewise.
4332 (isinf_test_data): Likewise.
4333 (isless_test_data): Likewise.
4334 (islessequal_test_data): Likewise.
4335 (islessgreater_test_data): Likewise.
4336 (isnan_test_data): Likewise.
4337 (isnormal_test_data): Likewise.
4338 (issignaling_test_data): Likewise.
4339 (isunordered_test_data): Likewise.
4340 (j0_test_data): Likewise.
4341 (j1_test_data): Likewise.
4342 (jn_test_data): Likewise.
4343 (ldexp_test_data): Likewise.
4344 (lgamma_test_data): Likewise.
4345 (lrint_test_data): Likewise.
4346 (lrint_tonearest_test_data): Likewise.
4347 (lrint_towardzero_test_data): Likewise.
4348 (lrint_downward_test_data): Likewise.
4349 (lrint_upward_test_data): Likewise.
4350 (llrint_test_data): Likewise.
4351 (llrint_tonearest_test_data): Likewise.
4352 (llrint_towardzero_test_data): Likewise.
4353 (llrint_downward_test_data): Likewise.
4354 (llrint_upward_test_data): Likewise.
4355 (log_test_data): Likewise.
4356 (log10_test_data): Likewise.
4357 (log1p_test_data): Likewise.
4358 (log2_test_data): Likewise.
4359 (logb_test_data): Likewise.
4360 (logb_downward_test_data): Likewise.
4361 (lround_test_data): Likewise.
4362 (llround_test_data): Likewise.
4363 (modf_test_data): Likewise.
4364 (nearbyint_test_data): Likewise.
4365 (nextafter_test_data): Likewise.
4366 (nexttoward_test_data): Likewise.
4367 (pow_test_data): Likewise.
4368 (pow_tonearest_test_data): Likewise.
4369 (pow_towardzero_test_data): Likewise.
4370 (pow_downward_test_data): Likewise.
4371 (pow_upward_test_data): Likewise.
4372 (remainder_test_data): Likewise.
4373 (remainder_tonearest_test_data): Likewise.
4374 (remainder_towardzero_test_data): Likewise.
4375 (remainder_downward_test_data): Likewise.
4376 (remainder_upward_test_data): Likewise.
4377 (remquo_test_data): Likewise.
4378 (rint_test_data): Likewise.
4379 (rint_tonearest_test_data): Likewise.
4380 (rint_towardzero_test_data): Likewise.
4381 (rint_downward_test_data): Likewise.
4382 (rint_upward_test_data): Likewise.
4383 (round_test_data): Likewise.
4384 (scalb_test_data): Likewise.
4385 (scalbn_test_data): Likewise.
4386 (scalbln_test_data): Likewise.
4387 (signbit_test_data): Likewise.
4388 (sin_test_data): Likewise.
4389 (sin_tonearest_test_data): Likewise.
4390 (sin_towardzero_test_data): Likewise.
4391 (sin_downward_test_data): Likewise.
4392 (sin_upward_test_data): Likewise.
4393 (sincos_test_data): Likewise.
4394 (sinh_test_data): Likewise.
4395 (sinh_tonearest_test_data): Likewise.
4396 (sinh_towardzero_test_data): Likewise.
4397 (sinh_downward_test_data): Likewise.
4398 (sinh_upward_test_data): Likewise.
4399 (sqrt_test_data): Likewise.
4400 (tan_test_data): Likewise.
4401 (tan_tonearest_test_data): Likewise.
4402 (tan_towardzero_test_data): Likewise.
4403 (tan_downward_test_data): Likewise.
4404 (tan_upward_test_data): Likewise.
4405 (tanh_test_data): Likewise.
4406 (tgamma_test_data): Likewise.
4407 (trunc_test_data): Likewise.
4408 (y0_test_data): Likewise.
4409 (y1_test_data): Likewise.
4410 (yn_test_data): Likewise.
4411 (significand_test_data): Likewise.
4413 * math/gen-libm-test.pl (@functions): Remove variable.
4414 (generate_testfile): Don't handle START and END lines.
4415 * math/libm-test.inc (START): New macro.
4417 (END_COMPLEX): Likewise.
4418 (acos_test): Use END macro without arguments.
4419 (acos_test_tonearest): Likewise.
4420 (acos_test_towardzero): Likewise.
4421 (acos_test_downward): Likewise.
4422 (acos_test_upward): Likewise.
4423 (acosh_test): Likewise.
4424 (asin_test): Likewise.
4425 (asin_test_tonearest): Likewise.
4426 (asin_test_towardzero): Likewise.
4427 (asin_test_downward): Likewise.
4428 (asin_test_upward): Likewise.
4429 (asinh_test): Likewise.
4430 (atan_test): Likewise.
4431 (atanh_test): Likewise.
4432 (atan2_test): Likewise.
4433 (cabs_test): Likewise.
4434 (cacos_test): Use END_COMPLEX macro without arguments.
4435 (cacosh_test): Likewise.
4436 (carg_test): Use END macro without arguments.
4437 (casin_test): Use END_COMPLEX macro without arguments.
4438 (casinh_test): Likewise.
4439 (catan_test): Likewise.
4440 (catanh_test): Likewise.
4441 (cbrt_test): Use END macro without arguments.
4442 (ccos_test): Use END_COMPLEX macro without arguments.
4443 (ccosh_test): Likewise.
4444 (ceil_test): Use END macro without arguments.
4445 (cexp_test): Use END_COMPLEX macro without arguments.
4446 (cimag_test): Use END macro without arguments.
4447 (clog_test): Use END_COMPLEX macro without arguments.
4448 (clog10_test): Likewise.
4449 (conj_test): Likewise.
4450 (copysign_test): Use END macro without arguments.
4451 (cos_test): Likewise.
4452 (cos_test_tonearest): Likewise.
4453 (cos_test_towardzero): Likewise.
4454 (cos_test_downward): Likewise.
4455 (cos_test_upward): Likewise.
4456 (cosh_test): Likewise.
4457 (cosh_test_tonearest): Likewise.
4458 (cosh_test_towardzero): Likewise.
4459 (cosh_test_downward): Likewise.
4460 (cosh_test_upward): Likewise.
4461 (cpow_test): Use END_COMPLEX macro without arguments.
4462 (cproj_test): Likewise.
4463 (creal_test): Use END macro without arguments.
4464 (csin_test): Use END_COMPLEX macro without arguments.
4465 (csinh_test): Likewise.
4466 (csqrt_test): Likewise.
4467 (ctan_test): Likewise.
4468 (ctan_test_tonearest): Likewise.
4469 (ctan_test_towardzero): Likewise.
4470 (ctan_test_downward): Likewise.
4471 (ctan_test_upward): Likewise.
4472 (ctanh_test): Likewise.
4473 (ctanh_test_tonearest): Likewise.
4474 (ctanh_test_towardzero): Likewise.
4475 (ctanh_test_downward): Likewise.
4476 (ctanh_test_upward): Likewise.
4477 (erf_test): Use END macro without arguments.
4478 (erfc_test): Likewise.
4479 (exp_test): Likewise.
4480 (exp_test_tonearest): Likewise.
4481 (exp_test_towardzero): Likewise.
4482 (exp_test_downward): Likewise.
4483 (exp_test_upward): Likewise.
4484 (exp10_test): Likewise.
4485 (exp2_test): Likewise.
4486 (expm1_test): Likewise.
4487 (fabs_test): Likewise.
4488 (fdim_test): Likewise.
4489 (finite_test): Likewise.
4490 (floor_test): Likewise.
4491 (fma_test): Likewise.
4492 (fma_test_towardzero): Likewise.
4493 (fma_test_downward): Likewise.
4494 (fma_test_upward): Likewise.
4495 (fmax_test): Likewise.
4496 (fmin_test): Likewise.
4497 (fmod_test): Likewise.
4498 (fpclassify_test): Likewise.
4499 (frexp_test): Likewise.
4500 (gamma_test): Likewise.
4501 (hypot_test): Likewise.
4502 (ilogb_test): Likewise.
4503 (isfinite_test): Likewise.
4504 (isgreater_test): Likewise.
4505 (isgreaterequal_test): Likewise.
4506 (isinf_test): Likewise.
4507 (isless_test): Likewise.
4508 (islessequal_test): Likewise.
4509 (islessgreater_test): Likewise.
4510 (isnan_test): Likewise.
4511 (isnormal_test): Likewise.
4512 (issignaling_test): Likewise.
4513 (isunordered_test): Likewise.
4514 (j0_test): Likewise.
4515 (j1_test): Likewise.
4516 (jn_test): Likewise.
4517 (ldexp_test): Likewise.
4518 (lgamma_test): Likewise.
4519 (lrint_test): Likewise.
4520 (lrint_test_tonearest): Likewise.
4521 (lrint_test_towardzero): Likewise.
4522 (lrint_test_downward): Likewise.
4523 (lrint_test_upward): Likewise.
4524 (llrint_test): Likewise.
4525 (llrint_test_tonearest): Likewise.
4526 (llrint_test_towardzero): Likewise.
4527 (llrint_test_downward): Likewise.
4528 (llrint_test_upward): Likewise.
4529 (log_test): Likewise.
4530 (log10_test): Likewise.
4531 (log1p_test): Likewise.
4532 (log2_test): Likewise.
4533 (logb_test): Likewise.
4534 (logb_test_downward): Likewise.
4535 (lround_test): Likewise.
4536 (llround_test): Likewise.
4537 (modf_test): Likewise.
4538 (nearbyint_test): Likewise.
4539 (nextafter_test): Likewise.
4540 (nexttoward_test): Likewise.
4541 (pow_test): Likewise.
4542 (pow_test_tonearest): Likewise.
4543 (pow_test_towardzero): Likewise.
4544 (pow_test_downward): Likewise.
4545 (pow_test_upward): Likewise.
4546 (remainder_test): Likewise.
4547 (remainder_test_tonearest): Likewise.
4548 (remainder_test_towardzero): Likewise.
4549 (remainder_test_downward): Likewise.
4550 (remainder_test_upward): Likewise.
4551 (remquo_test): Likewise.
4552 (rint_test): Likewise.
4553 (rint_test_tonearest): Likewise.
4554 (rint_test_towardzero): Likewise.
4555 (rint_test_downward): Likewise.
4556 (rint_test_upward): Likewise.
4557 (round_test): Likewise.
4558 (scalb_test): Likewise.
4559 (scalbn_test): Likewise.
4560 (scalbln_test): Likewise.
4561 (signbit_test): Likewise.
4562 (sin_test): Likewise.
4563 (sin_test_tonearest): Likewise.
4564 (sin_test_towardzero): Likewise.
4565 (sin_test_downward): Likewise.
4566 (sin_test_upward): Likewise.
4567 (sincos_test): Likewise.
4568 (sinh_test): Likewise.
4569 (sinh_test_tonearest): Likewise.
4570 (sinh_test_towardzero): Likewise.
4571 (sinh_test_downward): Likewise.
4572 (sinh_test_upward): Likewise.
4573 (sqrt_test): Likewise.
4574 (tan_test): Likewise.
4575 (tan_test_tonearest): Likewise.
4576 (tan_test_towardzero): Likewise.
4577 (tan_test_downward): Likewise.
4578 (tan_test_upward): Likewise.
4579 (tanh_test): Likewise.
4580 (tgamma_test): Likewise.
4581 (trunc_test): Likewise.
4582 (y0_test): Likewise.
4583 (y1_test): Likewise.
4584 (yn_test): Likewise.
4585 (significand_test): Likewise.
4587 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4590 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4592 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4595 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4596 __ppc_mdoio and __ppc_mdoom.
4597 * manual/platform.texi: Document new functions __ppc_yield,
4598 __ppc_mdoio and __ppc_mdoom.
4600 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4602 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4603 (main): Mention "tls" pseudo-hwcap is legacy.
4604 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4606 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4608 * math/gen-libm-test.pl (parse_args): Output only string of
4609 arguments as text for test name, not full call or descriptions of
4610 tests for extra outputs.
4611 (generate_testfile): Do not pass function name to parse_args.
4612 Generate this_func variable from START.
4613 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4615 (struct test_ff_f_data): Likewise.
4616 (test_ff_f_data_nexttoward): Likewise.
4617 (struct test_fi_f_data): Likewise.
4618 (struct test_fl_f_data): Likewise.
4619 (struct test_if_f_data): Likewise.
4620 (struct test_fff_f_data): Likewise.
4621 (struct test_c_f_data): Likewise.
4622 (struct test_f_f1_data): Likewise. Remove field extra_name.
4623 (struct test_fF_f1_data): Likewise.
4624 (struct test_ffI_f1_data): Likewise.
4625 (struct test_c_c_data): Rename test_name field to arg_str.
4626 (struct test_cc_c_data): Likewise.
4627 (struct test_f_i_data): Likewise.
4628 (struct test_ff_i_data): Likewise.
4629 (struct test_f_l_data): Likewise.
4630 (struct test_f_L_data): Likewise.
4631 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4633 (COMMON_TEST_SETUP): New macro.
4634 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4635 (COMMON_TEST_CLEANUP): Likewise.
4636 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4637 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4639 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4640 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4642 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4643 (RUN_TEST_fff_f): Take argument string. Call new setup and
4645 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4646 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4648 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4649 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4651 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4652 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4654 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4655 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4657 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4658 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4660 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4661 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4663 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4664 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4666 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4667 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4669 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4670 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4672 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4673 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4675 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4676 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4678 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4679 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4681 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4682 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4684 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4685 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4687 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4688 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4690 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4692 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4694 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4695 to _sifields.sigfault.
4696 (si_addr_lsb): Define new macro.
4697 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4698 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4699 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4701 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4704 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4706 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4708 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4711 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4713 * math/gen-libm-test.pl (parse_args): Do not include expected
4714 result in test name.
4715 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4716 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4717 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4718 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4719 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4722 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4724 * benchtests/Makefile: Sort function entries.
4726 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4727 tanh, asinh, acosh, atanh.
4728 * benchtests/acos-inputs: New file.
4729 * benchtests/acosh-inputs: New file.
4730 * benchtests/asin-inputs: New file.
4731 * benchtests/asinh-inputs: New file.
4732 * benchtests/atanh-inputs: New file.
4733 * benchtests/cosh-inputs: New file.
4734 * benchtests/log-inputs: New file.
4735 * benchtests/sinh-inputs: New file.
4736 * benchtests/tanh-inputs: New file.
4738 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4741 * posix/tst-getaddrinfo4.c: New test.
4742 * posix/Makefile (tests): Add it.
4744 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4747 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4748 when no services were used.
4749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4750 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4752 2013-05-21 Andreas Schwab <schwab@suse.de>
4755 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4756 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4758 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4759 redundant variable declarations and reallocation of buffer when
4760 parsing as IPv6 address. Always set NSS status when called from
4761 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4762 buffer too small. Correct computation of needed size.
4763 * nss/Makefile (tests): Add test-digits-dots.
4764 * nss/test-digits-dots.c: New test.
4766 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4768 * benchtests/Makefile: Remove instructions for adding
4770 * benchtests/README: New file to explain how to execute and
4771 enhance the benchmark tests.
4773 2013-05-21 Andreas Schwab <schwab@suse.de>
4776 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4777 * setjmp/tst-sigsetjmp.c: New test.
4779 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4781 * sysdeps/x86_64/memset.S (memset): New implementation.
4782 (__bzero): Likewise.
4783 (__memset_tail): New function.
4785 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4787 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4788 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4789 __memcpy_sse2_unaligned ifunc selection.
4790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4791 Add memcpy-sse2-unaligned.S.
4792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4793 Add: __memcpy_sse2_unaligned.
4795 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4798 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4799 math_force_eval before restoring floating-point envrionment.
4800 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4803 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4805 (__nearbyintl): Use math_force_eval before restoring
4806 floating-point environment.
4807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4809 * math/gen-libm-test.pl (special_functions): Remove.
4810 (parse_args): Don't handle TEST_extra. Handle functions with no
4812 * math/libm-test.inc (struct test_sincos_data): Replace with
4813 struct test_fFF_11_data.
4814 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4815 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4816 (sincos_test_data): Change element type to struct
4817 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4818 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4819 RUN_TEST_LOOP_sincos.
4820 * math/README.libm-test: Don't mention special handling of
4821 individual functions.
4822 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4823 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4824 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4826 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4829 * math/gen-libm-test.pl (get_variable): Remove function.
4830 (parse_args): Don't show pointer parameters to call in test
4831 names. Use "extra output N" in test names for extra outputs
4832 rather than naming variables.
4834 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4837 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4838 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4839 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4841 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4843 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4846 * math/gen-libm-test.pl (@tests): Remove variable.
4848 (new_test): Remove function.
4849 (show_exceptions): New function.
4850 (special_functions): Use show_exceptions instead of new_test.
4851 (parse_args): Likewise.
4852 (generate_testfile): Pass only function name in generated call to
4853 print_max_error or print_complex_max_error.
4854 (get_ulps): Do not handle complex tests specially.
4855 (output_test): Rename to ...
4856 (get_all_ulps_for_test): ... this. Return a string rather than
4857 printing to a file. Require ulps to be present.
4858 (output_ulps): Generate arrays rather than #defines.
4859 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4860 (struct ulp_data): New type.
4861 (BUILD_COMPLEX_ULP): Remove macro.
4862 (compare_ulp_data): New function.
4863 (find_ulps): Likewise.
4864 (find_test_ulps): Likewise.
4865 (find_function_ulps): Likewise.
4866 (find_complex_function_ulps): Likewise.
4867 (print_max_error): Determine allowed ulps using
4869 (print_complex_max_error): Determine allowed ulps using
4870 find_complex_function_ulps.
4871 (check_float_internal): Determine max ulps using find_test_ulps.
4872 (check_float): Do not take max_ulp parameter. Update call to
4873 check_float_internal.
4874 (check_complex): Likewise.
4875 (check_int): Do not take max_ulp parameter.
4876 (check_long): Likewise.
4877 (check_bool): Likewise.
4878 (check_longlong): Likewise.
4879 (struct test_f_f_data): Remove max_ulp field.
4880 (struct test_ff_f_data): Likewise.
4881 (struct test_ff_f_data_nexttoward): Likewise.
4882 (struct test_fi_f_data): Likewise.
4883 (struct test_fl_f_data): Likewise.
4884 (struct test_if_f_data): Likewise.
4885 (struct test_fff_f_data): Likewise.
4886 (struct test_c_f_data): Likewise.
4887 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4888 (struct test_fF_f1_data): Likewise.
4889 (struct test_ffI_f1_data): Likewise.
4890 (struct test_c_c_data): Remove max_ulp field.
4891 (struct test_cc_c_data): Likewise.
4892 (struct test_f_i_data): Likewise.
4893 (struct test_ff_i_data): Likewise.
4894 (struct test_f_l_data): Likewise.
4895 (struct test_f_L_data): Likewise.
4896 (struct test_sincos_data): Likewise.
4897 (RUN_TEST_f_f): Do not handle ulps.
4898 (RUN_TEST_LOOP_f_f): Likewise.
4899 (RUN_TEST_2_f): Likewise.
4900 (RUN_TEST_LOOP_2_f): Likewise.
4901 (RUN_TEST_fff_f): Likewise.
4902 (RUN_TEST_LOOP_fff_f): Likewise.
4903 (RUN_TEST_c_f): Likewise.
4904 (RUN_TEST_LOOP_c_f): Likewise.
4905 (RUN_TEST_f_f1): Likewise.
4906 (RUN_TEST_LOOP_f_f1): Likewise.
4907 (RUN_TEST_fF_f1): Likewise.
4908 (RUN_TEST_LOOP_fF_f1): Likewise.
4909 (RUN_TEST_fI_f1): Likewise.
4910 (RUN_TEST_LOOP_fI_f1): Likewise.
4911 (RUN_TEST_ffI_f1): Likewise.
4912 (RUN_TEST_LOOP_ffI_f1): Likewise.
4913 (RUN_TEST_c_c): Likewise.
4914 (RUN_TEST_LOOP_c_c): Likewise.
4915 (RUN_TEST_cc_c): Likewise.
4916 (RUN_TEST_LOOP_cc_c): Likewise.
4917 (RUN_TEST_f_i): Likewise.
4918 (RUN_TEST_LOOP_f_i): Likewise.
4919 (RUN_TEST_f_i_tg): Likewise.
4920 (RUN_TEST_LOOP_f_i_tg): Likewise.
4921 (RUN_TEST_ff_i_tg): Likewise.
4922 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4923 (RUN_TEST_f_b): Likewise.
4924 (RUN_TEST_LOOP_f_b): Likewise.
4925 (RUN_TEST_f_b_tg): Likewise.
4926 (RUN_TEST_LOOP_f_b_tg): Likewise.
4927 (RUN_TEST_f_l): Likewise.
4928 (RUN_TEST_LOOP_f_l): Likewise.
4929 (RUN_TEST_f_L): Likewise.
4930 (RUN_TEST_LOOP_f_L): Likewise.
4931 (RUN_TEST_sincos): Likewise.
4932 (RUN_TEST_LOOP_sincos): Likewise.
4934 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4938 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4939 main case of finite arguments, set rounding mode to FE_TONEAREST
4940 and discard exceptions.
4941 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4943 (remainder_tonearest_test_data): New variable.
4944 (remainder_test_tonearest): New function.
4945 (remainder_towardzero_test_data): New variable.
4946 (remainder_test_towardzero): New function.
4947 (remainder_downward_test_data): New variable.
4948 (remainder_test_downward): New function.
4949 (remainder_upward_test_data): New variable.
4950 (remainder_test_upward): New function.
4951 (main): Call the new test functions.
4953 * math/libm-test.inc (struct test_f_f1_data): Remove field
4955 (struct test_fF_f1_data): Likewise.
4956 (struct test_ffI_f1_data): Likewise.
4957 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4958 based on value of EXTRA_EXPECTED.
4959 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4960 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4961 EXTRA_VAR based on value of EXTRA_EXPECTED.
4962 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4963 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4964 EXTRA_VAR based on value of EXTRA_EXPECTED.
4965 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4966 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4967 EXTRA_VAR based on value of EXTRA_EXPECTED.
4968 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4969 * math/gen-libm-test.pl (parse_args): Don't output initializers
4970 for extra output values.
4972 * math/libm-test.inc (check_int): Expect result to be exactly
4973 equal to expected value and do not handle ulps.
4974 (check_long): Likewise.
4975 (check_longlong): Likewise.
4977 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4979 (cimag_test_data): Likewise.
4980 (conj_test_data): Likewise.
4981 (copysign_test_data): Likewise.
4982 (cproj_test_data): Likewise.
4983 (creal_test_data): Likewise.
4984 (fabs_test_data): Likewise.
4985 (fdim_test_data): Likewise.
4986 (finite_test_data): Likewise.
4987 (floor_test_data): Likewise.
4988 (fmax_test_data): Likewise.
4989 (fmin_test_data): Likewise.
4990 (fmod_test_data): Likewise.
4991 (fpclassify_test_data): Likewise.
4992 (frexp_test_data): Likewise.
4993 (ilogb_test_data): Likewise.
4994 (isfinite_test_data): Likewise.
4995 (isgreater_test_data): Likewise.
4996 (isgreaterequal_test_data): Likewise.
4997 (isinf_test_data): Likewise.
4998 (isless_test_data): Likewise.
4999 (islessequal_test_data): Likewise.
5000 (islessgreater_test_data): Likewise.
5001 (isnan_test_data): Likewise.
5002 (isnormal_test_data): Likewise.
5003 (issignaling_test_data): Likewise.
5004 (isunordered_test_data): Likewise.
5005 (ldexp_test_data): Likewise.
5006 (lrint_test_data): Likewise.
5007 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5008 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5009 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5010 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5011 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5012 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5014 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5015 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5016 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5017 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5019 (lrint_downward_test_data): Test for "inexact" exceptions.
5020 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5021 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5022 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5024 (lrint_upward_test_data): Test for "inexact" exceptions.
5025 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5027 (llrint_test_data): Test for "inexact" exceptions.
5028 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5029 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5030 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5031 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5032 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5033 (llrint_downward_test_data): Test for "inexact" exceptions.
5034 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5035 (llrint_upward_test_data): Test for "inexact" exceptions.
5036 (logb_test_data): Likewise.
5037 (logb_downward_test_data): Likewise.
5038 (nextafter_test_data): Likewise.
5039 (nexttoward_test_data): Likewise.
5040 (remainder_test_data): Likewise.
5041 (remquo_test_data): Likewise.
5042 (scalbn_test_data): Likewise.
5043 (scalbln_test_data): Likewise.
5044 (signbit_test_data): Likewise.
5045 (sqrt_test_data): Likewise.
5046 (significand_test_data): Likewise.
5048 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5051 * benchtests/bench-modf.c (struct args): Mark arg0 as
5053 * scripts/bench.pl: Mark members of struct args as volatile.
5055 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5058 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5059 negative infinity on POWER6 or lower.
5060 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5062 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5065 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5066 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5067 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5068 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5069 (_FP_SETQNAN): New macro.
5070 (_FP_SETQNAN_SEMIRAW): Likewise.
5071 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5072 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5073 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5074 (FP_EXTEND): Use _FP_FRAC_SNANP.
5075 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5076 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5078 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5080 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5083 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5085 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5086 with DIVIDE_BY_ZERO_EXCEPTION.
5087 (gamma_test_data): Likewise.
5088 (lgamma_test_data): Likewise.
5089 (log_test_data): Likewise.
5090 (log10_test_data): Likewise.
5091 (log2_test_data): Likewise.
5092 (tgamma_test_data): Likewise.
5094 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5095 (acos_test_tonearest): Likewise.
5096 (acos_test_towardzero): Likewise.
5097 (acos_test_downward): Likewise.
5098 (acos_test_upward): Likewise.
5099 (acosh_test): Likewise.
5100 (asin_test): Likewise.
5101 (asin_test_tonearest): Likewise.
5102 (asin_test_towardzero): Likewise.
5103 (asin_test_downward): Likewise.
5104 (asin_test_upward): Likewise.
5105 (asinh_test): Likewise.
5106 (atan_test): Likewise.
5107 (atanh_test): Likewise.
5108 (atan2_test): Likewise.
5109 (cabs_test): Likewise.
5110 (cacos_test): Likewise.
5111 (cacosh_test): Likewise.
5112 (casin_test): Likewise.
5113 (casinh_test): Likewise.
5114 (catan_test): Likewise.
5115 (catanh_test): Likewise.
5116 (cbrt_test): Likewise.
5117 (ccos_test): Likewise.
5118 (ccosh_test): Likewise.
5119 (cexp_test): Likewise.
5120 (clog_test): Likewise.
5121 (clog10_test): Likewise.
5122 (cos_test): Likewise.
5123 (cos_test_tonearest): Likewise.
5124 (cos_test_towardzero): Likewise.
5125 (cos_test_downward): Likewise.
5126 (cos_test_upward): Likewise.
5127 (cosh_test): Likewise.
5128 (cosh_test_tonearest): Likewise.
5129 (cosh_test_towardzero): Likewise.
5130 (cosh_test_downward): Likewise.
5131 (cosh_test_upward): Likewise.
5132 (cpow_test): Likewise.
5133 (csin_test): Likewise.
5134 (csinh_test): Likewise.
5135 (csqrt_test): Likewise.
5136 (ctan_test): Likewise.
5137 (ctan_test_tonearest): Likewise.
5138 (ctan_test_towardzero): Likewise.
5139 (ctan_test_downward): Likewise.
5140 (ctan_test_upward): Likewise.
5141 (ctanh_test): Likewise.
5142 (ctanh_test_tonearest): Likewise.
5143 (ctanh_test_towardzero): Likewise.
5144 (ctanh_test_downward): Likewise.
5145 (ctanh_test_upward): Likewise.
5146 (erf_test): Likewise.
5147 (erfc_test): Likewise.
5148 (exp_test): Likewise.
5149 (exp_test_tonearest): Likewise.
5150 (exp_test_towardzero): Likewise.
5151 (exp_test_downward): Likewise.
5152 (exp_test_upward): Likewise.
5153 (exp10_test): Likewise.
5154 (exp2_test): Likewise.
5155 (expm1_test): Likewise.
5156 (fmod_test): Likewise.
5157 (gamma_test): Likewise.
5158 (hypot_test): Likewise.
5159 (j0_test): Likewise.
5160 (j1_test): Likewise.
5161 (jn_test): Likewise.
5162 (lgamma_test): Likewise.
5163 (log_test): Likewise.
5164 (log10_test): Likewise.
5165 (log1p_test): Likewise.
5166 (log2_test): Likewise.
5167 (logb_test_downward): Likewise.
5168 (pow_test): Likewise.
5169 (pow_test_tonearest): Likewise.
5170 (pow_test_towardzero): Likewise.
5171 (pow_test_downward): Likewise.
5172 (pow_test_upward): Likewise.
5173 (remainder_test): Likewise.
5174 (remquo_test): Likewise.
5175 (sin_test): Likewise.
5176 (sin_test_tonearest): Likewise.
5177 (sin_test_towardzero): Likewise.
5178 (sin_test_downward): Likewise.
5179 (sin_test_upward): Likewise.
5180 (sincos_test): Likewise.
5181 (sinh_test): Likewise.
5182 (sinh_test_tonearest): Likewise.
5183 (sinh_test_towardzero): Likewise.
5184 (sinh_test_downward): Likewise.
5185 (sinh_test_upward): Likewise.
5186 (sqrt_test): Likewise.
5187 (tan_test): Likewise.
5188 (tan_test_tonearest): Likewise.
5189 (tan_test_towardzero): Likewise.
5190 (tan_test_downward): Likewise.
5191 (tan_test_upward): Likewise.
5192 (tanh_test): Likewise.
5193 (tgamma_test): Likewise.
5194 (y0_test): Likewise.
5195 (y1_test): Likewise.
5196 (yn_test): Likewise.
5198 * math/gen-libm-test.pl (adjust_arg): Remove function.
5199 (special_function): Remove argument $in_func. Only handle
5200 generating output for tables of tests, not inside functions.
5201 (parse_args): Likewise.
5202 (generate_testfile): Remove variable $in_func. Update call to
5204 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5205 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5206 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5207 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5208 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5209 (MAX_VALUE_INIT): Rename macro to max_value.
5210 (MIN_VALUE_INIT): Rename macro to min_value.
5211 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5212 (plus_zero): Remove variable.
5213 (minus_zero): Likewise.
5214 (plus_infty): Likewise.
5215 (minus_infty): Likewise.
5216 (qnan_value): Likewise.
5217 (max_value): Likewise.
5218 (min_value): Likewise.
5219 (min_subnorm_value): Likewise.
5221 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5223 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5224 uint64_t or uint32_t usage.
5225 * crypt/sha256-block.c: Likewise.
5226 * crypt/sha256-crypt.c: Likewise.
5227 * crypt/sha256.c: Likewise.
5228 * crypt/sha512-block.c: Likewise.
5229 * crypt/sha512-crypt.c: Likewise.
5230 * crypt/sha512.c: Likewise.
5231 * debug/backtrace-tst.c: Likewise.
5232 * debug/pcprofiledump.c: Likewise.
5233 * elf/cache.c: Likewise.
5234 * elf/dl-cache.c: Likewise.
5235 * elf/dl-misc.c: Likewise.
5236 * elf/dl-profile.c: Likewise.
5237 * elf/dl-support.c: Likewise.
5238 * elf/ldconfig.c: Likewise.
5239 * elf/sprof.c: Likewise.
5240 * iconv/dummy-repertoire.c: Likewise.
5241 * iconv/iconv_charmap.c: Likewise.
5242 * iconv/skeleton.c: Likewise.
5243 * iconvdata/8bit-generic.c: Likewise.
5244 * iconvdata/cp737.h: Likewise.
5245 * iconvdata/cp775.h: Likewise.
5246 * iconvdata/ibm1008.h: Likewise.
5247 * iconvdata/ibm1025.h: Likewise.
5248 * iconvdata/ibm1046.h: Likewise.
5249 * iconvdata/ibm1097.h: Likewise.
5250 * iconvdata/ibm1112.h: Likewise.
5251 * iconvdata/ibm1122.h: Likewise.
5252 * iconvdata/ibm1123.h: Likewise.
5253 * iconvdata/ibm1124.h: Likewise.
5254 * iconvdata/ibm1129.h: Likewise.
5255 * iconvdata/ibm1130.h: Likewise.
5256 * iconvdata/ibm1132.h: Likewise.
5257 * iconvdata/ibm1133.h: Likewise.
5258 * iconvdata/ibm1137.h: Likewise.
5259 * iconvdata/ibm1140.h: Likewise.
5260 * iconvdata/ibm1141.h: Likewise.
5261 * iconvdata/ibm1142.h: Likewise.
5262 * iconvdata/ibm1143.h: Likewise.
5263 * iconvdata/ibm1144.h: Likewise.
5264 * iconvdata/ibm1145.h: Likewise.
5265 * iconvdata/ibm1146.h: Likewise.
5266 * iconvdata/ibm1147.h: Likewise.
5267 * iconvdata/ibm1148.h: Likewise.
5268 * iconvdata/ibm1149.h: Likewise.
5269 * iconvdata/ibm1153.h: Likewise.
5270 * iconvdata/ibm1154.h: Likewise.
5271 * iconvdata/ibm1155.h: Likewise.
5272 * iconvdata/ibm1156.h: Likewise.
5273 * iconvdata/ibm1157.h: Likewise.
5274 * iconvdata/ibm1158.h: Likewise.
5275 * iconvdata/ibm1160.h: Likewise.
5276 * iconvdata/ibm1161.h: Likewise.
5277 * iconvdata/ibm1162.h: Likewise.
5278 * iconvdata/ibm1163.h: Likewise.
5279 * iconvdata/ibm1164.h: Likewise.
5280 * iconvdata/ibm1166.h: Likewise.
5281 * iconvdata/ibm1167.h: Likewise.
5282 * iconvdata/ibm12712.h: Likewise.
5283 * iconvdata/ibm1390.h: Likewise.
5284 * iconvdata/ibm1399.h: Likewise.
5285 * iconvdata/ibm16804.h: Likewise.
5286 * iconvdata/ibm4517.h: Likewise.
5287 * iconvdata/ibm4899.h: Likewise.
5288 * iconvdata/ibm4909.h: Likewise.
5289 * iconvdata/ibm4971.h: Likewise.
5290 * iconvdata/ibm5347.h: Likewise.
5291 * iconvdata/ibm803.h: Likewise.
5292 * iconvdata/ibm856.h: Likewise.
5293 * iconvdata/ibm901.h: Likewise.
5294 * iconvdata/ibm902.h: Likewise.
5295 * iconvdata/ibm9030.h: Likewise.
5296 * iconvdata/ibm9066.h: Likewise.
5297 * iconvdata/ibm921.h: Likewise.
5298 * iconvdata/ibm922.h: Likewise.
5299 * iconvdata/ibm9448.h: Likewise.
5300 * iconvdata/isiri-3342.h: Likewise.
5301 * iconvdata/jis0201.h: Likewise.
5302 * include/link.h: Likewise.
5303 * include/netdb.h: Likewise.
5304 * inet/check_native.c: Likewise.
5305 * inet/check_pf.c: Likewise.
5306 * inet/getipv4sourcefilter.c: Likewise.
5307 * inet/getnameinfo.c: Likewise.
5308 * inet/getsourcefilter.c: Likewise.
5309 * inet/htonl.c: Likewise.
5310 * inet/setipv4sourcefilter.c: Likewise.
5311 * inet/setsourcefilter.c: Likewise.
5312 * inet/test-inet6_opt.c: Likewise.
5313 * inet/tst-network.c: Likewise.
5314 * locale/C-collate.c: Likewise.
5315 * locale/C-ctype.c: Likewise.
5316 * locale/C-time.c: Likewise.
5317 * locale/C-translit.h: Likewise.
5318 * locale/loadarchive.c: Likewise.
5319 * locale/programs/3level.h: Likewise.
5320 * locale/programs/charmap.c: Likewise.
5321 * locale/programs/charmap.h: Likewise.
5322 * locale/programs/ld-address.c: Likewise.
5323 * locale/programs/ld-collate.c: Likewise.
5324 * locale/programs/ld-ctype.c: Likewise.
5325 * locale/programs/ld-identification.c: Likewise.
5326 * locale/programs/ld-measurement.c: Likewise.
5327 * locale/programs/ld-messages.c: Likewise.
5328 * locale/programs/ld-monetary.c: Likewise.
5329 * locale/programs/ld-name.c: Likewise.
5330 * locale/programs/ld-numeric.c: Likewise.
5331 * locale/programs/ld-paper.c: Likewise.
5332 * locale/programs/ld-telephone.c: Likewise.
5333 * locale/programs/ld-time.c: Likewise.
5334 * locale/programs/linereader.c: Likewise.
5335 * locale/programs/locale.c: Likewise.
5336 * locale/programs/locarchive.c: Likewise.
5337 * locale/programs/locfile.h: Likewise.
5338 * locale/programs/repertoire.c: Likewise.
5339 * locale/programs/simple-hash.c: Likewise.
5340 * locale/programs/simple-hash.h: Likewise.
5341 * malloc/memusage.c: Likewise.
5342 * malloc/memusagestat.c: Likewise.
5343 * nis/nis_defaults.c: Likewise.
5344 * nis/nis_hash.c: Likewise.
5345 * nis/nis_print.c: Likewise.
5346 * nis/nis_xdr.c: Likewise.
5347 * nscd/connections.c: Likewise.
5348 * nscd/hstcache.c: Likewise.
5349 * nscd/nscd_gethst_r.c: Likewise.
5350 * nscd/nscd_getserv_r.c: Likewise.
5351 * nscd/nscd_helper.c: Likewise.
5352 * nscd/servicescache.c: Likewise.
5353 * nss/makedb.c: Likewise.
5354 * nss/nss_db/db-XXX.c: Likewise.
5355 * nss/nss_db/db-initgroups.c: Likewise.
5356 * nss/nss_db/db-netgrp.c: Likewise.
5357 * nss/nss_files/files-network.c: Likewise.
5358 * nss/nss_files/files-parse.c: Likewise.
5359 * posix/bug-regex5.c: Likewise.
5360 * posix/fnmatch_loop.c: Likewise.
5361 * posix/regcomp.c: Likewise.
5362 * posix/regexec.c: Likewise.
5363 * posix/tst-rfc3484-2.c: Likewise.
5364 * posix/tst-rfc3484-3.c: Likewise.
5365 * posix/tst-rfc3484.c: Likewise.
5366 * resolv/nss_dns/dns-canon.c: Likewise.
5367 * resolv/nss_dns/dns-network.c: Likewise.
5368 * resolv/res_init.c: Likewise.
5369 * resolv/res_mkquery.c: Likewise.
5370 * resolv/tst-aton.c: Likewise.
5371 * stdlib/cxa_atexit.c: Likewise.
5372 * stdlib/cxa_finalize.c: Likewise.
5373 * stdlib/gen-fpioconst.c: Likewise.
5374 * stdlib/strtol_l.c: Likewise.
5375 * string/tst-endian.c: Likewise.
5376 * sunrpc/auth_des.c: Likewise.
5377 * sunrpc/clnt_udp.c: Likewise.
5378 * sunrpc/rtime.c: Likewise.
5379 * sunrpc/svcauth_des.c: Likewise.
5380 * sunrpc/xdr.c: Likewise.
5381 * sunrpc/xdr_intXX_t.c: Likewise.
5382 * sunrpc/xdr_rec.c: Likewise.
5383 * sysdeps/generic/ldconfig.h: Likewise.
5384 * sysdeps/generic/ldsodefs.h: Likewise.
5385 * sysdeps/generic/memusage.h: Likewise.
5386 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5389 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5396 * sysdeps/posix/getaddrinfo.c: Likewise.
5397 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5398 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5399 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5400 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5401 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5402 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5403 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5404 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5405 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5406 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5407 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5408 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5409 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5410 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5411 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5412 * sysdeps/x86_64/dl-tls.h: Likewise.
5413 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5414 * time/alt_digit.c: Likewise.
5415 * time/era.c: Likewise.
5416 * wcsmbs/tst-c16c32-1.c: Likewise.
5418 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5420 * math/libm-test.inc (struct test_sincos_data): New type.
5421 (RUN_TEST_LOOP_sincos): New macro.
5422 (sincos_test_data): New variable.
5423 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5425 2013-05-16 Richard Henderson <rth@redhat.com>
5427 * math/atest-exp2.c (LIMB64): New macro.
5428 (CONSTSZ): New macro.
5429 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5431 (print_mpn_fp): ... to function scope.
5432 (read_mpn_hex): Remove.
5434 (exp2_mpn): Use mp_log2.
5435 (main): Use mp_exp1.
5437 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5439 * math/libm-test.inc: Remove comment about not testing "inexact"
5441 (INEXACT_EXCEPTION): New macro.
5442 (NO_INEXACT_EXCEPTION): Likewise.
5443 (INVALID_EXCEPTION_OK): Update value.
5444 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5445 (OVERFLOW_EXCEPTION_OK): Likewise.
5446 (UNDERFLOW_EXCEPTION_OK): Likewise.
5447 (IGNORE_ZERO_INF_SIGN): Likewise.
5448 (ERRNO_UNCHANGED): Likewise.
5449 (ERRNO_EDOM): Likewise.
5450 (ERRNO_ERANGE): Likewise.
5451 (test_exceptions): Handle testing "inexact" exceptions.
5452 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5453 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5454 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5455 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5457 (rint_towardzero_test_data): Likewise.
5458 (rint_downward_test_data): Likewise.
5459 (rint_upward_test_data): Likewise.
5461 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5462 with OVERFLOW_EXCEPTION.
5463 (exp10_test_data): Likewise.
5464 (exp2_test_data): Likewise.
5465 (expm1_test_data): Likewise.
5466 (lgamma_test_data): Likewise.
5467 (pow_test_data): Likewise.
5468 (tgamma_test_data): Likewise.
5469 (yn_test_data): Remove duplicate test of overflow.
5471 * math/libm-test.inc (struct test_cc_c_data): New type.
5472 (RUN_TEST_LOOP_cc_c): New macro.
5473 (cpow_test_data): New variable.
5474 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5476 * math/libm-test.inc (struct test_f_L_data): New type.
5477 (RUN_TEST_LOOP_f_L): New macro.
5478 (llrint_test_data): New variable.
5479 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5480 (llrint_tonearest_test_data): New variable.
5481 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5482 (llrint_towardzero_test_data): New variable.
5483 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5484 (llrint_downward_test_data): New variable.
5485 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5486 (llrint_upward_test_data): New variable.
5487 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5488 (llround_test_data): New variable.
5489 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5491 2013-05-13 Peter Collingbourne <pcc@google.com>
5493 * math/atest-exp2.c (get_log2): Remove const attribute.
5495 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5497 * math/libm-test.inc (struct test_f_l_data): New type.
5498 (RUN_TEST_LOOP_f_l): New macro.
5499 (lrint_test_data): New variable.
5500 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5501 (lrint_tonearest_test_data): New variable.
5502 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5503 (lrint_towardzero_test_data): New variable.
5504 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5505 (lrint_downward_test_data): New variable.
5506 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5507 (lrint_upward_test_data): New variable.
5508 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5509 (lround_test_data): New variable.
5510 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5512 2013-05-15 Peter Collingbourne <pcc@google.com>
5514 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5515 (EXTRACT_WORDS64) Use where appropriate.
5516 (INSERT_WORDS64) Likewise.
5518 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5519 constraints with x constraints.
5520 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5522 * malloc/obstack.c (_obstack_compat): Add initializer.
5524 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5526 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5527 si_trapno and add si_addr_lsb to _sifields.sigfault.
5528 (si_trapno): Remove macro.
5529 (si_addr_lsb): Define new macro.
5530 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5532 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5534 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5535 instead of TEST_f_l.
5536 (llrint_test_tonearest): Likewise.
5537 (llrint_test_towardzero): Likewise.
5538 (llrint_test_downward): Likewise.
5539 (llrint_test_upward): Likewise.
5540 (llround_test): Likewise.
5542 * math/libm-test.inc (struct test_f_i_data): Add comment.
5543 (RUN_TEST_LOOP_f_b): New macro.
5544 (RUN_TEST_LOOP_f_b_tg): Likewise.
5545 (finite_test_data): New variable.
5546 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5547 (isfinite_test_data): New variable.
5548 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5549 (isinf_test_data): New variable.
5550 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5551 (isnan_test_data): New variable.
5552 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5553 (isnormal_test_data): New variable.
5554 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5555 (issignaling_test_data): New variable.
5556 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5557 (signbit_test_data): New variable.
5558 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5560 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5561 with INVALID_EXCEPTION.
5562 (acosh_test_data): Likewise.
5563 (asin_test_data): Likewise.
5564 (atanh_test_data): Likewise.
5565 (fmod_test_data): Likewise.
5566 (log_test_data): Likewise.
5567 (log10_test_data): Likewise.
5568 (log2_test_data): Likewise.
5569 (pow_test_data): Likewise.
5570 (sqrt_test_data): Likewise.
5571 (y0_test_data): Likewise.
5572 (y1_test_data): Likewise.
5573 (yn_test_data): Likewise.
5575 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5578 * math/libm-test.inc (struct test_ff_i_data): New type.
5579 (RUN_TEST_LOOP_ff_i_tg): New macro.
5580 (isgreater_test_data): New variable.
5581 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5582 (isgreaterequal_test_data): New variable.
5583 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5584 (isless_test_data): New variable.
5585 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5586 (islessequal_test_data): New variable.
5587 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5588 (islessgreater_test_data): New variable.
5589 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5590 (isunordered_test_data): New variable.
5591 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5593 2013-05-14 David S. Miller <davem@davemloft.net>
5595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5597 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5599 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5601 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5603 (struct test_f_i_data): Change type of max_ulp to int.
5605 * math/libm-test.inc (test_ffI_f1_data): New type.
5606 (RUN_TEST_LOOP_ffI_f1): New macro.
5607 (remquo_test_data): New variable.
5608 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5610 * setjmp/tst-setjmp-fp.c: New file.
5611 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5612 (link-libm): New variable.
5613 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5615 * math/libm-test.inc (struct test_f_i_data): New type.
5616 (RUN_TEST_LOOP_f_i): New macro.
5617 (RUN_TEST_LOOP_f_i_tg): Likewise.
5618 (fpclassify_test_data): New variable.
5619 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5620 (ilogb_test_data): New variable.
5621 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5623 * math/libm-test.inc (scalbln_test): Correct function name in END
5626 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5627 (RUN_TEST_LOOP_fI_f1): New macro.
5628 (frexp_test_data): New variable.
5629 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5631 * math/libm-test.inc (struct test_fF_f1_data): New type.
5632 (RUN_TEST_LOOP_fF_f1): New macro.
5633 (modf_test_data): New variable.
5634 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5636 * math/libm-test.inc (struct test_f_f1_data): New type.
5637 (RUN_TEST_LOOP_f_f1): New macro.
5638 (gamma_test_data): New variable.
5639 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5640 (lgamma_test_data): New variable.
5641 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5643 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5645 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5646 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5647 (main): Comment "tls" pseudo-hwcap.
5649 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5651 * math/libm-test.inc (struct test_fl_f_data): New type.
5652 (RUN_TEST_LOOP_fl_f): New variable.
5653 (scalbln_test_data): New variable.
5654 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5656 * math/libm-test.inc (struct test_fi_f_data): New type.
5657 (RUN_TEST_LOOP_fi_f): New macro.
5658 (ldexp_test_data): New variable.
5659 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5660 (scalbn_test_data): New variable.
5661 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5663 * math/libm-test.inc (struct test_c_f_data): New type.
5664 (RUN_TEST_LOOP_c_f): New macro.
5665 (cabs_test_data): New variable.
5666 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5667 (carg_test_data): New variable.
5668 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5669 (cimag_test_data): New variable.
5670 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5671 (creal_test_data): New variable.
5672 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5674 * math/libm-test.inc (struct test_if_f_data): New type.
5675 (RUN_TEST_LOOP_if_f): New macro.
5676 (jn_test_data): New variable.
5677 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5678 (yn_test_data): New variable.
5679 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5681 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5683 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5685 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5686 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5688 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5690 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5691 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5692 (bench-deps): Add bench-timing.h.
5693 * benchtests-bench-skeleton.c: Include bench-timing.h.
5694 (main): Use TIMING_* macros instead of clock_gettime.
5695 * benchtests/bench-timing.h: New file.
5698 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5699 Renamed from _LIB_VERSION.
5700 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5702 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5704 * math/libm-test.inc (struct test_fff_f_data): New type.
5705 (RUN_TEST_LOOP_fff_f): New macro.
5706 (fma_test_data): New variable.
5707 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5708 (fma_towardzero_test_data): New variable.
5709 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5710 (fma_downward_test_data): New variable.
5711 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5712 (fma_upward_test_data): New variable.
5713 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5715 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5716 (struct test_c_c_data): New type.
5717 (RUN_TEST_LOOP_c_c): New macro.
5718 (cacos_test_data): New variable.
5719 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5720 (cacosh_test_data): New variable.
5721 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5722 (casin_test_data): New variable.
5723 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5724 (casinh_test_data): New variable.
5725 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5726 (catan_test_data): New variable.
5727 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5728 (catanh_test_data): New variable.
5729 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5730 (ccos_test_data): New variable.
5731 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5732 (ccosh_test_data): New variable.
5733 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5734 (cexp_test_data): New variable.
5735 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5736 (clog_test_data): New variable.
5737 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5738 (clog10_test_data): New variable.
5739 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5740 (conj_test_data): New variable.
5741 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5742 (cproj_test_data): New variable.
5743 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5744 (csin_test_data): New variable.
5745 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5746 (csinh_test_data): New variable.
5747 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5748 (csqrt_test_data): New variable.
5749 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5750 (ctan_test_data): New variable.
5751 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5752 (ctan_tonearest_test_data): New variable.
5753 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5754 (ctan_towardzero_test_data): New variable.
5755 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5756 (ctan_downward_test_data): New variable.
5757 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5758 (ctan_upward_test_data): New variable.
5759 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5760 (ctanh_test_data): New variable.
5761 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5762 (ctanh_tonearest_test_data): New variable.
5763 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5764 (ctanh_towardzero_test_data): New variable.
5765 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5766 (ctanh_downward_test_data): New variable.
5767 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5768 (ctanh_upward_test_data): New variable.
5769 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5770 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5773 * math/libm-test.inc (struct test_ff_f_data): New type.
5774 (struct test_ff_f_data_nexttoward): Likewise.
5775 (RUN_TEST_LOOP_2_f): New macro.
5776 (RUN_TEST_LOOP_ff_f): Likewise.
5777 (atan2_test_data): New variable.
5778 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5779 (copysign_test_data): New variable.
5780 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5781 (fdim_test_data): New variable.
5782 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5783 (fmax_test_data): New variable.
5784 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5785 (fmin_test_data): New variable.
5786 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5787 (fmod_test_data): New variable.
5788 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5789 (hypot_test_data): New variable.
5790 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5791 (nextafter_test_data): New variable.
5792 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5793 (nexttoward_test_data): New variable.
5794 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5795 (pow_test_data): New variable.
5796 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5797 (pow_tonearest_test_data): New variable.
5798 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5799 (pow_towardzero_test_data): New variable.
5800 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5801 (pow_downward_test_data): New variable.
5802 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5803 (pow_upward_test_data): New variable.
5804 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5805 (remainder_test_data): New variable.
5806 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5807 (scalb_test_data): New variable.
5808 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5809 * sysdeps/i386/fpu/libm-test-ulps: Update.
5811 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5813 * math/libm-test.inc (fma_test): Use max_value instead of local
5815 (nextafter_test): Likewise.
5817 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5818 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5819 (acos_downward_test_data): New variable.
5820 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5821 (acos_upward_test_data): New variable.
5822 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5823 (acosh_test_data): New variable.
5824 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5825 (asin_test_data): New variable.
5826 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5827 (asin_tonearest_test_data): New variable.
5828 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5829 (asin_towardzero_test_data): New variable.
5830 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5831 (asin_downward_test_data): New variable.
5832 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5833 (asin_upward_test_data): New variable.
5834 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5835 (asinh_test_data): New variable.
5836 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5837 (atan_test_data): New variable.
5838 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5839 (atanh_test_data): New variable.
5840 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5841 (cbrt_test_data): New variable.
5842 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5843 (ceil_test_data): New variable.
5844 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5845 (cos_test_data): New variable.
5846 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5847 (cos_tonearest_test_data): New variable.
5848 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5849 (cos_towardzero_test_data): New variable.
5850 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5851 (cos_downward_test_data): New variable.
5852 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5853 (cos_upward_test_data): New variable.
5854 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5855 (cosh_test_data): New variable.
5856 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5857 (cosh_tonearest_test_data): New variable.
5858 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5859 (cosh_towardzero_test_data): New variable.
5860 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5861 (cosh_downward_test_data): New variable.
5862 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5863 (cosh_upward_test_data): New variable.
5864 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5865 (erf_test_data): New variable.
5866 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5867 (erfc_test_data): New variable.
5868 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5869 (exp_test_data): New variable.
5870 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5871 (exp_tonearest_test_data): New variable.
5872 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5873 (exp_towardzero_test_data): New variable.
5874 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5875 (exp_downward_test_data): New variable.
5876 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5877 (exp_upward_test_data): New variable.
5878 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5879 (exp10_test_data): New variable.
5880 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5881 (exp2_test_data): New variable.
5882 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5883 (expm1_test_data): New variable.
5884 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5885 (fabs_test_data): New variable.
5886 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5887 (floor_test_data): New variable.
5888 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5889 (j0_test_data): New variable.
5890 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5891 (j1_test_data): New variable.
5892 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5893 (log_test_data): New variable.
5894 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5895 (log10_test_data): New variable.
5896 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5897 (log1p_test_data): New variable.
5898 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5899 (log2_test_data): New variable.
5900 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5901 (logb_test_data): New variable.
5902 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5903 (logb_downward_test_data): New variable.
5904 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5905 (nearbyint_test_data): New variable.
5906 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5907 (rint_test_data): New variable.
5908 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5909 (rint_tonearest_test_data): New variable.
5910 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5911 (rint_towardzero_test_data): New variable.
5912 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5913 (rint_downward_test_data): New variable.
5914 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5915 (rint_upward_test_data): New variable.
5916 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5917 (round_test_data): New variable.
5918 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5919 (sin_test_data): New variable.
5920 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5921 (sin_tonearest_test_data): New variable.
5922 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5923 (sin_towardzero_test_data): New variable.
5924 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5925 (sin_downward_test_data): New variable.
5926 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5927 (sin_upward_test_data): New variable.
5928 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5929 (sinh_test_data): New variable.
5930 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5931 (sinh_tonearest_test_data): New variable.
5932 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5933 (sinh_towardzero_test_data): New variable.
5934 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5935 (sinh_downward_test_data): New variable.
5936 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5937 (sinh_upward_test_data): New variable.
5938 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5939 (sqrt_test_data): New variable.
5940 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5941 (tan_test_data): New variable.
5942 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5943 (tan_tonearest_test_data): New variable.
5944 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5945 (tan_towardzero_test_data): New variable.
5946 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5947 (tan_downward_test_data): New variable.
5948 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5949 (tan_upward_test_data): New variable.
5950 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5951 (tanh_test_data): New variable.
5952 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5953 (tgamma_test_data): New variable.
5954 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5955 (trunc_test_data): New variable.
5956 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5957 (y0_test_data): New variable.
5958 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5959 (y1_test_data): New variable.
5960 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5961 (significand_test_data): New variable.
5962 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5964 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5967 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5969 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5971 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5973 2013-05-10 Andreas Jaeger <aj@suse.de>
5976 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5977 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5979 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5981 * math/gen-libm-test.pl (adjust_arg): New function.
5982 (special_functions): Handle generating output in both functions
5984 (parse_args): Likewise.
5985 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5986 $in_func argument to parse_args.
5987 * math/libm-test.inc (struct test_f_f_data): New type.
5988 (IF_ROUND_INIT_): New macro.
5989 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5990 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5991 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5992 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5993 (ROUND_RESTORE_): Likewise.
5994 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5995 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5996 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5997 (ROUND_RESTORE_FE_UPWARD): Likewise.
5998 (RUN_TEST_LOOP_f_f): New macro.
5999 (acos_test_data): New variable.
6000 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6001 (acos_tonearest_test_data): New variable.
6002 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6004 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6006 * benchtests/bench-skeleton.c (startup): Fix coding style.
6008 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6011 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6012 negative infinity argument.
6013 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6014 negative infinity argument.
6015 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6016 negative infinity argument.
6017 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6020 2013-05-10 Florian Weimer <fweimer@redhat.com>
6022 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6023 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6024 * iconv/iconv_prog.c (main): Likewise.
6025 * locale/programs/charmap-dir.c (charmap_readdir)
6026 (fopen_uncompressed): Likewise.
6027 * locale/programs/locfile.c (siblings_uncached)
6028 (write_locale_data): Use lstat64 instead of lstat.
6029 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6032 2013-05-10 Andreas Jaeger <aj@suse.de>
6035 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6039 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6041 * elf/dl-close.c (_dl_close_worker): Add comments.
6043 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6046 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6048 (__ieee754_rem_pio2l): Update comments.
6051 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6053 (__ieee754_rem_pio2l): Update comments.
6055 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6056 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6058 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6061 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6062 (M_PI_34_LOG10El): Likewise.
6063 (M_PI2_LOG10El): Likewise.
6064 (M_PI4_LOG10El): Likewise.
6065 (M_PI_LOG10El): Likewise.
6067 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6071 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6073 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6074 (MINUS_ZERO_INIT): Likewise.
6075 (PLUS_INFTY_INIT): Likewise.
6076 (MINUS_INFTY_INIT): Likewise.
6077 (QNAN_VALUE_INIT): Likewise.
6078 (MAX_VALUE_INIT): Likewise.
6079 (MIN_VALUE_INIT): Likewise.
6080 (MIN_SUBNORM_VALUE_INIT): Likewise.
6081 (plus_zero): Initialize with PLUS_ZERO_INIT.
6082 (minus_zero): Initialize with MINUS_ZERO_INIT.
6083 (plus_infty): Initialize with PLUS_INFTY_INIT.
6084 (minus_infty): Initialize with MINUS_INFTY_INIT.
6085 (qnan_value): Initialize with QNAN_VALUE_INIT.
6086 (max_value): Initialize with MAX_VALUE_INIT.
6087 (min_value): Initialize with MIN_VALUE_INIT.
6088 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6090 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6091 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6092 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6093 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6095 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6096 (RUN_TEST_2_f): Likewise.
6097 (RUN_TEST_ff_f): Likewise.
6098 (RUN_TEST_fi_f): Likewise.
6099 (RUN_TEST_fl_f): Likewise.
6100 (RUN_TEST_fff_f): Likewise.
6101 (RUN_TEST_c_f): Likewise.
6102 (RUN_TEST_f_f1): Likewise.
6103 (RUN_TEST_fF_f1): Likewise.
6104 (RUN_TEST_fI_f1): Likewise.
6105 (RUN_TEST_ffI_f1): Likewise.
6106 (RUN_TEST_c_c): Likewise.
6107 (RUN_TEST_cc_c): Likewise.
6108 (RUN_TEST_f_i): Likewise.
6109 (RUN_TEST_f_i_tg): Likewise.
6110 (RUN_TEST_ff_i_tg): Likewise.
6111 (RUN_TEST_f_b): Likewise.
6112 (RUN_TEST_f_b_tg): Likewise.
6113 (RUN_TEST_f_l): Likewise.
6114 (RUN_TEST_f_L): Likewise.
6115 (RUN_TEST_sincos): Likewise.
6116 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6117 whether to show exceptions. Do not include ");\n" in return
6119 (special_functions): Output call to RUN_TEST_sincos instead of
6120 check_float calls. Update calls to new_test.
6121 (parse_args): Output call to single RUN_TEST_* macro instead of
6122 check_* calls and other assignments. Update calls to new_test.
6128 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6129 input to result for tgamma overflow.
6130 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6131 (gamma_coeff): New variable.
6132 (NCOEFF): New macro.
6133 (gamma_positive): New function.
6134 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6135 underflow here. Use gamma_positive instead of exp (lgamma) for
6137 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6138 (gamma_coeff): New variable.
6139 (NCOEFF): New macro.
6140 (gammaf_positive): New function.
6141 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6142 underflow here. Use gamma_positive instead of exp (lgamma) for
6144 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6145 (gamma_coeff): New variable.
6146 (NCOEFF): New macro.
6147 (gammal_positive): New function.
6148 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6149 underflow here. Use gamma_positive instead of exp (lgamma) for
6151 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6152 (gamma_coeff): New variable.
6153 (NCOEFF): New macro.
6154 (gammal_positive): New function.
6155 (__ieee754_gammal_r): Handle positive infinity, overflow and
6156 underflow here. Handle NaN the same as positive infinity. Remove
6157 check x < 0xffffffff for negative integers. Use gamma_positive
6158 instead of exp (lgamma) for other arguments.
6159 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6160 (gamma_coeff): New variable.
6161 (NCOEFF): New macro.
6162 (gammal_positive): New function.
6163 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6164 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6166 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6168 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6169 * sysdeps/generic/math_private.h (__gamma_productf): New
6171 (__gamma_product): Likewise.
6172 (__gamma_productl): Likewise.
6173 * math/Makefile (libm-calls): Add gamma_product.
6174 * math/libm-test.inc (tgamma_test): Add more tests.
6175 * sysdeps/i386/fpu/libm-test-ulps: Update.
6176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6178 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6180 * benchtests/bench-skeleton.c (main): Preheat CPU.
6182 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6184 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6186 2013-05-07 Roland McGrath <roland@hack.frob.com>
6188 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6189 and _dl_skip_args_internal.
6191 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6193 * manual/message.texi (Message Translation): Talk about users.
6194 Message to key mapping impacts design.
6196 2013-05-06 Roland McGrath <roland@hack.frob.com>
6198 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6200 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6202 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6203 * sysdeps/wordsize-64/glob64.c: ... here.
6205 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6206 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6209 * debug/getlogin_r_chk.c: Moved to ...
6210 * login/getlogin_r_chk.c: ... here.
6211 * debug/Makefile (routines): Move getlogin_r_chk to ...
6212 * login/Makefile (routines): ... here.
6213 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6214 * login/Versions (libc: GLIBC_2.4): ... here.
6216 * io/poll.c (__poll): Renamed from poll.
6217 Add libc_hidden_def.
6218 (poll): Define as weak alias.
6220 * debug/ptsname_r_chk.c: Moved to ...
6221 * login/ptsname_r_chk.c: ... here.
6222 * debug/Makefile (routines): Move ptsname_r_chk to ...
6223 * login/Makefile (routines): ... here.
6224 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6225 * login/Versions (libc: GLIBC_2.4): ... here.
6227 * posix/getlogin.c: Moved to ...
6228 * login/getlogin.c: ... here.
6229 * posix/getlogin_r.c: Moved to ...
6230 * login/getlogin_r.c: ... here.
6231 * posix/getlogin_r.c: Moved to ...
6232 * login/getlogin_r.c: ... here.
6233 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6234 * login/Makefile (routines): ... here.
6235 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6236 * login/Versions (libc: GLIBC_2.0): ... here.
6238 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6239 (setrlimit): Define as weak alias.
6241 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6242 Call __ names for open, ftruncate, and close.
6243 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6244 (truncate): Define as weak alias.
6246 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6248 * math/gen-libm-test.pl (parse_args): Initialize x before each
6249 test of frexp, modf and remquo.
6251 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6254 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6258 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6260 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6262 2013-05-06 Roland McGrath <roland@hack.frob.com>
6264 * elf/dl-writev.h: New file.
6265 * elf/dl-misc.c: Include it.
6266 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6267 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6269 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6271 * math/libm-test.inc (noXFails): Remove variable.
6272 (noXPasses): Likewise.
6273 (BUILD_COMPLEX_INT): Remove macro.
6274 (print_screen): Remove xfail argument.
6275 (print_screen_max_error): Likewise.
6276 (update_stats): Likewise.
6277 (print_max_error): Likewise. Update calls to other affected
6279 (print_complex_max_error): Likewise.
6280 (test_single_exception): Update calls to print_screen.
6281 (test_single_errno): Likewise.
6282 (check_float_internal): Remove xfail argument. Update calls to
6283 other affected functions.
6284 (check_float): Likewise.
6285 (check_complex): Likewise.
6286 (check_int): Likewise.
6287 (check_long): Likewise.
6288 (check_bool): Likewise.
6289 (check_longlong): Likewise.
6290 (main): Don't print noXFails and noXPasses.
6291 * math/gen-libm-test.pl (top level): Don't mention expected
6292 failure handling in comment.
6293 (new_test): Don't handle expected failures.
6294 (parse_args): Don't mention expected failure handling in comment.
6295 (generate_testfile): Don't handle expected failures.
6296 (parse_ulps): Likewise.
6297 (print_ulps_file): Likewise.
6298 (get_failure): Remove function.
6299 (output_test): Don't handle expected failures.
6300 * make/README.libm-test: Don't mention expected failure handling.
6302 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6303 (minus_zero): Likewise.
6304 (plus_infty): Likewise.
6305 (minus_infty): Likewise.
6306 (qnan_value): Likewise.
6307 (max_value): Likewise.
6308 (min_value): Likewise.
6309 (min_subnorm_value): Likewise.
6310 (initialize): Do not initialize those variables dynamically.
6312 2013-05-03 Roland McGrath <roland@hack.frob.com>
6314 * io/open.c (__open_2): Moved to ...
6315 * io/open_2.c: ... this new file.
6316 * io/open64.c (__open64_2): Moved to ...
6317 * io/open64_2.c: ... this new file.
6318 * io/openat.c (__openat_2): Moved to ...
6319 * io/openat_2.c: ... this new file.
6320 * io/openat64.c (__openat64_2): Moved to ...
6321 * io/openat64_2.c: ... this new file.
6322 * io/Makefile (routines): Add them.
6323 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6324 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6325 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6326 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6327 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6328 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6329 (__openat64): Add hidden_ver.
6330 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6331 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6333 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6334 Separately conditionalize setting of GLRO(dl_sysinfo) so
6335 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6336 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6338 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6340 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6341 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6343 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6344 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6345 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6346 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6347 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6349 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6351 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6354 * math/libm-test.inc (hypot_test): Do not use
6355 IGNORE_ZERO_INF_SIGN.
6357 2013-05-03 Andreas Jaeger <aj@suse.de>
6359 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6361 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6362 (PF_MAX): Adjust for VSOCK change.
6364 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6368 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6371 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6372 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6373 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6375 2013-05-02 David S. Miller <davem@davemloft.net>
6377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6379 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6381 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6383 2013-05-01 Roland McGrath <roland@hack.frob.com>
6385 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6387 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6390 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6391 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6392 Use __attribute__ ((__gnu_inline__)).
6393 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6394 Don't use __attribute__ ((__gnu_inline__)).
6396 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6399 * math/s_catan.c (__catan): Handle small real or imaginary part of
6400 input specially to avoid spurious underflow.
6401 * math/s_catanf.c (__catanf): Likewise.
6402 * math/s_catanh.c (__catanh): Likewise.
6403 * math/s_catanhf.c (__catanhf): Likewise.
6404 * math/s_catanhl.c (__catanhl): Likewise.
6405 * math/s_catanl.c (__catanl): Likewise.
6406 * math/libm-test.inc (catan_test): Add more tests.
6407 (catanh_test): Likewise.
6408 * sysdeps/i386/fpu/libm-test-ulps: Update.
6409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6411 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6415 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6418 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6419 accurately for denominator in atan2.
6420 * math/s_catanf.c (__catanf): Likewise.
6421 * math/s_catanh.c (__catanh): Likewise.
6422 * math/s_catanhf.c (__catanhf): Likewise.
6423 * math/s_catanhl.c (__catanhl): Likewise.
6424 * math/s_catanl.c (__catanl): Likewise.
6425 * math/libm-test.inc (catan_test): Add more tests.
6426 (catanh_test): Likewise.
6427 * sysdeps/i386/fpu/libm-test-ulps: Update.
6428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6430 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6432 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6434 * benchtests/Makefile (bench): Remove slow benchmarks.
6435 * benchtests/atan-inputs: Add slow benchmark inputs.
6436 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6437 (BENCH_FUNC): Accept variant offset.
6439 * benchtests/bench-skeleton.c (main): Run benchmark for each
6441 * benchtests/cos-inputs: Add slow benchmark inputs.
6442 * benchtests/exp-inputs: Likewise.
6443 * benchtests/pow-inputs: Likewise.
6444 * benchtests/sin-inputs: Likewise.
6445 * benchtests/slowatan-inputs: Remove.
6446 * benchtests/slowatan.c: Remove.
6447 * benchtests/slowcos-inputs: Remove.
6448 * benchtests/slowcos.c: Remove.
6449 * benchtests/slowexp-inputs: Remove.
6450 * benchtests/slowexp.c: Remove.
6451 * benchtests/slowpow-inputs: Remove.
6452 * benchtests/slowpow.c: Remove.
6453 * benchtests/slowsin-inputs: Remove.
6454 * benchtests/slowsin.c: Remove.
6455 * benchtests/slowtan-inputs: Remove.
6456 * benchtests/slowtan.c: Remove.
6457 * benchtests/tan-inputs: Add slow benchmark inputs.
6458 * scripts/bench.pl: Parse comments and directives.
6460 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6462 ($(objpfx)bench-%.c): Remove *-ITER.
6463 * benchtests/bench-modf.c: Remove definition of ITER.
6464 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6465 (main): Loop for DURATION seconds instead of fixed number of
6467 * scripts/bench.pl: Don't expect iterations in parameters.
6469 2013-04-29 Roland McGrath <roland@hack.frob.com>
6471 * io/fchdir.c (__fchdir): Renamed from fchdir.
6472 (fchdir): Define as weak alias.
6474 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6476 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6477 (ERRNO_EDOM): Likewise.
6478 (ERRNO_ERANGE): Likewise.
6479 (noErrnoTests): New variable.
6480 (init_max_error): Set errno to 0.
6481 (test_single_errno): New function.
6482 (test_errno): Likewise.
6483 (check_float_internal): Call test_errno. Set errno to 0.
6484 (check_complex): Refer to errno tests in comment.
6485 (check_int): Call test_errno. Set errno to 0.
6486 (check_long): Likewise.
6487 (check_bool): Likewise.
6488 (check_longlong): Likewise.
6489 (cos_test): Use ERRNO_* flags for errno tests instead of
6491 (expm1_test): Likewise.
6492 (fmod_test): Likewise.
6493 (ilogb_test): Likewise.
6494 (lgamma_test): Likewise.
6495 (pow_test): Likewise.
6496 (remainder_test): Likewise.
6497 (sin_test): Likewise.
6498 (tan_test): Likewise.
6499 (yn_test): Likewise.
6500 (initialize): Set errno to 0.
6501 (main): Print number of errno tests.
6502 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6504 2013-04-29 Andreas Jaeger <aj@suse.de>
6507 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6511 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6512 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6516 * stdlib/random.c (__initstate): Return NULL if
6520 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6521 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6524 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6528 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6530 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6531 of individual tests.
6532 (casin_test): Likewise.
6533 (casinh_test): Likewise.
6535 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6538 * math/s_catan.c (__catan): Handle arguments with large real or
6539 imaginary part separately without squaring.
6540 * math/s_catanf.c (__catanf): Likewise.
6541 * math/s_catanh.c (__catanh): Likewise.
6542 * math/s_catanhf.c (__catanhf): Likewise.
6543 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6545 (__catanhl): Handle arguments with large real or imaginary part
6546 separately without squaring.
6547 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6549 (__catanl): Handle arguments with large real or imaginary part
6550 separately without squaring.
6551 * math/libm-test.inc (catan_test): Add more tests.
6552 (catanh_test): Likewise.
6553 * sysdeps/i386/fpu/libm-test-ulps: Update.
6554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6556 2013-04-27 Andreas Jaeger <aj@suse.de>
6559 * stdlib/stdlib.h: Update guards for qecvt.
6560 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6563 2013-04-27 Allan McRae <allan@archlinux.org>
6565 * sysdeps/i386/fpu/libm-test-ulps: Update.
6567 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6570 * math/s_catan.c: Include <float.h>.
6571 (__catan): Ensure underflow exception occurs for underflowed
6573 * math/s_catanf.c: Include <float.h>.
6574 (__catanf): Ensure underflow exception occurs for underflowed
6576 * math/s_catanh.c: Include <float.h>.
6577 (__catanh): Ensure underflow exception occurs for underflowed
6579 * math/s_catanhf.c: Include <float.h>.
6580 (__catanhf): Ensure underflow exception occurs for underflowed
6582 * math/s_catanhl.c: Include <float.h>.
6583 (__catanhl): Ensure underflow exception occurs for underflowed
6585 * math/s_catanl.c: Include <float.h>.
6586 (__catanl): Ensure underflow exception occurs for underflowed
6588 * math/libm-test.inc (catan_test): Add more tests.
6589 (catanh_test): Likewise.
6592 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6594 * math/s_ccoshf.c (__ccoshf): Likewise.
6595 * math/s_ccoshl.c (__ccoshl): Likewise.
6596 * math/s_csin.c (__csin): Likewise.
6597 * math/s_csinf.c (__csinf): Likewise.
6598 * math/s_csinh.c (__csinh): Likewise.
6599 * math/s_csinhf.c (__csinhf): Likewise.
6600 * math/s_csinhl.c (__csinhl): Likewise.
6601 * math/s_csinl.c (__csinl): Likewise.
6602 * math/libm-test.inc (ccos_test): Add more tests.
6603 (ccosh_test): Likewise.
6604 (csin_test): Likewise.
6605 (csinh_test): Likewise.
6607 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6609 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6610 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6611 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6612 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6613 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6614 powerpc/power5+/fpu folders.
6615 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6618 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6622 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6624 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6625 additions to variable.
6626 [$(config-machine) = x86_64] (modules-names): Likewise.
6627 ($(objpfx)tst-audit3): Remove dependency.
6628 ($(objpfx)tst-audit3.out): Likewise.
6629 ($(objpfx)tst-audit4): Likewise.
6630 ($(objpfx)tst-audit4.out): Likewise.
6631 ($(objpfx)tst-audit5): Likewise.
6632 ($(objpfx)tst-audit5.out): Likewise.
6633 ($(objpfx)tst-audit6): Likewise.
6634 ($(objpfx)tst-audit6.out): Likewise.
6635 ($(objpfx)tst-audit7): Likewise.
6636 ($(objpfx)tst-audit7.out): Likewise.
6637 (tst-audit3-ENV): Remove variable.
6638 (tst-audit4-ENV): Likewise.
6639 (tst-audit5-ENV): Likewise.
6640 (tst-audit6-ENV): Likewise.
6641 (tst-audit7-ENV): Likewise.
6642 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6643 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6644 addition to variable.
6645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6646 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6647 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6648 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6650 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6651 tst-audit3, tst-audit4 and tst-audit5.
6652 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6653 tst-audit6 and tst-audit7.
6654 [$(subdir) = elf] (modules-names): Add audit modules for those
6656 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6657 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6658 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6659 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6660 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6661 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6662 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6663 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6664 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6665 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6666 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6667 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6668 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6669 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6670 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6671 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6673 [$(subdir) = elf && $(config-cflags-avx) = yes]
6674 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6675 [$(subdir) = elf && $(config-cflags-avx) = yes]
6676 (CFLAGS-tst-auditmod4a.c): Likewise.
6677 [$(subdir) = elf && $(config-cflags-avx) = yes]
6678 (CFLAGS-tst-auditmod4b.c): Likewise.
6679 [$(subdir) = elf && $(config-cflags-avx) = yes]
6680 (CFLAGS-tst-auditmod6b.c): Likewise.
6681 [$(subdir) = elf && $(config-cflags-avx) = yes]
6682 (CFLAGS-tst-auditmod6c.c): Likewise.
6683 [$(subdir) = elf && $(config-cflags-avx) = yes]
6684 (CFLAGS-tst-auditmod7b.c): Likewise.
6685 * elf/tst-audit3.c: Move to ...
6686 * sysdeps/x86_64/tst-audit3.c: ... here.
6687 * elf/tst-audit4.c: Move to ...
6688 * sysdeps/x86_64/tst-audit4.c: ... here.
6689 * elf/tst-audit5.c: Move to ...
6690 * sysdeps/x86_64/tst-audit5.c: ... here.
6691 * elf/tst-audit6.c: Move to ...
6692 * sysdeps/x86_64/tst-audit6.c: ... here.
6693 * elf/tst-audit7.c: Move to ...
6694 * sysdeps/x86_64/tst-audit7.c: ... here.
6695 * elf/tst-auditmod3a.c: Move to ...
6696 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6697 * elf/tst-auditmod3b.c: Move to ...
6698 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6699 * elf/tst-auditmod4a.c: Move to ...
6700 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6701 * elf/tst-auditmod4b.c: Move to ...
6702 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6703 * elf/tst-auditmod5a.c: Move to ...
6704 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6705 * elf/tst-auditmod5b.c: Move to ...
6706 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6707 * elf/tst-auditmod6a.c: Move to ...
6708 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6709 * elf/tst-auditmod6b.c: Move to ...
6710 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6711 * elf/tst-auditmod6c.c: Move to ...
6712 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6713 * elf/tst-auditmod7a.c: Move to ...
6714 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6715 * elf/tst-auditmod7b.c: Move to ...
6716 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6718 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6721 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6722 define unconditionally.
6723 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6724 define unconditionally.
6725 (INT8_C, INT16_C, etc.): Likewise.
6727 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6729 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6730 __ehdr_start with hidden visibility.
6732 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6734 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6736 * math/libm-test.inc (cos_test): Use accurate hex constants.
6737 (sincost_test): Likewise.
6739 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6741 * math/libm-test.inc (catan_test): Add more tests.
6742 (catanh_test): Likewise.
6744 * math/s_catanf.c (__catanf): Use suffixed floating-point
6746 * math/s_catanhf.c (__catanhf): Likewise.
6747 * math/s_catanhl.c (__catanhl): Likewise.
6748 * math/s_catanl.c (__catanl): Likewise.
6751 * math/s_catan.c (__catan): Calculate imaginary part of result
6752 with log1p not log unless computing log of number close to 0.
6753 * math/s_catanf.c (__catanf): Likewise.
6754 * math/s_catanl.c (__catanl): Likewise.
6755 * math/s_catanh.c (__catanh): Calculate real part of result with
6756 log1p not log unless computing log of number close to 0.
6757 * math/s_catanhf.c (__catanhf): Likewise.
6758 * math/s_catanhl.c (__catanhl): Likewise.
6759 * math/libm-test.inc (catan_test): Add more tests.
6760 (catanh_test): Likewise.
6761 * sysdeps/i386/fpu/libm-test-ulps: Update.
6762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6764 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6766 * benchtests/Makefile: Mention files in which fast and slow
6767 paths of math functions are implemented.
6769 2013-04-23 Roland McGrath <roland@hack.frob.com>
6771 * sysdeps/posix/timespec_get.c: New file.
6773 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6775 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6777 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6779 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6780 powerpc/power5/fpu folders.
6781 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6782 * benchtests/Makefile: Add modf testcase.
6783 * benchtests/bench-modf.c: New file: Benchmark test for mo
6785 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6788 * time/Makefile (tests): Add tst-strptime-whitespace.
6789 * time/strptime_l.c (get_number): Use ISSPACE.
6790 (__strptime_internal): Likewise.
6791 * time/tst-strptime-whitespace.c: New test case.
6793 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6795 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6797 (_nss_files_init): Set it here.
6799 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6801 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6802 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6805 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6807 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6809 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6811 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6814 2013-04-21 David S. Miller <davem@davemloft.net>
6816 * po/ru.po: Update Russion translation from translation project.
6818 2013-04-17 Adam Conrad <adconrad@0c3.net>
6820 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6823 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6825 * configure.in: Remove i386 configure warning. Remove i386 case.
6826 * configure: Regenerate.
6827 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6828 Add example to error message.
6829 * sysdeps/i386/configure: Regenerate.
6831 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6833 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6835 * benchtests/cos-inputs: New file.
6836 * benchtests/slowcos-inputs: New file.
6837 * benchtests/slowcos.c: New file.
6838 * benchtests/slowtan-inputs: New file.
6839 * benchtests/slowtan.c: New file.
6840 * benchtests/tan-inputs: New file.
6842 2013-04-16 Roland McGrath <roland@hack.frob.com>
6844 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6847 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6849 * benchtests/Makefile: Include cppflags-iterator.mk to add
6850 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6852 * Makefile.in (bench-clean): New target.
6853 * benchtests/Makefile (bench-clean): Likewise.
6855 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6857 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6859 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6861 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6863 2013-04-15 Andreas Schwab <schwab@suse.de>
6865 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6866 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6867 * nscd/pwdcache.c (cache_addpw): Likewise.
6868 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6871 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6873 * benchtests/Makefile (bench): Write all output to
6874 bench-out.tmp together.
6876 2013-04-15 Andreas Schwab <schwab@suse.de>
6878 * nscd/nscd.c (main): Don't fork again after closing files.
6880 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6882 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6884 * benchtests/Rules (bench-deps): Collect dependencies into a
6885 single variable. Add Makefile to dependencies.
6886 ($(objpfx)bench-%.c): Depend on bench-deps.
6888 2013-04-12 Roland McGrath <roland@hack.frob.com>
6889 Xavier Roche <roche+kml2@exalead.com>
6892 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6893 just that it's a file descriptor.
6894 * manual/llio.texi (Synchronizing AIO Operations): Update description
6895 for EBADF error from aio_fsync.
6897 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6899 * Rules (bench): Move target definition...
6900 * benchtests/Makefile: ... here.
6902 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6904 * math/libm-test.inc (cos_test): Fix PI/2 test.
6905 (sincos_test): Likewise.
6906 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6907 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6909 2013-04-11 Andreas Schwab <schwab@suse.de>
6912 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6913 accept exponent character only when digits were seen.
6914 * stdio-common/Makefile (tests): Add bug26.
6915 * stdio-common/bug26.c: New file.
6918 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6921 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6923 * Makeconfig (rtld-prefix): Define built linker prefix.
6924 * Rules (run-bench): Use it.
6925 * math/Makefile (run-regen-ulps): Likewise.
6927 * Rules (bench): Remove eval.
6929 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6930 Roland McGrath <roland@hack.frob.com>
6931 Ondrej Bilka <neleai@seznam.cz>
6934 * time/getdate.c: Include ctype.h and alloca.h.
6935 (__getdate_r): Trim leading and trailing spaces of input.
6936 * time/tst-getdate.c (tests): Add tests with leading and
6939 2013-04-08 Roland McGrath <roland@hack.frob.com>
6942 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6943 when computing value.
6945 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6947 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6948 Use testrun.sh to run libm tests.
6951 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6953 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6956 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6958 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6960 * Makefile.in (regen-ulps): New target.
6961 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6962 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6963 [ifneq (no,$(PERL)] (regen-ulps): New target.
6964 [ifeq (no,$(PERL)] (regen-ulps): New target.
6965 * math/libm-test.inc (ulps_file_name): Define.
6966 (output_dir): New variable.
6967 (options): Add "output-dir" option.
6968 (parse_opt): Handle 'o' case.
6969 (main): If output_dir is non-NULL use it as a prefix
6971 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6973 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6976 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6977 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6978 fail configure if __sync_val_compare_and_swap is not inlined.
6979 * sysdeps/i386/configure: Regenerate.
6980 * configure.in: Build for i686 when configured for i386.
6981 * configure: Regenerate.
6982 * README: Remove i386 reference.
6984 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6986 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6987 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6989 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6991 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6992 (lmsnanval): New variables.
6993 (F): Add conversion tests.
6994 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6995 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6997 * stdio-common/tstdiomisc.c (F): Properly collect individual
7001 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7002 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7003 Instead, use input NaN values or generate a qNaN by arithmetic
7004 operation. Also fix bugs to comply with the standard.
7005 * math/libm-test.inc (remainder_test): Add more tests.
7008 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7010 input NaN values or generate a qNaN by arithmetic operation.
7012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7015 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7018 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7021 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7023 * math/s_cexpf.c (__cexpf): Likewise.
7024 * math/s_cexpl.c (__cexpl): Likewise.
7025 * math/libm-test.inc (cexp_test): Add more tests.
7027 2013-04-03 Andreas Schwab <schwab@suse.de>
7030 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7031 order arrays from heap if bigger than alloca cutoff.
7033 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7035 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7036 (SNAN_TESTS_double): Refer to GCC PR56831.
7037 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7040 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7042 * Rules (bench): Move bench.out after the run is complete.
7044 * Rules (bench): Echo currently running benchmark.
7046 * benchtests/Makefile (bench): Add atan and slowatan.
7047 * benchtests/atan-inputs: New file.
7048 * benchtests/slowatan-inputs: New file.
7049 * benchtests/slowatan.c: New file.
7051 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7052 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7056 * sysdeps/unix/sysv/linux/kernel-features.h
7057 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7058 __ASSUME_XFS_RESTRICTED_CHOWN.
7059 * sysdeps/unix/sysv/linux/pathconf.c
7060 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7061 Save and restore errno.
7063 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7066 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7067 arguments using __kernel_casinh.
7068 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7069 arguments using __kernel_casinhf.
7070 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7071 arguments using __kernel_casinhl.
7072 * math/libm-test.inc (cacosh_test): Add more tests.
7073 * sysdeps/i386/fpu/libm-test-ulps: Update.
7074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7076 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7078 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7081 * bench/Makefile (bench): Add sin and slowsin.
7082 * benchtests/sin-inputs: New file.
7083 * benchtests/slowsin-inputs: New file.
7084 * benchtests/slowsin.c: New file.
7086 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7087 (bench): Add slowexp and slowpow.
7088 (exp-ITER): Increase iterations.
7089 (pow-ITER): Likewise.
7090 * benchtests/exp-inputs: Change input.
7091 * benchtests/pow-inputs: Likewise.
7092 * benchtests/slowexp-inputs: New file.
7093 * benchtests/slowexp.c: New file.
7094 * benchtests/slowpow-inputs: New file.
7095 * benchtests/slowpow.c: New file.
7097 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7099 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7101 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7102 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7103 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7104 * benchtests/Makefile: Add rint benchtest.
7105 * benchtests/rint-inputs: Input for rint benchtest.
7107 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7109 * Versions.def (libm): Add GLIBC_2.18.
7110 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7111 hidden libm prototypes.
7112 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7113 * math/Makefile (libm-calls): Add s_issignaling.
7114 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7115 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7116 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7118 * math/math.h [__USE_GNU] (issignaling): New macro.
7119 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7120 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7121 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7122 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7125 * manual/arith.texi (issignaling): New section.
7126 * manual/libm-err-tab.pl (@all_functions): Update comment.
7127 * math/gen-libm-test.pl (parse_args): Apply special handling for
7129 * math/libm-test.inc (print_float, issignaling_test): New
7131 (check_float_internal): Add issignaling checks.
7132 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7134 * sysdeps/powerpc/math-tests.h: New file.
7135 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7137 * math/test-snan.c (TEST_FUNC): Likewise.
7139 2013-03-30 David S. Miller <davem@davemloft.net>
7141 * po/de.po: Update from translation team.
7143 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7146 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7147 imaginary part less than 1.0 and real part less than 0.5
7149 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7150 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7151 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7152 (cacos_test): Add more tests.
7153 (casin_test): Likewise.
7154 (casinh_test): Likewise.
7155 * sysdeps/i386/fpu/libm-test-ulps: Update.
7156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7158 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7160 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7163 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7164 (__pow_mp): Replace ONE and MONE with their values.
7165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7167 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7168 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7169 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7170 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7172 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7174 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7175 (__pow_mp): Replace ZERO and MZERO with their values.
7176 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7177 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7178 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7180 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7181 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7184 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7186 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7188 2013-03-28 Roland McGrath <roland@hack.frob.com>
7190 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7191 Declare with __attribute__ ((weak)).
7192 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7193 Call __call_tls_dtors only if it's not NULL.
7195 2013-03-28 Roland McGrath <roland@hack.frob.com>
7197 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7198 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7199 magic __ehdr_start linker symbol if it's defined.
7200 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7201 them up here if it was already done.
7203 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7204 (_dl_aux_init): Use const in cast when setting it.
7205 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7206 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7207 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7209 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7211 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7212 * csu/libc-tls.c: Nor here.
7213 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7215 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7216 (__libc_message): Never call vsyslog.
7218 2013-03-28 Alan Modra <amodra@gmail.com>
7220 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7222 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7225 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7228 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7232 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7235 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7236 Don't add gid passed as argument.
7238 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7240 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7243 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7244 imaginary part between 1.0 and 1.5 and real part less than 0.5
7246 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7247 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7248 * math/libm-test.inc (cacos_test): Add more tests.
7249 (casin_test): Likewise.
7250 (casinh_test): Likewise.
7251 * sysdeps/i386/fpu/libm-test-ulps: Update.
7252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7254 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7256 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7260 (__dbl_mp): Likewise.
7261 (add_magnitudes): Likewise.
7262 (sub_magnitudes): Likewise.
7270 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7272 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7273 (__dubcos): Likewise.
7274 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7275 (__ieee754_acos): Likewise.
7276 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7277 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7279 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7282 (my_log2): Likewise.
7283 (checkint): Likewise.
7284 * sysdeps/ieee754/dbl-64/e_remainder.c
7285 (__ieee754_remainder): Likewise.
7286 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7287 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7289 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7291 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7292 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7293 MANTISSA_STORE_T to store computations on mantissa. Use
7294 macros for rounding and division.
7296 (__dbl_mp): Likewise.
7297 (add_magnitudes): Likewise.
7298 (sub_magnitudes): Likewise.
7301 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7302 powers of two in terms of TWOPOW macro.
7303 (mp_no): Make type of mantissa as MANTISSA_T.
7304 [!RADIXI]: Define RADIXI.
7305 [!TWO52]: Define TWO52.
7306 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7308 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7310 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7311 llroundl symbol when building for PPC32.
7313 2013-03-24 Mark H Weaver <mhw@netris.org>
7315 * manual/arith.texi (Normalization Functions): Fix prototypes for
7316 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7318 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7322 high value to check if expl overflow.
7323 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7324 to check for underflow and overflow.
7325 * math/libm-test.inc: Add exp test.
7327 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7330 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7333 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7335 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7338 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7340 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7341 wrap blocks consisting of several statements.
7343 * sysdeps/generic/math-tests.h: New file.
7344 * sysdeps/i386/fpu/math-tests.h: Likewise.
7345 * math/test-snan.c: Include it.
7346 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7348 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7351 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7352 (__ieee754_j0l): Do not improve calculations using cos of twice
7353 input for inputs above LDBL_MAX / 2.0L.
7354 (__ieee754_y0l): Likewise.
7355 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7356 (__ieee754_j1l): Do not improve calculations using cos of twice
7357 input for inputs above LDBL_MAX / 2.0L.
7358 (__ieee754_y1l): Likewise.
7359 * math/libm-test.inc (j0_test): Add another test.
7360 (j1_test): Likewise.
7361 (y0_test): Likewise.
7362 (y1_test): Likewise.
7363 * sysdeps/i386/fpu/libm-test-ulps: Update.
7365 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7367 * Rules ($(objpfx)bench-%.c): Include code from a C source
7370 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7373 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7374 imaginary part 1.0 and real part less than 0.5 specially.
7375 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7376 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7377 * math/libm-test.inc (cacos_test): Add more tests.
7378 (casin_test): Likewise.
7379 (casinh_test): Likewise.
7380 * sysdeps/i386/fpu/libm-test-ulps: Update.
7381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7383 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7385 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7386 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7388 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7390 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7391 * config.make.in (config-cflags-sse4): Remove variable.
7392 (config-cflags-avx): Likewise.
7393 (config-cflags-sse2avx): Likewise.
7394 (config-cflags-novzeroupper): Likewise.
7395 (config-asflags-i686): Likewise.
7396 (have-mfma4): Likewise.
7397 (have-as-vis3): Likewise.
7399 * configure.in (MIG): Do not AC_SUBST.
7400 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7401 (libc_cv_cc_sse4): Do not AC_SUBST.
7402 (libc_cv_cc_avx): Likewise.
7403 (libc_cv_cc_sse2avx): Likewise.
7404 (libc_cv_cc_novzeroupper): Likewise.
7405 (libc_cv_cc_fma4): Likewise.
7406 (libc_cv_as_i686): Likewise.
7407 (libc_cv_sparc_as_vis3): Likewise.
7408 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7410 (config-asflags-i686): Likewise.
7411 (config-cflags-avx): Likewise.
7412 (config-cflags-sse2avx): Likewise.
7413 (have-mfma4): Likewise.
7414 (config-cflags-novzeroupper): Likewise.
7415 * sysdeps/mach/configure.in (MIG): Likewise.
7416 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7417 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7419 (config-cflags-avx): Likewise.
7420 (config-cflags-sse2avx): Likewise.
7421 (have-mfma4): Likewise.
7422 (config-cflags-novzeroupper): Likewise.
7423 * configure: Regenerated.
7424 * sysdeps/i386/configure: Likewise.
7425 * sysdeps/mach/configure: Likewise.
7426 * sysdeps/sparc/configure: Likewise.
7427 * sysdeps/x86_64/configure: Likewise.
7429 2013-03-20 Roland McGrath <roland@hack.frob.com>
7432 * locale/programs/localedef.c (options): Put N_ translation marker
7433 on argument names, not just descriptions.
7435 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7437 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7439 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7442 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7444 2013-03-19 Roland McGrath <roland@hack.frob.com>
7446 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7447 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7448 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7449 [!BEFORE_ABORT] (before_abort): New function.
7450 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7451 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7452 (writev_for_fatal): New function.
7453 (WRITEV_FOR_FATAL): New macro; call that.
7454 (backtrace_and_maps): New function.
7455 (BEFORE_ABORT): New macro; call that.
7456 (struct str_list): Type removed.
7457 (__libc_message, __libc_fatal): Functions removed.
7458 Include <sysdeps/posix/libc_fatal.c> instead.
7460 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7462 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7464 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7467 2013-03-19 Andreas Schwab <schwab@suse.de>
7469 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7470 * sysdeps/gnu/configure: Regenerate.
7472 * configure.in: Substitute libc_cv_rtlddir.
7473 * configure: Regenerate.
7474 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7475 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7476 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7477 * elf/Makefile (install-others, CFLAGS-interp.c)
7478 (ldso_install, common-ldd-rewrite): Likewise.
7479 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7480 $(inst_slibdir)/$(rtld-installed-name).
7481 * scripts/rellns-sh: Add -p option.
7482 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7485 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7487 * manual/nptl.texi: Renamed to ...
7488 * manual/threads.texi: ... this.
7489 * manual/Makefile (chapters): Update.
7491 2013-03-18 Roland McGrath <roland@hack.frob.com>
7494 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7495 on argument names, not just descriptions.
7496 * malloc/memusagestat.c (options): Likewise.
7497 * nss/getent.c (options): Likewise.
7499 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7502 * iconv/iconv_prog.c (options): Put N_ translation marker
7503 on argument names, not just descriptions.
7504 * iconv/iconvconfig.c (options): Likewise.
7506 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7508 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7509 implementation which is faster on all x86_64 architectures.
7510 Tested on AMD, Intel Nehalem, SNB, IVB.
7511 * sysdeps/x86_64/strnlen.S: Likewise.
7513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7514 Remove all multiarch strlen and strnlen versions.
7515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7516 Remove strlen and strnlen related parts.
7518 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7520 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7522 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7523 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7524 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7525 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7526 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7527 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7529 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7531 * manual/memory.texi (Malloc Tunable Parameters):
7532 Sort parameters alphabetically. Add comments for missing entries.
7534 2013-03-17 David S. Miller <davem@davemloft.net>
7536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7538 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7541 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7542 for arguments at most half maximum finite value.
7543 * math/libm-test.inc (j0_test): Add more tests.
7544 (j1_test): Likewise.
7545 (y0_test): Likewise.
7546 (y1_test): Likewise.
7547 * sysdeps/i386/fpu/libm-test-ulps: Update.
7548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7551 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7552 1 / x and functions P and Q for arguments above 0x1p256L.
7553 (__ieee754_y0l): Likewise.
7554 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7555 (__ieee754_y1l): Likewise.
7556 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7557 (j1_test): Likewise.
7558 (y0_test): Likewise.
7559 (y1_test): Likewise.
7561 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7563 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7566 2013-03-15 Roland McGrath <roland@hack.frob.com>
7568 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7569 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7570 zero since it's initialized to EXEC_PAGESIZE.
7572 * sysdeps/unix/sysv/linux/ldsodefs.h
7573 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7574 * sysdeps/generic/ldsodefs.h: ... here.
7576 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7578 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7580 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7582 * math/test-snan.c: Renamed from
7583 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7584 * math/Makefile (tests): Add test-snan.
7585 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7588 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7589 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7591 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7592 __builtin_nan family of functions.
7593 * math/libm-test.inc (initialize): Initialize qnan_value with
7594 __builtin_nan family of functions.
7595 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7597 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7599 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7600 storage class. Initialize qNaN_var and sNaN_var with
7601 __builtin_nan and __builtin_nans families of functions,
7604 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7605 (sqrt_test): Remove duplicate test with qNaN input.
7606 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7607 (round_test, signbit_test, significand_test): Note missing +/-Inf
7608 as well as qNaN tests.
7610 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7611 qNaN_var. Fix a few strings, too.
7612 * math/libm-test.inc (nan_value): Rename to qnan_value.
7613 * math/gen-libm-test.pl (%beautify): Adjust to that.
7614 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7615 * math/test-misc.c (main): Likewise.
7616 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7617 to __qnan_bytes, and __qnan_union, respectively.
7618 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7620 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7621 and lqnanval, respectively.
7622 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7623 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7624 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7625 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7627 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7628 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7631 * math/test-misc.c (main): Fix copy'n'pastos.
7632 * misc/tst-efgcvt.c (special): Likewise.
7634 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7635 Remove declarations.
7637 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7639 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7640 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7641 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7642 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7644 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7646 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7647 macro to return vdso values correctly in IFUNC implementations.
7648 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7649 Optimization by using IFUNC.
7651 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7652 Richard Henderson <rth@redhat.com>
7653 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7655 * Makefile.in (bench): New target.
7656 * NEWS: Mention the benchmark framework.
7657 * Rules (bench): Likewise.
7658 (binaries-bench): Generate binaries for functions to
7660 * benchtests/Makefile: New makefile for benchmark tests.
7661 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7663 * benchtests/exp-inputs: New input file for EXP function.
7664 * benchtests/pow-inputs: New input file for POW function.
7665 * scripts/bench.pl: New script to generate source files for
7668 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7670 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7671 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7672 computations on mantissa. Use macros for rounding and
7675 (__dbl_mp): Likewise.
7676 (add_magnitudes): Likewise.
7677 (sub_magnitudes): Likewise.
7680 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7681 powers of two in terms of TWOPOW macro.
7682 (mp_no): Make type of mantissa as MANTISSA_T.
7683 [!RADIXI]: Define RADIXI.
7684 [!TWO52]: Define TWO52.
7685 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7687 * manual/nptl.texi (cindex): Modify threads to pthreads.
7689 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7691 * sysdeps/x86_64/preconfigure: Regenerated.
7693 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7696 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7698 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7699 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7701 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7702 * math/libm-test.inc (j0_test): Do not allow one spurious
7703 underflow exception.
7704 (y1_test): Likewise.
7706 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7708 * manual/Makefile (chapters): Add nptl.
7709 * manual/debug.texi (Debugging Support): Add link to Threads
7711 * manual/nptl.texi: New file.
7713 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7715 2013-03-14 Petr Baudis <pasky@ucw.cz>
7717 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7718 for non-NULL pointer before the memory validity test. Pointed
7719 out by Holger Brunck <holger.brunck@keymile.com>.
7721 2013-03-13 Andreas Schwab <schwab@suse.de>
7723 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7726 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7728 * timezone/zic.c: Update from tzcode 2013b.
7730 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7732 * manual/install.texi (Configuring and compiling):
7733 Mention i686 and i586.
7734 * INSTALL: Regenerate.
7736 2013-03-12 Roland McGrath <roland@hack.frob.com>
7738 * sysdeps/init_array/elf-init.c: New file.
7740 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7741 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7743 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7744 __gmon_start__ as global, but as static with a .preinit_array pointer.
7745 * sysdeps/init_array/gmon-start.c: New file. Use that.
7746 * sysdeps/init_array/crti.S: New file, empty except for comments.
7747 * sysdeps/init_array/crtn.S: Likewise.
7749 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7751 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7754 Remove Prefer_SSE_for_memop.
7755 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7756 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7757 HAS_PREFER_SSE_FOR_MEMOP.
7758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7761 Remove bzero, memset ifunc support.
7762 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7763 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7764 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7765 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7767 2013-03-11 Andreas Schwab <schwab@suse.de>
7770 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7773 (GLIBC_2.16): Remove pthread_atfork.
7775 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7777 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7778 (ptestcases.h): Likewise.
7780 2013-03-08 Roland McGrath <roland@hack.frob.com>
7782 * Makeconfig ($(common-objpfx)config.status): Depend on
7783 sysdeps/*/preconfigure{,.in} too.
7785 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7787 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7788 (__free_hook): Use void * instead of __malloc_ptr_t.
7789 (__malloc_hook): Likewise.
7790 (__realloc_hook): Likewise.
7791 (__memalign_hook): Likewise.
7792 (__after_morecore_hook): Likewise.
7793 * malloc/arena.c (save_malloc_hook): Likewise.
7794 (save_free_hook): Likewise.
7795 * malloc/hooks.c (malloc_hook_ini): Likewise.
7796 (realloc_hook_ini): Likewise.
7797 (memalign_hook_ini): Likewise.
7798 * malloc/malloc.c (malloc_hook_ini): Likewise.
7799 (realloc_hook_ini): Likewise.
7800 (memalign_hook_ini): Likewise.
7801 (__free_hook): Likewise.
7802 (__malloc_hook): Likewise.
7803 (__realloc_hook): Likewise.
7804 (__memalign_hook): Likewise.
7805 (__libc_malloc): Likewise.
7806 (__libc_free): Likewise.
7807 (__libc_realloc): Likewise.
7808 (__libc_memalign): Likewise.
7809 (__libc_valloc): Likewise.
7810 (__libc_pvalloc): Likewise.
7811 (__libc_calloc): Likewise.
7812 (__posix_memalign): Likewise.
7813 * malloc/morecore.c (__sbrk): Likewise.
7814 (__default_morecore): Likewise.
7816 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7818 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7819 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7822 * malloc/malloc.h (__malloc_size_t): Remove macro.
7823 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7825 (old_memalign_hook): Likewise.
7826 (old_realloc_hook): Likewise.
7827 (struct hdr): Likewise.
7829 (mallochook): Likewise.
7830 (memalignhook): Likewise.
7831 (reallochook): Likewise.
7832 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7833 (tr_old_realloc_hook): Likewise.
7834 (tr_old_memalign_hook): Likewise.
7835 (tr_mallochook): Likewise.
7836 (tr_reallochook): Likewise.
7837 (tr_memalignhook): Likewise.
7839 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7842 default_ldbl_pack and using as default implementation.
7843 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7845 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7846 redundant definition.
7847 (ldbl_insert_mantissa): Likewise.
7848 (ldbl_canonicalize): Likewise.
7849 (ldbl_nearbyint): Likewise.
7850 (ldbl_pack): Rename to ldbl_pack_ppc.
7851 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7852 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7853 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7855 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7858 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7859 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7860 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7862 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7863 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7864 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7866 2013-03-07 Andreas Jaeger <aj@suse.de>
7868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7871 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7873 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7874 Include mpa.h and declare __MPEXP.
7875 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7876 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7877 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7878 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7879 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7880 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7881 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7883 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7884 (__slowpow): Use long double EXPL and LOGL functions to
7886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7887 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7888 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7890 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7891 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7894 intermediate variable to calculate exponent.
7896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7900 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7901 [!NO__SQR]: Define __sqr.
7902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7903 and NO__SQR. Remove all code except __mul and __sqr. Include
7904 sysdeps/ieee754/dbl-64/mpa.c.
7905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7908 * posix/Makefile (tests): Add tst-pathconf.
7909 * posix/tst-pathconf.c: New test case.
7910 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7912 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7914 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7916 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7918 2013-03-06 Andreas Jaeger <aj@suse.de>
7920 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7921 definition via __MAP_ANONYMOUS.
7923 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7924 it's not part of Linux headers.
7926 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7927 (MAP_HUGE_MASK): Define.
7929 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7931 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7932 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7935 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7938 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7940 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7942 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7943 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7944 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7945 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7946 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7947 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7949 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7952 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7953 Handle f2fs and efivarfs.
7955 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7958 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7959 (EFIVARFS_MAGIC): Add.
7960 (F2FS_LINK_MAX): Add.
7962 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7964 * stdio-common/vfprintf.c: Replace __builtin_expect with
7967 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7970 * sysdeps/generic/bp-sym.h: Remove file.
7971 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7972 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7973 <bp-sym.h> and <bp-asm.h>.
7974 (__longjmp): Don't use BP_SYM.
7975 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7977 (memcpy): Don't use BP_SYM.
7978 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7979 <bp-sym.h> and <bp-asm.h>.
7980 (memcpy): Don't use BP_SYM.
7981 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7983 (memcpy): Don't use BP_SYM.
7984 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7986 (memset): Don't use BP_SYM.
7987 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7988 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7989 (__bzero): Don't use BP_SYM.
7990 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7991 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7992 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7993 <bp-sym.h> and <bp-asm.h>.
7994 (memcmp): Don't use BP_SYM. Remove comment about bounded
7996 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7997 <bp-sym.h> and <bp-asm.h>.
7998 (memcpy): Don't use BP_SYM.
7999 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8000 <bp-sym.h> and <bp-asm.h>.
8001 (memset): Don't use BP_SYM.
8002 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8003 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8004 (__bzero): Don't use BP_SYM.
8005 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8006 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8007 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8008 <bp-sym.h> and <bp-asm.h>.
8009 (strncmp): Don't use BP_SYM. Remove comment about bounded
8011 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8012 <bp-sym.h> and <bp-asm.h>.
8013 (memcpy): Don't use BP_SYM.
8014 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8015 <bp-sym.h> and <bp-asm.h>.
8016 (memset): Don't use BP_SYM.
8017 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8018 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8019 (__bzero): Don't use BP_SYM.
8020 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8021 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8022 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8023 <bp-sym.h> and <bp-asm.h>.
8024 (__memchr): Don't use BP_SYM.
8025 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8026 <bp-sym.h> and <bp-asm.h>.
8027 (memcmp): Don't use BP_SYM. Remove comment about bounded
8029 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8030 <bp-sym.h> and <bp-asm.h>.
8031 (memcpy): Don't use BP_SYM.
8032 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8033 <bp-sym.h> and <bp-asm.h>.
8034 (__mempcpy): Don't use BP_SYM.
8035 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8036 <bp-sym.h> and <bp-asm.h>.
8037 (__memrchr): Don't use BP_SYM.
8038 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8039 <bp-sym.h> and <bp-asm.h>.
8040 (memset): Don't use BP_SYM.
8041 (__bzero): Likewise.
8042 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8043 <bp-sym.h> and <bp-asm.h>.
8044 (__rawmemchr): Don't use BP_SYM.
8045 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8046 <bp-sym.h> and <bp-asm.h>.
8047 (__STRCMP): Don't use BP_SYM.
8048 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8049 <bp-sym.h> and <bp-asm.h>.
8050 (strchr): Don't use BP_SYM.
8051 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8052 <bp-sym.h> and <bp-asm.h>.
8053 (__strchrnul): Don't use BP_SYM.
8054 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8055 <bp-sym.h> and <bp-asm.h>.
8056 (strlen): Don't use BP_SYM.
8057 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8058 <bp-sym.h> and <bp-asm.h>.
8059 (strncmp): Don't use BP_SYM. Remove comment about bounded
8061 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8062 <bp-sym.h> and <bp-asm.h>.
8063 (__strnlen): Don't use BP_SYM.
8064 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8065 <bp-sym.h> and <bp-asm.h>.
8066 (__GI__setjmp): Don't use BP_SYM.
8067 (_setjmp): Likewise.
8068 (__sigsetjmp): Likewise.
8069 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8070 (L(start_addresses)): Don't use BP_SYM.
8072 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8074 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8075 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8076 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8077 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8078 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8080 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8081 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8082 about bounded pointers.
8083 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8084 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8085 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8087 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8088 about bounded pointers. Remove GKM FIXME comments.
8089 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8090 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8092 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8093 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8094 Remove GKM FIXME comments.
8095 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8096 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8097 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8099 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8100 about bounded pointers. Remove GKM FIXME comment.
8101 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8103 (strncmp): Don't use BP_SYM. Remove comment about bounded
8105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8106 <bp-sym.h> and <bp-asm.h>.
8107 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8109 <bp-sym.h> and <bp-asm.h>.
8110 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8113 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8115 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8118 2013-03-05 David S. Miller <davem@davemloft.net>
8120 * po/es.po: Update from translation team.
8122 2013-03-05 Andreas Jaeger <aj@suse.de>
8124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8125 <bits/mman-linux.h>.
8126 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8128 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8129 <bits/mman-linux.h> to end of file.
8130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8132 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8133 <bits/mman-linux.h> to end of file.
8134 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8136 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8137 <bits/mman-linux.h> to end of file.
8139 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8140 (MCL_CURRENT, MCL_FUTURE): Define here.
8142 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8145 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8147 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8149 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8151 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8152 fourth parameter needed for rt_sigprocmask syscall.
8153 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8154 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8155 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8156 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8157 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8158 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8160 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8163 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8164 comment about bounded pointers.
8165 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8166 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8168 2013-03-04 Andreas Jaeger <aj@suse.de>
8170 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8173 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8174 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8175 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8176 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8177 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8178 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8180 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8183 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8184 __ieee754_sqrl instead of __sqrl.
8186 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8188 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8189 * sysdeps/powerpc/fpu_control.h: ... here.
8190 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8191 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8192 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8193 * sysdeps/powerpc/bits/mathinline.h: ... here.
8195 2013-03-01 Roland McGrath <roland@hack.frob.com>
8197 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8198 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8199 to just [NEED_DL_SYSINFO_DSO].
8200 * elf/dl-support.c: Likewise.
8201 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8202 * elf/rtld.c (dl_main): Likewise.
8203 * elf/setup-vdso.h (setup_vdso): Likewise.
8204 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8205 * sysdeps/unix/sysv/linux/dl-sysdep.c
8206 (_dl_discover_osversion): Likewise.
8208 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8210 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8211 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8213 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8215 * NEWS: Mention libm performance improvements and non-x86 PI
8218 * csu/libc-start.c (__pthread_initialize_minimal): Change
8220 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8222 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8225 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8226 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8227 <bp-sym.h> and <bp-asm.h>.
8228 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8229 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8231 (memcpy): Don't use BP_SYM.
8232 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8234 (__mpn_add_n): Don't use BP_SYM.
8235 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8236 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8238 (__mpn_addmul_1): Don't use BP_SYM.
8239 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8240 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8242 (_setjmp): Don't use BP_SYM.
8243 (__novmx_setjmp): Likewise.
8244 (__GI__setjmp): Likewise.
8245 (__vmx_setjmp): Likewise.
8246 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8248 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8249 (__bzero): Don't use BP_SYM.
8250 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8251 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8252 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8253 <bp-sym.h> and <bp-asm.h>.
8254 (memcpy): Don't use BP_SYM.
8255 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8256 <bp-sym.h> and <bp-asm.h>.
8257 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8258 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8259 <bp-sym.h> and <bp-asm.h>.
8260 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8261 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8263 (__mpn_lshift): Don't use BP_SYM.
8264 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8265 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8267 (memset): Don't use BP_SYM.
8268 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8269 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8270 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8272 (__mpn_mul_1): Don't use BP_SYM.
8273 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8274 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8275 <bp-sym.h> and <bp-asm.h>.
8276 (memcmp): Don't use BP_SYM.
8277 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8278 <bp-sym.h> and <bp-asm.h>.
8279 (memcpy): Don't use BP_SYM.
8280 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8281 <bp-sym.h> and <bp-asm.h>.
8282 (memset): Don't use BP_SYM.
8283 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8284 <bp-sym.h> and <bp-asm.h>.
8285 (strncmp): Don't use BP_SYM.
8286 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8287 <bp-sym.h> and <bp-asm.h>.
8288 (memcpy): Don't use BP_SYM.
8289 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8290 <bp-sym.h> and <bp-asm.h>.
8291 (memset): Don't use BP_SYM.
8292 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8293 <bp-sym.h> and <bp-asm.h>.
8294 (__memchr): Don't use BP_SYM.
8295 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8296 <bp-sym.h> and <bp-asm.h>.
8297 (memcmp): Don't use BP_SYM.
8298 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8299 <bp-sym.h> and <bp-asm.h>.
8300 (memcpy): Don't use BP_SYM.
8301 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8302 <bp-sym.h> and <bp-asm.h>.
8303 (__mempcpy): Don't use BP_SYM.
8304 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8305 <bp-sym.h> and <bp-asm.h>.
8306 (__memrchr): Don't use BP_SYM.
8307 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8308 <bp-sym.h> and <bp-asm.h>.
8309 (memset): Don't use BP_SYM.
8310 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8311 <bp-sym.h> and <bp-asm.h>.
8312 (__rawmemchr): Don't use BP_SYM.
8313 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8314 <bp-sym.h> and <bp-asm.h>.
8315 (__STRCMP): Don't use BP_SYM.
8316 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8317 <bp-sym.h> and <bp-asm.h>.
8318 (strchr): Don't use BP_SYM.
8319 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8320 <bp-sym.h> and <bp-asm.h>.
8321 (__strchrnul): Don't use BP_SYM.
8322 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8323 <bp-sym.h> and <bp-asm.h>.
8324 (strlen): Don't use BP_SYM.
8325 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8326 <bp-sym.h> and <bp-asm.h>.
8327 (strncmp): Don't use BP_SYM.
8328 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8329 <bp-sym.h> and <bp-asm.h>.
8330 (__strnlen): Don't use BP_SYM.
8331 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8333 (__mpn_rshift): Don't use BP_SYM.
8334 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8335 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8336 <bp-sym.h> and <bp-asm.h>.
8337 (__sigsetjmp): Don't use BP_SYM.
8338 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8339 (L(start_addresses)): Don't use BP_SYM.
8341 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8343 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8344 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8345 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8346 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8348 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8349 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8350 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8351 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8353 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8355 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8356 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8358 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8360 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8361 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8362 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8364 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8366 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8368 (strncmp): Don't use BP_SYM,
8369 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8371 (__mpn_sub_n): Don't use BP_SYM.
8372 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8373 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8375 (__mpn_submul_1): Don't use BP_SYM.
8376 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8378 <bp-sym.h> and <bp-asm.h>.
8379 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8381 <bp-sym.h> and <bp-asm.h>.
8382 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8385 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8388 Use ZK to minimize writes to Z.
8389 (sub_magnitudes): Simplify code a bit.
8390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8391 Use ZK to minimize writes to Z.
8392 (sub_magnitudes): Simplify code a bit.
8394 2013-02-27 Roland McGrath <roland@hack.frob.com>
8396 * csu/gmon-start.c: Add special exception to license text.
8398 2013-02-27 Richard Henderson <rth@redhat.com>
8400 * scripts/config.guess: Update from config.git.
8401 * scripts/config.sub: Likewise.
8403 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8405 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8407 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8409 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8411 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8413 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8415 2013-02-26 Roland McGrath <roland@hack.frob.com>
8417 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8418 [$(build-shared = yes].
8420 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8422 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8423 (__mul): Reduce iterations for calculating mantissa.
8425 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8427 (__mpranred): Likewise.
8430 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8431 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8433 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8435 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8436 Define __attribute__.
8438 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8440 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8442 * posix/regex_internal.h (__attribute): Remove.
8443 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8444 (re_string_context_at): Likewise.
8445 (bitset_not): Use __attribute__ and mark function as possibly
8447 (bitset_merge): Likewise.
8448 (bitset_mask): Likewise.
8449 (re_string_char_size_at): Likewise.
8450 (re_string_wchar_at): Likewise.
8451 (re_string_elem_size_at): Likewise.
8453 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8455 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8459 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8464 (__dbl_mp): Likewise.
8465 (add_magnitudes): Likewise.
8466 (sub_magnitudes): Likewise.
8470 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8473 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8476 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8480 up changes with default code.
8481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8484 2013-02-24 Allan McRae <allan@archlinux.org>
8486 * manual/socket.texi (The Internet Namespace): Order menu items
8487 to match that in the file.
8489 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8490 node listing of the info page menu.
8492 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8495 * sysdeps/i386/bp-asm.h: Remove file.
8496 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8497 (PARMS): Do not use macros from bp-asm.h.
8501 (__mpn_add_n): Do not use BP_SYM
8502 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8504 (PARMS): Do not use macros from bp-asm.h.
8507 (__mpn_addmul_1): Do not use BP_SYM
8508 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8510 (PARMS): Do not use macros from bp-asm.h.
8512 (_setjmp): Likewise. Do not use BP_SYM.
8513 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8515 (PARMS): Do not use macros from bp-asm.h.
8517 (setjmp): Likewise. Do not use BP_SYM.
8518 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8520 (PARMS): Do not use macros from bp-asm.h.
8521 (__frexp): Do not use BP_SYM.
8523 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8525 (PARMS): Do not use macros from bp-asm.h.
8526 (__frexpf): Do not use BP_SYM.
8528 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8530 (PARMS): Do not use macros from bp-asm.h.
8531 (__frexpl): Do not use BP_SYM.
8533 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8535 (PARMS): Do not use macros from bp-asm.h.
8536 (__remquo): Do not use BP_SYM.
8538 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8540 (PARMS): Do not use macros from bp-asm.h.
8541 (__remquof): Do not use BP_SYM.
8542 (remquof): Likewise.
8543 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8545 (PARMS): Do not use macros from bp-asm.h.
8546 (__remquol): Do not use BP_SYM.
8547 (remquol): Likewise.
8548 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8550 (PARMS): Do not use macros from bp-asm.h.
8553 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8554 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8556 (PARMS): Do not use macros from bp-asm.h.
8557 (strlen): Do not use BP_SYM.
8558 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8560 (PARMS): Do not use macros from bp-asm.h.
8564 (__mpn_add_n): Do not use BP_SYM.
8565 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8567 (PARMS): Do not use macros from bp-asm.h.
8570 (__mpn_addmul_1): Do not use BP_SYM.
8571 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8574 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8576 (PARMS): Do not use macros from bp-asm.h.
8579 (__mpn_lshift): Do not use BP_SYM.
8580 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8582 (PARMS): Do not use macros from bp-asm.h.
8586 (memcpy): Likewise. Do not use BP_SYM.
8587 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8588 libc_hidden_def and weak_alias.
8589 (mempcpy): Do not use BP_SYM in weak_alias.
8590 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8592 (PARMS): Do not use macros from bp-asm.h.
8595 [!BZERO_P] (CHR): Likewise.
8596 (memset): Likewise. Do not use BP_SYM.
8597 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8599 (PARMS): Do not use macros from bp-asm.h.
8602 (__mpn_mul_1): Do not use BP_SYM.
8603 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8605 (PARMS): Do not use macros from bp-asm.h.
8608 (__mpn_rshift): Do not use BP_SYM.
8609 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8611 (PARMS): Do not use macros from bp-asm.h.
8614 (strchr): Likewise. Do not use BP_SYM.
8615 (index): Do not use BP_SYM in weak_alias.
8616 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8618 (PARMS): Do not use macros from bp-asm.h.
8621 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8622 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8624 (PARMS): Do not use macros from bp-asm.h.
8625 (strlen): Do not use BP_SYM.
8626 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8628 (PARMS): Do not use macros from bp-asm.h.
8632 (__mpn_sub_n): Do not use BP_SYM.
8633 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8635 (PARMS): Do not use macros from bp-asm.h.
8638 (__mpn_submul_1): Do not use BP_SYM.
8639 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8641 (PARMS): Do not use macros from bp-asm.h.
8645 (__mpn_add_n): Do not use BP_SYM.
8646 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8649 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8651 (PARMS): Do not use macros from bp-asm.h.
8654 (memcmp): Do not use BP_SYM.
8655 (bcmp): Do not use BP_SYM in weak_alias.
8656 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8658 (PARMS): Do not use macros from bp-asm.h.
8662 (memcpy): Likewise. Do not use BP_SYM.
8663 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8665 (PARMS): Do not use macros from bp-asm.h.
8669 (memmove): Likewise. Do not use BP_SYM.
8670 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8672 (PARMS): Do not use macros from bp-asm.h.
8676 (__mempcpy): Likewise. Do not use BP_SYM.
8677 (mempcpy): Do not use BP_SYM in weak_alias.
8678 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8680 (PARMS): Do not use macros from bp-asm.h.
8683 [!BZERO_P] (CHR): Likewise.
8684 (memset): Likewise. Do not use BP_SYM.
8685 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8687 (PARMS): Do not use macros from bp-asm.h.
8689 (strcmp): Do not use BP_SYM.
8690 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8692 (PARMS): Do not use macros from bp-asm.h.
8695 [USE_AS_STRTOK_R] (SAVE): Likewise.
8696 (FUNCTION): Likewise. Do not use BP_SYM.
8697 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8699 (strtok_r): Likewise.
8700 (__GI___strtok_r): Likewise.
8701 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8702 (PARMS): Do not use macros from bp-asm.h.
8705 (__mpn_lshift): Do not use BP_SYM.
8706 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8707 (PARMS): Do not use macros from bp-asm.h.
8710 (__memchr): Do not use BP_SYM.
8711 (memchr): Do not use BP_SYM in weak_alias.
8712 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8713 (PARMS): Do not use macros from bp-asm.h.
8716 (memcmp): Do not use BP_SYM.
8717 (bcmp): Do not use BP_SYM in weak_alias.
8718 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8719 (PARMS): Do not use macros from bp-asm.h.
8722 (__mpn_mul_1): Do not use BP_SYM.
8723 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8725 (PARMS): Do not use macros from bp-asm.h.
8728 (__rawmemchr): Do not use BP_SYM.
8729 (rawmemchr): Do not use BP_SYM in weak_alias.
8730 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8731 (PARMS): Do not use macros from bp-asm.h.
8734 (__mpn_rshift): Do not use BP_SYM.
8735 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8736 (PARMS): Do not use macros from bp-asm.h.
8738 (__sigsetjmp): Likewise. Do not use BP_SYM.
8739 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8740 (_start): Do not use BP_SYM.
8741 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8742 (PARMS): Do not use macros from bp-asm.h.
8745 (__stpcpy): Likewise. Do not use BP_SYM.
8746 (stpcpy): Do not use BP_SYM in weak_alias.
8747 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8749 (PARMS): Do not use macros from bp-asm.h.
8753 (__stpncpy): Likewise. Do not use BP_SYM.
8754 (stpncpy): Do not use BP_SYM in weak_alias.
8755 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8756 (PARMS): Do not use macros from bp-asm.h.
8759 (strchr): Likewise. Do not use BP_SYM.
8760 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8762 (PARMS): Do not use macros from bp-asm.h.
8765 (__strchrnul): Likewise. Do not use BP_SYM.
8766 (strchrnul): Do not use BP_SYM in weak_alias.
8767 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8769 (PARMS): Do not use macros from bp-asm.h.
8771 (strcspn): Do not use BP_SYM.
8772 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8774 (PARMS): Do not use macros from bp-asm.h.
8777 (strpbrk): Likewise. Do not use BP_SYM.
8778 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8780 (PARMS): Do not use macros from bp-asm.h.
8783 (strrchr): Likewise. Do not use BP_SYM.
8784 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8785 (PARMS): Do not use macros from bp-asm.h.
8787 (strspn): Do not use BP_SYM.
8788 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8789 (PARMS): Do not use macros from bp-asm.h.
8793 (FUNCTION): Likewise. Do not use BP_SYM.
8794 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8796 (strtok_r): Likewise.
8797 (__GI___strtok_r): Likewise.
8798 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8799 (PARMS): Do not use macros from bp-asm.h.
8803 (__mpn_sub_n): Do not use BP_SYM.
8804 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8806 (PARMS): Do not use macros from bp-asm.h.
8809 (__mpn_submul_1): Do not use BP_SYM.
8810 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8812 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8814 (PARMS): Do not use macros from bp-asm.h.
8819 (__clone): Do not use BP_SYM.
8820 (clone): Do not use BP_SYM in weak_alias.
8821 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8823 (PARMS): Do not use macros from bp-asm.h.
8825 (__mmap64): Do not use BP_SYM.
8826 (mmap64): Do not use BP_SYM in weak_alias.
8827 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8828 <bp-sym.h> and <bp-asm.h>.
8829 (PARMS): Do not use macros from bp-asm.h.
8830 (__posix_fadvise64_l64): Do not use BP_SYM.
8831 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8832 (PARMS): Do not use macros from bp-asm.h.
8834 (semtimedop): Do not use BP_SYM.
8835 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8838 2013-02-21 Allan McRae <allan@archlinux.org>
8840 * manual/message.texi (Charset conversion in gettext):
8841 Move @end statement to beginning of line.
8843 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8850 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8855 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8857 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8858 tail-call to the resolved function if pltexit isn't needed.
8860 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8863 or Y being zero as being unlikely.
8864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8867 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8869 * manual/nss.texi (System Databases and Name Service Switch):
8870 Remove frobnicate @pxref.
8872 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8874 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8875 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8877 2013-02-20 Petr Machata <pmachata@redhat.com>
8879 * elf/elf.h (R_ARM_TARGET1): New macro.
8880 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8881 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8882 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8883 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8884 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8885 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8886 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8887 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8888 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8889 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8890 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8891 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8892 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8893 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8894 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8895 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8896 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8897 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8898 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8899 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8900 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8901 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8902 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8903 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8904 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8905 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8906 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8907 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8908 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8909 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8910 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8911 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8912 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8913 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8914 (R_ARM_THM_GOT_BREL12): Likewise.
8915 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8916 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8917 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8918 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8919 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8920 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8921 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8922 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8923 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8925 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8927 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8928 __attribute_used__ to __attribute__ ((unused)).
8930 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8932 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8938 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8941 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8943 (ENTER): Remove both macro definitions.
8945 (CHECK_BOUNDS_LOW): Likewise.
8946 (CHECK_BOUNDS_HIGH): Likewise.
8947 (CHECK_BOUNDS_BOTH): Likewise.
8948 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8949 (RETURN_BOUNDED_POINTER): Likewise.
8950 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8951 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8952 (POP_ERRNO_LOCATION_RETURN): Likewise.
8953 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8954 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8955 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8957 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8958 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8959 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8960 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8961 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8962 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8963 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8964 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8965 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8966 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8967 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8968 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8969 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8970 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8972 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8973 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8975 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8976 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8977 * sysdeps/i386/i586/memset.S (memset): Likewise.
8978 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8979 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8980 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8982 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8983 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8984 Change uses of L(2) to L(out).
8985 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8986 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8987 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8988 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8989 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8991 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8992 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8994 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8995 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8996 (RETURN): Do not use macro LEAVE.
8997 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8998 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8999 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9000 * sysdeps/i386/i686/memset.S (memset): Likewise.
9001 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9002 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9003 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9004 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9006 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9007 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9008 L(1_2) and L(1_3) into L(1).
9009 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9010 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9011 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9012 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9013 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9014 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9015 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9016 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9017 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9019 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9020 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9021 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9022 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9023 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9024 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9025 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9026 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9027 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9028 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9029 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9030 * sysdeps/i386/strspn.S (strspn): Likewise.
9031 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9033 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9034 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9035 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9036 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9038 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9039 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9040 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9042 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9044 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9046 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9049 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9051 * math/atest-exp.c (exp_mpn): Remove ROUND.
9052 * math/atest-exp2.c (exp_mpn): Likewise.
9053 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9055 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9056 * stdlib/tst-tls-atexit-lib.c: Likewise.
9057 * stdlib/tst-tls-atexit.c: Likewise.
9059 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9061 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9062 and __attribute_alloc_size__.
9064 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9066 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9067 __attribute_alloc_size__.
9068 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9069 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9071 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9073 * include/programs/xmalloc.h: New file.
9074 * catgets/gencat.c: Include it.
9075 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9076 * elf/pldd.c: Likewise.
9077 * iconv/iconv_charmap.c: Likewise.
9078 * iconv/iconvconfig.c: Likewise.
9079 * iconv/strtab.c: Likewise.
9080 * locale/programs/locale.c: Likewise.
9081 * locale/programs/localedef.h: Likewise.
9082 * locale/programs/simple-hash.c: Likewise.
9083 * nscd/nscd.h: Likewise.
9084 * nss/makedb.c: Likewise.
9085 * sysdeps/generic/ldconfig.h: Likewise.
9087 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9089 * Versions.def: Add GLIBC_2.18.
9090 * include/link.h (struct link_map): New member l_tls_dtor_count.
9091 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9092 (__call_tls_dtors): Likewise.
9093 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9094 __cxa_thread_atexit_impl.
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9103 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9111 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9112 (tests): Add test case tst-tls-atexit.
9113 (modules-names): Add shared library for tst-tls-atexit.
9114 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9115 (GLIBC_PRIVATE): Add __call_tls_dtors.
9116 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9118 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9119 * stdlib/tst-tls-atexit.c: New test case.
9120 * stdlib/tst-tls-atexit-lib.c: New test case.
9122 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9124 * elf/Versions (ld): Add _dl_find_dso_for_object.
9125 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9126 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9127 (dl_open_worker): Use _dl_find_dso_for_object.
9128 * elf/dl-sym.c (do_sym): Likewise.
9129 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9131 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9133 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9134 Syntactic changes only.
9135 (_dl_runtime_profile): Do a tail-call to the resolved function.
9137 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9140 * sysdeps/x86_64/bp-asm.h: Remove file.
9141 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9142 <bp-sym.h> and <bp-asm.h>.
9143 (__clone): Do not use BP_SYM.
9144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9145 <bp-sym.h> and <bp-asm.h>.
9146 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9147 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9149 (_setjmp): Do not use BP_SYM.
9150 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9152 (setjmp): Do not use BP_SYM.
9153 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9155 (mempcpy): Do not use BP_SYM in weak_alias.
9156 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9158 (strchr): Do not use BP_SYM.
9159 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9161 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9162 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9163 (_start): Do not use BP_SYM.
9164 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9166 (strcat): Do not use BP_SYM.
9167 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9169 (STRCMP): Do not use BP_SYM.
9170 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9172 (STRCPY): Do not use BP_SYM.
9173 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9175 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9177 (FUNCTION): Do not use BP_SYM.
9178 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9180 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9182 2013-02-17 Andreas Jaeger <aj@suse.de>
9184 * time/Versions: Sort entries.
9185 * string/Versions: Likewise.
9186 * resolv/Versions: Likewise.
9187 * posix/Versions: Likewise.
9188 * iconv/Versions: Likewise.
9189 * elf/Versions: Likewise.
9190 * wcsmbs/Versions: Likewise.
9192 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9194 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9195 loop termination condition.
9197 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9198 variable to calculate EZ.
9201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9202 the lower precision input.
9204 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9207 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9208 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9209 (run-via-rtld-prefix): Do not handle %-bp tests.
9210 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9211 (all-object-suffixes): Remove .ob.
9212 (bppfx): Remove variable.
9213 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9214 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9215 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9216 [$(build-bounded) = yes] (libtype.ob): Likewise.
9217 * Makerules (elide-routines.ob): Remove variable.
9218 (do-tests-clean): Do not handle *-bp.out.
9219 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9220 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9221 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9222 (tests): Do not include $(tests-bp.out).
9223 (xtests): Do not include $(xtests-bp.out).
9224 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9225 [$(build-bounded) = yes] ($(addprefix
9226 $(objpfx),$(binaries-bounded))): Remove rule.
9227 ($(objpfx)%-bp.out): Remove rule.
9228 * config.make.in (build-bounded): Remove variable.
9229 * crypt/Makefile [$(build-bounded) = yes]
9230 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9231 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9233 [$(build-bounded) = yes] (install-lib): Likewise.
9234 [$(build-bounded) = yes] (generated): Likewise.
9235 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9237 * intl/Makefile [$(build-bounded) = yes]
9238 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9239 * math/Makefile [$(build-bounded) = yes]
9240 ($(tests:%=$(objpfx)%-bp): Likewise.
9241 * misc/Makefile [$(build-bounded) = yes]
9242 ($(objpfx)tst-tsearch-bp): Likewise.
9243 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9244 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9246 * string/Makefile (o-objects.ob): Remove variable.
9247 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9248 (CFLAGS-.ob): Remove variable.
9249 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9250 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9251 both definitions of variable.
9252 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9253 (ASFLAGS-.ob): Remove variable.
9255 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9258 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9259 Remove __BOUNDED_POINTERS__ from condition.
9260 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9261 * string/bits/string2.h [!__NO_STRING_INLINES &&
9262 !__BOUNDED_POINTERS__]: Likewise.
9263 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9265 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9266 Remove conditional code.
9267 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9268 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9269 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9273 * csu/libc-start.c: Do not include <bp-sym.h>.
9274 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9275 * elf/dl-open.c: Do not include <bp-sym.h>.
9276 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9277 * math/fegetenv.c: Do not include <bp-sym.h>.
9278 (fegetenv): Do not use BP_SYM in versioned symbols.
9279 * nptl/sysdeps/pthread/bits/libc-lockP.h
9280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9283 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9285 (__pthread_mutex_destroy): Likewise.
9286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9287 (__pthread_mutex_lock): Likewise.
9288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9289 (__pthread_mutex_trylock): Likewise.
9290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9291 (__pthread_mutex_unlock): Likewise.
9292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9293 (__pthread_mutexattr_init): Likewise.
9294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9295 (__pthread_mutexattr_destroy): Likewise.
9296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9297 (__pthread_mutexattr_settype): Likewise.
9298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9299 (__pthread_rwlock_init): Likewise.
9300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9301 (__pthread_rwlock_destroy): Likewise.
9302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9303 (__pthread_rwlock_rdlock): Likewise.
9304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9305 (__pthread_rwlock_tryrdlock): Likewise.
9306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9307 (__pthread_rwlock_wrlock): Likewise.
9308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9309 (__pthread_rwlock_trywrlock): Likewise.
9310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9311 (__pthread_rwlock_unlock): Likewise.
9312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9313 (__pthread_key_create): Likewise.
9314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9315 (__pthread_setspecific): Likewise.
9316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9317 (__pthread_getspecific): Likewise.
9318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9321 (_pthread_cleanup_push_defer): Likewise.
9322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9323 (_pthread_cleanup_pop_restore): Likewise.
9324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9325 (pthread_setcancelstate): Likewise.
9326 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9328 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9329 (memchr): Do not use BP_SYM in weak_alias.
9330 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9331 (fegetenv): Do not use BP_SYM in versioned symbols.
9332 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9333 (fesetenv): Do not use BP_SYM in versioned symbols.
9334 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9335 (feupdateenv): Do not use BP_SYM in versioned symbols.
9336 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9337 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9338 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9339 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9340 (open64): Do not use BP_SYM in weak_alias.
9341 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9342 (fegetenv): Do not use BP_SYM in versioned symbols.
9343 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9344 (fesetenv): Do not use BP_SYM in versioned symbols.
9345 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9346 (feupdateenv): Do not use BP_SYM in versioned symbols.
9347 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9348 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9349 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9350 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9351 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9352 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9353 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9355 (__libc_start_main): Do not use BP_SYM.
9357 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9360 redundant return line.
9364 (sub_magnitudes): Likewise.
9370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9374 (sub_magnitudes): Likewise.
9381 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9383 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9384 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9387 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9388 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9390 of __mul for squares.
9391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9395 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9396 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9398 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9401 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9403 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9404 prototype or function definition. Rename ubp_* variables and
9405 parameters. Remove argv definitions conditional on
9406 [__BOUNDED_POINTERS__].
9407 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9408 * elf/dl-runtime.c (_dl_fixup): Likewise.
9409 * include/set-hooks.h (RUN_HOOK): Likewise.
9410 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9412 * string/strcpy.c (strcpy): Do not use __unbounded.
9413 * sysdeps/generic/frame.h (struct layout): Likewise.
9414 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9415 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9416 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9417 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9418 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9419 (__backtrace): Likewise.
9420 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9422 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9423 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9424 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9426 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9427 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9428 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9429 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9430 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9431 Do not use __unbounded.
9432 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9433 Rename __unboundedrlimits parameter to rlimits in prototype.
9434 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9435 Do not use __unbounded.
9436 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9438 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9439 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9440 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9441 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9442 __ptrvalue or __unbounded.
9443 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9444 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9446 (__new_msgctl): Do not use __ptrvalue.
9447 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9449 (__libc_msgrcv): Do not use __ptrvalue.
9450 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9451 startup_info): Do not use __unbounded.
9452 (__libc_start_main): Likewise. Rename ubp_* variables and
9453 parameters. Remove argv definitions conditional on
9454 [__BOUNDED_POINTERS__].
9455 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9457 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9459 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9461 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9463 (__new_shmctl): Do not use __ptrvalue.
9464 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9465 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9467 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9468 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9469 (__libc_sigaction): Likewise.
9470 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9471 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9473 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9475 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9477 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9479 * string/mempcpy.c: Implement by calling memcpy.
9481 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9488 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9489 values in the mantissa.
9491 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9492 minimize writes to Z.
9493 (sub_magnitudes): Simplify code a bit.
9495 2013-02-12 Roland McGrath <roland@hack.frob.com>
9497 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9498 from the message. The linker prefixes all warnings with that already.
9500 2013-02-12 Andreas Schwab <schwab@suse.de>
9503 * posix/regexec.c (extend_buffers): Add parameter min_len.
9504 (check_matching): Pass minimum needed length.
9505 (clean_state_log_if_needed): Likewise.
9506 (get_subexp): Likewise.
9507 * posix/Makefile (tests): Add bug-regex34.
9508 (bug-regex34-ENV): Define.
9509 * posix/bug-regex34.c: New file.
9512 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9513 elements compare against the byte sequence of it, not its name.
9514 * posix/Makefile (tests): Add bug-regex35.
9515 (bug-regex35-ENV): Define.
9516 * posix/bug-regex35.c: New file.
9518 2013-02-11 Tom de Vries <tom@codesourcery.com>
9520 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9522 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9523 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9524 (CHECK_EOL): Add undef.
9526 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9528 * bits/stdlib-bsearch.h: New file.
9529 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9530 * stdlib/stdlib.h: Likewise.
9532 2013-02-11 Roland McGrath <roland@hack.frob.com>
9534 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9535 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9537 * manual/search.texi (Array Search Function): Add missing const in
9539 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9540 declaration to use rlim_t.
9541 (Basic Scheduling Functions): Remove erroneous const from
9542 sched_getparam prototype. Remove erroneous * from
9543 sched_get_priority_max and sched_get_priority_min prototypes.
9544 (Resource Usage): Fix summary @comment on vtimes to refer to
9545 sys/vtimes.h rather than vtimes.h.
9546 Add missing *s in vtimes prototype.
9547 (Limits on Resources): Fix ulimit prototype to return long int.
9548 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9549 prototypes to use long int rather than double.
9550 (BSD Random): Fix initstate and setstate to use char *, not void *.
9551 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9552 prototype to make second argument 'struct aiocb64 *const[]'.
9553 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9554 (Status of AIO Operations): Remove erroneous const in aio_return and
9555 aio_return64 prototypes.
9556 (Synchronizing I/O): Fix sync prototype to return void.
9557 * manual/startup.texi (Suboptions): Remove an erroneous const in
9558 getsubopt prototype.
9559 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9560 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9561 use size_t rather than int.
9562 (Scanning All Users): Likewise for getpwent_r.
9563 (Setting Groups): Add missing const to setgroups prototype.
9564 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9565 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9566 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9567 'const void *' rather than 'const char *'.
9568 (Host Address Functions): Likewise for inet_ntop.
9569 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9570 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9571 ssize_t for return value.
9572 (Sending Data): Likewise for send, sendto, sendmsg.
9573 (Socket Option Functions): Add a missing const in setsockopt prototype.
9574 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9575 use wchar_t for the argument.
9576 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9577 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9579 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9580 double/float/long double for second argument.
9581 Fix return types of significand, significandf, significandl.
9582 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9583 argument in fchmod prototype.
9584 (File Owner): Use uid_t and gid_t in fchown prototype.
9585 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9586 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9587 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9588 use 'const struct dirent **' as argument types to CMP function pointer
9590 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9591 (File Times): Fix summary magic @comment for struct utimbuf and utime
9592 to refer to utime.h, not time.h.
9593 * manual/string.texi (Argz Functions): Add missing const in
9594 argz_extract and argz_next prototypes.
9595 (Finding Tokens in a String): Likewise for basename.
9596 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9597 (Copying and Concatenation): Fix typo in wmemmove prototype.
9598 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9599 (Signal Stack): Remove erroneous const in sigstack prototype.
9600 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9602 (Simple Calendar Time): Likewise for stime.
9603 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9605 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9606 say sys/sysctl.h instead.
9607 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9608 and vsyslog prototypes.
9610 2013-02-11 Tom de Vries <tom@codesourcery.com>
9612 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9615 2013-02-11 Roland McGrath <roland@hack.frob.com>
9617 * misc/sys/mman.h: Fix typo in mremap comment.
9619 2013-02-08 Roland McGrath <roland@hack.frob.com>
9621 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9622 the '\0' terminator.
9624 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9627 * debug/segfault.c: Don't include <bp-checks.h>.
9628 * sysdeps/generic/bp-checks.h: Remove file.
9629 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9630 (__GETDENTS): Don't use CHECK_N.
9631 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9632 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9633 (__getgroups): Don't use CHECK_N.
9634 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9635 (setgroups): Don't use CHECK_N.
9636 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9637 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9638 (__libc_msgrcv): Don't use CHECK_N.
9639 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9640 (__libc_msgsnd): Don't use CHECK_N.
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9643 (__libc_pread): Don't use CHECK_N.
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9645 include <bp-checks.h>.
9646 (__libc_pread64): Don't use CHECK_N.
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9648 include <bp-checks.h>.
9649 (__libc_pwrite): Don't use CHECK_N.
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9651 include <bp-checks.h>.
9652 (__libc_pwrite64): Don't use CHECK_N.
9653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9655 (__libc_pread): Don't use CHECK_N.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9657 include <bp-checks.h>.
9658 (__libc_pread64): Don't use CHECK_N.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9660 include <bp-checks.h>.
9661 (__libc_pwrite): Don't use CHECK_N.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9663 include <bp-checks.h>.
9664 (__libc_pwrite64): Don't use CHECK_N.
9665 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9666 (do_pread): Don't use CHECK_N.
9667 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9668 (do_pread64): Don't use CHECK_N.
9669 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9670 (do_pwrite): Don't use CHECK_N.
9671 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9672 (do_pwrite64): Don't use CHECK_N.
9673 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9674 (__libc_readv): Don't use CHECK_N.
9675 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9676 (semop): Don't use CHECK_N.
9677 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9679 (semtimedop): Don't use CHECK_N.
9680 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9681 (__libc_pread): Don't use CHECK_N.
9682 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9684 (__libc_pread64): Don't use CHECK_N.
9685 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9687 (__libc_pwrite): Don't use CHECK_N.
9688 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9690 (__libc_pwrite64): Don't use CHECK_N.
9691 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9693 (__libc_msgrcv): Don't use CHECK_N.
9694 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9695 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9696 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9697 (__libc_writev): Don't use CHECK_N.
9699 2013-02-08 Roland McGrath <roland@hack.frob.com>
9701 * string/strcpy.c: Removed unused variable.
9703 * Makeconfig (+sysdep-includes): Define with := rather than =.
9704 Use an existing include/ subdir of each sysdeps dir before it.
9706 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9708 * nscd/connection.c (register_traced_file): Comment function.
9709 [HAVE_INOTIFY] (union __inev): Define.
9710 [HAVE_INOTIFY] (inotify_check_files): New function.
9711 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9712 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9714 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9716 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9718 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9719 loaded if not already and that a failure is permanent.
9721 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9724 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9725 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9727 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9730 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9731 (CHECK_1_NULL_OK): Likewise.
9732 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9733 (__fxstat): Do not use CHECK_1.
9734 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9736 (___fxstat64): Do not use CHECK_1.
9737 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9739 (__fxstatat): Do not use CHECK_1.
9740 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9742 (__fxstatat64): Do not use CHECK_1.
9743 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9745 (__fxstat): Do not use CHECK_1.
9746 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9748 (__fxstatat): Do not use CHECK_1.
9749 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9751 (__getresgid): Do not use CHECK_1.
9752 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9754 (__getresuid): Do not use CHECK_1.
9755 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9757 (__lxstat): Do not use CHECK_1.
9758 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9760 (__old_msgctl): Do not use CHECK_1.
9761 (__new_msgctl): Likewise.
9762 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9764 (__new_setrlimit): Do not use CHECK_1.
9765 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9767 (__old_shmctl): Do not use CHECK_1.
9768 (__new_shmctl): Likewise.
9769 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9771 (__xstat): Do not use CHECK_1.
9772 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9773 (__lxstat): Do not use CHECK_1.
9774 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9776 (___lxstat64): Do not use CHECK_1.
9777 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9778 (__old_msgctl): Do not use CHECK_1.
9779 (__new_msgctl): Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9782 (__gettimeofday): Do not use CHECK_1.
9783 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9784 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9785 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9787 (__gettimeofday): Do not use CHECK_1.
9788 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9789 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9790 (__new_shmctl): Do not use CHECK_1.
9791 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9793 (do_sigtimedwait): Do not use CHECK_1.
9794 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9796 (do_sigwaitinfo): Do not use CHECK_1.
9797 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9799 (msgctl): Do not use CHECK_1.
9800 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9802 (shmctl): Do not use CHECK_1.
9803 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9804 (ustat): Do not use CHECK_1.
9805 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9807 (__fxstat): Do not use CHECK_1.
9808 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9810 (__fxstatat): Do not use CHECK_1.
9811 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9813 (__lxstat): Do not use CHECK_1.
9814 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9816 (__xstat): Do not use CHECK_1.
9817 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9818 (__xstat): Do not use CHECK_1.
9819 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9820 (___xstat64): Do not use CHECK_1.
9823 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9825 (CHECK_BOUNDS_HIGH): Likewise.
9826 * string/strcpy.c: Do not include <bp-checks.h>.
9827 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9829 2013-02-07 Roland McGrath <roland@hack.frob.com>
9831 * nscd/nscd-client.h (__nscd_drop_map_ref):
9832 Add __attribute__ ((unused)).
9833 * nis/nss-nisplus.h (niserr2nss): Likewise.
9835 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9836 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9838 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9839 Remove inline keyword.
9840 * include/rounding-mode.h (round_away): Likewise.
9841 * libio/wfileops.c (adjust_wide_data): Likewise.
9842 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9843 (__m128i_strloadu_tolower): Likewise.
9844 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9845 (__m128i_strloadu_tolower): Likewise.
9846 * time/mktime.c (ydhms_diff): Likewise.
9847 * locale/elem-hash.h (elem_hash): Likewise.
9848 * locale/setlocale.c (setdata): Likewise.
9849 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9850 (re_string_wchar_at): Likewise.
9851 (bitset_not, bitset_merge, bitset_mask): Likewise.
9852 [!(__GNUC__ > 3)] (inline): Remove macro.
9853 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9854 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9855 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9856 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9857 * string/memcmp.c (memcmp_bytes): Likewise.
9858 * locale/programs/locarchive.c (compute_hashval): Likewise.
9859 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9860 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9861 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9862 * nss/getent.c (print_rpc, print_protocols): Likewise.
9863 (print_passwd, print_group, print_aliases): Likewise.
9864 * nis/nss-nisplus.h (niserr2nss): Likewise.
9865 * nscd/connections.c (restart_p): Likewise.
9866 Change return type to bool.
9868 2013-02-05 Roland McGrath <roland@hack.frob.com>
9870 * Makeconfig (all-Depend-files): Add existing
9871 $(sorted-subdirs:=/Depend) files.
9872 (all-subdirs): Remove nss.
9873 * sysdeps/unix/inet/Subdirs: Add it here instead.
9874 * hesiod/Depend: New file.
9876 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9877 instead of calling alloca.
9879 * io/lseek.c (__lseek): Rename to __libc_lseek.
9880 Define __lseek as an alias.
9882 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9884 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9886 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9887 else clause and remove check for non-standard endianness.
9889 2013-02-04 David S. Miller <davem@davemloft.net>
9891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9893 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9896 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9897 (__ubp_memchr): Remove prototype.
9898 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9899 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9900 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9901 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9902 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9904 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9905 (__ubp_memchr): Likewise.
9906 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9907 (__ubp_memchr): Likewise.
9908 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9909 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9910 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9911 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9913 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9914 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9915 (__getcwd): Do not use CHECK_STRING.
9916 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9918 (__real_chown): Do not use CHECK_STRING.
9919 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9921 (fchownat): Do not use CHECK_STRING.
9922 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9924 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9926 (__lchown): Do not use CHECK_STRING.
9927 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9928 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9929 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9930 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9932 include <bp-checks.h>.
9933 (truncate64): Do not use CHECK_STRING.
9934 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9936 (__real_chown): Do not use CHECK_STRING.
9937 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9939 (__lchown): Do not use CHECK_STRING.
9940 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9942 (__chown): Do not use CHECK_STRING.
9943 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9945 (truncate64): Do not use CHECK_STRING.
9946 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9948 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9949 (__xmknod): Do not use CHECK_STRING.
9950 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9952 (__xmknodat): Do not use CHECK_STRING.
9953 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9954 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9956 2013-02-04 Andreas Schwab <schwab@suse.de>
9959 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9960 * include/netdb.h: Likewise for h_errno.
9961 * elf/tst-stackguard1.c: Include <tls.h>.
9963 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9965 * elf/link.h (struct link_map): Extend the l_addr comment.
9966 * include/link.h (struct link_map): Likewise.
9968 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9971 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9972 (BOUNDED_1): Remove macro.
9973 * debug/backtrace.c: Don't include <bp-checks.h>.
9974 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9975 (__backtrace): Likewise.
9976 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9978 (__backtrace): Don't use BOUNDED_1.
9979 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9981 (__backtrace): Don't use BOUNDED_1.
9982 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9983 (__backtrace): Don't use BOUNDED_1.
9984 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9985 (shmat): Don't use BOUNDED_N.
9987 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9990 * sysdeps/generic/bp-start.h: Remove file.
9991 * csu/libc-start.c: Don't include <bp-start.h>.
9992 (LIBC_START_MAIN): Set up __environ directly instead of using
9993 INIT_ARGV_and_ENVIRON.
9994 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9998 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10000 (CHECK_FCNTL): Likewise.
10001 (CHECK_N_PAGES): Likewise.
10004 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10006 (CHECK_SIGSET_NULL_OK): Likewise.
10007 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10009 (sigpending): Don't use CHECK_SIGSET.
10010 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10012 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10013 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10015 (do_sigsuspend): Don't use CHECK_SIGSET.
10016 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10018 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10019 (do_sigwait): Don't use CHECK_SIGSET.
10020 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10023 include <bp-checks.h>.
10024 (sigpending): Don't use CHECK_SIGSET.
10025 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10026 include <bp-checks.h>.
10027 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10028 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10030 (sigpending): Don't use CHECK_SIGSET.
10031 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10033 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10036 * sysdeps/generic/bp-semctl.h: Remove file.
10037 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10038 <bp-checks.h> and <bp-semctl.h>.
10039 (__old_semctl): Don't use CHECK_SEMCTL.
10040 (__new_semctl): Likewise.
10041 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10043 (__old_semctl): Don't use CHECK_SEMCTL.
10044 (__new_semctl): Likewise.
10045 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10046 <bp-checks.h> and <bp-semctl.h>.
10047 (__old_semctl): Don't use CHECK_SEMCTL.
10048 (__new_semctl): Likewise.
10049 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10050 <bp-checks.h> and <bp-semctl.h>.
10051 (semctl): Don't use CHECK_SEMCTL.
10054 * Makerules (elide-bp-thunks): Remove variable.
10055 (elide-routines.oS): Don't use $(elide-bp-thunks).
10056 (elide-routines.os): Likewise.
10057 (elide-routines.o): Likewise.
10058 (elide-routines.op): Likewise.
10059 (elide-routines.og): Likewise.
10060 (objects): Don't use $(bp-thunks).
10061 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10063 (common-generated): Do not add s-proto-bp.d.
10064 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10067 Do not generate makefile rules for bounded-pointer thunks.
10068 * sysdeps/generic/bp-thunks.h: Remove file.
10069 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10070 * sysdeps/unix/s-proto-bp.S: Likewise.
10073 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10074 parts of result separately when argument is not close to line from
10075 -i to i and one part of argument is small.
10076 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10077 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10078 * math/libm-test.inc (cacos_test): Add more tests.
10079 (casin_test): Likewise.
10080 (casinh_test): Likewise.
10081 * sysdeps/i386/fpu/libm-test-ulps: Update.
10082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10084 2013-01-31 David S. Miller <davem@davemloft.net>
10086 * po/de.po: Update from translation team.
10088 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10090 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10092 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10094 * configure.in (_AC_PROG_CC_C89): New definition.
10095 * configure: Regenerate.
10097 * configure.in (AC_PROG_CPP): New definition.
10098 * configure: Regenerate.
10100 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10102 * debug/tst-backtrace.h: New file.
10103 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10104 (ret): Remove variable.
10106 (FAIL): Remove macro.
10107 (NO_INLINE): Likewise.
10108 (fn1): Use match function instead of strstr.
10109 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10110 (ret): Remove variable.
10112 (FAIL): Remove macro.
10113 (NO_INLINE): Likewise.
10114 (fn): Use match function instead of strstr.
10115 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10116 (ret): Remove variable.
10118 (FAIL): Remove macro.
10119 (NO_INLINE): Likewise.
10120 (handle_signal): Use match function instead of strstr.
10121 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10122 (ret): Remove variable.
10124 (FAIL): Remove macro.
10125 (NO_INLINE): Likewise.
10126 (handle_signal): Use match function instead of strstr.
10128 2013-01-23 Roland McGrath <roland@hack.frob.com>
10130 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10132 2013-01-23 David S. Miller <davem@davemloft.net>
10134 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10135 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10136 argument of CAS if possible.
10137 * sysdeps/sparc/sparc64/bits/atomic.h
10138 (__arch_compare_and_exchange_val_32_acq): Likewise.
10139 (__arch_compare_and_exchange_val_64_acq): Likewise.
10141 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10143 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10144 * sysdeps/posix/ulimit.c: ... this.
10145 Include <limits.h>.
10146 * sysdeps/unix/bsd/ulimit.c: Remove file.
10148 2013-01-23 Adam Conrad <adconrad@0c3.net>
10150 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10151 (LDFLAGS-tst-array5): Likewise.
10153 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10156 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10157 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10158 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10159 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10161 2013-01-21 David S. Miller <davem@davemloft.net>
10163 * sysdeps/sparc/backtrace.c: New file.
10164 * sysdeps/sparc/sparc32/backtrace.h: New file.
10165 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10166 * sysdeps/sparc/sparc64/backtrace.h: New file.
10167 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10168 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10171 2013-01-21 Andreas Schwab <schwab@suse.de>
10174 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10177 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10183 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10184 Mark Mitchell <mark@codesourcery.com>
10185 Tom de Vries <tom@codesourcery.com>
10186 Paul Pluzhnikov <ppluzhnikov@google.com>
10188 * debug/tst-backtrace2.c: New file.
10189 * debug/tst-backtrace3.c: Likewise.
10190 * debug/tst-backtrace4.c: Likewise.
10191 * debug/tst-backtrace5.c: Likewise.
10192 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10193 (CFLAGS-tst-backtrace3.c): Likewise.
10194 (CFLAGS-tst-backtrace4.c): Likewise.
10195 (CFLAGS-tst-backtrace5.c): Likewise.
10196 (LDFLAGS-tst-backtrace2): Likewise.
10197 (LDFLAGS-tst-backtrace3): Likewise.
10198 (LDFLAGS-tst-backtrace4): Likewise.
10199 (LDFLAGS-tst-backtrace5): Likewise.
10200 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10201 tst-backtrace4 and tst-backtrace5.
10203 2013-01-18 Anton Blanchard <anton@samba.org>
10204 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10206 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10207 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10208 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10209 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10211 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10212 "+r" and remove output regs list as redundant. Add explicit inline
10213 asm to specify register of return val to work around compiler codegen
10214 bug. Remove (int) cast on return value. Add return type parameter to
10215 use in macro so that this macro does not truncate return value for
10217 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10218 pass to INTERNAL_VSYSCALL_NCS.
10219 (INLINE_VSYSCALL): Add 'long int' as return type to
10220 INTERNAL_VSYSCALL_NCS macro invocation.
10221 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10222 INTERNAL_VSYSCALL_NCS macro invocation.
10223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10225 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10228 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10229 Fix application of SIMD FP exception mask.
10231 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10232 mp_no from a power of two.
10233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10234 __mpexp_twomm1. Use __pow_mp.
10236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10239 2013-01-17 David S. Miller <davem@davemloft.net>
10241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10243 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10246 * include/complex.h: Condition contents on [!_COMPLEX_H].
10247 (__kernel_casinhf): New prototype.
10248 (__kernel_casinh): Likewise.
10249 (__kernel_casinhl): Likewise.
10250 * math/Makefile (libm_calls): Add k_casinh.
10251 * math/k_casinh.c: New file.
10252 * math/k_casinhf.c: Likewise.
10253 * math/k_casinhl.c: Likewise.
10254 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10255 finite nonzero arguments.
10256 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10257 finite nonzero arguments.
10258 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10259 finite nonzero arguments.
10260 * math/s_casinh.c: Do not include <float.h>.
10261 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10262 * math/s_casinhf.c: Do not include <float.h>.
10263 (__casinhf): Move code for finite nonzero arguments to
10265 * math/s_casinhl.c: Do not include <float.h>.
10266 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10268 (__casinhl): Move code for finite nonzero arguments to
10270 * math/libm-test.inc (cacos_test): Add more tests.
10271 * sysdeps/i386/fpu/libm-test-ulps: Update.
10272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10274 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10276 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10277 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10278 [!HAVE_MREMAP]: Remove [defined linux] case.
10279 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10281 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10283 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10285 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10287 * elf/elf.h (R_386_SIZE32): New relocation.
10288 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10290 (elf_machine_rela): Likewise.
10291 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10292 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10294 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10296 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10297 (FP_FAST_FMA): Do not define.
10298 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10299 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10300 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10301 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10302 !_SOFT_FLOAT]: Likewise.
10303 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10304 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10306 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10307 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10308 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10309 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10310 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10311 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10314 2013-01-16 Andreas Schwab <schwab@suse.de>
10317 * include/stdlib.h (__mktemp): Add declaration.
10318 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10319 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10321 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10323 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10325 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10326 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10327 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10329 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10330 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10332 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10334 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10335 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10336 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10338 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10339 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10341 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10343 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10345 2013-01-15 David S. Miller <davem@davemloft.net>
10347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10348 trunc{,f} to libm-sysdep_routes.
10349 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10359 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10360 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10361 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10362 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10363 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10364 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10367 nearbyint{,f} to libm-sysdep_routes.
10368 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10379 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10381 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10382 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10384 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10385 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10386 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10388 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10389 libc_feholdexcept and libc_fesetenv.
10391 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10393 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10395 2013-01-14 David S. Miller <davem@davemloft.net>
10397 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10398 (SPARC_ASM_VIS2_IFUNC): Likewise.
10399 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10401 use of 'siam' instruction.
10402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10435 routines to libm-sysdep_routines.
10436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10439 fdim/fdimf to libm-sysdep_routines.
10440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10448 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10449 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10450 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10451 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10453 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10455 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10456 to optimize copies.
10458 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10463 local variable MPTWO.
10464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10467 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10469 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10472 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10474 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10476 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10478 * manual/pattern.texi (glob_t): Document gl_flags.
10479 (glob64_t): Likewise.
10481 2013-01-11 David S. Miller <davem@davemloft.net>
10483 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10484 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10485 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10486 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10487 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10488 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10489 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10490 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10491 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10492 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10493 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10494 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10495 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10497 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10498 sparc V9 rather than using V8 code.
10499 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10500 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10502 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10504 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10507 2013-01-11 Roland McGrath <roland@hack.frob.com>
10509 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10510 not in the main loop.
10511 * configure: Regenerated.
10513 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10515 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10516 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10518 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10519 [!__GLIBC_HAVE_LONG_LONG] case.
10520 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10521 condition to just #else.
10522 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10523 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10524 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10525 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10527 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10528 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10529 #elif condition to just #else.
10530 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10531 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10532 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10533 #elif condition to just #else.
10535 2013-01-11 Steve Ellcey <sellcey@mips.com>
10537 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10538 (EF_MIPS_ARCH_64): Fix value.
10539 (EF_MIPS_ARCH_32R2): New.
10540 (EF_MIPS_ARCH_64R2): New.
10542 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10544 * Makeconfig (+link-pie-before-libc): New.
10545 (+link-pie-after-libc): Likewise.
10546 (+link-pie-tests): Likewise.
10547 (+link-pie): Rewritten.
10548 (link-before-libc): Remove $(config-LDFLAGS).
10549 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10550 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10551 (config-LDFLAGS): Renamed to ...
10552 (rtld-LDFLAGS): This.
10553 (rtld-tests-LDFLAGS): New macro.
10554 (link-libc-rpath-link): Likewise.
10555 (link-libc-tests-rpath-link): Likewise.
10556 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10557 (link-libc): Prepand $(link-libc-rpath-link).
10558 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10559 (test-program-prefix): New macro.
10560 (test-via-rtld-prefix): Likewise.
10561 (test-program-cmd): Likewise.
10562 (host-test-program-cmd): Likewise.
10563 * Makefile ($(common-objpfx)testrun.sh): Replace
10564 $(run-program-prefix) with $(test-program-prefix).
10565 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10567 ($(common-objpfx)shlib.lds): Likewise.
10568 (build-module-helper): Likewise.
10569 ($(common-objpfx)format.lds): Likewise.
10570 * Rules (binaries-pie-tests): New.
10571 (binaries-pie-notests): Likewise.
10572 (binaries-pie): Rewritten.
10573 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10574 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10575 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10576 (make-test-out): Replace $(host-built-program-cmd) with
10577 $(host-test-program-cmd).
10578 * config.make.in (build-hardcoded-path-in-tests): New variable.
10579 * configure.in (--enable-hardcoded-path-in-tests): New configure
10581 (hardcoded_path_in_tests): New AC_SUBST.
10582 * configure: Regenerated.
10583 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10584 $(built-program-cmd) with $(test-program-cmd).
10585 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10586 (test_program_cmd): This.
10587 * elf/Makefile ($(objpfx)order.out): Run test with
10588 $(test-program-prefix).
10589 ($(objpfx)order2.out): Likewise.
10590 ($(objpfx)tst-initorder.out): Likewise.
10591 ($(objpfx)tst-initorder2.out): Likewise.
10592 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10593 $(test-program-cmd).
10594 ($(objpfx)tst-array1-static.out): Likewise.
10595 ($(objpfx)tst-array2.out): Likewise.
10596 ($(objpfx)tst-array3.out): Likewise.
10597 ($(objpfx)tst-array4.out): Likewise.
10598 ($(objpfx)tst-array5.out): Likewise.
10599 ($(objpfx)tst-array5-static.out): Likewise.
10600 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10601 $(test-program-cmd).
10602 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10603 $(run-program-prefix) with $(test-program-prefix).
10604 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10605 (test_program_prefix): This.
10606 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10607 $(run-program-prefix) with $(test-program-prefix).
10608 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10609 (test_program_prefix): This.
10610 * iconvdata/tst-tables.sh: Likewise.
10611 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10612 $(run-program-prefix) with $(test-program-prefix).
10613 ($(objpfx)tst-translit.out): Likewise.
10614 ($(objpfx)tst-gettext2.out): Likewise.
10615 ($(objpfx)tst-gettext4.out): Likewise.
10616 ($(objpfx)tst-gettext6.out): Likewise.
10617 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10618 (test_program_prefix): This.
10619 * intl/tst-gettext2.sh: Likewise.
10620 * intl/tst-gettext4.sh Likewise.
10621 * intl/tst-gettext6.sh: Likewise.
10622 * intl/tst-translit.sh: Likewise.
10623 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10624 with $(test-program-cmd).
10625 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10626 $(run-program-prefix) with $(test-program-prefix).
10627 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10628 (test_program_prefix): This.
10629 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10630 $(run-program-prefix) with $(test-program-prefix).
10631 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10632 (test_program_prefix): This.
10633 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10634 * posix/Makefile ($(objpfx)globtest.out): Replace
10635 $(run-via-rtld-prefix) and $(test-wrapper) with
10636 $(test-program-prefix) and $(test-via-rtld-prefix).
10637 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10638 $(test-program-prefix).
10639 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10640 $(host-test-program-cmd).
10641 (tst-spawn-ARGS): Likewise.
10642 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10643 $(test-program-prefix).
10644 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10645 (test_via_rtld_prefix): This.
10646 (test_wrapper): Renamed to ...
10647 (test_program_prefix): This.
10648 (run_program_prefix): Replaced by test_program_prefix.
10649 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10650 (test_program_prefix): This.
10651 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10652 with $(host-test-program-cmd).
10653 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10654 $(run-program-prefix) with $(test-program-prefix).
10655 ($(objpfx)tst-printf.out): Likewise.
10656 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10657 $(test-program-cmd).
10658 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10659 (test_program_prefix): This.
10660 * stdio-common/tst-unbputc.sh: Likewise.
10661 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10662 $(run-program-prefix) with $(test-program-prefix).
10663 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10664 (test_program_prefix): This.
10665 * string/Makefile ($(objpfx)tst-svc.out): Replace
10666 $(built-program-cmd) with $(test-program-cmd).
10668 2013-01-11 Andreas Jaeger <aj@suse.de>
10671 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10672 value. Sync with Linux 3.7.
10674 2013-01-10 David S. Miller <davem@davemloft.net>
10676 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10677 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10678 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10680 2013-01-10 Roland McGrath <roland@hack.frob.com>
10682 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10684 * configure: Regenerated.
10686 2013-01-10 David S. Miller <davem@davemloft.net>
10688 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10689 sparc V9 rather than using V8 code.
10690 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10691 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10693 2013-01-10 Roland McGrath <roland@hack.frob.com>
10695 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10696 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10697 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10698 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10699 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10700 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10701 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10702 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10703 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10704 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10705 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10706 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10707 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10708 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10709 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10710 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10711 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10712 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10713 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10714 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10715 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10716 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10717 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10718 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10719 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10720 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10721 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10723 2013-01-10 David S. Miller <davem@davemloft.net>
10725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10727 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10729 * posix/Makefile (tests-static): New variable.
10730 (tests): Add $(tests-static).
10731 (tst-exec-static-ARGS): New variable.
10732 (tst-spawn-static-ARGS): Likewise.
10733 * posix/tst-exec-static.c: New file.
10734 * posix/tst-spawn-static.c: Likewise.
10735 * posix/tst-exec.c: Support run directly.
10736 * posix/tst-spawn.c: Likewise.
10738 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10740 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10742 * math/bits/mathcalls.h (llrint): Likewise.
10743 (llround): Likewise.
10744 * stdlib/stdlib.h (struct drand48_data): Likewise.
10745 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10746 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10747 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10749 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10751 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10752 (elf_greg_t): Likewise.
10753 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10754 (__jmp_buf): Likewise.
10755 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10757 (llrint): Likewise, for all definitions.
10758 (llrintl): Likewise.
10760 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10761 Remove [__GNUC__] condition.
10762 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10763 condition to just [__USE_ISOC99].
10764 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10766 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10769 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10770 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10772 (_POSIX_V6_ILP32_OFF32): Likewise.
10773 (_XBS5_ILP32_OFF32): Likewise.
10774 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10775 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10777 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10779 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10781 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10782 doubles __mpexp_twomm1. Adjust usage.
10783 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10786 2013-01-10 Andreas Schwab <schwab@suse.de>
10789 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10790 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10792 2013-01-09 David S. Miller <davem@davemloft.net>
10795 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10796 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10797 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10798 TCP_FASTOPEN): Define.
10799 (tcp_repair_opt): New structure.
10800 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10802 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10803 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10804 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10805 (tcp_cookie_transactions): New structure.
10807 2013-01-09 Anton Blanchard <anton@samba.org>
10809 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10810 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10811 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10812 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10814 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10816 * include/features.h (__USE_ANSI): Remove.
10818 2013-01-09 Roland McGrath <roland@hack.frob.com>
10820 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10822 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10824 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10826 * sysdeps/s390/fpu/libm-test-ulps: Update.
10828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10830 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10834 (denorm): Likewise.
10835 (__mp_dbl): Likewise.
10836 (__dbl_mp): Likewise.
10837 (add_magnitudes): Likewise.
10838 (sub_magnitudes): Likewise.
10844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10848 (denorm): Likewise.
10849 (__mp_dbl): Likewise.
10850 (__dbl_mp): Likewise.
10851 (add_magnitudes): Likewise.
10852 (sub_magnitudes): Likewise.
10858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10862 (denorm): Likewise.
10863 (__mp_dbl): Likewise.
10864 (__dbl_mp): Likewise.
10865 (add_magnitudes): Likewise.
10866 (sub_magnitudes): Likewise.
10873 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10875 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10876 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10877 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10878 2 && __USE_EXTERN_INLINES]: Likewise.
10880 2013-01-08 Andreas Jaeger <aj@suse.de>
10883 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10885 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10886 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10888 2013-01-07 Anton Blanchard <anton@samba.org>
10890 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10891 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10892 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10893 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10894 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10895 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10896 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10897 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10899 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10901 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10903 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10905 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10906 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10907 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10908 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10909 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10910 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10913 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10914 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10915 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10916 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10917 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10919 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10920 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10922 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10923 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10924 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10925 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10926 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10927 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10928 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10929 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10930 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10931 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10932 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10934 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10936 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10937 (__MALLOC_PMT): Likewise.
10938 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10939 [__GNUC__], only on [_LIBC].
10940 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10941 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10942 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10943 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10944 forward declaration.
10945 (realloc_hook_ini): Likewise.
10946 (memalign_hook_ini): Likewise.
10947 (__libc_memalign): Do not use __MALLOC_PMT in variable
10949 (__libc_valloc): Likewise.
10950 (__libc_pvalloc): Likewise.
10951 (__libc_calloc): Likewise.
10952 (__posix_memalign): Likewise.
10955 * math/s_casinh.c: Include <float.h>.
10956 (__casinh): Do not do computation with squaring and square root
10957 for large arguments.
10958 * math/s_casinhf.c: Include <float.h>.
10959 (__casinhf): Do not do computation with squaring and square root
10960 for large arguments.
10961 * math/s_casinhl.c: Include <float.h>.
10962 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10963 (__casinhl): Do not do computation with squaring and square root
10964 for large arguments.
10965 * math/libm-test.inc (casin_test): Add more tests.
10966 (casinh_test): Likewise.
10967 * sysdeps/i386/fpu/libm-test-ulps: Update.
10968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10970 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10972 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10973 (__x86_64_raw_data_cache_size): Likewise.
10974 (__x86_64_data_cache_size_half): Likewise.
10975 (__x86_64_raw_data_cache_size_half): Likewise.
10976 (__x86_64_shared_cache_size): Likewise.
10977 (__x86_64_raw_shared_cache_size): Likewise.
10978 (__x86_64_shared_cache_size_half): Likewise.
10979 (__x86_64_raw_shared_cache_size_half): Likewise.
10980 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10982 (__x86_data_cache_size): This.
10983 (__x86_64_raw_data_cache_size): Renamed to ...
10984 (__x86_raw_data_cache_size): This.
10985 (__x86_64_data_cache_size_half): Renamed to ...
10986 (__x86_data_cache_size_half): This.
10987 (__x86_64_raw_data_cache_size_half): Renamed to ...
10988 (__x86_raw_data_cache_size_half): This.
10989 (__x86_64_shared_cache_size): Renamed to ...
10990 (__x86_shared_cache_size): This.
10991 (__x86_64_raw_shared_cache_size): Renamed to ...
10992 (__x86_raw_shared_cache_size): This.
10993 (__x86_64_shared_cache_size_half): Renamed to ...
10994 (__x86_shared_cache_size_half): This.
10995 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10996 (__x86_raw_shared_cache_size_half): This.
10997 * sysdeps/x86_64/memcpy.S: Updated.
10998 * sysdeps/x86_64/memset.S: Likewise.
10999 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11000 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11003 2013-01-04 David S. Miller <davem@davemloft.net>
11005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11007 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11009 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11010 1 to avoid redefinition warning.
11011 (__USE_GNU): Don't define.
11012 (init_signaling_nan): Protoize.
11014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11016 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11018 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11020 (__cpymn): Likewise.
11021 (norm): Remove commented code.
11022 (denorm): Likewise.
11023 (__mp_dbl): Likewise.
11025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11026 (__cpymn): Likewise.
11027 (norm): Remove commented code.
11028 (denorm): Likewise.
11029 (__mp_dbl): Likewise.
11032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11033 mp_no value for 1.0 and 2.0.
11034 (norm): Use RADIXI instead of radixi.d.
11035 (denorm): Likewise.
11036 (__mul): Use 0.0 instead of zero.d.
11037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11038 mp_no value for 1.0 and 2.0.
11039 (norm): Use RADIXI instead of radixi.d.
11040 (denorm): Likewise.
11041 (__mul): Use 0.0 instead of zero.d.
11043 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11046 * math/s_casinh.c (__casinh): Reduce finite argument to first
11047 quadrant then set signs of results at the end.
11048 * math/s_casinhf.c (__casinhf): Likewise.
11049 * math/s_casinhl.c (__casinhl): Likewise.
11050 * math/libm-test.inc (casin_test): Add more tests.
11051 (casinh_test): Likewise.
11052 * sysdeps/i386/fpu/libm-test-ulps: Update.
11053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11055 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11057 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11059 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11061 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11063 (denorm): Likewise.
11064 (__mp_dbl): Likewise.
11067 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11068 and adjust the header comment.
11070 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11071 variable name from declaration.
11073 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11076 Initialize COMMON_CPUID_INDEX_7 element.
11077 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11078 (CPUID_RTM): Likewise.
11079 (HAS_RTM): Likewise.
11080 (COMMON_CPUID_INDEX_7): New enum.
11082 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11085 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11086 size is zero, record memory as freed.
11088 2013-01-03 Andreas Jaeger <aj@suse.de>
11090 * po/ia.po: Add new Interlingua translation.
11092 2012-01-03 Allan McRae <allan@archlinux.org>
11094 * locale/programs/localedef.c: Fix description of '--posix' flag.
11096 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11098 * NEWS: Update dates in second copyright notice.
11099 * README: Update copyright dates in example.
11100 * manual/libc.texinfo: Update copyright dates.
11101 * scripts/test-installation.pl: Update copyright date in --version
11104 * hurd/ctty-input.c: Fix copyright notice formatting.
11105 * hurd/ctty-output.c: Likewise.
11106 * hurd/dtable.c: Likewise.
11107 * hurd/hurd-raise.c: Likewise.
11108 * hurd/hurdprio.c: Likewise.
11109 * hurd/msgportdemux.c: Likewise.
11110 * misc/sys/file.h: Likewise.
11111 * misc/sys/ioctl.h: Likewise.
11112 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11113 * sysdeps/mach/hurd/chdir.c: Likewise.
11114 * sysdeps/mach/hurd/fchdir.c: Likewise.
11115 * sysdeps/mach/hurd/rename.c: Likewise.
11116 * sysdeps/mach/hurd/rmdir.c: Likewise.
11117 * sysdeps/mach/hurd/seekdir.c: Likewise.
11118 * sysdeps/mach/hurd/setsid.c: Likewise.
11119 * sysdeps/posix/wait3.c: Likewise.
11121 * All files with FSF copyright notices: Update copyright dates
11122 using scripts/update-copyrights.
11123 * intl/plural.c: Regenerated.
11124 * locale/programs/charmap-kw.h: Likewise.
11125 * locale/programs/locfile-kw.h: Likewise.
11127 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11129 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11132 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11133 calculation loop and add branch prediction.
11135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11136 check access beyond bounds of m1np.
11138 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11140 (__inv): Remove local variable MPTWO to use the global
11142 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11145 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11146 MP3HALFS static const.
11148 2013-01-01 David S. Miller <davem@davemloft.net>
11150 * po/ca.po: Update from translation team.
11152 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11154 * scripts/update-copyrights: New file.
11155 * Makeconfig: Reformat copyright notice.
11156 * ctype/ctype.h: Likewise.
11157 * debug/swprintf_chk.c: Likewise.
11158 * elf/dl-cache.c: Likewise.
11159 * elf/dl-debug.c: Likewise.
11160 * elf/dl-object.c: Likewise.
11161 * grp/initgroups.c: Likewise.
11162 * hurd/Makefile: Likewise.
11163 * hurd/hurd/signal.h: Likewise.
11164 * hurd/hurdfault.c: Likewise.
11165 * hurd/hurdioctl.c: Likewise.
11166 * hurd/hurdlookup.c: Likewise.
11167 * hurd/intr-msg.c: Likewise.
11168 * iconv/gconv_open.c: Likewise.
11169 * libio/swprintf.c: Likewise.
11170 * locale/lc-ctype.c: Likewise.
11171 * locale/nl_langinfo.c: Likewise.
11172 * mach/Machrules: Likewise.
11173 * mach/Makefile: Likewise.
11174 * malloc/obstack.h: Likewise.
11175 * manual/Makefile: Likewise.
11176 * manual/tsort.awk: Likewise.
11177 * misc/bits/stab.def: Likewise.
11178 * nis/nis_print_group_entry.c: Likewise.
11179 * nis/nis_table.c: Likewise.
11180 * nis/nss_compat/compat-pwd.c: Likewise.
11181 * nis/nss_compat/compat-spwd.c: Likewise.
11182 * po/Makefile: Likewise.
11183 * posix/fnmatch.c: Likewise.
11184 * posix/regex.h: Likewise.
11185 * resolv/Makefile: Likewise.
11186 * resolv/nss_dns/dns-network.c: Likewise.
11187 * resolv/res_hconf.c: Likewise.
11188 * scripts/gen-sorted.awk: Likewise.
11189 * soft-fp/soft-fp.h: Likewise.
11190 * stdio-common/printf.h: Likewise.
11191 * stdlib/monetary.h: Likewise.
11192 * stdlib/random.c: Likewise.
11193 * stdlib/random_r.c: Likewise.
11194 * sysdeps/generic/Makefile: Likewise.
11195 * sysdeps/gnu/Makefile: Likewise.
11196 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11204 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11207 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11208 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11219 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11220 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11224 * sysdeps/mach/hurd/errnos.awk: Likewise.
11225 * sysdeps/mach/hurd/fork.c: Likewise.
11226 * sysdeps/mach/hurd/getcwd.c: Likewise.
11227 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11228 * sysdeps/mach/hurd/mmap.c: Likewise.
11229 * sysdeps/mach/hurd/utimes.c: Likewise.
11230 * sysdeps/mach/hurd/xmknod.c: Likewise.
11231 * sysdeps/posix/profil.c: Likewise.
11232 * sysdeps/posix/readdir_r.c: Likewise.
11233 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11234 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11235 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11236 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11238 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11239 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11240 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11242 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11243 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11244 * sysdeps/pthread/lio_listio.c: Likewise.
11245 * sysdeps/sparc/dl-procinfo.h: Likewise.
11246 * sysdeps/unix/i386/sysdep.S: Likewise.
11247 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11248 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11249 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11250 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11252 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11253 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11254 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11255 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11256 * sysdeps/wordsize-32/divdi3.c: Likewise.
11257 * time/sys/time.h: Likewise.
11258 * wcsmbs/Makefile: Likewise.
11260 2013-01-01 David S. Miller <davem@davemloft.net>
11262 * po/fr.po: Update from translation team.
11264 * catgets/gencat.c: Update copyright year.
11265 * csu/version.c: Likewise.
11266 * debug/catchsegv.sh: Likewise.
11267 * debug/pcprofiledump.c: Likewise.
11268 * debug/xtrace.sh: Likewise.
11269 * elf/ldconfig.c: Likewise.
11270 * elf/ldd.bash.in: Likewise.
11271 * elf/pldd.c: Likewise.
11272 * elf/sotruss.ksh: Likewise.
11273 * elf/sprof.c: Likewise.
11274 * iconv/iconv_prog.c: Likewise.
11275 * iconv/iconvconfig.c: Likewise.
11276 * locale/programs/locale.c: Likewise.
11277 * locale/programs/localedef.c: Likewise.
11278 * login/programs/pt_chown.c: Likewise.
11279 * malloc/memusage.sh: Likewise.
11280 * malloc/memusagestat.c: Likewise.
11281 * malloc/mtrace.pl: Likewise.
11282 * nscd/nscd.c: Likewise.
11283 * nss/getent.c: Likewise.
11284 * nss/makedb.c: Likewise.
11285 * posix/getconf.c: Likewise.
11287 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11289 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11292 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11294 * math/bits/mathcalls.h (modf): Use __nonnull.
11296 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11298 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11299 (split): Use macro CN instead of the bare value.
11300 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11303 instead of the bare value.
11304 (power1): Likewise.
11306 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11308 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11310 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11312 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11314 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11315 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11316 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11317 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11319 2012-12-28 Andreas Jaeger <aj@suse.de>
11321 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11322 values are from Linux 3.7.
11324 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11325 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11327 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11329 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11332 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11334 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11335 variables with preprocessor constants.
11336 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11337 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11338 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11340 2012-12-27 Bruno Haible <bruno@clisp.org>
11343 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11346 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11349 and use variable directly.
11350 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11352 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11354 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11355 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11357 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11359 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11360 include directive. Remove local variable MPONE.
11361 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11362 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11363 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11365 2012-12-25 David S. Miller <davem@davemloft.net>
11367 * version.h (RELEASE): Set to "development".
11368 (VERSION): Set to "2.17.90".
11369 * NEWS: Add 2.18 section.
11371 2012-12-21 David S. Miller <davem@davemloft.net>
11373 * po/hr.po: Update from translation team.
11375 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11377 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11379 2012-12-19 Steve Ellcey <sellcey@mips.com>
11381 * NEWS: Mention new memcpy for MIPS.
11383 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11385 * manual/contrib.texi (Contributors): Spelling correction.
11387 2012-12-15 David S. Miller <davem@davemloft.net>
11389 * po/ru.po: Update from translation team.
11391 2012-12-13 David S. Miller <davem@davemloft.net>
11393 * NEWS: Mention IFUNC testsuite enhancements.
11395 * po/pl.po: Update from translation team.
11396 * po/bg.po: Likewise.
11398 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11399 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11401 2012-12-11 David S. Miller <davem@davemloft.net>
11403 * po/sv.po: Update from translation team.
11405 * po/vi.po: Update from translation team.
11407 * po/cs.po: Update from translation team.
11409 * po/de.po: Update from translation team.
11410 * po/eo.po: Likewise.
11411 * po/nl.po: Likewise.
11413 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11416 * manual/argp.texi (Argp Helper Functions): Move node to follow
11417 Argp Parsing State.
11420 * manual/conf.texi (Limits on File System Capacity): Mention if
11421 terminating null is included in the max size.
11423 2012-12-10 Andreas Jaeger <aj@suse.de>
11425 * po/cs.po: Update from translation team.
11427 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11429 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11430 void pointer and cast to uintptr_t.
11431 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11433 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11434 * sysdeps/s390/s390-64/memset.S: Likewise.
11436 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11439 * menual/message.texi (Message Translation): Fix typos.
11440 (Helper programs for gettext): Likewise.
11442 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11445 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11448 2012-12-07 David S. Miller <davem@davemloft.net>
11450 * po/libc.pot: Update.
11452 2012-12-07 Richard Henderson <rth@redhat.com>
11455 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11456 normal/normal case to before the switch.
11457 (_FP_DIV): Likewise.
11459 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11460 Mike Frysinger <vapier@gentoo.org>
11462 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11463 check for __NR_fadvise64_64.
11465 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11467 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11468 0, not just to plain "0" as a statement.
11469 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11472 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11474 * NEWS: Use sourceware.org in Bugzilla URL.
11476 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11479 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11481 * stdio-common/tst-put-error.c (do_test): Add newline to the
11482 padded test to ensure flush.
11484 2012-12-05 Jeff Law <law@redhat.com>
11486 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11488 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11490 * README: Don't refer to ports add-on as distributed separately.
11491 Mention AArch64 in list of systems supported in the ports add-on.
11493 * LICENSES: Add more non-FSF copyright and license notices.
11495 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11498 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11500 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11501 10000 as width of padded output.
11503 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11505 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11507 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11508 variable LX with __attribute__ ((unused)).
11509 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11511 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11514 with __attribute__ ((unused)).
11516 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11518 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11520 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11522 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11523 (CFLAGS-nldbl-acos.c): New variable.
11524 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11525 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11526 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11527 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11528 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11529 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11530 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11531 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11532 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11533 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11534 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11535 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11536 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11537 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11538 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11539 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11540 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11541 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11542 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11543 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11544 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11545 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11546 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11547 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11548 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11549 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11550 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11551 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11552 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11553 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11554 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11555 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11556 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11557 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11558 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11559 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11560 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11561 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11562 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11563 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11564 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11565 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11566 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11567 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11568 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11569 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11570 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11571 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11572 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11573 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11574 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11575 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11576 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11577 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11578 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11579 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11580 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11581 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11582 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11583 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11584 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11585 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11586 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11587 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11588 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11589 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11590 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11591 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11592 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11593 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11594 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11595 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11596 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11597 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11598 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11599 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11600 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11601 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11602 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11603 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11604 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11605 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11606 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11607 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11608 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11609 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11610 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11611 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11612 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11613 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11614 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11615 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11616 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11617 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11618 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11619 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11620 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11623 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11626 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11627 whole low double instead of just low 47 bits when splitting values
11630 2012-12-03 Allan McRae <allan@archlinux.org>
11632 * manual/stdio.texi (Predefined Printf Handlers): Remove
11633 @hsep and @vsep usage.
11635 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11637 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11638 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11640 2012-12-03 Jeff Law <law@redhat.com>
11642 * time/sys/time.h (settimeofday): Do not mark TV argument
11645 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11647 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11648 when currently writing and seek to current position when not.
11649 * libio/Makefile (tests): Remove bug-fclose1.
11650 * libio/bug-fclose1.c: Delete.
11652 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11654 * manual/arith.texi (feenableexcept): Fix typo.
11655 (fedisableexcept): Likewise.
11657 2012-11-30 Roland McGrath <roland@hack.frob.com>
11659 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11660 second, differently-typed declaration, rather than a cast.
11662 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11664 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11665 * include/rpc/svc.h: ... here.
11667 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11670 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11671 depending n and resplen2 to catch cases where answer
11674 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11676 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11677 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11679 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11681 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11683 2012-11-29 Roland McGrath <roland@hack.frob.com>
11685 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11687 2012-11-28 Jeff Law <law@redhat.com>
11690 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11691 dataset_temporary. Track alloca usage into alloca_used.
11692 If dataset is large allocate and release it via malloc/free.
11694 2012-06-04 Florian Weimer <fweimer@redhat.com>
11697 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11699 2012-11-28 David S. Miller <davem@davemloft.net>
11701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11703 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11706 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11707 of pi/2 rounded to nearest to 64 bits.
11708 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11709 nearest to 64 bits.
11710 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11713 2012-11-28 Jeff Law <law@redhat.com>
11714 Martin Osvald <mosvald@redhat.com>
11717 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11718 * sunrpc/svc.c: Include time.h.
11719 (__svc_accept_failed): New function.
11720 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11721 any reason other than EINTR, call __svc_accept_failed.
11722 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11723 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11725 2012-11-28 Andreas Schwab <schwab@suse.de>
11727 * scripts/abilist.awk: Also handle indirect functions in .opd
11730 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11733 * sysdeps/x86/fpu/powl_helper.c: New file.
11734 * sysdeps/x86/fpu/Makefile: Likewise.
11735 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11737 (__ieee754_powl): Use __powl_helper for finite arguments except
11738 integer exponents below 8.
11739 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11741 (__ieee754_powl): Use __powl_helper for finite arguments except
11742 integer exponents below 8.
11743 * math/libm-test.inc (pow_test): Add more tests and enable some
11744 previously disabled tests.
11745 * sysdeps/i386/fpu/libm-test-ulps: Update.
11746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11748 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11749 Carlos O'Donell <carlos_odonell@mentor.com>
11751 * nss/makedb.c (is_prime): Assert that input is odd and greater
11752 than 4. Note that fact in a comment too.
11753 (next_prime): Add 4 to input.
11755 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11758 * libio/Makefile (tests): Add test case tst-fwrite-error.
11759 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11760 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11761 * libio/tst-fwrite-error.c: New test case.
11763 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11765 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11766 before casting to void *.
11767 * include/libc-internal.h (__pointer_type): New macro.
11768 (__integer_if_pointer_type_sub): Likewise.
11769 (__integer_if_pointer_type): Likewise.
11770 (cast_to_integer): Likewise.
11771 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11772 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11773 before casting to atomic64_t.
11774 (atomic_exchange_acq): Likewise.
11775 (__arch_exchange_and_add_body): Likewise.
11776 (__arch_add_body): Likewise.
11777 (atomic_add_negative): Likewise.
11778 (atomic_add_zero): Likewise.
11780 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11782 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11783 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11784 (add_fdes): Likewise.
11785 (linear_search_fdes): Likewise.
11786 (binary_search_unencoded_fdes): Likewise.
11788 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11790 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11792 2012-11-24 Adam Conrad <adconrad@0c3.net>
11794 * configure.in: Autodetect C++ header directories.
11795 * configure: Regenerated.
11797 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11799 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11801 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11805 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11807 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11808 LDBL_MANT_DIG == 106]: Disable some tests.
11809 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11811 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11815 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11816 input for small inputs. Return +/- pi/2 for large inputs.
11817 * math/libm-test.inc (atan_test): Add more tests.
11819 * sysdeps/generic/unwind-dw2-fde-glibc.c
11820 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11821 __attribute__ ((unused)).
11824 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11825 x * y if x and y are nonzero and z is zero.
11828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11829 nonzero exponents with absolute value below 0x1p-117 to +/-
11833 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11834 up arguments below 2**-450, not just those below 2**-500.
11835 * math/libm-test.inc (hypot_test): Add another test.
11838 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11839 Return a+b for ratio over 2**120, not 2**60.
11840 * math/libm-test.inc (hypot_test): Add another test.
11842 * math/libm-test.inc (clog_test): Use
11843 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11844 (clog10_test): Likewise.
11847 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11849 2012-11-22 Andreas Schwab <schwab@suse.de>
11851 * sysdeps/i386/fpu/libm-test-ulps: Update.
11853 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11855 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11856 printf output with newline.
11858 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11861 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11862 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11863 -z nodlopen, -z initfirst and -z execstack support.
11864 * configure: Regenerated.
11866 * elf/elf.h (DF_1_NODIRECT): New macro.
11867 (DF_1_IGNMULDEF): Likewise.
11868 (DF_1_NOKSYMS): Likewise.
11869 (DF_1_NOHDR): Likewise.
11870 (DF_1_EDITED): Likewise.
11871 (DF_1_NORELOC): Likewise.
11872 (DF_1_SYMINTPOSE): Likewise.
11873 (DF_1_GLOBAUDIT): Likewise.
11874 (DF_1_SINGLETON): Likewise.
11875 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11876 DT_1_SUPPORTED_MASK bits.
11877 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11879 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11881 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11883 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11885 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11888 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11889 (sendmmsg): Move declarations...
11890 * socket/sys/socket.h: ... here.
11891 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11892 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11894 * socket/recvmmsg.c: ... this new file.
11895 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11896 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11897 definition of __sendmmsg hidden.
11898 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11899 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11900 Move ENOSYS stub into and include it from...
11901 * socket/sendmmsg.c: ... this new file.
11902 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11903 (sysdep_routines): Move recvmmsg and sendmmsg...
11904 * socket/Makefile (routines): ... here.
11905 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11906 (GLIBC_PRIVATE): Add __sendmmsg.
11907 * include/sys/socket.h (__sendmmsg): Add declarations.
11908 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11911 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11913 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11914 variable I1 with __attribute__ ((unused)).
11915 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11917 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11919 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11920 DUMMY variables with __attribute__ ((unused)).
11922 * bits/byteswap.h: Include <bits/types.h>.
11923 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11925 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11927 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11928 string_t. Do not manually set errno.
11929 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11930 length with __strnlen. Make sure to both set errno and return it on
11933 2012-11-19 David S. Miller <davem@davemloft.net>
11935 With help from Joseph Myers.
11936 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11937 very large arguments properly.
11938 * math/libm-test.inc (atan_test): New tests.
11939 (atan2_test): New tests.
11940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11943 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11946 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11949 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11950 [POSIX] (EADDRNOTAVAIL): Likewise.
11951 [POSIX] (EAFNOSUPPORT): Likewise.
11952 [POSIX] (EALREADY): Likewise.
11953 [POSIX] (ECONNABORTED): Likewise.
11954 [POSIX] (ECONNREFUSED): Likewise.
11955 [POSIX] (ECONNRESET): Likewise.
11956 [POSIX] (EDESTADDRREQ): Likewise.
11957 [POSIX] (EDQUOT): Likewise.
11958 [POSIX] (EHOSTUNREACH): Likewise.
11959 [POSIX] (EIDRM): Likewise.
11960 [POSIX] (EISCONN): Likewise.
11961 [POSIX] (ELOOP): Likewise.
11962 [POSIX] (EMULTIHOP): Likewise.
11963 [POSIX] (ENETDOWN): Likewise.
11964 [POSIX] (ENETUNREACH): Likewise.
11965 [POSIX] (ENOBUFS): Likewise.
11966 [POSIX] (ENODATA): Likewise.
11967 [POSIX] (ENOLINK): Likewise.
11968 [POSIX] (ENOMSG): Likewise.
11969 [POSIX] (ENOPROTOOPT): Likewise.
11970 [POSIX] (ENOSR): Likewise.
11971 [POSIX] (ENOSTR): Likewise.
11972 [POSIX] (ENOTCONN): Likewise.
11973 [POSIX] (ENOTSOCK): Likewise.
11974 [POSIX] (EOPNOTSUPP): Likewise.
11975 [POSIX] (EOVERFLOW): Likewise.
11976 [POSIX] (EPROTO): Likewise.
11977 [POSIX] (EPROTONOSUPPORT): Likewise.
11978 [POSIX] (EPROTOTYPE): Likewise.
11979 [POSIX] (ESTALE): Likewise.
11980 [POSIX] (ETIME): Likewise.
11981 [POSIX] (ETXTBSY): Likewise.
11982 [POSIX] (EWOULDBLOCK): Likewise.
11983 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11984 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11985 [POSIX] (SEEK_CUR): Likewise.
11986 [POSIX] (SEEK_END): Likewise.
11987 [POSIX || UNIX98] (mode_t): Do not require.
11988 [POSIX] (off_t): Likewise.
11989 [POSIX] (pid_t): Likewise.
11990 [POSIX] (sys/stat.h): Do not allow header.
11991 [POSIX] (unistd.h): Likewise.
11992 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11993 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11994 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11995 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11997 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11998 sigevent): Specify elements.
11999 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12001 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12002 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12004 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12005 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12006 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12007 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12008 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12009 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12010 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12011 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12012 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12013 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12014 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12015 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12016 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12017 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12019 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12021 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12025 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12026 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12027 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12028 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12029 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12030 Specify lower bound on value.
12031 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12032 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12033 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12034 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12035 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12036 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12037 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12038 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12040 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12042 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12043 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12044 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12045 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12046 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12047 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12048 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12049 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12050 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12051 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12052 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12053 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12054 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12055 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12056 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12057 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12059 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12061 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12062 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12063 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12064 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12065 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12066 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12068 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12069 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12070 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12071 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12072 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12073 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12076 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12077 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12078 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12079 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12080 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12081 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12082 specify as optional.
12083 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12084 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12085 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12086 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12087 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12088 [XPG3] (NL_LANGMAX): Likewise.
12089 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12090 [POSIX || XPG3] (NL_NMAX): Likewise.
12091 [POSIX || XPG3] (NL_SETMAX): Likewise.
12092 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12093 [XPG3] (NZERO): Likewise.
12094 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12095 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12096 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12097 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12098 (REG_ERANGE): Expect.
12099 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12101 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12102 Use (void) in prototype.
12103 [POSIX] (*_t): Allow.
12104 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12105 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12106 (WRDE_BADVAL): Expect.
12108 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12110 [XPG3 || XPG4] (O_RSYNC): Likewise.
12111 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12113 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12114 [XPG3 || XPG4] (sigqueue): Likewise.
12115 [XPG3 || XPG4] (sigtimedwait): Likewise.
12116 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12117 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12118 [XPG3 || XPG4] (vsnprintf): Likewise.
12119 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12121 [XPG3 || XPG4] (blksize_t): Likewise.
12122 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12124 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12125 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12126 [XPG3 || XPG4] (struct itimerspec): Likewise.
12127 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12128 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12129 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12130 [XPG3 || XPG4] (clockid_t): Likewise.
12131 [XPG3 || XPG4] (timer_t): Likewise.
12132 [XPG3 || XPG4] (clock_getres): Likewise.
12133 [XPG3 || XPG4] (clock_gettime): Likewise.
12134 [XPG3 || XPG4] (clock_settime): Likewise.
12135 [XPG3 || XPG4] (nanosleep): Likewise.
12136 [XPG3 || XPG4] (timer_create): Likewise.
12137 [XPG3 || XPG4] (timer_delete): Likewise.
12138 [XPG3 || XPG4] (timer_gettime): Likewise.
12139 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12140 [XPG3 || XPG4] (timer_settime): Likewise.
12141 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12142 [XPG3 || XPG4] (getlogin_r): Likewise.
12143 [XPG3 || XPG4] (pread): Likewise.
12144 [XPG3 || XPG4] (pthread_atfork): Likewise.
12145 [XPG3 || XPG4] (pwrite): Likewise.
12148 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12151 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12153 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12154 finalizing MALLSTREAM.
12156 * sysdeps/mach/hurd/syncfs.c: New file.
12158 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12161 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12162 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12163 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12164 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12165 (_nss_dns_gethostbyname4_r): Likewise.
12166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12167 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12169 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12172 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12174 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12176 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12177 * elf/cache.c (print_entry): Print ",AArch64" for
12180 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12181 * elf/cache.c (print_entry): Print ",hard-float" for
12184 2012-11-18 David S. Miller <davem@davemloft.net>
12186 With help from Joseph Myers.
12187 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12189 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12191 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12192 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12194 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12195 * math/libm-test.inc (y0_test): New tests.
12196 (y1_test): New tests.
12197 * sysdeps/i386/fpu/libm-test-ulps: Update.
12198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12201 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12203 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12205 * configure: Regenerated.
12207 2012-11-17 David S. Miller <davem@davemloft.net>
12210 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12211 nonzero exponents with absolute value below 0x1p-128 to +/-
12214 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12216 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12218 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12220 * posix/getconf-speclist.c: New file.
12221 * posix/posix-envs.def: Likewise.
12222 * posix/confstr.c (START_ENV_GROUP): New macro.
12223 (END_ENV_GROUP): Likewise.
12224 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12225 (KNOWN_PRESENT_ENV_STRING): Likewise.
12226 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12227 (UNKNOWN_ENVIRONMENT): Likewise.
12228 (confstr): Include posix-envs.def instead of handling
12229 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12230 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12231 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12232 (END_ENV_GROUP): Likewise.
12233 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12234 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12235 (UNKNOWN_ENVIRONMENT): Likewise.
12236 (__sysconf): Include posix-envs.def instead of handling associated
12237 cases directly here.
12238 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12239 preprocessing getconf-speclist.c rather than running getconf or
12240 generating empty file.
12242 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12244 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12246 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12249 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12251 2012-11-16 David S. Miller <davem@davemloft.net>
12253 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12254 smaller than LDBL_EPSILON/2.0L, just return xm1.
12256 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12258 * elf/tst-array1.c (init): Set constructor priority to 1000.
12259 (fini): Set destructor priority to 1000.
12260 * elf/tst-array2dep.c: Likewise.
12262 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12265 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12266 (_IO_new_file_xsputn): Also return EOF if none of the input
12267 data was written when overflow failed.
12268 * libio/iopadn.c (_IO_padn): Likewise.
12269 * libio/iowpadn.c (_IO_wpadn): Likewise.
12270 * stdio-common/tst-put-error.c: Add copyright notice.
12271 (do_test): Add case for printing padded string.
12272 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12273 _IO_padn returned error.
12274 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12275 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12278 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12280 * libio/libioP.h: Add comment note that the references to C++
12281 bits are now obsolete.
12283 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12285 * math/libm-test.inc (check_complex): Use asprintf.
12287 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12289 * debug/pcprofiledump.c (print_version): Update copyright year.
12290 * malloc/memusagestat.c (print_version): Likewise.
12292 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12295 * elf/Makefile (tests): Add tst-audit8.
12296 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12297 ($(objpfx)tst-audit8.out): New target.
12298 (tst-audit8-ENV): New variable.
12299 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12300 audit if l_reloc_result is NULL.
12301 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12302 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12303 * elf/tst-audit8.c: New file.
12305 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12307 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12308 * misc/Makefile (CFLAGS-select.c): Define.
12309 * posix/Makefile (CFLAGS-pause.c): Define.
12311 2012-11-13 David S. Miller <davem@davemloft.net>
12313 * crypt/Makefile: Move test targets after toplevel Rules
12314 inclusion. Grab any necessary sysdep routines when linking.
12315 * crypt/md5.c (md5_process_block): Remove define, we will always
12316 name it __md5_process_block.
12317 (md5_finish_ctx): Update md5_process_block call.
12318 (md5_stream): Likewise.
12319 (md5_process_bytes): Likewise.
12320 (md5_process_block): Rename to __md5_process_block and move to ...
12321 * crypt/md5-block.c: ... here.
12322 * crypt/sha256.c (sha256_process_block): Move to ...
12323 * crypt/sha256-block.c: ... here.
12324 * crypt/sha512.c (sha512_process_block): Move to ...
12325 * crypt/sha512-block.c: ... here.
12326 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12328 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12329 * sysdeps/sparc/sparc64/multiarch/Makefile
12330 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12332 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12333 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12335 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12336 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12337 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12338 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12339 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12340 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12341 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12342 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12343 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12345 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12346 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12348 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12350 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12352 * timezone/tzselect.ksh: Update from tzcode git revision
12353 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12354 * timezone/zdump.c: Likewise.
12355 * timezone/zic.c: Likewise.
12356 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12357 in TZVERSION setting, not $(PKGVERSION).
12358 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12359 REPORT_BUGS_TO settings.
12362 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12365 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12367 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12368 detection to immediately after _FP_ROUND().
12369 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12372 2012-11-11 David S. Miller <davem@davemloft.net>
12374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12376 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12377 __close rather than their public counterparts.
12379 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12381 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12383 [UNIX98] (sem_timedwait): Do not expect.
12384 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12385 [XPG4 || UNIX98] (sockatmark): Do not expect.
12386 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12387 (clock_getcpuclockid): Do not expect.
12388 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12389 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12391 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12392 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12393 [UNIX98] (vwscanf): Likewise.
12394 [UNIX98] (vswscanf): Likewise.
12396 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12398 * timezone/version.h: Remove file.
12399 * timezone/README: Do not refer to version.h.
12400 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12401 $(objpfx)version.h.
12402 ($(objpfx)zdump.o): Likewise.
12403 ($(objpfx)version.h): New target.
12405 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12407 * timezone/README: Don't mention modification to tzselect.ksh.
12408 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12409 work on unmodified tzselect.ksh. Substitute version numbers in
12412 * Makefile (format-me): Remove.
12413 (INSTALL): Adjust indentation. Use commands directly instead of
12414 using $(format-me).
12416 * aclocal.m4 (ACX_PKGVERSION): New macro.
12417 (ACX_BUGURL): Likewise.
12418 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12419 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12420 (REPORT_BUGS_TO): Likewise.
12421 * configure: Regenerated.
12422 * config.h.in (PKGVERSION): New macro.
12423 (REPORT_BUGS_TO): Likewise.
12424 * config.make.in (PKGVERSION): New variable.
12425 (PKGVERSION_TEXI): Likewise.
12426 (REPORT_BUGS_TO): Likewise.
12427 (REPORT_BUGS_TEXI): Likewise.
12428 * Makefile (format-me): Use -I$(common-objpfx)manual.
12429 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12430 ($(common-objpfx)manual/%): New target.
12431 (manual/%): Remove target.
12432 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12433 (print_version): Use PKGVERSION.
12434 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12435 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12436 and REPORT_BUGS_TO.
12437 ($(objpfx)xtrace): Likewise.
12438 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12439 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12440 (print_version): Use PKGVERSION.
12441 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12442 (do_version): Use PKGVERSION.
12443 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12445 (common-ldd-rewrite): Likewise.
12446 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12447 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12448 (print_version): Use PKGVERSION.
12449 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12450 * elf/pldd.c (argp_program_bug_address): Remove variable.
12451 (more_help): New function.
12452 (argp): Use more_help.
12453 (print_version): Use PKGVERSION.
12454 * elf/sln.c (main): Use PKGVERSION.
12455 (usage): Use REPORT_BUGS_TO.
12456 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12457 (top level): Use PKGVERSION.
12458 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12459 (print_version): Use PKGVERSION.
12460 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12461 (print_version): Use PKGVERSION.
12462 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12463 (print_version): Use PKGVERSION.
12464 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12465 (print_version): Use PKGVERSION.
12466 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12467 (print_version): Use PKGVERSION.
12468 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12469 (print_version): Use PKGVERSION.
12470 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12472 ($(objpfx)memusage): Likewise.
12473 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12474 (do_version): Use PKGVERSION.
12475 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12476 (print_version): Use PKGVERSION.
12477 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12478 ($PKGVERSION): New variable.
12479 ($REPORT_BUGS_TO): Likewise.
12480 (usage): Use $REPORT_BUGS_TO.
12481 (top level): Use $PKGVERSION.
12482 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12483 ($(objpfx)pkgvers.texi): New rule.
12484 ($(objpfx)stamp-pkgvers): Likewise.
12485 * manual/install.texi: Include pkgvers.texi.
12486 (--with-pkgversion): Document new configure option.
12487 (--with-bugurl): Likewise.
12488 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12489 than necessarily for this particular distribution. Use
12490 REPORT_BUGS_TO for where to report bugs.
12491 * INSTALL: Regenerated.
12492 * manual/libc.texinfo: Include pkgvers.texi.
12493 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12494 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12495 (print_version): Use PKGVERSION.
12496 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12497 (print_version): Use PKGVERSION.
12498 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12499 (print_version): Use PKGVERSION.
12500 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12501 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12503 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12504 (print_version): Use PKGVERSION.
12505 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12506 (print_version): Use PKGVERSION.
12507 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12510 * timezone/checktab.awk: Update from tzcode 2012i.
12511 * timezone/ialloc.c: Likewise.
12512 * timezone/private.h: Likewise.
12513 * timezone/scheck.c: Likewise.
12514 * timezone/tzfile.h: Likewise.
12515 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12516 (TZVERSION): Hardcode tzcode version number.
12517 * timezone/zdump.c: Update from tzcode 2012i.
12518 * timezone/zic.c: Likewise.
12519 * timezone/version.h: New file.
12520 * timezone/README: Describe version.h. Update upstream location.
12523 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12524 (mktemp): Enable declaration.
12525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12542 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12543 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12544 for copies of such integer values.
12545 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12546 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12548 2012-11-09 Andreas Jaeger <aj@suse.de>
12550 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12551 definitions and declarations that are provided by
12552 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12554 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12556 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12557 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12558 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12561 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12563 * elf/elf.h: Update comment before AArch64 relocations.
12565 2012-11-07 David S. Miller <davem@davemloft.net>
12567 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12568 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12569 (__start_context): Declare.
12570 (__makecontext_ret): Delete.
12571 (__makecontext): Hook up __start_context instead of
12573 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12574 (sysdep_routines): Add __start_context when in stdlib.
12576 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12578 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12579 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12580 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12582 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12583 (READELF): New variable. Use it instead of hardcoded "readelf".
12585 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12587 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12588 * sysdeps/x86/Makefile: Here.
12589 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12590 * sysdeps/x86/tst-xmmymm.sh: This.
12592 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12594 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12596 [UNIX98] (pthread_barrier_t): Do not expect.
12597 [UNIX98] (pthread_barrierattr_t): Likewise.
12598 [UNIX98] (pthread_spinlock_t): Likewise.
12599 [UNIX98] (pthread_barrier_destroy): Likewise.
12600 [UNIX98] (pthread_barrier_init): Likewise.
12601 [UNIX98] (pthread_barrier_wait): Likewise.
12602 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12603 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12604 [UNIX98] (pthread_barrierattr_init): Likewise.
12605 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12606 [UNIX98] (pthread_getcpuclockid): Likewise.
12607 [UNIX98] (pthread_mutex_timedlock): Likewise.
12608 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12609 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12610 [UNIX98] (pthread_sigmask): Likewise.
12611 [UNIX98] (pthread_spin_destroy): Likewise.
12612 [UNIX98] (pthread_spin_init): Likewise.
12613 [UNIX98] (pthread_spin_lock): Likewise.
12614 [UNIX98] (pthread_spin_trylock): Likewise.
12615 [UNIX98] (pthread_spin_unlock): Likewise.
12616 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12618 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12619 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12620 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12621 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12622 [XPG3 || XPG4] (pthread_key_t): Likewise.
12623 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12624 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12625 [XPG3 || XPG4] (pthread_once_t): Likewise.
12626 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12627 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12628 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12629 [XPG3 || XPG4] (pthread_t): Likewise.
12631 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12633 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12635 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12636 Change function return type to int.
12638 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12639 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12640 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12641 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12642 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12643 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12644 [!POSIX] (posix_madvise): Likewise.
12645 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12647 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12648 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12649 (mode_t): Likewise.
12650 (posix_mem_offset): Likewise.
12651 (posix_typed_mem_get_info): Likewise.
12652 (posix_typed_mem_open): Likewise.
12654 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12655 Change condition to [XOPEN2K8].
12657 * conform/conformtest.pl: Preprocess allow-header data with -x c
12658 instead of from stdin.
12659 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12660 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12661 [C99-based standards] (cerfc): Likewise.
12662 [C99-based standards] (cexp2): Likewise.
12663 [C99-based standards] (cexpm1): Likewise.
12664 [C99-based standards] (clog10): Likewise.
12665 [C99-based standards] (clog1p): Likewise.
12666 [C99-based standards] (clog2): Likewise.
12667 [C99-based standards] (clgamma): Likewise.
12668 [C99-based standards] (ctgamma): Likewise.
12669 [C99-based standards] (cerff): Likewise.
12670 [C99-based standards] (cerfcf): Likewise.
12671 [C99-based standards] (cexp2f): Likewise.
12672 [C99-based standards] (cexpm1f): Likewise.
12673 [C99-based standards] (clog10f): Likewise.
12674 [C99-based standards] (clog1pf): Likewise.
12675 [C99-based standards] (clog2f): Likewise.
12676 [C99-based standards] (clgammaf): Likewise.
12677 [C99-based standards] (ctgammaf): Likewise.
12678 [C99-based standards] (cerfl): Likewise.
12679 [C99-based standards] (cerfcl): Likewise.
12680 [C99-based standards] (cexp2l): Likewise.
12681 [C99-based standards] (cexpm1l): Likewise.
12682 [C99-based standards] (clog10l): Likewise.
12683 [C99-based standards] (clog1pl): Likewise.
12684 [C99-based standards] (clog2l): Likewise.
12685 [C99-based standards] (clgammal): Likewise.
12686 [C99-based standards] (ctgammal): Likewise.
12687 * conform/data/inttypes.h-data [C99-based standards]: Include
12688 stdint.h-data. Remove all expectations for stdint.h contents.
12689 [C99-based standards] (PRI*): Do not allow.
12690 [C99-based standards] (SCN*): Likewise.
12691 [C99-based standards] (*_t): Likewise.
12692 [C99-based-standards] (PRId8): Expect macro.
12693 [C99-based-standards] (PRIi8): Likewise.
12694 [C99-based-standards] (PRIo8): Likewise.
12695 [C99-based-standards] (PRIu8): Likewise.
12696 [C99-based-standards] (PRIx8): Likewise.
12697 [C99-based-standards] (PRIX8): Likewise.
12698 [C99-based-standards] (SCNd8): Likewise.
12699 [C99-based-standards] (SCNi8): Likewise.
12700 [C99-based-standards] (SCNo8): Likewise.
12701 [C99-based-standards] (SCNu8): Likewise.
12702 [C99-based-standards] (SCNx8): Likewise.
12703 [C99-based-standards] (PRIdLEAST8): Likewise.
12704 [C99-based-standards] (PRIiLEAST8): Likewise.
12705 [C99-based-standards] (PRIoLEAST8): Likewise.
12706 [C99-based-standards] (PRIuLEAST8): Likewise.
12707 [C99-based-standards] (PRIxLEAST8): Likewise.
12708 [C99-based-standards] (PRIXLEAST8): Likewise.
12709 [C99-based-standards] (SCNdLEAST8): Likewise.
12710 [C99-based-standards] (SCNiLEAST8): Likewise.
12711 [C99-based-standards] (SCNoLEAST8): Likewise.
12712 [C99-based-standards] (SCNuLEAST8): Likewise.
12713 [C99-based-standards] (SCNxLEAST8): Likewise.
12714 [C99-based-standards] (PRIdFAST8): Likewise.
12715 [C99-based-standards] (PRIiFAST8): Likewise.
12716 [C99-based-standards] (PRIoFAST8): Likewise.
12717 [C99-based-standards] (PRIuFAST8): Likewise.
12718 [C99-based-standards] (PRIxFAST8): Likewise.
12719 [C99-based-standards] (PRIXFAST8): Likewise.
12720 [C99-based-standards] (SCNdFAST8): Likewise.
12721 [C99-based-standards] (SCNiFAST8): Likewise.
12722 [C99-based-standards] (SCNoFAST8): Likewise.
12723 [C99-based-standards] (SCNuFAST8): Likewise.
12724 [C99-based-standards] (SCNxFAST8): Likewise.
12725 [C99-based-standards] (PRId16): Likewise.
12726 [C99-based-standards] (PRIi16): Likewise.
12727 [C99-based-standards] (PRIo16): Likewise.
12728 [C99-based-standards] (PRIu16): Likewise.
12729 [C99-based-standards] (PRIx16): Likewise.
12730 [C99-based-standards] (PRIX16): Likewise.
12731 [C99-based-standards] (SCNd16): Likewise.
12732 [C99-based-standards] (SCNi16): Likewise.
12733 [C99-based-standards] (SCNo16): Likewise.
12734 [C99-based-standards] (SCNu16): Likewise.
12735 [C99-based-standards] (SCNx16): Likewise.
12736 [C99-based-standards] (PRIdLEAST16): Likewise.
12737 [C99-based-standards] (PRIiLEAST16): Likewise.
12738 [C99-based-standards] (PRIoLEAST16): Likewise.
12739 [C99-based-standards] (PRIuLEAST16): Likewise.
12740 [C99-based-standards] (PRIxLEAST16): Likewise.
12741 [C99-based-standards] (PRIXLEAST16): Likewise.
12742 [C99-based-standards] (SCNdLEAST16): Likewise.
12743 [C99-based-standards] (SCNiLEAST16): Likewise.
12744 [C99-based-standards] (SCNoLEAST16): Likewise.
12745 [C99-based-standards] (SCNuLEAST16): Likewise.
12746 [C99-based-standards] (SCNxLEAST16): Likewise.
12747 [C99-based-standards] (PRIdFAST16): Likewise.
12748 [C99-based-standards] (PRIiFAST16): Likewise.
12749 [C99-based-standards] (PRIoFAST16): Likewise.
12750 [C99-based-standards] (PRIuFAST16): Likewise.
12751 [C99-based-standards] (PRIxFAST16): Likewise.
12752 [C99-based-standards] (PRIXFAST16): Likewise.
12753 [C99-based-standards] (SCNdFAST16): Likewise.
12754 [C99-based-standards] (SCNiFAST16): Likewise.
12755 [C99-based-standards] (SCNoFAST16): Likewise.
12756 [C99-based-standards] (SCNuFAST16): Likewise.
12757 [C99-based-standards] (SCNxFAST16): Likewise.
12758 [C99-based-standards] (PRId32): Likewise.
12759 [C99-based-standards] (PRIi32): Likewise.
12760 [C99-based-standards] (PRIo32): Likewise.
12761 [C99-based-standards] (PRIu32): Likewise.
12762 [C99-based-standards] (PRIx32): Likewise.
12763 [C99-based-standards] (PRIX32): Likewise.
12764 [C99-based-standards] (SCNd32): Likewise.
12765 [C99-based-standards] (SCNi32): Likewise.
12766 [C99-based-standards] (SCNo32): Likewise.
12767 [C99-based-standards] (SCNu32): Likewise.
12768 [C99-based-standards] (SCNx32): Likewise.
12769 [C99-based-standards] (PRIdLEAST32): Likewise.
12770 [C99-based-standards] (PRIiLEAST32): Likewise.
12771 [C99-based-standards] (PRIoLEAST32): Likewise.
12772 [C99-based-standards] (PRIuLEAST32): Likewise.
12773 [C99-based-standards] (PRIxLEAST32): Likewise.
12774 [C99-based-standards] (PRIXLEAST32): Likewise.
12775 [C99-based-standards] (SCNdLEAST32): Likewise.
12776 [C99-based-standards] (SCNiLEAST32): Likewise.
12777 [C99-based-standards] (SCNoLEAST32): Likewise.
12778 [C99-based-standards] (SCNuLEAST32): Likewise.
12779 [C99-based-standards] (SCNxLEAST32): Likewise.
12780 [C99-based-standards] (PRIdFAST32): Likewise.
12781 [C99-based-standards] (PRIiFAST32): Likewise.
12782 [C99-based-standards] (PRIoFAST32): Likewise.
12783 [C99-based-standards] (PRIuFAST32): Likewise.
12784 [C99-based-standards] (PRIxFAST32): Likewise.
12785 [C99-based-standards] (PRIXFAST32): Likewise.
12786 [C99-based-standards] (SCNdFAST32): Likewise.
12787 [C99-based-standards] (SCNiFAST32): Likewise.
12788 [C99-based-standards] (SCNoFAST32): Likewise.
12789 [C99-based-standards] (SCNuFAST32): Likewise.
12790 [C99-based-standards] (SCNxFAST32): Likewise.
12791 [C99-based-standards] (PRId64): Likewise.
12792 [C99-based-standards] (PRIi64): Likewise.
12793 [C99-based-standards] (PRIo64): Likewise.
12794 [C99-based-standards] (PRIu64): Likewise.
12795 [C99-based-standards] (PRIx64): Likewise.
12796 [C99-based-standards] (PRIX64): Likewise.
12797 [C99-based-standards] (SCNd64): Likewise.
12798 [C99-based-standards] (SCNi64): Likewise.
12799 [C99-based-standards] (SCNo64): Likewise.
12800 [C99-based-standards] (SCNu64): Likewise.
12801 [C99-based-standards] (SCNx64): Likewise.
12802 [C99-based-standards] (PRIdLEAST64): Likewise.
12803 [C99-based-standards] (PRIiLEAST64): Likewise.
12804 [C99-based-standards] (PRIoLEAST64): Likewise.
12805 [C99-based-standards] (PRIuLEAST64): Likewise.
12806 [C99-based-standards] (PRIxLEAST64): Likewise.
12807 [C99-based-standards] (PRIXLEAST64): Likewise.
12808 [C99-based-standards] (SCNdLEAST64): Likewise.
12809 [C99-based-standards] (SCNiLEAST64): Likewise.
12810 [C99-based-standards] (SCNoLEAST64): Likewise.
12811 [C99-based-standards] (SCNuLEAST64): Likewise.
12812 [C99-based-standards] (SCNxLEAST64): Likewise.
12813 [C99-based-standards] (PRIdFAST64): Likewise.
12814 [C99-based-standards] (PRIiFAST64): Likewise.
12815 [C99-based-standards] (PRIoFAST64): Likewise.
12816 [C99-based-standards] (PRIuFAST64): Likewise.
12817 [C99-based-standards] (PRIxFAST64): Likewise.
12818 [C99-based-standards] (PRIXFAST64): Likewise.
12819 [C99-based-standards] (SCNdFAST64): Likewise.
12820 [C99-based-standards] (SCNiFAST64): Likewise.
12821 [C99-based-standards] (SCNoFAST64): Likewise.
12822 [C99-based-standards] (SCNuFAST64): Likewise.
12823 [C99-based-standards] (SCNxFAST64): Likewise.
12824 [C99-based-standards] (PRIdMAX): Likewise.
12825 [C99-based-standards] (PRIiMAX): Likewise.
12826 [C99-based-standards] (PRIoMAX): Likewise.
12827 [C99-based-standards] (PRIuMAX): Likewise.
12828 [C99-based-standards] (PRIxMAX): Likewise.
12829 [C99-based-standards] (PRIXMAX): Likewise.
12830 [C99-based-standards] (SCNdMAX): Likewise.
12831 [C99-based-standards] (SCNiMAX): Likewise.
12832 [C99-based-standards] (SCNoMAX): Likewise.
12833 [C99-based-standards] (SCNuMAX): Likewise.
12834 [C99-based-standards] (SCNxMAX): Likewise.
12835 [C99-based-standards] (PRIdPTR): Likewise.
12836 [C99-based-standards] (PRIiPTR): Likewise.
12837 [C99-based-standards] (PRIoPTR): Likewise.
12838 [C99-based-standards] (PRIuPTR): Likewise.
12839 [C99-based-standards] (PRIxPTR): Likewise.
12840 [C99-based-standards] (PRIXPTR): Likewise.
12841 [C99-based-standards] (SCNdPTR): Likewise.
12842 [C99-based-standards] (SCNiPTR): Likewise.
12843 [C99-based-standards] (SCNoPTR): Likewise.
12844 [C99-based-standards] (SCNuPTR): Likewise.
12845 [C99-based-standards] (SCNxPTR): Likewise.
12846 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12848 * conform/data/stdint.h-data: Update comments to clarify
12850 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12852 [C99-based standards] (INT8_MAX): Likewise.
12853 [C99-based standards] (INT16_MIN): Likewise.
12854 [C99-based standards] (INT16_MAX): Likewise.
12855 [C99-based standards] (INT32_MIN): Likewise.
12856 [C99-based standards] (INT32_MAX): Likewise.
12857 [C99-based standards] (INT64_MIN): Likewise.
12858 [C99-based standards] (INT64_MAX): Likewise.
12859 [C99-based standards] (UINT8_MAX): Likewise.
12860 [C99-based standards] (UINT16_MAX): Likewise.
12861 [C99-based standards] (UINT32_MAX): Likewise.
12862 [C99-based standards] (UINT64_MAX): Likewise.
12863 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12864 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12865 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12866 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12867 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12868 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12869 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12870 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12871 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12872 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12873 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12874 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12875 [C99-based standards] (INT_FAST8_MIN): Likewise.
12876 [C99-based standards] (INT_FAST8_MAX): Likewise.
12877 [C99-based standards] (INT_FAST16_MIN): Likewise.
12878 [C99-based standards] (INT_FAST16_MAX): Likewise.
12879 [C99-based standards] (INT_FAST32_MIN): Likewise.
12880 [C99-based standards] (INT_FAST32_MAX): Likewise.
12881 [C99-based standards] (INT_FAST64_MIN): Likewise.
12882 [C99-based standards] (INT_FAST64_MAX): Likewise.
12883 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12884 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12885 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12886 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12887 [C99-based standards] (INTPTR_MIN): Likewise.
12888 [C99-based standards] (INTPTR_MAX): Likewise.
12889 [C99-based standards] (UINTPTR_MAX): Likewise.
12890 [C99-based standards] (INTMAX_MIN): Likewise.
12891 [C99-based standards] (INTMAX_MAX): Likewise.
12892 [C99-based standards] (UINTMAX_MAX): Likewise.
12893 [C99-based standards] (PTRDIFF_MIN): Likewise.
12894 [C99-based standards] (PTRDIFF_MAX): Likewise.
12895 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12896 [C99-based standards] (SIZE_MAX): Likewise.
12897 [C99-based standards] (WCHAR_MAX): Likewise.
12898 [C99-based standards] (WINT_MAX): Likewise.
12899 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12900 constraint on value.
12901 [C99-based standards] (WCHAR_MIN): Likewise.
12902 [C99-based standards] (WINT_MIN): Likewise.
12903 [C99-based standards] (*_t): Allow.
12904 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12905 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12906 Include math.h-data and complex.h-data. Remove all expectations
12907 of math.h and complex.h contents.
12908 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12910 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12911 (struct tm): Expect tag.
12912 [C99-based-standards] (wcstof): Expect function.
12913 [C99-based-standards] (wcstold): Likewise.
12914 [C99-based-standards] (wcstoll): Likewise.
12915 [C99-based-standards] (wcstoull): Likewise.
12916 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12917 macro-int-constant. Specify type.
12918 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12919 constraint on value.
12920 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12922 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12924 [ISO C standards]: Do not allow headers.
12925 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12926 wcs[abcdefghijklmnopqrstuvwxyz]*.
12927 [ISO C standards] (*_t): Do not allow.
12928 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12930 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12931 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12933 [ISO C standards]: Do not allow headers.
12934 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12935 is[abcdefghijklmnopqrstuvwxyz]*.
12936 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12937 to[abcdefghijklmnopqrstuvwxyz]*.
12938 [ISO C standards] (*_t): Do not allow.
12939 * conform/data/stdalign.h-data: New file.
12940 * conform/data/stdbool.h-data: Likewise.
12941 * conform/data/stdnoreturn.h-data: Likewise.
12943 2012-11-07 Roland McGrath <roland@hack.frob.com>
12946 * manual/filesys.texi (Directory Entries): Typo fix.
12947 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12949 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12951 * elf/elf.h (EM_AARCH64): New macro.
12952 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12953 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12954 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12955 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12956 (R_AARCH64_TLSDESC): Likewise.
12957 (NT_ARM_TLS): Likewise.
12958 (NT_ARM_HW_BREAK): Likewise.
12959 (NT_ARM_HW_WATCH): Likewise.
12961 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12964 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12965 (__ieee754_powl): Saturate nonzero exponents with absolute value
12966 below 0x1p-79 to +/- 0x1p-79.
12967 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12968 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12969 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12970 nonzero exponents with absolute value below 0x1p-32 to +/-
12972 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12973 (__ieee754_powl): Saturate nonzero exponents with absolute value
12974 below 0x1p-79 to +/- 0x1p-79.
12975 * math/libm-test.inc (pow_test): Add more tests.
12977 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12979 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12980 _dl_s390_cap_flags with kernel. Increase string length.
12981 (_dl_s390_platforms): Add z196 and zEC12.
12983 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12985 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12986 Change XOPEN21K to XOPEN2K.
12988 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12990 * string/memmove.c: Use memcpy when possible.
12992 2012-11-06 Andreas Jaeger <aj@suse.de>
12994 * po/eo.po: Update from translation team.
12996 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13000 exponent and small x and y exponents, scale x or y up. Increase
13001 by 2 the exponent used in scaling up.
13002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13003 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13004 * math/libm-test.inc (fma_test): Add more tests.
13005 (fma_test_towardzero): Likewise.
13006 (fma_test_downward): Likewise.
13007 (fma_test_upward): Likewise.
13009 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13012 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13016 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13017 namespace for names of struct fields.
13018 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13020 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13021 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13023 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13026 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13028 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13030 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13034 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13037 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13040 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13041 definitely overflow as x * y not x * y + z.
13042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13044 * math/libm-test.inc (fma_test): Add more tests.
13045 (fma_test_towardzero): Likewise.
13046 (fma_test_downward): Likewise.
13047 (fma_test_upward): Likewise.
13049 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13053 * include/stub-tag.h: Remove file.
13054 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13056 * manual/maint.texi (Porting): Don't reference it.
13057 * Makerules ($(objpfx)stubs): Likewise.
13058 * dirent/closedir.c: Don't include <stub-tag.h>.
13059 * dirent/dirfd.c: Likewise.
13060 * dirent/fdopendir.c: Likewise.
13061 * dirent/getdents.c: Likewise.
13062 * dirent/getdents64.c: Likewise.
13063 * dirent/opendir.c: Likewise.
13064 * dirent/readdir.c: Likewise.
13065 * dirent/readdir64.c: Likewise.
13066 * dirent/readdir64_r.c: Likewise.
13067 * dirent/readdir_r.c: Likewise.
13068 * dirent/rewinddir.c: Likewise.
13069 * dirent/seekdir.c: Likewise.
13070 * dirent/telldir.c: Likewise.
13071 * gmon/profil.c: Likewise.
13072 * grp/setgroups.c: Likewise.
13073 * inet/if_index.c: Likewise.
13074 * io/access.c: Likewise.
13075 * io/chdir.c: Likewise.
13076 * io/chmod.c: Likewise.
13077 * io/chown.c: Likewise.
13078 * io/close.c: Likewise.
13079 * io/dup.c: Likewise.
13080 * io/dup2.c: Likewise.
13081 * io/dup3.c: Likewise.
13082 * io/euidaccess.c: Likewise.
13083 * io/faccessat.c: Likewise.
13084 * io/fchdir.c: Likewise.
13085 * io/fchmod.c: Likewise.
13086 * io/fchmodat.c: Likewise.
13087 * io/fchown.c: Likewise.
13088 * io/fchownat.c: Likewise.
13089 * io/fcntl.c: Likewise.
13090 * io/flock.c: Likewise.
13091 * io/fstatfs.c: Likewise.
13092 * io/fstatfs64.c: Likewise.
13093 * io/fstatvfs.c: Likewise.
13094 * io/fstatvfs64.c: Likewise.
13095 * io/futimens.c: Likewise.
13096 * io/fxstat.c: Likewise.
13097 * io/fxstat64.c: Likewise.
13098 * io/fxstatat.c: Likewise.
13099 * io/fxstatat64.c: Likewise.
13100 * io/getcwd.c: Likewise.
13101 * io/isatty.c: Likewise.
13102 * io/lchmod.c: Likewise.
13103 * io/lchown.c: Likewise.
13104 * io/link.c: Likewise.
13105 * io/linkat.c: Likewise.
13106 * io/lseek.c: Likewise.
13107 * io/lseek64.c: Likewise.
13108 * io/lxstat64.c: Likewise.
13109 * io/mkdir.c: Likewise.
13110 * io/mkdirat.c: Likewise.
13111 * io/mkfifo.c: Likewise.
13112 * io/mkfifoat.c: Likewise.
13113 * io/open.c: Likewise.
13114 * io/open64.c: Likewise.
13115 * io/openat.c: Likewise.
13116 * io/openat64.c: Likewise.
13117 * io/pipe.c: Likewise.
13118 * io/pipe2.c: Likewise.
13119 * io/poll.c: Likewise.
13120 * io/posix_fadvise.c: Likewise.
13121 * io/posix_fadvise64.c: Likewise.
13122 * io/posix_fallocate.c: Likewise.
13123 * io/posix_fallocate64.c: Likewise.
13124 * io/read.c: Likewise.
13125 * io/readlink.c: Likewise.
13126 * io/readlinkat.c: Likewise.
13127 * io/rmdir.c: Likewise.
13128 * io/sendfile.c: Likewise.
13129 * io/sendfile64.c: Likewise.
13130 * io/statfs.c: Likewise.
13131 * io/statfs64.c: Likewise.
13132 * io/statvfs.c: Likewise.
13133 * io/statvfs64.c: Likewise.
13134 * io/symlink.c: Likewise.
13135 * io/symlinkat.c: Likewise.
13136 * io/ttyname.c: Likewise.
13137 * io/ttyname_r.c: Likewise.
13138 * io/umask.c: Likewise.
13139 * io/unlink.c: Likewise.
13140 * io/unlinkat.c: Likewise.
13141 * io/utime.c: Likewise.
13142 * io/utimensat.c: Likewise.
13143 * io/write.c: Likewise.
13144 * io/xmknod.c: Likewise.
13145 * io/xmknodat.c: Likewise.
13146 * io/xstat.c: Likewise.
13147 * io/xstat64.c: Likewise.
13148 * login/getpt.c: Likewise.
13149 * login/grantpt.c: Likewise.
13150 * login/unlockpt.c: Likewise.
13151 * math/e_acoshl.c: Likewise.
13152 * math/e_acosl.c: Likewise.
13153 * math/e_asinl.c: Likewise.
13154 * math/e_atan2l.c: Likewise.
13155 * math/e_atanhl.c: Likewise.
13156 * math/e_coshl.c: Likewise.
13157 * math/e_expl.c: Likewise.
13158 * math/e_fmodl.c: Likewise.
13159 * math/e_gammal_r.c: Likewise.
13160 * math/e_hypotl.c: Likewise.
13161 * math/e_j0l.c: Likewise.
13162 * math/e_j1l.c: Likewise.
13163 * math/e_jnl.c: Likewise.
13164 * math/e_lgammal_r.c: Likewise.
13165 * math/e_log10l.c: Likewise.
13166 * math/e_log2l.c: Likewise.
13167 * math/e_logl.c: Likewise.
13168 * math/e_powl.c: Likewise.
13169 * math/e_rem_pio2l.c: Likewise.
13170 * math/e_sinhl.c: Likewise.
13171 * math/e_sqrtl.c: Likewise.
13172 * math/fclrexcpt.c: Likewise.
13173 * math/fedisblxcpt.c: Likewise.
13174 * math/feenablxcpt.c: Likewise.
13175 * math/fegetenv.c: Likewise.
13176 * math/fegetexcept.c: Likewise.
13177 * math/fegetround.c: Likewise.
13178 * math/feholdexcpt.c: Likewise.
13179 * math/fesetenv.c: Likewise.
13180 * math/fesetround.c: Likewise.
13181 * math/feupdateenv.c: Likewise.
13182 * math/fgetexcptflg.c: Likewise.
13183 * math/fraiseexcpt.c: Likewise.
13184 * math/fsetexcptflg.c: Likewise.
13185 * math/ftestexcept.c: Likewise.
13186 * math/k_cosl.c: Likewise.
13187 * math/k_rem_pio2l.c: Likewise.
13188 * math/k_sinl.c: Likewise.
13189 * math/k_tanl.c: Likewise.
13190 * math/s_asinhl.c: Likewise.
13191 * math/s_atanl.c: Likewise.
13192 * math/s_cbrtl.c: Likewise.
13193 * math/s_erfl.c: Likewise.
13194 * math/s_expm1l.c: Likewise.
13195 * math/s_log1pl.c: Likewise.
13196 * math/s_tanhl.c: Likewise.
13197 * misc/acct.c: Likewise.
13198 * misc/brk.c: Likewise.
13199 * misc/chflags.c: Likewise.
13200 * misc/chroot.c: Likewise.
13201 * misc/fchflags.c: Likewise.
13202 * misc/fgetxattr.c: Likewise.
13203 * misc/flistxattr.c: Likewise.
13204 * misc/fremovexattr.c: Likewise.
13205 * misc/fsetxattr.c: Likewise.
13206 * misc/fsync.c: Likewise.
13207 * misc/ftruncate.c: Likewise.
13208 * misc/futimes.c: Likewise.
13209 * misc/futimesat.c: Likewise.
13210 * misc/getdomain.c: Likewise.
13211 * misc/getdtsz.c: Likewise.
13212 * misc/gethostid.c: Likewise.
13213 * misc/gethostname.c: Likewise.
13214 * misc/getloadavg.c: Likewise.
13215 * misc/getpagesize.c: Likewise.
13216 * misc/getsysstats.c: Likewise.
13217 * misc/getxattr.c: Likewise.
13218 * misc/gtty.c: Likewise.
13219 * misc/ioctl.c: Likewise.
13220 * misc/lgetxattr.c: Likewise.
13221 * misc/listxattr.c: Likewise.
13222 * misc/llistxattr.c: Likewise.
13223 * misc/lremovexattr.c: Likewise.
13224 * misc/lsetxattr.c: Likewise.
13225 * misc/lutimes.c: Likewise.
13226 * misc/madvise.c: Likewise.
13227 * misc/mincore.c: Likewise.
13228 * misc/mlock.c: Likewise.
13229 * misc/mlockall.c: Likewise.
13230 * misc/mmap.c: Likewise.
13231 * misc/mprotect.c: Likewise.
13232 * misc/msync.c: Likewise.
13233 * misc/munlock.c: Likewise.
13234 * misc/munlockall.c: Likewise.
13235 * misc/munmap.c: Likewise.
13236 * misc/preadv.c: Likewise.
13237 * misc/preadv64.c: Likewise.
13238 * misc/ptrace.c: Likewise.
13239 * misc/pwritev.c: Likewise.
13240 * misc/pwritev64.c: Likewise.
13241 * misc/readv.c: Likewise.
13242 * misc/reboot.c: Likewise.
13243 * misc/remap_file_pages.c: Likewise.
13244 * misc/removexattr.c: Likewise.
13245 * misc/revoke.c: Likewise.
13246 * misc/select.c: Likewise.
13247 * misc/setdomain.c: Likewise.
13248 * misc/setegid.c: Likewise.
13249 * misc/seteuid.c: Likewise.
13250 * misc/sethostid.c: Likewise.
13251 * misc/sethostname.c: Likewise.
13252 * misc/setregid.c: Likewise.
13253 * misc/setreuid.c: Likewise.
13254 * misc/setxattr.c: Likewise.
13255 * misc/sstk.c: Likewise.
13256 * misc/stty.c: Likewise.
13257 * misc/swapoff.c: Likewise.
13258 * misc/swapon.c: Likewise.
13259 * misc/sync.c: Likewise.
13260 * misc/syncfs.c: Likewise.
13261 * misc/syscall.c: Likewise.
13262 * misc/truncate.c: Likewise.
13263 * misc/ualarm.c: Likewise.
13264 * misc/usleep.c: Likewise.
13265 * misc/ustat.c: Likewise.
13266 * misc/utimes.c: Likewise.
13267 * misc/vhangup.c: Likewise.
13268 * misc/writev.c: Likewise.
13269 * posix/_exit.c: Likewise.
13270 * posix/alarm.c: Likewise.
13271 * posix/execve.c: Likewise.
13272 * posix/fexecve.c: Likewise.
13273 * posix/fork.c: Likewise.
13274 * posix/fpathconf.c: Likewise.
13275 * posix/getaddrinfo.c: Likewise.
13276 * posix/getegid.c: Likewise.
13277 * posix/geteuid.c: Likewise.
13278 * posix/getgid.c: Likewise.
13279 * posix/getgroups.c: Likewise.
13280 * posix/getlogin.c: Likewise.
13281 * posix/getlogin_r.c: Likewise.
13282 * posix/getpgid.c: Likewise.
13283 * posix/getpid.c: Likewise.
13284 * posix/getppid.c: Likewise.
13285 * posix/getresgid.c: Likewise.
13286 * posix/getresuid.c: Likewise.
13287 * posix/getsid.c: Likewise.
13288 * posix/getuid.c: Likewise.
13289 * posix/glob64.c: Likewise.
13290 * posix/nanosleep.c: Likewise.
13291 * posix/pathconf.c: Likewise.
13292 * posix/pause.c: Likewise.
13293 * posix/posix_madvise.c: Likewise.
13294 * posix/pread.c: Likewise.
13295 * posix/pread64.c: Likewise.
13296 * posix/pwrite.c: Likewise.
13297 * posix/pwrite64.c: Likewise.
13298 * posix/sched_getaffinity.c: Likewise.
13299 * posix/sched_getp.c: Likewise.
13300 * posix/sched_gets.c: Likewise.
13301 * posix/sched_primax.c: Likewise.
13302 * posix/sched_primin.c: Likewise.
13303 * posix/sched_rr_gi.c: Likewise.
13304 * posix/sched_setaffinity.c: Likewise.
13305 * posix/sched_setp.c: Likewise.
13306 * posix/sched_sets.c: Likewise.
13307 * posix/sched_yield.c: Likewise.
13308 * posix/setgid.c: Likewise.
13309 * posix/setlogin.c: Likewise.
13310 * posix/setpgid.c: Likewise.
13311 * posix/setresgid.c: Likewise.
13312 * posix/setresuid.c: Likewise.
13313 * posix/setsid.c: Likewise.
13314 * posix/setuid.c: Likewise.
13315 * posix/sleep.c: Likewise.
13316 * posix/spawni.c: Likewise.
13317 * posix/sysconf.c: Likewise.
13318 * posix/times.c: Likewise.
13319 * posix/wait.c: Likewise.
13320 * posix/wait3.c: Likewise.
13321 * posix/wait4.c: Likewise.
13322 * posix/waitpid.c: Likewise.
13323 * resolv/gai_sigqueue.c: Likewise.
13324 * resource/getpriority.c: Likewise.
13325 * resource/getrlimit.c: Likewise.
13326 * resource/getrusage.c: Likewise.
13327 * resource/nice.c: Likewise.
13328 * resource/setpriority.c: Likewise.
13329 * resource/setrlimit.c: Likewise.
13330 * resource/ulimit.c: Likewise.
13331 * rt/aio_cancel.c: Likewise.
13332 * rt/aio_fsync.c: Likewise.
13333 * rt/aio_read.c: Likewise.
13334 * rt/aio_sigqueue.c: Likewise.
13335 * rt/aio_suspend.c: Likewise.
13336 * rt/aio_write.c: Likewise.
13337 * rt/clock_getres.c: Likewise.
13338 * rt/clock_gettime.c: Likewise.
13339 * rt/clock_nanosleep.c: Likewise.
13340 * rt/clock_settime.c: Likewise.
13341 * rt/lio_listio.c: Likewise.
13342 * rt/mq_close.c: Likewise.
13343 * rt/mq_getattr.c: Likewise.
13344 * rt/mq_notify.c: Likewise.
13345 * rt/mq_open.c: Likewise.
13346 * rt/mq_receive.c: Likewise.
13347 * rt/mq_send.c: Likewise.
13348 * rt/mq_setattr.c: Likewise.
13349 * rt/mq_timedreceive.c: Likewise.
13350 * rt/mq_timedsend.c: Likewise.
13351 * rt/mq_unlink.c: Likewise.
13352 * rt/shm_open.c: Likewise.
13353 * rt/shm_unlink.c: Likewise.
13354 * rt/timer_create.c: Likewise.
13355 * rt/timer_delete.c: Likewise.
13356 * rt/timer_getoverr.c: Likewise.
13357 * rt/timer_gettime.c: Likewise.
13358 * rt/timer_settime.c: Likewise.
13359 * setjmp/__longjmp.c: Likewise.
13360 * setjmp/setjmp.c: Likewise.
13361 * signal/kill.c: Likewise.
13362 * signal/killpg.c: Likewise.
13363 * signal/raise.c: Likewise.
13364 * signal/sigaction.c: Likewise.
13365 * signal/sigaltstack.c: Likewise.
13366 * signal/sigblock.c: Likewise.
13367 * signal/sigignore.c: Likewise.
13368 * signal/sigintr.c: Likewise.
13369 * signal/signal.c: Likewise.
13370 * signal/sigpause.c: Likewise.
13371 * signal/sigpending.c: Likewise.
13372 * signal/sigqueue.c: Likewise.
13373 * signal/sigreturn.c: Likewise.
13374 * signal/sigset.c: Likewise.
13375 * signal/sigsetmask.c: Likewise.
13376 * signal/sigstack.c: Likewise.
13377 * signal/sigsuspend.c: Likewise.
13378 * signal/sigtimedwait.c: Likewise.
13379 * signal/sigvec.c: Likewise.
13380 * signal/sigwait.c: Likewise.
13381 * signal/sigwaitinfo.c: Likewise.
13382 * signal/sysv_signal.c: Likewise.
13383 * socket/accept.c: Likewise.
13384 * socket/accept4.c: Likewise.
13385 * socket/bind.c: Likewise.
13386 * socket/connect.c: Likewise.
13387 * socket/getpeername.c: Likewise.
13388 * socket/getsockname.c: Likewise.
13389 * socket/getsockopt.c: Likewise.
13390 * socket/isfdtype.c: Likewise.
13391 * socket/listen.c: Likewise.
13392 * socket/recv.c: Likewise.
13393 * socket/recvfrom.c: Likewise.
13394 * socket/recvmsg.c: Likewise.
13395 * socket/send.c: Likewise.
13396 * socket/sendmsg.c: Likewise.
13397 * socket/sendto.c: Likewise.
13398 * socket/setsockopt.c: Likewise.
13399 * socket/shutdown.c: Likewise.
13400 * socket/sockatmark.c: Likewise.
13401 * socket/socket.c: Likewise.
13402 * socket/socketpair.c: Likewise.
13403 * stdio-common/ctermid.c: Likewise.
13404 * stdio-common/cuserid.c: Likewise.
13405 * stdio-common/remove.c: Likewise.
13406 * stdio-common/rename.c: Likewise.
13407 * stdio-common/renameat.c: Likewise.
13408 * stdio-common/tempname.c: Likewise.
13409 * stdlib/getcontext.c: Likewise.
13410 * stdlib/makecontext.c: Likewise.
13411 * stdlib/setcontext.c: Likewise.
13412 * stdlib/swapcontext.c: Likewise.
13413 * stdlib/system.c: Likewise.
13414 * streams/fattach.c: Likewise.
13415 * streams/fdetach.c: Likewise.
13416 * streams/getmsg.c: Likewise.
13417 * streams/getpmsg.c: Likewise.
13418 * streams/putmsg.c: Likewise.
13419 * streams/putpmsg.c: Likewise.
13420 * sysdeps/unix/bsd/getpt.c: Likewise.
13421 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13422 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13423 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13426 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13427 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13428 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13429 * sysvipc/msgctl.c: Likewise.
13430 * sysvipc/msgget.c: Likewise.
13431 * sysvipc/msgrcv.c: Likewise.
13432 * sysvipc/msgsnd.c: Likewise.
13433 * sysvipc/semctl.c: Likewise.
13434 * sysvipc/semget.c: Likewise.
13435 * sysvipc/semop.c: Likewise.
13436 * sysvipc/semtimedop.c: Likewise.
13437 * sysvipc/shmat.c: Likewise.
13438 * sysvipc/shmctl.c: Likewise.
13439 * sysvipc/shmdt.c: Likewise.
13440 * sysvipc/shmget.c: Likewise.
13441 * termios/tcdrain.c: Likewise.
13442 * termios/tcflow.c: Likewise.
13443 * termios/tcflush.c: Likewise.
13444 * termios/tcgetattr.c: Likewise.
13445 * termios/tcgetpgrp.c: Likewise.
13446 * termios/tcsendbrk.c: Likewise.
13447 * termios/tcsetattr.c: Likewise.
13448 * termios/tcsetpgrp.c: Likewise.
13449 * time/adjtime.c: Likewise.
13450 * time/clock.c: Likewise.
13451 * time/getitimer.c: Likewise.
13452 * time/gettimeofday.c: Likewise.
13453 * time/setitimer.c: Likewise.
13454 * time/settimeofday.c: Likewise.
13455 * time/stime.c: Likewise.
13456 * time/time.c: Likewise.
13458 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13460 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13463 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13465 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13467 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13471 FE_TONEAREST before applying Dekker multiplication and Knuth
13472 addition. Clear inexact exceptions and check for exact zero
13473 results afterwards.
13474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13475 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13477 * math/libm-test.inc (fma_test): Add more tests.
13478 (fma_test_towardzero): Likewise.
13479 (fma_test_downward): Likewise.
13480 (fma_test_upward): Likewise.
13481 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13483 (libc_fesetround): New macro.
13484 (libc_fesetroundf): Likewise.
13485 (libc_fesetroundl): Likewise.
13486 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13488 (libc_fesetround_387): Likewise.
13489 (libc_fesetroundf): New macro.
13490 (libc_fesetround): Likewise.
13491 (libc_fesetroundl): Likewise.
13492 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13494 (libc_fesetroundf): New macro.
13495 (libc_fesetround): Likewise.
13496 (libc_fesetroundl): Likewise.
13497 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13498 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13499 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13501 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13502 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13504 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13505 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13507 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13511 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13512 integer constant usable in #if and use that to give value to enum
13514 (FE_DIVBYZERO): Likewise.
13515 (FE_UNDERFLOW): Likewise.
13516 (FE_OVERFLOW): Likewise.
13517 (FE_INVALID): Likewise.
13518 (FE_INVALID_SNAN): Likewise.
13519 (FE_INVALID_ISI): Likewise.
13520 (FE_INVALID_IDI): Likewise.
13521 (FE_INVALID_ZDZ): Likewise.
13522 (FE_INVALID_IMZ): Likewise.
13523 (FE_INVALID_COMPARE): Likewise.
13524 (FE_INVALID_SOFTWARE): Likewise.
13525 (FE_INVALID_SQRT): Likewise.
13526 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13527 (FE_TONEAREST): Likewise.
13528 (FE_TOWARDZERO): Likewise.
13529 (FE_UPWARD): Likewise.
13530 (FE_DOWNWARD): Likewise.
13531 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13532 (FE_DIVBYZERO): Likewise.
13533 (FE_OVERFLOW): Likewise.
13534 (FE_UNDERFLOW): Likewise.
13535 (FE_INEXACT): Likewise.
13536 (FE_TONEAREST): Likewise.
13537 (FE_DOWNWARD): Likewise.
13538 (FE_UPWARD): Likewise.
13539 (FE_TOWARDZERO): Likewise.
13540 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13541 (FE_UNDERFLOW): Likewise.
13542 (FE_OVERFLOW): Likewise.
13543 (FE_DIVBYZERO): Likewise.
13544 (FE_INVALID): Likewise.
13545 (FE_TONEAREST): Likewise.
13546 (FE_TOWARDZERO): Likewise.
13547 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13548 (FE_OVERFLOW): Likewise.
13549 (FE_UNDERFLOW): Likewise.
13550 (FE_DIVBYZERO): Likewise.
13551 (FE_INEXACT): Likewise.
13552 (FE_TONEAREST): Likewise.
13553 (FE_TOWARDZERO): Likewise.
13554 (FE_UPWARD): Likewise.
13555 (FE_DOWNWARD): Likewise.
13556 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13557 (FE_DIVBYZERO): Likewise.
13558 (FE_OVERFLOW): Likewise.
13559 (FE_UNDERFLOW): Likewise.
13560 (FE_INEXACT): Likewise.
13561 (FE_TONEAREST): Likewise.
13562 (FE_DOWNWARD): Likewise.
13563 (FE_UPWARD): Likewise.
13564 (FE_TOWARDZERO): Likewise.
13566 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13568 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13570 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13572 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13573 commands. Quote $PWD.
13574 (blacklist_exports): Don't use remove_newlines. Replace "declare
13576 (remove_newlines): Remove.
13578 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13580 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13581 * stdlib/stdlib.h (atof): Moved to ...
13582 * include/bits/stdlib-float.h: Here. New file.
13583 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13584 * stdlib/bits/stdlib-float.h: New file.
13585 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13587 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13590 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13592 * conform/conformtest.pl (@headers): Add fenv.h.
13593 * conform/data/fenv.h-data: New file.
13594 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13595 include of <math/fenv.h>.
13597 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13598 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13599 && !UNIX98]. Enables tests for XOPEN2K8.
13600 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13601 POSIX2008]: Likewise.
13603 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13604 (struct rusage): Do not expect type or its members.
13607 * math/math.h (FP_NAN): Define macro to integer constant usable in
13608 #if and use that to give value to enum constant.
13609 (FP_INFINITE): Likewise.
13610 (FP_ZERO): Likewise.
13611 (FP_SUBNORMAL): Likewise.
13612 (FP_NORMAL): Likewise.
13614 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13616 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13617 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13620 2012-11-02 Roland McGrath <roland@hack.frob.com>
13622 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13623 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13624 autoconf-time if not.
13625 * configure.in: Remove AC_PREREQ.
13627 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13629 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13630 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13631 of the internal implementation.
13633 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13635 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13636 except include of <misc/sys/syslog.h>.
13638 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13641 function returns with a NULL context exit with zero.
13643 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13645 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13647 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13649 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13650 (run_program_cmd): This.
13651 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13652 (tst_langinfo): New variable. Use it.
13654 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13656 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13657 floating point opcodes.
13659 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13661 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13664 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13666 * sysdeps/mach/hurd/powerpc: Remove directory.
13667 * sysdeps/mach/powerpc: Likewise.
13669 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13671 * scripts/check-local-headers.sh: Ignore c++ headers.
13673 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13675 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13676 __libc_cleanup_region_start argument.
13678 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13683 x * y using scaling, not as x * y + z.
13684 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13686 * math/libm-test.inc (fma_test): Add more tests.
13687 (fma_test_towardzero): Likewise.
13688 (fma_test_downward): Likewise.
13689 (fma_test_upward): Likewise.
13691 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13693 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13695 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13697 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13700 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13702 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13704 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13711 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13714 Fix the order of the list for glibc 2.17.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13718 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13722 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13725 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13726 for low part of x being zero before using __atanl (y).
13727 * math/libm-test.inc (atan2_test): Add another test.
13729 * manual/install.texi (Configuring and compiling): Document
13730 general use of test-wrapper and test-wrapper-env.
13731 * INSTALL: Regenerated.
13733 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13734 (__fma): Do not extract and scale down low bits on after-rounding
13735 systems when result rounded to normal precision would have normal
13737 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13738 (__fmal): Do not extract and scale down low bits on after-rounding
13739 systems when result rounded to normal precision would have normal
13741 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13742 (__fmal): Do not extract and scale down low bits on after-rounding
13743 systems when result rounded to normal precision would have normal
13745 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13747 (fma_test): Add more tests.
13748 (fma_test_towardzero): Likewise.
13749 (fma_test_downward): Likewise.
13750 (fma_test_upward): Likewise.
13752 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13754 * sysdeps/i386/tininess.h: Renamed to ...
13755 * sysdeps/x86/tininess.h: This.
13756 * sysdeps/x86_64/tininess.h: Removed.
13758 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13760 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13761 input. Use $(build-program-cmd).
13762 ($(objpfx)tst-array1-static.out): Likewise.
13763 ($(objpfx)tst-array2.out): Likewise.
13764 ($(objpfx)tst-array3.out): Likewise.
13765 ($(objpfx)tst-array4.out): Likewise.
13766 ($(objpfx)tst-array5.out): Likewise.
13767 ($(objpfx)tst-array5-static.out): Likewise.
13769 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13771 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13774 * nss/nsswitch.h (nss_interface_function): Provide new
13775 macro for use with NSS functions.
13776 * grp/initgroups.c: Use new macro.
13777 * nss/getXXbyYY.c: Likewise.
13778 * nss/getXXbyYY_r.c: Likewise.
13779 * nss/getXXent.c: Likewise.
13780 * nss/getXXent_r.c: Likewise.
13781 * sysdeps/posix/getaddrinfo.c: Likewise.
13783 2012-10-30 Andreas Jaeger <aj@suse.de>
13785 * po/ru.po: Update Russion translation from translation project.
13787 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13792 result and shift together with sticky bit instead of replicating
13793 round-to-nearest rounding.
13794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13795 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13796 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13797 missing underflow exceptions.
13798 (fma_test_towardzero): Add more tests.
13799 (fma_test_downward): Likewise.
13800 (fma_test_upward): Likewise.
13803 * sysdeps/generic/tininess.h: New file.
13804 * sysdeps/i386/tininess.h: Likewise.
13805 * sysdeps/sh/tininess.h: Likewise.
13806 * sysdeps/x86_64/tininess.h: Likewise.
13807 * stdlib/tst-strtod-underflow.c: Likewise.
13808 * stdlib/tst-tininess.c: Likewise.
13809 * stdlib/strtod_l.c: Include <tininess.h>.
13810 (round_and_return): Do not set errno for exact underflow cases.
13811 Force an underflow exception when setting errno for underflow.
13812 Determine underflow based on rounding to normal precision if
13813 TININESS_AFTER_ROUNDING.
13814 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13815 ERANGE for exact underflow cases.
13816 * stdlib/Makefile (tests): Add tst-tininess and
13817 tst-strtod-underflow.
13818 ($(objpfx)tst-tininess): Use $(link-libm).
13819 ($(objpfx)tst-strtod-underflow): Likewise.
13821 2012-10-30 Andreas Jaeger <aj@suse.de>
13824 * elf/Makefile (tests): Remove conditional for have-initfini-array
13825 since this is now always required and the variable does not exist
13827 (tests-static): Likewise.
13828 (modules-names): Likewise.
13830 * po/eo.po: Add Esperanto translation from translation project.
13832 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13833 merged with constructor/destructor.
13834 (init_array): Likewise.
13835 * elf/tst-array2dep.c (fini_array): Likewise.
13836 (init_array): Likewise.
13838 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13840 * manual/message.texi: Delete @cartouche tags.
13842 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13844 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13846 * sysdeps/mach/hurd/fsync.c: Likewise.
13848 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13849 [_POSIX_REALTIME_SIGNALS]: Change condition to
13850 [_POSIX_REALTIME_SIGNALS > 0].
13852 2012-10-27 Andreas Jaeger <aj@suse.de>
13854 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13855 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13857 [__WORDSIZE != 64]: Likewise.
13859 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13861 * iconvdata/tst-table.sh: Remove ${SHELL}.
13862 * iconvdata/tst-tables.sh: Likewise.
13864 2012-10-25 David S. Miller <davem@davemloft.net>
13866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13867 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13872 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13873 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13874 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13877 2012-10-25 Roland McGrath <roland@hack.frob.com>
13879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13880 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13883 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13884 Jim Blandy <jimb@codesourcery.com>
13886 * scripts/cross-test-ssh.sh: New file.
13887 * manual/install.texi (Configuring and compiling): Document use of
13889 * INSTALL: Regenerated.
13891 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13893 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13896 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13898 * Makeconfig (run-program-prefix): Fix comment.
13900 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13901 Jim Blandy <jimb@codesourcery.com>
13903 * Makeconfig (test-wrapper): New variable,
13904 (test-wrapper-env): Likewise.
13905 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13906 (run-built-tests): Define to yes.
13907 (run-program-prefix): Use $(test-wrapper).
13908 (built-program-cmd): Likewise.
13909 * Rules (make-test-out): Use $(test-wrapper-env) and
13910 $(host-built-program-cmd).
13911 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13912 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13914 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13915 $(test-wrapper-env) to tst-rtld-load-self.sh.
13916 ($(objpfx)order2.out): Use $(test-wrapper).
13917 ($(objpfx)tst-initorder.out): Likewise.
13918 ($(objpfx)tst-initorder2.out): Likewise.
13919 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13920 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13921 (test_wrapper_env): New variable. Use it to run ld.so.
13922 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13923 Use it to run ld.so.
13924 (test_wrapper_env): Likewise.
13925 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13926 $(test-wrapper) to run-iconv-test.sh.
13927 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13928 (ICONV): Use $test_wrapper.
13929 * posix/Makefile ($(objpfx)globtest.out): Pass
13930 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13931 globtest.sh, not $(run-program-prefix).
13932 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13933 (test_wrapper): Likewise.
13934 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13935 set together with run_via_rtld_prefix.
13936 (run_program_prefix): Define in terms of test_wrapper and
13937 run_via_rtld_prefix.
13939 2012-10-24 Roland McGrath <roland@hack.frob.com>
13941 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13942 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13946 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13947 Declare __clock_getres, __clock_gettime, __clock_settime,
13948 __clock_nanosleep, and __clock_getcpuclockid.
13949 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13950 Remove librt_hidden_def (clock_gettime).
13951 * sysdeps/unix/clock_gettime.c: Likewise.
13952 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13953 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13954 * rt/clock_getres.c: Define __clock_getres as an alias.
13955 * sysdeps/posix/clock_getres.c: Likewise.
13956 * rt/clock_settime.c: Define __clock_settime as an alias.
13957 * sysdeps/unix/clock_settime.c: Likewise.
13958 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13959 * sysdeps/unix/clock_nanosleep.c: Likewise.
13960 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13961 * rt/clock-compat.c: New file.
13962 * rt/Makefile (librt-routines): Add clock-compat and move
13963 $(clock-routines) to ...
13964 (routines): ... here, new variable.
13965 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13966 Don't add get_clockfreq here.
13967 * rt/Versions (libc: GLIBC_2.17): New version set.
13968 Add clock_* symbols here.
13969 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13970 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13971 (GLIBC_2.17): Add clock_* symbols.
13972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13983 * NEWS: Mention the move.
13985 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13986 Use __open, __read, __close rather than their public counterparts.
13987 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13988 (__get_clockfreq_via_cpuinfo): Likewise.
13989 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13990 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13992 * config.h.in (HAVE_IFUNC): New #undef.
13993 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13995 * configure: Regenerated.
13997 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13999 * configure.in: Move READELF check to start of file.
14000 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14001 libc_cv_asm_gnu_indirect_function in the process.
14002 * configure: Regenerated.
14004 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14006 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14007 send the output to /dev/null.
14008 (libc_cv_cc_with_libunwind): Likewise.
14009 (libc_cv_as_noexecstack): Likewise.
14010 * configure: Regenerate.
14012 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14014 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14016 * posix/globtest.sh (TMPDIR): Do not set.
14017 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14018 (testout): Likewise.
14020 2012-10-24 Andreas Jaeger <aj@suse.de>
14022 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14023 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14024 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14025 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14026 posix_fadvise64, posix_fallocate64.
14028 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14029 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14030 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14032 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14034 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14037 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14038 <bits/fcntl-linux.h>.
14039 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14041 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14042 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14043 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14044 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14045 [__WORDSIZE != 64]: Likewise.
14047 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14049 * Makeconfig (run-built-tests): New variable.
14050 * Rules [$(cross-compiling) = yes]: Change condition to
14051 [$(run-built-tests) = no].
14052 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14053 to [$(run-built-tests) = yes].
14054 * elf/Makefile [$(cross-compiling) = no]: Likewise
14055 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14056 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14057 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14058 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14059 * io/Makefile [$(cross-compiling) = no]: Likewise.
14060 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14061 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14062 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14063 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14064 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14065 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14066 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14067 * string/Makefile [$(cross-compiling) = no]: Likewise.
14069 * posix/Makefile ($(objpfx)globtest.out): Pass
14070 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14071 $(rtld-installed-name).
14072 * posix/globtest.sh (elf_objpfx): Remove variable.
14073 (rtld_installed_name): Likewise.
14074 (library_path): Likewise.
14075 (run_program_prefix): New variable. Use for running globtest
14078 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14079 Joseph Myers <joseph@codesourcery.com>
14081 * Makeconfig (host-built-program-cmd): New variable.
14082 * elf/Makefile (tst-stackguard1-ARGS): Use
14083 $(host-built-program-cmd).
14084 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14085 (tst-spawn-ARGS): Likewise.
14086 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14088 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14089 Jim Blandy <jimb@codesourcery.com>
14091 * Makeconfig (run-via-rtld-prefix): New variable.
14092 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14093 (built-program-cmd): Likewise.
14095 2012-10-22 Andreas Jaeger <aj@suse.de>
14097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14098 __O_RSYNC if it exists, otherwise to O_SYNC.
14100 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14101 Joseph Myers <joseph@codesourcery.com>
14103 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14105 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14107 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14110 2012-10-22 Andreas Jaeger <aj@suse.de>
14112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14114 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14117 bits/fcntl-linux.h.
14119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14120 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14127 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14128 Joseph Myers <joseph@codesourcery.com>
14130 * config.make.in (NM): New variable.
14132 2012-10-21 Andreas Jaeger <aj@suse.de>
14134 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14135 definitions and declarations that are provided by
14136 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14138 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14141 * elf/Makefile (tests-static): Add tst-leaks1-static.
14142 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14143 ($(objpfx)tst-leaks1-static): New rule.
14144 ($(objpfx)tst-leaks1-static-mem): Likewise.
14145 (tst-leaks1-static-ENV): New macro.
14146 * elf/dl-open.c (dl_open_worker): Check the main application
14147 only if SHARED is defined.
14148 * elf/tst-leaks1-static.c: New file.
14150 2012-10-20 Andreas Jaeger <aj@suse.de>
14152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14153 generic values for Linux.
14154 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14155 and declarations that are provided by <bits/fcntl-linux.h> and
14156 include <bits/fcntl-linux.h>.
14157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14160 2012-10-20 Roland McGrath <roland@hack.frob.com>
14162 * io/fcntl.h: Move include of <bits/types.h> to the top and
14163 include it unconditionally.
14165 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14167 * wcsmbs/Makefile (tests-ifunc): New variable.
14168 (tests): Add $(tests-ifunc).
14169 * wcsmbs/test-wcschr-ifunc.c: New file.
14170 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14171 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14172 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14173 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14174 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14176 * string/Makefile (tests-ifunc): New variable.
14177 (tests): Add $(tests-ifunc).
14178 * string/test-memccpy.c (TEST_NAME): New macro.
14179 * string/test-memchr.c (TEST_NAME): Likewise.
14180 * string/test-memcmp.c (TEST_NAME): Likewise.
14181 * string/test-memcpy.c (TEST_NAME): Likewise.
14182 * string/test-memmem.c (TEST_NAME): Likewise.
14183 * string/test-memmove.c (TEST_NAME): Likewise.
14184 * string/test-memset.c (TEST_NAME): Likewise.
14185 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14186 * string/test-stpcpy.c (TEST_NAME): Likewise.
14187 * string/test-stpncpy.c (TEST_NAME): Likewise.
14188 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14189 * string/test-strcasestr.c (TEST_NAME): Likewise.
14190 * string/test-strcat.c (TEST_NAME): Likewise.
14191 * string/test-strchr.c (TEST_NAME): Likewise.
14192 * string/test-strcmp.c(TEST_NAME): Likewise.
14193 * string/test-strcpy.c (TEST_NAME): Likewise.
14194 * string/test-strcspn.c (TEST_NAME): Likewise.
14195 * string/test-strlen.c (TEST_NAME): Likewise.
14196 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14197 * string/test-strncmp.c (TEST_NAME): Likewise.
14198 * string/test-strncpy.c (TEST_NAME): Likewise.
14199 * string/test-strnlen.c (TEST_NAME): Likewise.
14200 * string/test-strpbrk.c (TEST_NAME): Likewise.
14201 * string/test-strrchr.c (TEST_NAME): Likewise.
14202 * string/test-strspn.c (TEST_NAME): Likewise.
14203 * string/test-strstr.c (TEST_NAME): Likewise.
14204 * string/test-bcopy-ifunc.c: New file.
14205 * string/test-bzero-ifunc.c: Likewise.
14206 * string/test-memccpy-ifunc.c: Likewise.
14207 * string/test-memchr-ifunc.c: Likewise.
14208 * string/test-memcmp-ifunc.c: Likewise.
14209 * string/test-memcpy-ifunc.c: Likewise.
14210 * string/test-memmem-ifunc.c: Likewise.
14211 * string/test-memmove-ifunc.c: Likewise.
14212 * string/test-mempcpy-ifunc.c: Likewise.
14213 * string/test-memset-ifunc.c: Likewise.
14214 * string/test-rawmemchr-ifunc.c: Likewise.
14215 * string/test-stpcpy-ifunc.c: Likewise.
14216 * string/test-stpncpy-ifunc.c: Likewise.
14217 * string/test-strcasecmp-ifunc.c: Likewise.
14218 * string/test-strcasestr-ifunc.c: Likewise.
14219 * string/test-strcat-ifunc.c: Likewise.
14220 * string/test-strchr-ifunc.c: Likewise.
14221 * string/test-strchrnul-ifunc.c: Likewise.
14222 * string/test-strcmp-ifunc.c: Likewise.
14223 * string/test-strcpy-ifunc.c: Likewise.
14224 * string/test-strcspn-ifunc.c: Likewise.
14225 * string/test-strlen-ifunc.c: Likewise.
14226 * string/test-strncasecmp-ifunc.c: Likewise.
14227 * string/test-strncat-ifunc.c: Likewise.
14228 * string/test-strncmp-ifunc.c: Likewise.
14229 * string/test-strncpy-ifunc.c: Likewise.
14230 * string/test-strnlen-ifunc.c: Likewise.
14231 * string/test-strpbrk-ifunc.c: Likewise.
14232 * string/test-strrchr-ifunc.c: Likewise.
14233 * string/test-strspn-ifunc.c: Likewise.
14234 * string/test-strstr-ifunc.c: Likewise.
14236 * debug/Makefile (tests-ifunc): New variable.
14237 (tests): Add $(tests-ifunc).
14238 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14239 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14240 * debug/test-stpcpy_chk-ifunc.c: New file.
14241 * debug/test-strcpy_chk-ifunc.c: Likewise.
14243 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14246 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14247 header is not read in.
14249 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14251 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14252 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14253 directly. Pass built executable to script as
14254 $(built-program-cmd).
14255 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14256 $testprogram without using LD_LIBRARY_PATH and $ldso.
14258 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14259 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14260 $(rtld-installed-name).
14261 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14262 (rtld_installed_name): Likewise.
14263 (library_path): Likewise.
14264 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14265 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14266 $(run-program-prefix) to tst-tables.sh.
14267 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14268 it to run tst-table-from and tst-table-to.
14269 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14270 Pass it to tst-table.sh.
14271 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14272 $(run-program-prefix) to tst-gettext.sh.
14273 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14275 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14277 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14278 to run tst-gettext.
14279 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14280 to run tst-gettext2.
14281 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14282 to run tst-translit.
14283 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14284 $(run-program-prefix) to tst-mtrace.sh.
14285 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14287 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14288 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14289 $(rtld-installed-name).
14290 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14291 (rtld_installed_name): Likewise.
14292 (run_program_prefix): New variable. Use it to run wordexp-test.
14294 * Makeconfig (ARCH): Remove all definitions.
14295 (machine): Likewise.
14296 [ARCH]: Remove conditional code.
14297 [!objdir]: Give error.
14298 [!objdir] (objpfx): Remove.
14299 [!objdir] (common-objpfx): Likewise.
14300 [!objdir] (common-objdir): Likewise.
14301 * configure.in (config_makefile): Remove. Hardcode Makefile in
14302 AC_CONFIG_FILES call.
14303 * configure: Regenerated.
14306 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14308 (testout): Likewise.
14310 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14311 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14312 $(rtld-installed-name).
14313 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14314 (rtld_installed_name): Likwise.
14315 (runit): Remove function.
14316 (run_getconf): New variable, Use it for running getconf binary.
14318 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14321 * string/test-memmem.c (check_result): New function.
14322 (do_one_test): Use it.
14323 (check1): New function.
14324 (test_main): Use it.
14326 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14328 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14330 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14332 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14333 (_G_LSEEK64): Likewise.
14334 (_G_MMAP64): Likewise.
14335 (_G_FSTAT64): Likewise.
14336 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14337 (_G_LSEEK64): Likewise.
14338 (_G_MMAP64): Likewise.
14339 (_G_FSTAT64): Likewise.
14340 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14341 unconditional. Call __mmap64 directly.
14342 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14343 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14344 __lseek64 directly.
14345 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14346 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14348 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14349 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14350 __lseek64 directly.
14351 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14352 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14353 __lseek64 directly.
14354 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14355 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14356 __lseek64 directly.
14357 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14358 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14359 __fxstat64 directly.
14360 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14361 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14363 (freopen64) [!_G_OPEN64]: Remove conditional code.
14364 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14366 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14367 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14369 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14370 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14372 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14373 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14375 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14376 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14378 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14379 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14381 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14382 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14384 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14386 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14389 * manual/memory.texi (Malloc Tunable Parameters): Add note
14390 about free list pointers overwriting some perturb bytes.
14391 Wording suggested by Roland McGrath.
14393 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14395 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14396 (lgamma_test): Likewise.
14397 (tgamma_test): Likewise.
14399 2012-10-16 Florian Weimer <fweimer@redhat.com>
14402 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14403 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14405 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14407 * NEWS: Mention BZ #14716.
14408 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14409 when removing AVAILABLE1_USES_J macro.
14411 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14413 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14414 (__bswap_64): __uint64_t for unsigned 64-bit int.
14416 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14418 * include/string.h (memmem): Declare libc hidden alias.
14419 * string/memmem.c (memmem): Define libc hidden alias.
14420 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14421 __read, __close instead of open, read, close.
14423 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14426 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14428 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14429 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14430 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14432 (__rawmemchr_sse2): Likewise.
14433 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14434 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14435 (__strchr_sse2): Likewise.
14436 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14437 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14438 (__strcasecmp_sse2): Likewise.
14439 (__strncasecmp_sse2): Likewise.
14440 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14441 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14442 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14443 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14444 (__strrchr_sse2): Likewise.
14445 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14447 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14448 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14449 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14450 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14451 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14452 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14453 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14454 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14455 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14456 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14457 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14458 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14459 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14460 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14461 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14462 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14463 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14464 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14465 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14466 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14467 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14468 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14469 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14470 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14471 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14472 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14473 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14474 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14475 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14476 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14478 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14480 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14481 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14482 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14483 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14485 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14487 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14488 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14489 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14490 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14492 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14493 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14494 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14495 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14496 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14497 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14498 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14499 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14500 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14501 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14502 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14503 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14504 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14505 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14506 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14507 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14508 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14509 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14510 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14511 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14512 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14513 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14514 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14515 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14516 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14517 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14518 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14519 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14520 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14521 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14522 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14523 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14524 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14525 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14526 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14527 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14528 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14529 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14530 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14531 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14532 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14534 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14535 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14536 * include/ifunc-impl-list.h: New file.
14537 * misc/ifunc-impl-list.c: Likewise.
14538 * misc/Makefile (routines): Add ifunc-impl-list.
14539 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14540 * string/test-string.h: Include <ifunc-impl-list.h>.
14541 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14542 impl_array): New variables.
14543 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14545 (test_init): Call __libc_ifunc_impl_list to initialize
14546 func_list if TEST_IFUNC and TEST_NAME are defined.
14548 * string/Makefile (strop-tests): Add bcopy and bzero.
14549 * string/test-bcopy.c: New file.
14550 * string/test-bzero.c: Likewise.
14551 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14553 * string/test-memset.c: Support bzero test if TEST_BZERO is
14555 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14557 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14559 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14562 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14564 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14565 * configure: Regenerated.
14567 * Makeconfig (+link-static-before-libc): Don't include
14568 $(link-static-libc).
14570 * libio/libio.h (_IO_pos_t): Remove.
14572 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14574 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14577 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14579 * crypt/crypt-entry.c: Include fips-private.h.
14580 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14581 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14582 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14583 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14585 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14587 * crypt/crypt-private.h: Include stdbool.h.
14588 (_ufc_setup_salt_r): Return bool.
14589 * crypt/crypt-entry.c: Include errno.h.
14590 (__crypt_r): Return NULL with EINVAL for bad salt.
14591 * crypt/crypt_util.c (bad_for_salt): New.
14592 (_ufc_setup_salt_r): Check that salt is long enough and within
14593 the specified alphabet.
14594 * crypt/badsalttest.c: New file.
14595 * crypt/Makefile (tests): Add it.
14596 ($(objpfx)badsalttest): New.
14598 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14600 * NEWS: Add entry for BZ #14602.
14602 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14604 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14606 * math/libm-test.inc: Update comment listing what functions and
14608 (isgreater_test): New function.
14609 (isgreaterequal_test): Likewise.
14610 (isless_test): Likewise.
14611 (islessequal_test): Likewise.
14612 (islessgreater_test): Likewise.
14613 (isunordered_test): Likewise.
14614 (main): Call the new functions.
14616 2012-10-09 Roland McGrath <roland@hack.frob.com>
14618 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14619 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14620 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14621 * sysdeps/i386/configure: Regenerated.
14622 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14623 * sysdeps/mach/configure: Regenerated.
14624 * sysdeps/mach/hurd/configure: Regenerated.
14625 * sysdeps/powerpc/configure: Regenerated.
14626 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14627 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14628 * sysdeps/s390/s390-32/configure: Regenerated.
14629 * sysdeps/s390/s390-64/configure: Regenerated.
14630 * sysdeps/sh/configure: Regenerated.
14631 * sysdeps/sparc/configure: Regenerated.
14632 * sysdeps/unix/sysv/linux/configure: Regenerated.
14633 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14634 * sysdeps/x86_64/configure: Regenerated.
14636 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14637 defined. Don't check if MAP is NULL.
14639 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14641 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14642 (_G_stat64): Likewise.
14643 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14644 (_G_stat64): Likewise.
14645 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14646 instead of struct _G_stat64.
14647 * libio/fileops.c (mmap_remap_check): Likewise.
14648 (decide_maybe_mmap): Likewise.
14649 (_IO_new_file_seekoff): Likewise.
14650 (_IO_file_stat): Likewise.
14651 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14653 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14654 instead of struct _G_stat64.
14655 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14657 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14660 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14662 (CHECK_EOL): New macro.
14663 (two_way_short_needle): Check beginning of haystack for EOL. Use
14665 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14666 Replace with CHECK_EOL.
14667 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14668 Replace with CHECK_EOL.
14670 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14672 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14674 * math/libm-test.inc: Update comment listing what functions and
14676 (finite_test): New function.
14677 (isinf_test): Likewise.
14678 (isnan_test): Likewise.
14679 (fpclassify_test): Test subnormal input.
14680 (isfinite_test): Likewise.
14681 (isnormal_test): Likewise.
14682 (main): Call the new functions.
14684 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14687 * Makerules (%.dynsym): Force C locale when running
14688 $(OBJDUMP) --dynamic-syms.
14690 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14692 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14695 2012-10-06 David S. Miller <davem@davemloft.net>
14697 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14698 upper 32-bits of the length value in %o2 since we use branch-on-register
14699 tests which consider the entire 64-bit register.
14701 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14703 * string/test-strstr.c (check2): Add a test for page boundary.
14705 2012-10-05 David S. Miller <davem@davemloft.net>
14707 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14708 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14710 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14712 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14713 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14714 and bzero when HWCAP_SPARC_CRYPTO is present.
14716 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14719 * string/test-strstr.c (check2): New function.
14720 (test_main): Call check2.
14722 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14724 * string/bug-strcasestr1.c (do_test): Moved to ...
14725 * string/test-strcasestr.c (check1): Here. New function.
14726 (do_one_test): Break out result checking code into ...
14727 (check_result): This. New function.
14728 (do_one_test): Call check_result.
14729 (test_main): Call check1.
14730 * string/bug-strchr1.c (do_test): Moved to ...
14731 * string/test-strchr.c (check1): Here. New function.
14732 (do_one_test): Break out result checking code into ...
14733 (check_result): This. New function.
14734 (do_one_test): Call check_result.
14735 (test_main): Call check1.
14736 * string/bug-strstr1.c (main): Moved to ...
14737 * string/test-strstr.c (check1): Here. New function.
14738 (do_one_test): Break out result checking code into ...
14739 (check_result): This. New function.
14740 (do_one_test): Call check_result.
14741 (test_main): Call check1.
14742 * string/bug-strcasestr1.c: Removed.
14743 * string/bug-strchr1.c: Likewise.
14744 * string/bug-strstr1.c: Likewise.
14746 * elf/Makefile (dl-routines): Add hwcaps.
14747 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14748 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14749 (_dl_important_hwcaps): Moved to ...
14750 * elf/dl-hwcaps.c: Here. New file.
14751 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14754 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14755 if IS_IN_rtld isn't defined.
14757 * elf/dl-support.c (_dl_sysinfo_map): New.
14758 Include "get-dynamic-info.h" and "setup-vdso.h".
14759 (_dl_non_dynamic_init): Call setup_vdso.
14760 * elf/dynamic-link.h: Don't include <assert.h>.
14761 (elf_get_dynamic_info): Moved to ...
14762 * elf/get-dynamic-info.h: Here. New file.
14763 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14764 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14765 * elf/setup-vdso.h: Here. New file.
14766 * elf/rtld.c: Include "setup-vdso.h".
14767 (dl_main): Call setup_vdso.
14769 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14771 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14772 creal in comment listing functions tested. List finite, isinf,
14773 isnan, isless, islessequal, isgreater, isgreaterequal,
14774 islessgreater, isunordered, lgamma_r and pow10 as functions and
14775 macros not tested. Mention which functions not tested are aliases
14776 for other functions. Fix typo. Note that signs of NaNs are not
14779 * scripts/config.guess: Update from config.git.
14780 * scripts/config.sub: Likewise.
14782 2012-10-04 Roland McGrath <roland@hack.frob.com>
14784 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14785 * misc/madvise.c (madvise): Renamed to __madvise.
14786 Make madvise a weak alias.
14787 * include/sys/mman.h: Declare __madvise.
14788 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14789 * sysdeps/unix/syscalls.list
14790 (madvise): Make __madvise the strong name, and madvise a weak alias.
14791 * sysdeps/unix/sysv/linux/syscalls.list
14792 (madvise, mmap): Remove redundant entries.
14793 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14794 * malloc/malloc.c (mtrim): Likewise.
14795 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14797 2012-10-03 Roland McGrath <roland@hack.frob.com>
14799 * sysdeps/mach/hurd/dl-cache.c: File removed.
14800 * config.h.in (USE_LDCONFIG): New #undef.
14801 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14802 * configure: Regenerated.
14803 * elf/Makefile (dl-routines): Add dl-cache only under
14804 [$(use-ldconfig) = yes].
14805 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14806 cache on [USE_LDCONFIG].
14807 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14809 * elf/rtld.c (dl_main): Likewise.
14811 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14813 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14814 _SC_LEVEL4_CACHE_LINESIZE.
14816 2012-10-03 Roland McGrath <roland@hack.frob.com>
14818 * sysdeps/unix/bsd/confstr.h: File removed.
14820 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14822 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14825 2012-10-02 Roland McGrath <roland@hack.frob.com>
14827 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14828 Make 'mapoff' field ElfW(Off) rather than off_t.
14830 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14832 * nscd/Makefile: Remove nscd-cflags and all its users.
14833 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14834 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14837 * malloc.c (malloc_printerr): Clarify error message.
14839 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14843 Set bit_FMA_Usable if FMA is supported.
14844 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14846 (bit_FMA4_Usable): Updated.
14847 (index_FMA_Usable): New macro.
14848 (CPUID_FMA): Likewise
14849 (HAS_FMA): Defined with bit_FMA_Usable.
14851 2012-10-01 Roland McGrath <roland@hack.frob.com>
14853 * bits/types.h (__swblk_t): Type removed.
14854 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14855 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14857 (__SWBLK_T_TYPE): Likewise.
14858 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14859 (__SWBLK_T_TYPE): Likewise.
14860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14861 (__SWBLK_T_TYPE): Likewise.
14862 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14863 (__SWBLK_T_TYPE): Likewise.
14865 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14866 Honza Horak <hhorak@redhat.com>
14868 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14869 (xdr_mapname): Use YPMAXMAP as maxsize.
14870 (xdr_peername): Use YPMAXPEER as maxsize.
14871 (xdr_keydat): Use YPAXRECORD as maxsize.
14872 (xdr_valdat): Use YPMAXRECORD as maxsize.
14874 2012-10-01 Roland McGrath <roland@hack.frob.com>
14876 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14878 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14879 * csu/init-first.c: ... here.
14880 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14881 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14882 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14883 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14884 * sysdeps/i386/init-first.c: File removed.
14885 * sysdeps/sh/init-first.c: File removed.
14887 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14891 if x * y might underflow to zero and z is zero.
14892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14893 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14894 * math/libm-test.inc (min_subnorm_value): New variable.
14895 (fma_test): Add more tests.
14896 (fma_test_towardzero): Likewise.
14897 (fma_test_downward): Likewise
14898 (fma_test_upward): Likewise.
14899 (initialize): Set min_subnorm_value.
14901 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14906 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14907 mode for addition resulting in exact zero.
14908 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14911 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14912 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14913 * math/libm-test.inc (fma_test): Add more tests.
14914 (fma_test_towardzero): New function.
14915 (fma_test_downward): Likewise.
14916 (fma_test_upward): Likewise.
14917 (main): Call the new functions.
14919 2012-09-28 David S. Miller <davem@davemloft.net>
14921 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14923 2012-09-28 Roland McGrath <roland@hack.frob.com>
14925 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14926 instead of SIGALRM.
14928 * sysdeps/gnu/_G_config.h: Moved to ...
14929 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14930 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14931 * sysdeps/generic/_G_config.h: ... here.
14933 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14935 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14937 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14938 Conditionalize target on [libnss_test1.so-version].
14940 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14942 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14943 (elfobjdir): Move out of conditionals.
14945 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14946 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14947 (__nss_lookup_function): Conditionalize label remove_from_tree on
14948 [!DO_STATIC_NSS || SHARED], matching its only use.
14950 2012-09-28 David S. Miller <davem@davemloft.net>
14952 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14953 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14955 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14957 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14959 when HWCAP_SPARC_CRYPTO is present.
14961 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14963 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14965 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14968 * stdio-common/vfprintf.c (process_string_arg): Revert
14971 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14973 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14975 * stdio-common/tst-sprintf.c: Include <locale.h>
14976 (main): Test sprintf's handling of incomplete multibyte
14979 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14981 * elf/dl-runtime.c (VERSYMIDX): Removed.
14982 * elf/dl-version.c (VERSYMIDX): Likewise.
14983 * elf/do-rel.h (VERSYMIDX): Likewise.
14984 (VALIDX): Likewise.
14985 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14986 * elf/rtld.c (VALIDX): Likewise.
14987 (ADDRIDX): Likewise.
14988 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14989 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14990 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14991 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14992 (VALIDX): Likewise.
14993 (ADDRIDX): Likewise.
14995 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14997 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14999 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15002 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15004 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15005 addresses are in the same scope as 192.0.2/24.
15006 * posix/gai.conf: Document new scope table defaults.
15008 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15011 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15012 for ftell. Compute offsets from write pointers instead.
15013 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15015 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15018 * libio/Makefile (tests): New test case tst-fseek.
15019 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15020 combination works in wide mode.
15021 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15022 state when the external buffer state changes.
15024 2012-09-27 David S. Miller <davem@davemloft.net>
15027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15028 pass reloc->r_addend in as the 'high' argument to
15029 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15033 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15035 * rt/tst-aio2.c: Include <pthread.h>.
15036 * rt/tst-aio3.c: Likewise.
15038 2012-09-27 Steve Ellcey <sellcey@mips.com>
15040 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15042 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15044 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15045 contents on [SHARED].
15047 2012-09-26 Marek Polacek <polacek@redhat.com>
15051 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15052 for C++ and GCC <4.3 as well as for non GCC compilers.
15054 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15058 2012-09-25 Roland McGrath <roland@hack.frob.com>
15060 * Makefile.in (all, install): Declare with .PHONY.
15061 Reported by Michael Hope <michael.hope@linaro.org>.
15063 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15065 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15066 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15068 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15070 (sydep_routines): Add the new and the internal functions.
15071 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15072 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15074 (GLIBC_2.17): Add the new function.
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15076 (GLIBC_2.17): Likewise.
15077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15078 (GLIBC_2.17): Likewise.
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15080 (GLIBC_2.17): Likewise.
15081 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15083 2012-09-25 Alan Modra <amodra@gmail.com>
15085 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15086 Add release barrier before setting once_control to say
15087 initialisation is done. Add hints on lwarx. Use macro in
15089 (clear_once_control): Add release barrier.
15091 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15094 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15096 * math/s_clog10.c (__clog10): Likewise.
15097 * math/s_clog10f.c (__clog10f): Likewise.
15098 * math/s_clog10l.c (__clog10l): Likewise.
15099 * math/s_clogf.c (__clogf): Likewise.
15100 * math/s_clogl.c (__clogl): Likewise.
15101 * math/Makefile (libm-calls): Add x2y2m1.
15102 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15103 (__x2y2m1): Likewise.
15104 (__x2y2m1l): Likewise.
15105 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15106 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15107 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15108 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15109 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15110 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15111 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15112 * sysdeps/i386/fpu/libm-test-ulps: Update.
15113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15116 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15117 int as type of variable DEPTH.
15118 (glob): Use size_t instead of int as type of variables NEWCOUNT
15121 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15123 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15124 Add s_sincosf-sse2.
15125 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15126 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15127 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15128 macros for using routine as __sincosf_ia32.
15129 Use macro for function declaration and weak_alias.
15130 * sysdeps/i386/fpu/libm-test-ulps: Update.
15132 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15135 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15136 subnormal argument.
15137 * math/s_cexpf.c (__cexpf): Likewise.
15138 * math/s_csinf.c (__csinf): Likewise.
15139 * math/s_csinhf.c (__csinhf): Likewise.
15140 * math/s_ctanf.c (__ctanf): Likewise.
15141 * math/s_ctanhf.c (__ctanhf): Likewise.
15142 * math/s_ccosh.c (__ccoshf): Likewise.
15143 * math/s_cexp.c (__cexpl): Likewise.
15144 * math/s_csin.c (__csin): Likewise.
15145 * math/s_csinh.c (__csinh): Likewise.
15146 * math/s_ctan.c (__ctan): Likewise.
15147 * math/s_ctanh.c (ctanh): Likewise.
15148 * math/s_ccoshl.c (__ccoshl): Likewise.
15149 * math/s_cexpl.c (__cexpl): Likewise.
15150 * math/s_csinl.c (__csinl): Likewise.
15151 * math/s_csinhl.c (__csinhl): Likewise.
15152 * math/s_ctanl.c (__ctanl): Likewise.
15153 * math/s_ctanhl.c (__ctanhl): Likewise.
15155 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15157 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15158 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15159 (_IO_off_t): Define to __off_t, not _G_off_t.
15160 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15161 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15162 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15163 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15164 type of __dummy and __dummy2 fields.
15165 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15166 (_G_ssize_t): Likewise.
15167 (_G_off_t): Likewise.
15168 (_G_pid_t): Likewise.
15169 (_G_uid_t): Likewise.
15170 (_G_wchar_t): Likewise.
15171 (_G_wint_t): Likewise.
15172 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15173 (_G_ssize_t): Likewise.
15174 (_G_off_t): Likewise.
15175 (_G_pid_t): Likewise.
15176 (_G_uid_t): Likewise.
15177 (_G_wchar_t): Likewise.
15178 (_G_wint_t): Likewise.
15179 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15180 (_G_ssize_t): Likewise.
15181 (_G_off_t): Likewise.
15182 (_G_pid_t): Likewise.
15183 (_G_uid_t): Likewise.
15184 (_G_wchar_t): Likewise.
15185 (_G_wint_t): Likewise.
15187 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15189 * malloc/arena.c: Include malloc-sysdep.h.
15190 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15191 is sufficient to shrink the heap or an unmap is needed.
15192 * sysdeps/generic/malloc-sysdep.h: New file. Define
15193 new function check_may_shrink_heap.
15194 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15195 new function check_may_shrink_heap.
15197 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15199 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15202 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15204 * catgets/test-gencat.sh: Add "set -e".
15205 * elf/tst-pathopt.sh: Likewise.
15206 * grp/tst_fgetgrent.sh: Likewise.
15207 * iconvdata/run-iconv-test.sh: Likewise.
15208 * intl/tst-gettext.sh: Likewise.
15209 * intl/tst-gettext2.sh: Likewise.
15210 * intl/tst-gettext4.sh: Likewise.
15211 * intl/tst-gettext6.sh: Likewise.
15212 * intl/tst-translit.sh: Likewise.
15213 * io/ftwtest-sh: Likewise.
15214 * libio/test-freopen.sh: Likewise.
15215 * malloc/tst-mtrace.sh: Likewise.
15216 * posix/globtest.sh: Likewise.
15217 * posix/tst-getconf.sh: Likewise.
15218 * posix/wordexp-tst.sh: Likewise.
15219 * stdio-common/tst-printf.sh: Likewise.
15220 * stdio-common/tst-unbputc.sh: Likewise.
15221 * stdlib/tst-fmtmsg.sh: Likewise.
15222 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15223 * catgets/Makefile: Do not specify -e option when running
15224 testsuite shell scripts.
15225 * elf/Makefile: Likewise.
15226 * grp/Makefile: Likewise.
15227 * iconvdata/Makefile: Likewise.
15228 * intl/Makefile: Likewise.
15229 * io/Makefile: Likewise.
15230 * libio/Makefile: Likewise.
15231 * malloc/Makefile: Likewise.
15232 * posix/Makefile: Likewise.
15233 * stdio-common/Makefile: Likewise.
15234 * stdlib/Makefile: Likewise.
15235 * sysdeps/x86_64/Makefile: Likewise.
15237 * io/ftwtest-sh: Add copyright header.
15238 * posix/globtest.sh: Likewise.
15239 * posix/tst-getconf.sh: Likewise.
15240 * posix/wordexp-tst.sh: Likewise.
15241 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15243 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15246 * Makeconfig (+link): Defined as $(+link-static) if
15247 $(build-shared) isn't yes.
15248 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15250 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15252 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15255 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15256 new chunk size with MALLOC_ALIGN_MASK.
15258 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15261 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15263 (__printf_fphex): Determine rounding using get_rounding_mode and
15265 * stdio-common/tst-printf-round.c (struct hex_test): New
15267 (hex_tests): New variable.
15268 (test_hex_in_one_mode): New function.
15269 (do_test): Also run tests for hex float output.
15271 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15273 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15274 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15275 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15276 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15277 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15278 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15279 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15280 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15282 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15284 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15285 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15286 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15287 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15289 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15292 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15294 * elf/tst-rtld-load-self.sh: New test.
15295 * elf/Makefile: Run it.
15297 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15299 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15300 (tst-writev-ENV): Remove.
15301 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15303 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15305 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15307 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15309 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15311 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15313 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15314 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15315 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15318 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15321 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15322 * config.make.in (have-cpp-asm-debuginfo): Removed.
15323 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15324 * configure: Regenerated.
15326 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15329 * stdio-common/printf_fp.c: Include <stdbool.h> and
15331 (___printf_fp): Determine rounding using get_rounding_mode and
15333 * stdio-common/tst-printf-round.c: New file.
15334 * stdio-common/Makefile (tests): Add tst-printf-round.
15335 (link-libm): New variable.
15336 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15338 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15341 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15342 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15344 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15347 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15349 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15350 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15351 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15352 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15354 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15357 * include/rounding-mode.h: New file.
15358 * sysdeps/generic/get-rounding-mode.h: Likewise.
15359 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15360 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15361 (MAX_VALUE): New macro.
15362 (MIN_VALUE): Likewise.
15363 (overflow_value): New function.
15364 (underflow_value): Likewise.
15365 (round_and_return): Use overflow_value and underflow_value to
15366 determine return values in overflow and underflow cases. Use
15367 round_away to determine rounding depending on rounding mode.
15368 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15369 determine return values in overflow and underflow cases.
15370 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15371 (struct test_results): New structure.
15372 (struct test): Use struct test_results to store expected results
15373 for all rounding modes.
15374 (TEST): Include expected results for all rounding modes.
15375 (test_in_one_mode): New function.
15376 (do_test): Use test_in_one_mode to compute and check results.
15377 Check results for all rounding modes.
15378 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15381 2012-12-09 Allan McRae <allan@archlinux.org>
15383 * sysdeps/i386/fpu/libm-test-ulps: Update
15385 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15387 * sysdeps/generic/_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.
15395 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15396 (_G_int32_t): Likewise.
15397 (_G_uint16_t): Likewise.
15398 (_G_uint32_t): Likewise.
15399 (_G_HAVE_BOOL): Likewise.
15400 (_G_HAVE_ATEXIT): Likewise.
15401 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15402 (_G_HAVE_IO_FILE_OPEN): Likewise.
15403 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15404 (_G_int32_t): Likewise.
15405 (_G_uint16_t): Likewise.
15406 (_G_uint32_t): Likewise.
15407 (_G_HAVE_BOOL): Likewise.
15408 (_G_HAVE_ATEXIT): Likewise.
15409 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15410 (_G_HAVE_IO_FILE_OPEN): Likewise.
15412 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15414 * csu/libc-tls.c: Update copyright years.
15416 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15418 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15419 [!_G_USING_THUNKS]: Remove conditional code.
15420 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15421 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15423 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15424 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15425 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15426 (_G_VTABLE_LABEL_PREFIX): Likewise.
15427 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15428 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15429 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15430 (_G_VTABLE_LABEL_PREFIX): Likewise.
15431 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15432 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15434 (_G_VTABLE_LABEL_PREFIX): Likewise.
15435 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15437 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15439 * libio/Makefile: Include ../Makeconfig before tests.
15440 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15441 only if $(build-shared) is yes.
15443 * iconv/gconv_db.c: Update copyright years.
15445 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15447 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15448 unwind info if defined PIC. Fix special cases description.
15449 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15451 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15453 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15455 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15457 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15459 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15462 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15463 (LDLIBS-tst-chk4): This.
15464 (LDFLAGS-tst-chk5): Renamed to ...
15465 (LDLIBS-tst-chk5): This.
15466 (LDFLAGS-tst-chk6): Renamed to ...
15467 (LDLIBS-tst-chk6): This.
15468 (LDFLAGS-tst-lfschk4): Renamed to ...
15469 (LDLIBS-tst-lfschk4): This.
15470 (LDFLAGS-tst-lfschk5): Renamed to ...
15471 (LDLIBS-tst-lfschk5): This.
15472 (LDFLAGS-tst-lfschk6): Renamed to ...
15473 (LDLIBS-tst-lfschk6): This.
15475 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15476 on $(common-objpfx)soversions.mk.
15478 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15481 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15484 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15486 * malloc/arena.c (arena_get_retry): New function that gets
15487 another arena for the caller to try its request on.
15488 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15489 current arena cannot fulfill the request.
15490 (__libc_memalign): Likewise.
15491 (__libc_memalign): Likewise.
15492 (__libc_pvalloc): Likewise.
15493 (__libc_calloc): Likewise.
15495 2012-09-05 John Tobey <john.tobey@gmail.com>
15498 * manual/arith.texi (Operations on Complex): Fix description
15499 of carg branch cut.
15501 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15504 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15508 * manual/memory.texi (Memory): Make order of menu items match
15511 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15513 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15514 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15515 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15517 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15519 * csu/libc-tls.c (static_dtv): Renamed to ...
15520 (_dl_static_dtv): This. Make it global.
15521 (_dl_initial_dtv): Removed.
15522 (__libc_setup_tls): Updated.
15523 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15524 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15527 2012-09-06 Petr Machata <pmachata@redhat.com>
15529 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15530 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15531 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15532 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15534 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15537 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15538 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15541 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15544 * Makeconfig (link-static-before-libc): Replace $(+prector)
15546 (link-static-after-libc): Replace $(+postctor) with
15548 (link-bounded): Replace $(+prector)/$(+postctor) with
15549 $(+prectorT)/$(+postctorT).
15550 (+prectorT): New macro.
15551 (+postctorT): Likewise.
15553 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15555 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15556 (round_str): Handle values above the maximum for IBM long double
15558 * stdlib/tst-strtod-round.c (tests): Regenerated.
15560 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15562 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15564 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15565 zarch_nohighgprs around the zarch optimized routines.
15566 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15567 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15568 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15571 2012-09-05 David S. Miller <davem@davemloft.net>
15573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15575 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15576 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15577 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15578 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15581 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15583 * malloc/arena.c: Fold copyright years.
15584 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15586 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15588 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15590 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15592 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15594 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15596 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15597 change internal state upon failure.
15599 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15601 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15602 * malloc/memusage.c (mmap): Likewise.
15603 (mmap64, mremap): Likewise. Adjust name in comment.
15605 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15607 * libio/fileops.c: Fix typos in comments.
15608 * libio/oldfileops.c: Likewise.
15609 * libio/wfileops.c: Likewise.
15611 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15614 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15615 (tst-malloc-usable-ENV): Set environment for test case.
15616 * malloc/hooks.c (malloc_check_get_size): New function to get
15618 * malloc/malloc.c (musable): Use malloc_check_get_size.
15619 * malloc/tst-malloc-usable.c: New test case.
15621 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15623 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15625 2012-09-05 Allan McRae <allan@archlinux.org>
15628 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15629 determine header location.
15630 * configure: Regenerated.
15632 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15634 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15636 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15637 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15639 (test): Regenerate.
15641 2012-09-04 David S. Miller <davem@davemloft.net>
15643 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15644 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15645 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15647 2012-09-04 Florian Weimer <fweimer@redhat.com>
15649 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15652 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15654 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15657 * libio/iogetdelim.c: Include <limits.h>.
15658 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15659 + len + 1 would overflow.
15661 2012-09-03 Andreas Jaeger <aj@suse.de>
15663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15664 * sysdeps/i386/fpu/libm-test-ulps: Update.
15666 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15668 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15669 Add s_sinf-sse2, s_conf-sse2.
15671 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15672 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15673 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15674 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15676 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15677 for using routine as __sinf_ia32.
15678 Use macro for function declaration and weak_alias.
15679 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15680 for using routine as __cosf_ia32.
15681 Use macro for function declaration and weak_alias.
15683 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15684 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15686 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15687 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15690 * math/libm-test.inc (cos_test): Add more test cases.
15691 (sin_test): Likewise.
15692 (sincos_test): Likewise.
15694 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15696 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15697 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15699 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15701 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15704 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15705 first element of the GOT.
15706 (elf_machine_load_address): Return the difference between
15707 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15709 2012-09-01 Allan McRae <allan@archlinux.org>
15712 * configure.in (AWK): Require gawk version 3.0 or later.
15713 * configure: Regenerated.
15715 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15717 * sysdeps/unix/sysv/linux/kernel-features.h
15718 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15719 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15720 [__NR_clock_getres]: Make code unconditional.
15721 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15722 (clock_getcpuclockid): Remove code left unreachable by removal of
15724 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15725 code unconditional.
15726 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15727 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15728 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15729 Make code unconditional.
15730 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15731 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15732 * sysdeps/unix/sysv/linux/clock_settime.c
15733 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15735 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15736 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15738 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15741 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15742 scripts/test-installation.pl.
15744 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15745 and $ld_so_version if it is set.
15747 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15750 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15751 failure if reading from procfs failed.
15752 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15754 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15756 * sysdeps/unix/sysv/linux/kernel-features.h
15757 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15758 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15759 Remove conditional code.
15760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15761 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15762 Remove conditional code.
15763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15764 * sysdeps/unix/sysv/linux/i386/fxstat.c
15765 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15767 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15768 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15770 * sysdeps/unix/sysv/linux/i386/lxstat.c
15771 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15773 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15774 Remove conditional code.
15775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15776 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15777 Remove conditional code.
15778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15779 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15780 <kernel-features.h>.
15781 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15783 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15784 Remove conditional code.
15785 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15786 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15787 Remove conditional.
15789 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15792 * NEWS: Add fixed bug number.
15794 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15797 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15798 underflowing exponent in case of negative sign.
15799 * stdlib/tst-strtod-round-data: Add more tests.
15800 * stdlib/tst-strtod-round.c (tests): Regenerated.
15803 * stdlib/strtod_l.c (NDIG): Remove.
15804 (HEXNDIG): Likewise.
15805 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15806 smallest representable value.
15807 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15808 lie within an exact representation of 1/2 ulp of the result.
15809 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15811 (TENS_P9_IDX): Define unconditionally.
15812 (TENS_P9_SIZE): Likewise.
15813 (TENS_P10_IDX): Likewise.
15814 (TENS_P10_SIZE): Likewise.
15815 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15816 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15817 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15818 entries for 10^2^13 and 10^2^14.
15819 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15820 (TENS_P13_IDX): Define.
15821 (TENS_P13_SIZE): Likewise.
15822 (TENS_P14_IDX): Likewise.
15823 (TENS_P14_SIZE): Likewise.
15824 (_fpioconst_pow10): Change array size to
15825 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15827 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15828 1024]: Add entries for 10^2^13 and 10^2^14.
15829 [LAST_POW10 > _LAST_POW10]: Remove #error.
15830 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15831 (_fpioconst_pow10): Change array size to
15832 FPIOCONST_POW10_ARRAY_SIZE.
15833 * stdlib/gen-fpioconst.c: New file.
15834 * stdlib/gen-tst-strtod-round.c: Likewise.
15835 * stdlib/tst-strtod-round-data: Likewise.
15836 * stdlib/tst-strtod-round.c: Likewise.
15837 * stdlib/Makefile (tests): Add tst-strtod-round.
15840 * stdlib/strtod_l.c: Include <stdint.h>.
15841 (NDEBUG): Do not define.
15842 (round_and_return): Change EXPONENT parameter to type intmax_t.
15843 Rearrange calculations to avoid internal overflow possibilities.
15844 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15845 Rearrange calculations to avoid internal overflow possibilities.
15846 Assert that number fits inside MPNSIZE limbs.
15847 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15848 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15849 calculations and add assertions to avoid internal overflow
15850 possibilities. Add casts to avoid signed/unsigned operations.
15851 * stdlib/tst-strtod-overflow.c: New file.
15852 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15854 2012-08-25 Marek Polacek <polacek@redhat.com>
15856 * time/time.h: Fix some typos in comments.
15858 2012-08-23 Roland McGrath <roland@hack.frob.com>
15860 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15861 * posix/tst-rfc3484-2.c: Likewise.
15862 * posix/tst-rfc3484-3.c: Likewise.
15864 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15866 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15867 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15869 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15871 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15872 #include of fxstatat64.c.
15874 2012-08-22 Roland McGrath <roland@hack.frob.com>
15876 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15877 * shadow/getspent_r.c: Likewise.
15878 * shadow/getspnam.c: Likewise.
15879 * shadow/getspnam_r.c: Likewise.
15880 * gshadow/getsgent.c: Likewise.
15881 * gshadow/getsgent_r.c: Likewise.
15882 * gshadow/getsgnam.c: Likewise.
15883 * gshadow/getsgnam_r.c: Likewise.
15884 * inet/getnetbyad.c: Likewise.
15885 * inet/getnetbyad_r.c: Likewise.
15886 * inet/getnetbynm.c: Likewise.
15887 * inet/getnetbynm_r.c: Likewise.
15888 * inet/getnetent.c: Likewise.
15889 * inet/getnetent_r.c: Likewise.
15890 * inet/getproto.c: Likewise.
15891 * inet/getproto_r.c: Likewise.
15892 * inet/getprtent.c: Likewise.
15893 * inet/getprtent_r.c: Likewise.
15894 * inet/getprtname.c: Likewise.
15895 * inet/getprtname_r.c: Likewise.
15896 * inet/getrpcbyname.c: Likewise.
15897 * inet/getrpcbyname_r.c: Likewise.
15898 * inet/getrpcbynumber.c: Likewise.
15899 * inet/getrpcbynumber_r.c: Likewise.
15900 * inet/getrpcent.c: Likewise.
15901 * inet/getrpcent_r.c: Likewise.
15902 * inet/getaliasent.c: Likewise.
15903 * inet/getaliasent_r.c: Likewise.
15904 * inet/getaliasname.c: Likewise.
15905 * inet/getaliasname_r.c: Likewise.
15906 * nscd/getgrgid_r.c: Likewise.
15907 * nscd/getgrnam_r.c: Likewise.
15908 * nscd/gethstbyad_r.c: Likewise.
15909 * nscd/gethstbynm3_r.c: Likewise.
15910 * nscd/getpwnam_r.c: Likewise.
15911 * nscd/getpwuid_r.c: Likewise.
15912 * nscd/getsrvbynm_r.c: Likewise.
15913 * nscd/getsrvbypt_r.c: Likewise.
15914 * nscd/gai.c: Likewise.
15916 * configure.in (build_nscd): New substituted variable, set
15917 by --disable-build-nscd and defaults to $use_nscd.
15918 * configure: Regenerated.
15919 * config.make.in (build-nscd): New substituted variable.
15920 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15921 Change conditional to require [$(build-nscd) = yes] as well.
15922 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15925 * configure.in (use_nscd): New substituted variable, set by
15926 --disable-nscd. If enabled, define USE_NSCD.
15927 * configure: Regenerated.
15928 * config.h.in: Add USE_NSCD.
15929 * config.make.in (use-nscd): New substituted variable.
15930 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15931 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15932 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15933 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15934 (CFLAGS-getgrnam_r.c): Likewise.
15935 (CFLAGS-initgroups.c): Likewise.
15936 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15937 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15939 * inet/getnetgrent_r.c
15940 (nscd_setnetgrent): New function, broken out of ...
15941 (setnetgrent): ... here. Call it.
15942 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15943 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15944 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15945 * nscd/Makefile (routines, aux): Move definitions after include of
15946 Makeconfig. Conditionalize on [$(use-nscd) != no].
15947 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15948 Conditionalize on [USE_NSCD].
15949 (is_nscd, nscd_init_cb): Likewise.
15950 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15951 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15952 * nss/nss_db/db-init.c: Likewise.
15953 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15955 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15956 (make_request): Use it.
15957 (cache_valid_p): New function.
15958 (__check_pf): Use it.
15959 * NEWS: Add item for --disable-nscd.
15961 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15963 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15964 to support sed >= 4.2.1-20-ga9bf076.
15965 * configure: Regenerated.
15967 2012-08-22 Roland McGrath <roland@hack.frob.com>
15969 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15970 Conditionalize whole body on [IREL].
15972 2012-08-22 Jeff Law <law@redhat.com>
15975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15976 if the family is PF_UNSPEC.
15978 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15980 * Makerules (lib-version): Rename from V.
15981 (install-lib-nosubdir): Change V to lib-version.
15983 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15986 * powerpc32/power6/wcschr.c: New file.
15987 * powerpc32/power6/wcscpy.c: New file.
15988 * powerpc32/power6/wcsrchr.c: New file.
15989 * powerpc64/power6/wcschr.c: New file.
15990 * powerpc64/power6/wcscpy.c: New file.
15991 * powerpc64/power6/wcsrchr.c: New file.
15993 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15995 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15996 (two_way_short_needle): Use it.
15997 * string/strstr.c (AVAILABLE1_USES_J): Define.
15998 * string/strcasestr.c: Likewise.
16000 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16002 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16005 * NEWS: Add an entry.
16006 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16007 define their defaults.
16008 (two_way_short_needle): Detect end-of-string on-the-fly.
16009 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16010 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16011 * string/bug-strcasestr1.c: New test.
16012 * string/Makefile: Run it.
16014 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16017 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16018 the first character.
16020 2012-08-21 Roland McGrath <roland@hack.frob.com>
16022 * csu/elf-init.c (__libc_csu_irel): Function removed.
16023 * csu/libc-start.c (apply_irel): New function.
16024 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16026 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16028 * sysdeps/unix/sysv/linux/kernel-features.h
16029 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16030 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16031 <kernel-features.h>.
16032 [__NR_fadvise64_64]: Make code unconditional.
16033 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16034 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16035 !__NR_fadvise64_64)]: Likewise.
16036 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16037 !__NR_fadvise64_64))]: Likewise.
16038 [__NR_fadvise64]: Make code unconditional.
16039 [!__NR_fadvise64]: Remove conditional code.
16040 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16041 <kernel-features.h>.
16042 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16044 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16047 not include <kernel-features.h>.
16048 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16050 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16052 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16053 include <kernel-features.h>.
16054 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16056 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16059 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16061 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16062 slight instruction rearrangements per scrollpipe analysis.
16063 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16065 2012-08-20 Roland McGrath <roland@hack.frob.com>
16067 * manual/syslog.texi (syslog; vsyslog, closelog):
16068 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16069 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16071 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16072 DSOCAPS to match condition on defining it.
16074 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16076 * sysdeps/unix/sysv/linux/kernel-features.h
16077 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16079 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16080 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16082 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16083 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16085 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16086 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16088 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16089 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16091 * sysdeps/unix/sysv/linux/kernel-features.h
16092 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16093 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16095 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16096 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16097 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16098 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16099 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16100 Make code unconditional.
16101 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16102 (__mmap64) [!__NR_mmap2]: Likewise.
16103 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16104 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16105 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16106 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16107 [__NR_mmap2]: Make code unconditional.
16108 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16109 (__mmap64) [!__NR_mmap2]: Likewise.
16111 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16113 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16115 2012-08-18 Andreas Jaeger <aj@suse.de>
16117 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16119 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16121 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16122 * include/unistd.h (__have_sock_cloexec): Likewise.
16123 (__have_pipe2): Likewise.
16124 (__have_dup3): Likewise.
16126 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16129 * include/unistd.h (__have_pipe2): Change define into an extern int.
16130 (__have_dup3): Likewise.
16131 * socket/have_sock_cloexec.c: Include fcntl.h.
16132 (__have_pipe2): New variable.
16133 (__have_dup3): Likewise.
16135 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16137 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16139 2012-08-17 Marek Polacek <polacek@redhat.com>
16141 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16142 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16144 2012-08-17 Roland McGrath <roland@hack.frob.com>
16146 * configure.in: Add AC_SUBST for sysheaders.
16147 * configure: Regenerated.
16148 * config.make.in (sysheaders): New substituted variable.
16150 * sysdeps/unix/mkfifo.c: Moved ...
16151 * sysdeps/posix/mkfifo.c: ... here.
16152 * sysdeps/unix/mkfifoat.c: Moved ...
16153 * sysdeps/posix/mkfifoat.c: ... here.
16155 * sysdeps/unix/utime.c: Moved ...
16156 * sysdeps/posix/utime.c: ... here.
16158 * sysdeps/unix/time.c: Moved ...
16159 * sysdeps/posix/time.c: ... here.
16160 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16161 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16163 * sysdeps/unix/nice.c: Moved ...
16164 * sysdeps/posix/nice.c: ... here.
16166 * sysdeps/unix/alarm.c: Moved ...
16167 * sysdeps/posix/alarm.c: ... here.
16169 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16171 2012-08-17 Jeff Law <law@redhat.com>
16173 * intl/Makefile (codeset_mo): New variable.
16174 ($(codeset_mo)): New target.
16175 (tst-codeset.out): Depend on that. Remove explicit rule.
16176 (tst-gettext3.out, tst-gettext5.out): Likewise.
16177 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16178 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16179 * intl/tst-codeset.sh: Remove.
16180 * intl/tst-gettext3.sh: Likewise.
16181 * intl/tst-gettext5.sh: Likewise.
16183 2012-08-17 Roland McGrath <roland@hack.frob.com>
16185 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16186 * sysdeps/unix/syscalls.list: ... here.
16188 * sysdeps/posix/getaddrinfo.c
16189 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16190 (gaiconf_init, gaiconf_reload): Use them.
16191 [!_STATBUF_ST_NSEC]
16192 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16193 Define using time_t rather than struct timespec.
16195 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16196 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16198 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16200 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16201 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16204 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16205 __libc_cleanup_push argument.
16207 * bits/param.h: New file.
16208 * misc/sys/param.h: New file.
16209 * include/sys/param.h: New file.
16210 * misc/Makefile (headers): Add bits/param.h.
16211 * sysdeps/generic/sys/param.h: File removed.
16212 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16213 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16214 * sysdeps/mach/hurd/bits/param.h: New file.
16215 * sysdeps/mach/hurd/sys/param.h: File removed.
16217 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16220 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16222 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16223 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16226 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16227 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16228 rather than -D_IO_MTSAFE_IO conditionally.
16229 * stdio-common/Makefile (CPPFLAGS): Likewise.
16230 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16231 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16232 Use $(libio-mtsafe).
16233 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16234 of -D_IO_MTSAFE_IO.
16235 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16236 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16237 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16238 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16239 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16240 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16241 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16242 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16243 (CFLAGS-fread_u_chk.c): Likewise.
16244 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16245 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16246 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16247 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16248 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16249 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16250 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16251 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16252 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16254 * libio/Makefile: Test [$(libc-reentrant) = yes]
16255 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16258 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16259 * sysdeps/pthread/configure: File removed.
16260 * sysdeps/pthread/Makeconfig: New file.
16261 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16262 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16264 2012-08-16 Gary Benson <gbenson@redhat.com>
16266 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16267 unmapping the first object in a namespace.
16269 2012-08-16 Roland McGrath <roland@hack.frob.com>
16271 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16272 (__internal_setnetgrent): ... this. Add internal_function to
16273 definition. Add libc_hidden_def.
16274 (setnetgrent): Update caller.
16275 (internal_endnetgrent): Renamed to ...
16276 (__internal_endnetgrent): ... this. Add internal_function to
16277 definition. Add libc_hidden_def.
16278 (endnetgrent): Update caller.
16279 (internal_getnetgrent_r): Renamed to ...
16280 (__internal_getnetgrent_r): ... this. Add internal_function to
16281 definition. Add libc_hidden_def.
16282 (__getnetgrent_r): Update caller.
16283 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16285 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16287 * stdlib/longlong.h: Update from GCC.
16289 2012-08-16 Roland McGrath <roland@hack.frob.com>
16291 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16292 on _QL, which is set by umul_ppmm but never used.
16293 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16294 variables, which are set by GMP macros but never used.
16295 * stdio-common/_itowa.c (_itowa): Likewise.
16296 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16297 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16299 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16301 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16302 struct La_sh_regs is not constant.
16303 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16304 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16305 and struct La_sparc64_regs are not constant.
16307 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16309 * sysdeps/unix/sysv/linux/kernel-features.h
16310 (__ASSUME_POSIX_TIMERS): Remove.
16311 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16312 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16313 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16314 Make code unconditional.
16315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16316 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16317 Make code unconditional.
16318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16319 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16320 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16322 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16323 Make code unconditional.
16324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16325 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16326 (__libc_missing_posix_timers): Remove.
16328 2012-08-15 Roland McGrath <roland@hack.frob.com>
16330 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16331 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16333 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16335 * elf/dl-sym.c: Include <stdlib.h>.
16337 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16338 constants, which avoids warnings in 32-bit builds.
16340 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16341 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16343 * misc/lseek.c: File moved to ...
16344 * io/lseek.c: ... here.
16346 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16348 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16349 shifting LEN more than 31 bits at once.
16351 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16354 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16355 segmentation fault for a case of two empty input strings.
16356 * string/test-strncasecmp.c (check1): Renamed to...
16357 (bz12205): ...this.
16358 (bz14195): Add new testcase for two empty input strings and N > 0.
16359 (test_main): Call new testcase, adapt for renamed function.
16361 2012-08-15 Andreas Jaeger <aj@suse.de>
16364 * crypt/md5test2.c: New test, based on test supplied by Serge
16365 Belyshev <belyshev@depni.sinp.msu.ru>.
16366 * crypt/Makefile (xtests): Add md5test-giant..
16367 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16369 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16372 * crypt/md5.c (md5_process_block): Don't assume the buffer
16373 length is less than 2**32.
16374 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16375 length is less than 2**64.
16377 2012-08-15 Roland McGrath <roland@hack.frob.com>
16379 * string/str-two-way.h: Include <sys/param.h>.
16380 (MAX): Macro removed.
16382 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16383 Move #define and #undef of memmove to just before and after
16384 including <string.h>.
16386 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16387 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16388 and after including <string.h>. Move declarations of
16389 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16390 to before #include "string/memmove.c".
16392 * include/dirent.h: Declare __getdirentries.
16394 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16395 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16397 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16399 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16400 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16401 * sysdeps/i386/configure: Regenerated.
16402 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16403 STABS_CURRENT_FILE, and STABS_FUN.
16404 (END): Remove call to STABS_FUN_END.
16405 (STABS_CURRENT_FILE1): Delete.
16406 (STABS_CURRENT_FILE): Likewise.
16407 (STABS_FUN): Likewise.
16408 (STABS_FUN_END): Likewise.
16409 (STABS_FUN2): Likewise.
16410 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16411 * sysdeps/x86_64/configure: Regenerated.
16413 2012-08-14 Roland McGrath <roland@hack.frob.com>
16415 * elf/dl-open.c: Include <atomic.h>.
16416 * elf/dl-lookup.c: Likewise.
16418 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16420 * sysdeps/unix/sysv/linux/kernel-features.h
16421 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16422 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16424 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16426 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16427 condition on __ASSUME_CLONE_THREAD_FLAGS.
16429 2012-08-14 Andreas Jaeger <aj@suse.de>
16431 * sysdeps/i386/fpu/libm-test-ulps: Update.
16433 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16435 * include/atomic.h (atomic_exchange_and_add): Split into ...
16436 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16439 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16443 2012-08-13 Jeff Law <law@redhat.com>
16445 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16446 null byte in the output string.
16448 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16450 * sysdeps/unix/sysv/linux/kernel-features.h
16451 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16452 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16453 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16454 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16455 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16456 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16457 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16459 2012-08-09 Jeff Law <law@redhat.com>
16462 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16463 When avoid_arena is set, don't retry in the that arena. Pick the
16464 next one, whatever it might be.
16465 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16466 (arena_lock): Pass in new parameter to arena_get2.
16467 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16469 (__libc_malloc): Unify retrying after main arena failure with
16470 __libc_memalign version.
16471 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16473 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16476 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16477 to __redirect_strstr.
16478 (__strstr_sse42): Use typeof __redirect_strstr.
16479 (__strstr_ia32): Likewise.
16480 (__libc_strstr): New prototype.
16481 (strstr): Renamed to ...
16482 (__libc_strstr): This.
16483 (strstr): New strong alias of __libc_strstr.
16484 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16485 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16488 (__libc_time): New prototype.
16489 (time_ifunc): Replace time with __libc_time.
16490 (time): New strong alias and hidden definition of __libc_time.
16491 (__GI_time): Remove strong alias.
16492 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16493 Include <stddef.h>.
16494 (memmove): Redefined to __redirect_memmove.
16495 (__memmove_sse2): Use typeof __redirect_memmove.
16496 (__memmove_ssse3): Likewise.
16497 (__memmove_ssse3_back): Likewise.
16498 (__libc_memmove): New prototype.
16499 (memmove): Renamed to ...
16500 (__libc_memmove): This.
16501 (memmove): New strong alias of __libc_memmove.
16503 2012-08-08 Mark Salter <msalter@redhat.com>
16506 (R_MN10300_TLS_GD): Define.
16507 (R_MN10300_TLS_LD): Likewise.
16508 (R_MN10300_TLS_LDO): Likewise.
16509 (R_MN10300_TLS_GOTIE): Likewise.
16510 (R_MN10300_TLS_IE): Likewise.
16511 (R_MN10300_TLS_LE): Likewise.
16512 (R_MN10300_TLS_DTPMOD): Likewise.
16513 (R_MN10300_TLS_DTPOFF): Likewise.
16514 (R_MN10300_TLS_TPOFF): Likewise.
16515 (R_MN10300_SYM_DIFF): Likewise.
16516 (R_MN10300_ALIGN): Likewise.
16517 (R_MN10300_NUM): Update.
16519 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16521 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16524 2012-08-08 Roland McGrath <roland@hack.frob.com>
16526 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16528 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16529 sysdeps/unix -> sysdeps/posix move.
16530 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16532 2012-08-07 Allan McRae <allan@archlinux.org>
16535 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16536 (SUNOS_CPP): Likewise.
16537 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16539 (open_input): Call CPP using execvp.
16541 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16543 * sysdeps/unix/sysv/linux/kernel-features.h
16544 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16545 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16546 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16547 (__ASSUME_WAITID_SYSCALL): Likewise.
16548 * sysdeps/unix/sysv/linux/dl-execstack.c
16549 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16550 code unconditional.
16551 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16553 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16554 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16555 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16557 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16559 [__ASSUME_WAITID_SYSCALL]: Likewise.
16560 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16562 2012-08-07 Roland McGrath <roland@hack.frob.com>
16564 * sysdeps/unix/closedir.c: Renamed to ...
16565 * sysdeps/posix/closedir.c: ... here.
16566 * sysdeps/unix/dirfd.c: Renamed to ...
16567 * sysdeps/posix/dirfd.c: ... here.
16568 * sysdeps/unix/dirstream.h: Renamed to ...
16569 * sysdeps/posix/dirstream.h: ... here.
16570 * sysdeps/unix/fdopendir.c: Renamed to ...
16571 * sysdeps/posix/fdopendir.c: ... here.
16572 * sysdeps/unix/opendir.c: Renamed to ...
16573 * sysdeps/posix/opendir.c: ... here.
16574 * sysdeps/unix/readdir.c: Renamed to ...
16575 * sysdeps/posix/readdir.c: ... here.
16576 * sysdeps/unix/readdir_r.c: Renamed to ...
16577 * sysdeps/posix/readdir_r.c: ... here.
16578 * sysdeps/unix/rewinddir.c: Renamed to ...
16579 * sysdeps/posix/rewinddir.c: ... here.
16580 * sysdeps/unix/seekdir.c: Renamed to ...
16581 * sysdeps/posix/seekdir.c: ... here.
16582 * sysdeps/unix/telldir.c: Renamed to ...
16583 * sysdeps/posix/telldir.c: ... here.
16584 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16585 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16586 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16587 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16589 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16590 * bits/fcntl.h: ... here.
16592 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16594 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16595 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16596 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16597 (struct flock): Move l_start, l_len to the beginning.
16598 Use __pid_t for l_pid.
16599 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16600 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16601 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16602 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16603 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16604 [__USE_LARGEFILE64] (struct flock64): New type.
16605 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16607 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16608 * bits/dirent.h: ... here.
16610 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16611 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16613 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16615 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16616 Change from 2.6.0 to 2.6.16.
16617 * sysdeps/unix/sysv/linux/configure: Regenerated.
16618 * sysdeps/unix/sysv/linux/kernel-features.h
16619 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16620 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16622 (__ASSUME_UTIMES): Likewise.
16623 (__ASSUME_CLONE_STOPPED): Remove.
16624 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16625 architectures, not kernel version.
16626 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16627 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16628 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16629 (__ASSUME_WAITID_SYSCALL): Likewise.
16630 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16631 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16632 * README: State 2.6.16 as minimum Linux kernel version. Do not
16633 refer to older versions.
16635 2012-08-06 Roland McGrath <roland@hack.frob.com>
16637 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16638 Define alphasort64 as an alias.
16639 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16640 Define versionsort64 as an alias.
16641 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16642 Define scandir64 as an alias.
16643 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16644 Define scandirat64 as an alias.
16645 * dirent/alphasort64.c (alphasort64):
16646 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16647 * dirent/versionsort64.c: Likewise.
16648 * dirent/scandir64.c: Likewise.
16649 * dirent/scandirat64.c: Likewise.
16650 * sysdeps/wordsize-64/alphasort.c: File removed.
16651 * sysdeps/wordsize-64/alphasort64.c: File removed.
16652 * sysdeps/wordsize-64/scandir.c: File removed.
16653 * sysdeps/wordsize-64/scandir64.c: File removed.
16654 * sysdeps/wordsize-64/scandirat.c: File removed.
16655 * sysdeps/wordsize-64/scandirat64.c: File removed.
16656 * sysdeps/wordsize-64/versionsort.c: File removed.
16657 * sysdeps/wordsize-64/versionsort64.c: File removed.
16658 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16659 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16660 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16661 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16662 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16663 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16664 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16665 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16667 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16669 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16671 [defined __arch64__ || defined __sparcv9]
16672 (__INO_T_MATCHES_INO64_T): New macro.
16673 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16674 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16675 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16676 * sysdeps/unix/sysv/linux/bits/dirent.h
16677 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16678 (_DIRENT_MATCHES_DIRENT64): New macro.
16680 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16681 Define lockf64 as an alias.
16682 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16683 Define fseeko64 as an alias.
16684 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16685 Define ftello64 as an alias.
16686 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16687 Define _IO_fgetpos64 and fgetpos64 as aliases.
16688 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16689 Define _IO_fsetpos64 and fsetpos64 as aliases.
16690 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16691 Conditionalize body on this.
16692 * libio/fseeko64.c: Likewise.
16693 * libio/ftello64.c: Likewise.
16694 * libio/iofgetpos64.c: Likewise.
16695 * libio/iofsetpos64.c: Likewise.
16696 * sysdeps/wordsize-64/lockf.c: File removed.
16697 * sysdeps/wordsize-64/lockf64.c: File removed.
16698 * sysdeps/wordsize-64/fseeko.c: File removed.
16699 * sysdeps/wordsize-64/fseeko64.c: File removed.
16700 * sysdeps/wordsize-64/ftello.c: File removed.
16701 * sysdeps/wordsize-64/ftello64.c: File removed.
16702 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16703 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16704 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16705 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16706 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16707 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16708 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16709 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16710 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16711 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16712 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16713 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16714 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16715 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16717 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16719 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16720 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16721 [defined __arch64__ || defined __sparcv9]
16722 (__OFF_T_MATCHES_OFF64_T): New macro.
16723 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16724 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16725 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16726 (__OFF_T_MATCHES_OFF64_T): New macro.
16728 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16730 * stdlib/secure-getenv.c (__secure_getenv): Replace
16731 GLIBC_2_16 with GLIBC_2_17.
16733 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16735 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16736 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16738 2012-08-03 David S. Miller <davem@davemloft.net>
16740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16742 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16744 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16746 (__ASSUME_CORRECT_SI_PID): Likewise.
16747 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16748 (__ASSUME_TMPFS_NAME): Likewise.
16749 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16750 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16751 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16752 (HAVE_AUX_SECURE): Make definition unconditional.
16753 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16754 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16756 2012-08-03 Roland McGrath <roland@hack.frob.com>
16758 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16759 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16760 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16761 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16762 __eloop_threshold instead of SYMLOOP_MAX.
16764 * sysdeps/generic/eloop-threshold.h: New file.
16765 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16767 * elf/chroot_canon.c (chroot_canon): Likewise.
16769 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16772 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16773 Change to 2.6.0 everywhere.
16774 * sysdeps/unix/sysv/linux/configure: Regenerated.
16775 * sysdeps/unix/sysv/linux/kernel-features.h
16776 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16777 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16779 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16780 (__ASSUME_FUTEX_REQUEUE): Remove.
16781 (__ASSUME_STATFS64): Define unconditionally.
16782 (__ASSUME_AT_SECURE): Likewise.
16783 (__ASSUME_CORRECT_SI_PID): Likewise.
16784 (__ASSUME_TGKILL): Define without depending on kernel version for
16786 (__ASSUME_UTIMES): Likewise.
16787 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16789 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16790 (__ASSUME_TMPFS_NAME): Likewise.
16791 * README: Update reference to Linux kernel versions.
16793 2012-08-02 Marek Polacek <polacek@redhat.com>
16796 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16797 libc_cv_asm_type_prefix with %.
16798 * configure: Regenerated.
16799 * include/libc-symbols.h: Remove comment about
16800 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16801 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16802 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16803 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16804 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16805 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16806 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16807 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16808 * elf/tst-unique2mod1.c: Likewise.
16809 * elf/tst-unique1mod2.c: Likewise.
16810 * elf/tst-unique1mod1.c: Likewise.
16811 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16812 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16813 Replace ASM_TYPE_DIRECTIVE with .type.
16814 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16815 * sysdeps/i386/sysdep.h: Likewise.
16816 * sysdeps/x86_64/sysdep.h: Likewise.
16817 * sysdeps/sh/sysdep.h: Likewise.
16818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16819 Do not define ASM_TYPE_DIRECTIVE.
16820 * sysdeps/powerpc/sysdep.h: Likewise.
16821 * sysdeps/powerpc/powerpc32/sysdep.h:
16822 Replace ASM_TYPE_DIRECTIVE with .type.
16823 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16824 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16825 * sysdeps/i386/fpu/e_powf.S: Likewise.
16826 * sysdeps/i386/fpu/e_expl.S: Likewise.
16827 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16828 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16829 * sysdeps/i386/fpu/e_pow.S: Likewise.
16830 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16831 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16832 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16833 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16834 * sysdeps/i386/fpu/e_log2.S: Likewise.
16835 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16836 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16837 * sysdeps/i386/fpu/e_powl.S: Likewise.
16838 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16839 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16840 * sysdeps/i386/fpu/e_logl.S: Likewise.
16841 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16842 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16843 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16844 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16845 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16846 * sysdeps/i386/fpu/e_log.S: Likewise.
16847 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16848 * sysdeps/i386/fpu/e_logf.S: Likewise.
16849 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16850 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16851 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16852 * sysdeps/i386/fpu/e_log10.S: Likewise.
16853 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16854 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16855 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16856 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16857 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16858 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16859 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16860 * sysdeps/i386/i686/strtok.S: Likewise.
16861 * sysdeps/i386/i386-mcount.S: Likewise.
16862 * sysdeps/i386/strtok.S: Likewise.
16863 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16864 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16865 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16866 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16867 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16868 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16869 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16870 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16871 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16872 * sysdeps/x86_64/_mcount.S: Likewise.
16873 * sysdeps/x86_64/strtok.S: Likewise.
16874 * sysdeps/sh/_mcount.S: Likewise.
16876 2012-08-01 Roland McGrath <roland@hack.frob.com>
16878 * libio/iofopen.c: Include <fcntl.h>.
16879 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16880 (_IO_fopen64, fopen64): Define as aliases.
16881 * libio/iofopen64.c: Include <fcntl.h>.
16882 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16883 Conditionalize body on this.
16884 * sysdeps/wordsize-64/iofopen.c: File removed.
16885 * sysdeps/wordsize-64/iofopen64.c: File removed.
16887 2012-08-01 Marek Polacek <polacek@redhat.com>
16889 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16890 Use dlfcn directly instead of a variable.
16891 (binfmt-subdir): Do not define.
16894 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16896 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16897 Remove all definitions.
16898 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16899 <kernel-features.h>.
16900 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16901 (miss_F_GETOWN_EX): Remove all definitions.
16902 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16904 [!__ASSUME_FCNTL64]: Remove conditional code.
16905 [__ASSUME_FCNTL64]: Make code unconditional.
16906 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16907 <kernel-features.h>.
16908 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16909 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16910 (lockf64) [__NR_fcntl64]: Make code unconditional.
16911 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16913 * sysdeps/unix/sysv/linux/kernel-features.h
16914 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16915 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16916 Make code unconditional.
16917 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16918 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16920 [__NR_vfork]: Make code unconditional.
16921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16924 [__NR_vfork]: Make code unconditional.
16925 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16926 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16928 2012-08-01 Roland McGrath <roland@hack.frob.com>
16930 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16931 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16933 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16934 Define mkstemp64 as an alias.
16935 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16936 Define mkstemps64 as an alias.
16937 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16938 Define mkostemp64 as an alias.
16939 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16940 Define mkostemps64 as an alias.
16941 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16942 Conditionalize body on this.
16943 * misc/mkostemp64.c: Likewise.
16944 * misc/mkostemps64.c: Likewise.
16945 * misc/mkstemps64.c: Likewise.
16946 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16947 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16948 * sysdeps/wordsize-64/mkostemp.c: File removed.
16949 * sysdeps/wordsize-64/mkstemp.c: File removed.
16950 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16951 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16952 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16953 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16956 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16957 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16958 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16959 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16961 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16962 compat_symbol macros from <shlib-compat.h> rather than the underlying
16963 default_symbol_version and symbol_version macros, so that DEFAULT
16964 lines in shlib-versions are respected.
16965 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16967 2012-08-01 Florian Weimer <fweimer@redhat.com>
16969 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16970 Declare with warn_unused_result.
16971 (setgid, setregid, setegid, setresgid): Likewise.
16972 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16974 * WUR-REPORT: Remove set*id functions.
16976 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16978 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16980 2012-07-31 Roland McGrath <roland@hack.frob.com>
16983 * include/sys/socket.h (__libc_accept, __libc_accept4):
16984 Add attribute_hidden.
16985 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16987 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16989 * inet/getnetgrent_r.c (setup): Likewise.
16991 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16993 2012-07-31 David S. Miller <davem@davemloft.net>
16995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16997 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17000 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17001 value between 1.0 and 2.0 and smaller part has absolute value less
17003 * math/s_clog10.c (__clog10): Likewise.
17004 * math/s_clog10f.c (__clog10f): Likewise.
17005 * math/s_clog10l.c (__clog10l): Likewise.
17006 * math/s_clogf.c (__clogf): Likewise.
17007 * math/s_clogl.c (__clogl): Likewise.
17008 * math/libm-test.inc (clog_test): Add more tests.
17009 (clog10_test): Likewise.
17010 * sysdeps/i386/fpu/libm-test-ulps: Update.
17011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17013 2012-07-31 Florian Weimer <fweimer@redhat.com>
17015 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17016 Exit with zero in case no suitable GID is found, and write a
17017 message to standard error.
17019 2012-07-30 Roland McGrath <roland@hack.frob.com>
17021 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17023 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17024 (MAXPATHLEN): Removed.
17025 (NOGROUP, NODEV): New macros.
17026 (setbit, clrbit, isset, isclr): New macros.
17027 (howmany, roundup, powerof2): New macros.
17028 (DEV_BSIZE): New macro.
17030 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17031 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17033 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17034 definition on [!__NO_LONG_DOUBLE_MATH].
17036 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17037 PTR_MANGLE and PTR_DEMANGLE.
17039 * socket/accept4.c (accept4): Rename to __libc_accept4.
17040 Define accept4 as a weak alias.
17042 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17043 on [_DIRENT_HAVE_D_TYPE].
17044 * io/ftw.c (ftw_dir): Likewise.
17046 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17048 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17050 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17051 Use the BSD numbers rather than the arbitrary ones we had.
17052 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17053 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17054 (SIGXCPU, SIGXFSZ): New macros.
17057 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17058 initializer on [_LIBC_REENTRANT].
17060 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17061 definitions inside [_POSIX_MAPPED_FILES].
17063 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17065 * dirent/opendir.c: Include <fcntl.h>.
17067 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17068 (__libc_getspecific): Likewise.
17069 (__libc_key_create): Likewise.
17071 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17072 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17073 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17074 (tmpfile64): Define as alias.
17075 * sysdeps/wordsize-64/tmpfile.c: File removed.
17076 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17077 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17078 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17080 * stdio-common/vfscanf.c: Include <stdbool.h>.
17081 * nss/makedb.c: Likewise.
17082 * stdio-common/_i18n_number.h: Likewise.
17083 * argp/argp-help.c: Likewise.
17084 * posix/wordexp.c: Likewise.
17085 * sysdeps/posix/spawni.c: Likewise.
17086 * nss/nss_files/files-initgroups.c: Likewise.
17087 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17088 * nss/nss_files/files-initgroups.c: Likewise.
17089 * nss/nss_db/db-netgrp.c: Likewise.
17090 * nss/nss_db/db-initgroups.c: Likewise.
17091 * io/fchmodat.c: Include <sys/stat.h>.
17093 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17094 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17096 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17099 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17100 Add multiple inclusion protection.
17102 2012-07-27 David S. Miller <davem@davemloft.net>
17104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17106 2012-07-27 Gary Benson <gbenson@redhat.com>
17109 * elf/rtld.c: Include <stap-probe.h>.
17110 (dl_main): Added static probes "init_start" and "init_complete".
17111 * elf/dl-load.c: Include <stap-probe.h>.
17112 (lose): Take new parameter "nsid".
17113 Added static probe "map_failed".
17114 (_dl_map_object_from_fd): Pass namespace id to lose.
17115 Added static probe "map_start".
17116 (open_verify): Pass namespace id to lose.
17117 * elf/dl-open.c: Include <stap-probe.h>.
17118 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17119 and "reloc_complete".
17120 * elf/dl-close.c: Include <stap-probe.h>.
17121 (_dl_close_worker): Added static probes "unmap_start" and
17123 * elf/rtld-debugger-interface.txt: New file documenting the above.
17125 2012-07-26 Roland McGrath <roland@hack.frob.com>
17127 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17128 rather than a string variable.
17129 * sunrpc/rpc_main.c (h_output): Likewise.
17130 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17132 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17134 * inet/check_native.c: New file.
17136 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17139 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17140 if larger part has absolute value 1.0.
17141 * math/s_clog10.c (__clog10): Likewise.
17142 * math/s_clog10f.c (__clog10f): Likewise.
17143 * math/s_clog10l.c (__clog10l): Likewise.
17144 * math/s_clogf.c (__clogf): Likewise.
17145 * math/s_clogl.c (__clogl): Likewise.
17146 * math/libm-test.inc (clog_test): Add more tests.
17147 (clog10_test): Likewise.
17148 * sysdeps/i386/fpu/libm-test-ulps: Update.
17149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17151 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17152 (pltexit): Likewise.
17153 (La_regs): Likewise.
17154 (La_retval): Likewise.
17155 (int_retval): Likewise.
17156 Update #error for removed macros to refer only to definitions in
17158 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17160 (pltexit): Likewise.
17161 (La_regs): Likewise.
17162 (La_retval): Likewise.
17163 (int_retval): Likewise.
17164 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17166 (pltexit): Likewise.
17167 (La_regs): Likewise.
17168 (La_retval): Likewise.
17169 (int_retval): Likewise.
17170 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17172 (pltexit): Likewise.
17173 (La_regs): Likewise.
17174 (La_retval): Likewise.
17175 (int_retval): Likewise.
17176 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17178 (pltexit): Likewise.
17179 (La_regs): Likewise.
17180 (La_retval): Likewise.
17181 (int_retval): Likewise.
17182 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17184 (pltexit): Likewise.
17185 (La_regs): Likewise.
17186 (La_retval): Likewise.
17187 (int_retval): Likewise.
17188 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17190 (pltexit): Likewise.
17191 (La_regs): Likewise.
17192 (La_retval): Likewise.
17193 (int_retval): Likewise.
17194 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17195 macro definitions in tst-audit.h.
17196 * sysdeps/i386/tst-audit.h: New file.
17197 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17198 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17199 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17200 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17201 * sysdeps/sh/tst-audit.h: Likewise.
17202 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17203 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17204 * sysdeps/x86_64/tst-audit.h: Likewise.
17206 2012-07-26 Andreas Jaeger <aj@suse.de>
17208 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17211 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17212 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17213 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17215 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17216 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17217 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17219 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17222 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17224 (si_call_addr, si_syscall, si_arch): Define new macro.
17225 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17227 (si_call_addr, si_syscall, si_arch): Define new marcro.
17228 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17230 (si_call_addr, si_syscall, si_arch): Define new macro.
17231 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17233 (si_call_addr, si_syscall, si_arch): Define new macro.
17235 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17238 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17239 Change to 2.4.21 where previously 2.4.1.
17240 * sysdeps/unix/sysv/linux/configure: Regenerated.
17241 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17242 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17243 Linux kernel version.
17244 (__ASSUME_STD_AUXV): Remove.
17245 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17247 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17248 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17249 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17250 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17251 (__ASSUME_NETLINK_SUPPORT): Likewise.
17252 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17253 (__no_netlink_support): Remove conditional definition.
17254 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17256 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17257 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17258 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17259 (if_nameindex_ioctl): Remove.
17260 (if_nameindex_netlink): Do not handle __no_netlink_support.
17261 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17263 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17264 Remove conditional code.
17265 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17267 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17269 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17270 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17271 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17273 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17274 [!__ASSUME_STD_AUXV]: Remove conditional code.
17275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17276 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17277 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17279 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17280 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17282 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17284 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17285 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17287 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17289 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17292 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17295 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17296 code unconditional.
17297 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17299 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17301 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17304 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17306 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17309 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17310 code unconditional.
17311 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17313 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17315 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17318 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17319 code unconditional.
17320 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17322 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17324 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17327 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17329 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17330 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17331 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17332 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17333 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17334 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17335 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17336 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17337 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17338 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17339 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17340 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17341 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17342 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17343 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17344 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17345 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17347 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17349 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17350 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17351 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17353 2012-07-25 Florian Weimer <fweimer@redhat.com>
17355 * Versions.def: Add GLIBC_2.17.
17356 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17357 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17358 Introduce __libc_secure_getenv.
17359 * stdlib/Versions (2.17): Add secure_getenv
17360 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17361 * stdlib/secure-getenv.c: Rename __secure_getenv to
17362 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17363 symbol __secure_getenv for GLIBC_2.0.
17364 * stdlib/tst-secure-getenv.c: New.
17365 * stdlib/Makefile (tests): Add testcase.
17366 * manual/startup.texi (Environment Access): Document
17368 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17369 __libc_secure_getenv.
17370 * inet/ruserpass.c (ruserpass): Likewise.
17371 * malloc/mtrace.c (mtrace): Likewise.
17372 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17373 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17374 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17375 * sysdeps/posix/tempname.c: Likewise. Evaluate
17376 HAVE_SECURE_GETENV.
17377 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17378 __secure_getenv to __libc_secure_getenv.
17379 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17392 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17394 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17395 (struct La_i86_retval): Likewise.
17396 (struct La_x86_64_regs): Likewise.
17397 (struct La_x86_64_retval): Likewise.
17398 (struct La_x32_regs): Likewise.
17399 (struct La_x32_retval): Likewise.
17400 (struct La_ppc32_regs): Likewise.
17401 (struct La_ppc32_retval): Likewise.
17402 (struct La_ppc64_regs): Likewise.
17403 (struct La_ppc64_retval): Likewise.
17404 (struct La_sh_regs): Likewise.
17405 (struct La_sh_retval): Likewise.
17406 (struct La_s390_32_regs): Likewise.
17407 (struct La_s390_32_retval): Likewise.
17408 (struct La_s390_64_regs): Likewise.
17409 (struct La_s390_64_retval): Likewise.
17410 (struct La_sparc32_regs): Likewise.
17411 (struct La_sparc32_retval): Likewise.
17412 (struct La_sparc64_regs): Likewise.
17413 (struct La_sparc64_retval): Likewise.
17414 (struct audit_ifaces): Remove architecture-specific pltenter and
17416 * sysdeps/i386/ldsodefs.h: New file.
17417 * sysdeps/powerpc/ldsodefs.h: Likewise.
17418 * sysdeps/s390/ldsodefs.h: Likewise.
17419 * sysdeps/sh/ldsodefs.h: Likewise.
17420 * sysdeps/sparc/ldsodefs.h: Likewise.
17421 * sysdeps/x86_64/ldsodefs.h: Likewise.
17423 2012-07-25 Marek Polacek <polacek@redhat.com>
17426 * math/libm-test.inc (yn_test): Add another test.
17427 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17428 to ERANGE when the result is +-Inf.
17429 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17430 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17431 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17432 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17434 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17436 * conform/data/time.h-data (NULL): Use macro-constant. Require
17438 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17440 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17442 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17444 * configure.in <sysdeps resolving>: Correct printing
17446 * configure: Regenerate.
17448 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17450 * math/w_ilogb.c: Include <limits.h>.
17451 * math/w_ilogbl.c: Likewise.
17453 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17455 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17456 va_copy. Document allowing for unavailable va_copy only as
17457 pre-C99 compatibility.
17458 * manual/string.texi (Copying and Concatenation): Use va_copy
17459 instead of __va_copy in concat example.
17461 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17463 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17464 (__sendto): Use create_address_port. Initialize APORT and deallocate
17467 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17468 with O_NOLINK passed to __file_name_lookup.
17470 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17471 with O_NOLINK passed to __file_name_lookup.
17473 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17474 negative N or less than NGIDS.
17476 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17477 type to string_t. Set ERANGE as errno and return it if NAME is not big
17478 enough. Use memcpy instead of strncpy.
17480 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17482 * elf/Makefile (check-data): Remove.
17483 (localplt.data): New vpath directive.
17484 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17485 instead of $(check-data).
17486 * scripts/data/localplt-generic.data: Move to ...
17487 * sysdeps/generic/localplt.data: ... here.
17488 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17489 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17490 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17493 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17496 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17499 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17502 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17505 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17509 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17511 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17512 PPC32 and PPC64 files.
17513 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17514 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17516 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17518 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17519 __makecontext_ret to ...
17520 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17521 ... here and call exit if uc_link is NULL. New file.
17522 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17523 __makecontext_ret.S.
17524 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17525 __makecontext_ret to ...
17526 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17527 ... here and call exit if uc_link is NULL. New file.
17528 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17529 __makecontext_ret.S.
17531 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17533 * elf/elf.h (R_390_IRELATIVE): New definition.
17534 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17535 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17536 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17537 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17538 (elf_machine_lazy_rel): Likewise.
17539 * sysdeps/s390/dl-irel.h: New file.
17540 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17541 * sysdeps/s390/s390-64/memset.S: New asm code.
17542 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17543 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17544 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17545 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17546 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17547 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17548 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17549 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17550 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17551 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17552 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17553 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17554 * sysdeps/s390/s390-32/memset.S: New asm code.
17555 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17557 2012-07-17 Marek Polacek <polacek@redhat.com>
17560 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17561 * sysdeps/s390/s390-64/configure.in: Likewise.
17562 * sysdeps/sparc/configure.in: Likewise.
17563 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17564 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17565 * sysdeps/i386/configure.in: Likewise.
17566 * sysdeps/x86_64/configure.in: Likewise.
17567 * sysdeps/sh/configure.in: Likewise.
17568 * sysdeps/s390/s390-32/configure: Regenerated.
17569 * sysdeps/s390/s390-64/configure: Likewise.
17570 * sysdeps/x86_64/configure: Likewise.
17571 * sysdeps/sh/configure: Likewise.
17572 * sysdeps/powerpc/powerpc64/configure: Likewise.
17573 * sysdeps/powerpc/powerpc32/configure: Likewise.
17574 * sysdeps/sparc/configure: Likwise.
17575 * sysdeps/i386/configure: Likewise.
17577 * elf/dl-open.c: Comment fixes.
17579 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17581 * Makefile [CXX] (check-data): Remove.
17582 [CXX] (c++-types.data): New vpath directive.
17583 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17584 vpath. Do not allow for C++ type data being missing.
17585 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17586 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17587 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17588 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17589 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17590 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17591 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17594 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17597 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17600 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17603 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17606 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17609 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17612 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17615 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17616 definitions to architecture-specific files.
17617 (TLS_IE): Likewise.
17618 (TLS_LD): Likewise.
17619 (TLS_GD): Likewise.
17620 * sysdeps/i386/tls-macros.h: New file.
17621 * sysdeps/powerpc/tls-macros.h: Likewise.
17622 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17623 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17624 * sysdeps/sh/tls-macros.h: Likewise.
17625 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17626 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17627 * sysdeps/x86_64/tls-macros.h: Likewise.
17629 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17631 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17632 zero value for regular exit case.
17634 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17635 (__start_context): Preserve zero value for regular exit case.
17637 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17638 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17640 * manual/setjmp.texi (setcontext): Clarify normal process
17641 termination when uc_link is the null pointer.
17642 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17645 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17647 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17648 preprocessor. Test for each exception mask separately.
17650 2012-07-16 Andreas Jaeger <aj@suse.de>
17652 * po/ru.po: Update from translation team.
17654 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17656 * conform/data/string.h-data (NULL): Use macro-constant. Require
17658 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17659 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17660 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17661 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17662 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17664 2012-07-13 Andreas Jaeger <aj@suse.de>
17666 * po/fr.po: Update from translation team.
17668 2012-07-12 Marek Polacek <polacek@redhat.com>
17671 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17672 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17675 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17678 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17679 Change to 2.4.1 where previously 2.4.0.
17680 * sysdeps/unix/sysv/linux/configure: Regenerated.
17681 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17682 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17684 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17685 (__ASSUME_AT_CLKTCK): Remove.
17686 (__ASSUME_AT_PAGESIZE): Likewise.
17687 (__ASSUME_AT_XID): Likewise.
17688 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17689 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17690 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17692 (HAVE_AUX_PAGESIZE): Likewise.
17693 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17694 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17695 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17697 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17701 the temporary buffer used to invoke __gethostbyname2_r,
17702 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17703 host_data / struct gaih_addrtuple.
17704 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17705 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17706 header file nss/nsswitch.h.
17707 * nss/nsswitch.h (global scope): Add definition of implementation
17708 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17709 resolv/nss_dns/dns-host.c).
17711 2012-07-11 Andreas Jaeger <aj@suse.de>
17713 * po/fr.po: Update from translation team.
17715 * po/sv.po: Update from translation team
17716 * po/fr.po: Another update from translation team.
17718 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17720 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17721 for subnormals or multiply small sinh result by itself.
17722 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17725 2012-07-11 David S. Miller <davem@davemloft.net>
17727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17729 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17732 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17733 (INTERNAL_MARK): Shift it here.
17735 2012-07-10 Marek Polacek <polacek@redhat.com>
17738 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17739 libc_cv_asm_global_directive with .globl.
17740 * configure: Regenerated.
17741 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17743 * sysdeps/i386/configure: Regenerated.
17744 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17746 * sysdeps/x86_64/configure: Regenerated.
17747 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17748 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17749 * elf/tst-unique2mod2.c: Likewise.
17750 * elf/tst-unique2mod1.c: Likewise.
17751 * elf/tst-unique1mod2.c: Likewise.
17752 * elf/tst-unique1mod1.c: Likewise.
17753 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17754 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17755 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17756 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17757 * sysdeps/mach/sysdep.h: Likewise.
17758 * sysdeps/i386/sysdep.h: Likewise.
17759 * sysdeps/i386/i386-mcount.S: Likewise.
17760 * sysdeps/x86_64/_mcount.S: Likewise.
17761 * sysdeps/x86_64/sysdep.h: Likewise.
17762 * sysdeps/sh/_mcount.S: Likewise.
17763 * sysdeps/sh/sysdep.h: Likewise.
17764 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17765 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17766 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17767 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17768 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17769 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17770 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17771 * locale/localeinfo.h: Likewise.
17772 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17773 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17775 2012-07-09 Roland McGrath <roland@hack.frob.com>
17778 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17780 * manual/message.texi (The Uniforum approach): Likewise.
17781 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17782 (glibc iconv Implementation): Likewise.
17784 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17787 * math/s_clog.c (__clog): Avoid scaling a value down where that
17788 could result in underflow.
17789 * math/s_clog10.c (__clog10): Likewise.
17790 * math/s_clog10f.c (__clog10f): Likewise.
17791 * math/s_clog10l.c (__clog10l): Likewise.
17792 * math/s_clogf.c (__clogf): Likewise.
17793 * math/s_clogl.c (__clogl): Likewise.
17794 * math/libm-test.inc (clog_test): Add more tests.
17795 (clog10_test): Likewise.
17796 * sysdeps/i386/fpu/libm-test-ulps: Update.
17797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17799 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17802 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17803 by 7 not 8 to examine high bit of fractional part.
17806 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17807 for call to __mcount_internal.
17808 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17809 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17810 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17812 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17815 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17816 approximation for values within 0x1p-13f of an odd multiple of
17818 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17819 exception. Add more tests.
17820 * sysdeps/i386/fpu/libm-test-ulps: Update.
17823 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17824 inputs and return -1 for them. Do not check for +Inf in case not
17825 reachable for +Inf.
17826 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17827 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17828 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17829 and return -1 for them. Do not check for +Inf in case not
17830 reachable for +Inf.
17831 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17834 and return -1 for them. Do not check for +Inf in case not
17835 reachable for +Inf.
17836 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17837 spurious underflow.
17838 * sysdeps/i386/fpu/libm-test-ulps: Update.
17839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17841 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17843 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17845 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17849 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17850 could result in spurious underflow. Scale down values above
17851 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17852 * math/s_csqrtf.c (__csqrtf): Likewise.
17853 * math/s_csqrtl.c (__csqrtl): Likewise.
17854 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17855 spurious underflow.
17856 * sysdeps/i386/fpu/libm-test-ulps: Update.
17857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17859 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17861 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17863 * catgets/xopen-msg.awk: New file.
17864 * catgets/xopen-msg.sed: Removed.
17866 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17868 * intl/po2test.awk: New file.
17869 * intl/po2test.sed: Removed.
17871 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17874 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17875 or multiply small sinh result by itself.
17876 * math/s_ctanf.c (__ctanf): Likewise.
17877 * math/s_ctanh.c (__ctanh): Likewise.
17878 * math/s_ctanhf.c (__ctanhf): Likewise.
17879 * math/s_ctanhl.c (__ctanhl): Likewise.
17880 * math/s_ctanl.c (__ctanl): Likewise.
17881 * math/libm-test.inc (ctan_test_tonearest): New function.
17882 (ctan_test_towardzero): Likewise.
17883 (ctan_test_downward): Likewise.
17884 (ctan_test_upward): Likewise.
17885 (ctanh_test_tonearest): Likewise.
17886 (ctanh_test_towardzero): Likewise.
17887 (ctanh_test_downward): Likewise.
17888 (ctanh_test_upward): Likewise.
17889 (main): Call these new functions.
17890 * sysdeps/i386/fpu/libm-test-ulps: Update.
17891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17893 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17895 * .gitignore: Delete /ports entry.
17897 2012-07-03 Andreas Jaeger <aj@suse.de>
17899 * po/bg.po: Update from translation team.
17900 * po/cs.po: Likewise.
17901 * po/de.po: Likewise.
17902 * po/hr.po: Likewise.
17903 * po/nl.pl: Likewise.
17904 * po/pl.po: Likewise.
17905 * po/vi.po: Likewise.
17907 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17909 * Makeconfig [!+link] (+link-before-libc): New variable.
17910 [!+link] (+link-after-libc): Likewise.
17911 [!+link] (+link-tests): Likewise.
17912 [!+link] (+link): Define in terms of $(+link-before-libc) and
17913 $(+link-after-libc).
17914 [!+link-static] (+link-static-before-libc): New variable.
17915 [!+link-static] (+link-static-after-libc): Likewise.
17916 [!+link-static] (+link-static-tests): Likewise.
17917 [!+link-static] (+link-static): Define in terms of
17918 $(+link-static-before-libc) and $(+link-static-after-libc).
17919 [build-shared] (link-libc-before-gnulib): New variable.
17920 [build-shared] (link-libc-tests): Likewise.
17921 [build-shared] (link-libc): Define in terms of
17922 $(link-libc-before-gnulib).
17923 [!build-shared] (link-libc-tests): New variable.
17924 (link-libc-static-tests): New variable.
17925 [!gnulib] (gnulib-arch): New variable.
17926 [!gnulib] (gnulib-tests): Likewise.
17927 [!gnulib] (static-gnulib-arch): Likewise.
17928 [!gnulib] (static-gnulib-tests): Likewise.
17929 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17930 Define with "=" instead of ":=".
17931 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17932 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17933 * Rules (binaries-all-notests): New variable.
17934 (binaries-all-tests): Likewise.
17935 (binaries-static-notests): Likewise.
17936 (binaries-static-tests): Likewise.
17937 (binaries-all): Define using $(binaries-all-notests) and
17938 $(binaries-all-tests).
17939 (binaries-static): Define using $(binaries-static-notests) and
17940 $(binaries-static-tests).
17941 (binaries-shared-tests): New variable.
17942 (binaries-shared-notests): Likewise.
17943 (binaries-shared): Remove variable.
17944 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17945 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17946 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17947 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17948 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17949 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17950 * elf/Makefile (sln-modules): New variable.
17951 (extra-objs): Add $(sln-modules:=.o).
17952 (ldconfig-modules): Add static-stubs.
17953 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17954 * elf/static-stubs.c: New file.
17957 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17958 by 7 not 8 to examine high bit of fractional part. Use volatile
17959 variables when splitting into final array of floats if
17960 __FLT_EVAL_METHOD__ != 0.
17961 * math/libm-test.inc (cos_test): Add another test.
17962 (sin_test): Likewise.
17963 * sysdeps/i386/fpu/libm-test-ulps: Update.
17966 * math/libm-test.inc (cosh_test): Add more tests.
17968 * version.h (RELEASE): Set to "development".
17969 (VERSION): Set to "2.16.90".
17971 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17973 * NEWS: Update copyright. Remove last-updated date.
17974 Mention math library bug fixes and timezone data changes.
17975 * README: Mention GNU/Hurd, x32, and HPPA support status.
17977 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17979 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17981 2012-06-27 Andreas Jaeger <aj@suse.de>
17983 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17985 2012-06-25 Andreas Jaeger <aj@suse.de>
17987 * sysdeps/s390/fpu/libm-test-ulps: Update.
17989 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17990 Thomas Schwinge <thomas@codesourcery.com>
17992 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17993 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17994 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17997 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17999 * sysdeps/mach/start.c: Remove file.
18000 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18001 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18002 * sysdeps/sh/init-first.c: Likewise.
18004 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18005 registers for frame unwinding purposes, add CFI directives.
18006 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18007 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18008 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18011 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18012 __fortify_fail returning.
18013 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18015 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18016 sysdeps/sh/____longjmp_chk.S.
18017 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18018 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18019 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18020 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18022 * sysdeps/sh/abort-instr.h: New file.
18023 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18024 process in case exit returns.
18026 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18027 initialize the GOT register before use.
18029 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18030 calculation of ARGC > 4.
18032 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18033 meaningful names to some local labels.
18035 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18036 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18038 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18039 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18040 (__arch_compare_and_exchange_val_16_acq): Likewise.
18041 (__arch_compare_and_exchange_val_32_acq): Likewise.
18042 (atomic_exchange_and_add): Fix gUSA sequence.
18043 (atomic_add): Likewise.
18044 (atomic_add_negative): Likewise.
18045 (atomic_add_zero): Likewise.
18046 (atomic_bit_test_set): Likewise.
18048 2012-06-22 Andreas Schwab <schwab@redhat.com>
18051 * include/link.h (struct link_map): Add l_free_initfini.
18052 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18054 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18055 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18056 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18059 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18061 * configure.in: Use AC_LANG_SOURCE.
18062 * configure: Regenerate.
18064 2012-06-22 Roland McGrath <roland@hack.frob.com>
18066 * configure.in (libc_cv_localstatedir): New substituted variable.
18067 * configure: Regenerated.
18068 * config.make.in (localstatedir): New variable, substituted from
18069 libc_cv_localstatedir.
18070 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18071 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18072 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18073 * sysdeps/gnu/configure: Regenerated.
18075 2012-06-21 Jeff Law <law@redhat.com>
18078 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18079 free. Simplify list management for _LIBC case.
18081 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18084 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18085 Clear sign bit of 64-bit integer value before comparing against
18088 * sysdeps/mach/configure: Regenerated.
18090 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18093 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18095 2012-06-21 Jeff Law <law@redhat.com>
18098 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18099 uint16_t for elements in the "seen" array to avoid char overflows.
18100 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18101 * elf/dl-open.c (dl_open_worker): Likewise.
18103 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18105 * scripts/list-sources.sh: Scan PORTS for translations.
18106 * po/libc.pot: Regenerated.
18108 2012-06-21 Andreas Jaeger <aj@suse.de>
18111 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18113 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18114 * bits/byteswap-16.h (__bswap_16): Likewise.
18115 * bits/byteswap.h (__bswap_constant_16): Likewise.
18117 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18120 * sysdeps/i386/fpu_control.h: Removed.
18121 * sysdeps/x86_64/fpu_control.h: Moved to ...
18122 * sysdeps/x86/fpu_control.h: Here.
18124 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18125 (_FPU_SETCW): Likewise.
18127 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18130 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18131 * sysdeps/x86/fpu/bits/mathinline.h: This.
18132 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18136 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18137 functions if __x86_64__ is defined.
18139 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18141 * string/endian.h: Add !__ASSEMBLER__ condition for including
18142 conversion interfaces.
18144 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18147 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18148 of ABS(x) in calculating zero to negative powers other than odd
18150 * math/libm-test.inc (pow_test): Add more tests.
18152 2012-06-15 Andreas Jaeger <aj@suse.de>
18154 * manual/contrib.texi (Contributors): Update entry of Liubov
18155 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18158 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18160 * string/string.h: Add __wur to GNU version of strerror_r.
18162 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18165 * string/Makefile (tests): Add tst-strtok_r.
18166 * string/tst-strtok_r.c: New file.
18167 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18168 RAX_LP/RDX_LP on SAVE_PTR.
18170 2012-06-14 Roland McGrath <roland@hack.frob.com>
18172 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18174 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18176 * libm_test.inc (csqrt_test): Allow more spurious underflow
18178 (j0_test): Likewise.
18179 (j1_test): Likewise.
18180 (y0_test): Likewise.
18181 (y1_test): Likewise.
18183 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18185 * po/Makefile (libc.pot): Use UTF-8 charset.
18187 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18190 Suppress sign-conversion warning from FD_SET.
18191 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18192 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18193 not unsigned long int.
18194 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18196 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18200 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18201 __extern_always_inline instead of __extern_inline.
18202 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18203 (__signbit): Likewise.
18204 (__signbitl): Support C++ namespace.
18205 (lrintf): New inline function.
18207 (llrintf): Likewise.
18208 (llrint): Likewise.
18218 (floorf): Likewise.
18219 (nearbyint): Likewise.
18220 (nearbyintf): Likewise.
18222 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18224 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18225 non-default versions.
18227 2012-06-11 Roland McGrath <roland@hack.frob.com>
18230 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18232 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18234 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18235 (FE_UPWARD, FE_DOWNWARD): Don't define.
18236 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18237 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18239 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18241 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18242 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18244 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18246 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18247 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18248 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18249 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18251 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18254 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18255 * sysdeps/i386/fpu/Implies: New file.
18256 * sysdeps/x86_64/fpu/Implies: Likewise.
18257 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18258 * sysdeps/x86/fpu/bits/fenv.h: This.
18260 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18263 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18266 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18267 character 0xffff that matches the last element of the
18270 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18275 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18277 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18278 values higher than 25.6283.
18280 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18282 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18283 subnormal exponent extraction and add some __builtin_expect.
18284 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18285 Fix for subnormal mantissa calculation.
18287 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18289 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18290 cpu2 is -1 and errno is not ENOSYS.
18292 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18295 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18296 * sysdeps/x86/bits/string.h: This.
18297 * sysdeps/x86_64/bits/string.h: Removed.
18299 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18300 if not compiling for x86-64, but compiling for >= i486.
18302 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18303 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18305 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18306 New macro from Linux kernel 3.4.0.
18307 (FP_XSTATE_MAGIC2): Likewise.
18308 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18309 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18310 (struct _fpx_sw_bytes): New struct.
18311 (struct _xsave_hdr): Likewise.
18312 (struct _ymmh_state): Likewise.
18313 (struct _xstate): Likewise.
18315 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18316 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18317 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18318 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18319 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18320 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18322 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18323 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18324 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18325 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18326 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18327 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18329 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18332 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18333 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18334 (sysdep_headers): Include sys/platform/ppc.h.
18335 * sysdeps/powerpc/test-gettimebase.c: Test for
18336 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18337 * manual/Makefile (appendices): Include platform.texi.
18338 * manual/contrib.texi (Contributors): Update @node pointers.
18339 * manual/maint.texi (Maintenance): Likewise.
18340 (Platform): New node.
18341 * manual/platform.texi: New file. Document the new features.
18343 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18344 Jakub Jelinek <jakub@redhat.com>
18347 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18348 where __builtin_expect is unavailable.
18350 2012-06-03 David S. Miller <davem@davemloft.net>
18352 * stdlib/longlong.h: Updated from GCC.
18354 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18357 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18358 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18361 (GLIBC_2.16): Likewise.
18363 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18365 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18367 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18370 (default-abi): New variable.
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18372 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18374 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18376 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18378 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18381 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18382 definition. Document in comment.
18384 2012-06-01 David S. Miller <davem@davemloft.net>
18386 * stdlib/longlong.h: Updated from GCC.
18388 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18391 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18392 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18393 sys/debugreg.h sys/io.h here.
18394 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18395 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18397 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18398 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18399 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18400 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18401 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18402 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18404 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18405 Define only if __x86_64__ is defined.
18407 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18410 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18411 Use int64_t for variable i.
18412 * math/libm-test.inc (fmod_test): Add more tests.
18414 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18415 z computation is not scheduled after fetestexcept.
18416 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18417 Use math_force_eval instead of asm to ensure calculation scheduled
18418 before exception test.
18419 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18420 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18422 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18425 computation is not scheduled after fetestexcept.
18427 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18430 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18431 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18433 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18435 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18436 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18438 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18441 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18443 (__WCHAR_MIN): Support __WORDSIZE == 64.
18444 (__WCHAR_MAX): Likewise.
18446 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18447 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18451 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18454 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18455 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18457 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18458 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18460 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18461 Defined to 1 if __x86_64__ isn't defined.
18462 (_STAT_VER_LINUX_OLD): New.
18463 (st_atime): Remove duplicate.
18464 (st_mtime): Likewise.
18465 (st_ctime): Likewise.
18467 2012-05-31 David S. Miller <davem@davemloft.net>
18469 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18472 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18474 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18478 * elf/dl-reloc.c: Include <_itoa.h>.
18479 (_dl_reloc_bad_type): Remove use of INTUSE.
18480 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18481 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18482 * stdio-common/psiginfo.c (psiginfo): Likewise.
18483 * stdio-common/psignal.c (psignal): Likewise.
18484 * string/strsignal.c (strsignal): Likewise.
18485 * include/signal.h (_sys_siglist): Declare hidden proto.
18486 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18487 INTVARDEF with libc_hidden_data_def.
18488 * stdio-common/itoa-udigits.c: Likewise.
18489 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18490 (_itoa_lower_digits_internal): Remove declaration.
18491 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18492 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18493 (_sys_sigabbrev_internal): Remove aliases.
18494 (_sys_siglist): Define hidden alias.
18496 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18501 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18504 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18505 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18507 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18508 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18509 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18510 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18511 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18512 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18514 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18515 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18516 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18518 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18526 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18527 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18528 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18530 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18531 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18532 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18533 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18534 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18535 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18537 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18538 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18540 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18541 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18543 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18544 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18545 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18547 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18548 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18550 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18552 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18553 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18554 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18556 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18558 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18560 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18562 * math/math.h (M_El): Use two more decimal places.
18563 (M_LOG2El): Likewise.
18564 (M_LOG10El): Likewise.
18565 (M_LN2l): Likewise.
18566 (M_LN10l): Likewise.
18568 (M_PI_2l): Likewise.
18569 (M_PI_4l): Likewise.
18570 (M_1_PIl): Likewise.
18571 (M_2_PIl): Likewise.
18572 (M_2_SQRTPIl): Likewise.
18573 (M_SQRT2l): Likewise.
18574 (M_SQRT1_2l): Likewise.
18576 2012-05-31 David S. Miller <davem@davemloft.net>
18578 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18579 values between float registers.
18580 * sysdeps/sparc/sparc64/memset.S: Likewise.
18581 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18583 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18585 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18586 -D_FORTIFY_SOURCE=1.
18587 (CPPFLAGS-tst-longjmp_chk.c): Define.
18588 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18589 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18590 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18591 CFLAGS-tst-wchar-h.c.
18593 2012-05-31 Marek Polacek <polacek@redhat.com>
18596 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18597 __endmntent_internal): Remove declaration.
18598 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18599 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18600 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18602 2012-05-30 David S. Miller <davem@davemloft.net>
18604 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18605 (___Q_simulate_exceptions): Use real FP ops rather than writing
18607 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18610 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18613 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18614 * sysdeps/x86/bits/xtitypes.h: This.
18616 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18617 * sysdeps/x86/bits/wordsize.h: This.
18619 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18620 * sysdeps/x86/bits/huge_vall.h: This.
18622 * sysdeps/i386/bits/select.h: Removed.
18623 * sysdeps/x86_64/bits/select.h: Renamed to ...
18624 * sysdeps/x86/bits/select.h: This.
18626 * sysdeps/i386/bits/setjmp.h: Removed.
18627 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18628 * sysdeps/x86/bits/setjmp.h: This.
18630 * sysdeps/i386/bits/mathdef.h: Removed.
18631 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18632 * sysdeps/x86/bits/mathdef.h: This.
18634 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18637 * include/sys/socket.h (__connect_internal)
18638 (__libc_sa_len_internal): Remove declaration.
18639 (__connect, __libc_sa_len): Declare hidden_proto.
18640 (SA_LEN): Remove use of INTUSE.
18641 * socket/connect.c: Add libc_hidden_def.
18642 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18643 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18644 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18646 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18647 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18648 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18649 of adding _internal alias.
18651 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18654 * sysdeps/i386/bits/link.h: Removed.
18655 * sysdeps/i386/bits/linkmap.h: Likewise.
18656 * sysdeps/x86_64/bits/link.h: Renamed to ...
18657 * sysdeps/x86/bits/link.h: This.
18658 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18659 * sysdeps/x86/bits/linkmap.h: This.
18661 * sysdeps/i386/bits/endian.h: Removed.
18662 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18663 * sysdeps/x86/bits/endian.h: This.
18665 * sysdeps/i386/bits/byteswap.h: Removed.
18666 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18667 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18668 * sysdeps/x86/bits/byteswap.h: This.
18669 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18670 * sysdeps/x86/bits/byteswap-16.h: This.
18671 * sysdeps/i386/Implies: Add x86.
18672 * sysdeps/x86_64/Implies: Likewise.
18674 2012-05-30 David S. Miller <davem@davemloft.net>
18676 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18677 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18678 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18679 (FP_TRAPPING_EXCEPTIONS): Define.
18680 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18681 (FP_TRAPPING_EXCEPTIONS): Define.
18682 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18683 subnormals only when inexact has been signalled or underflow
18684 exceptions are enabled.
18685 (_FP_PACK_CANONICAL): Likewise.
18687 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18690 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18691 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18693 2012-05-30 Richard Henderson <rth@twiddle.net>
18695 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18696 with #ifndef NOT_IN_libc.
18698 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18699 marked to avoid plt entry.
18701 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18704 * Makeconfig (default-abi): New macro.
18705 (abi-includes): Likewise.
18706 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18707 $(abi-$(default-abi)-lib-soname) for soname if defined.
18708 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18710 * Makefile (installed-stubs): Likewise.
18711 * include/stubs-biarch.h: Removed.
18712 * scripts/lib-names.awk: Only handle one library at a time.
18713 * scripts/soversions.awk: Remove WORDSIZE support.
18714 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18716 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18718 (syscall-list-default-condition): Likewise.
18719 (syscall-list-default-condition): Likewise.
18720 (syscall-list-includes): Likewise.
18721 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18722 syscall-list-* with abi-*. Handle undefined abi-variants.
18723 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18724 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18725 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18726 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18727 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18728 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18730 (syscall-list-32-options): Likewise.
18731 (syscall-list-32-condition): Likewise.
18732 (syscall-list-64-options): Likewise.
18733 (syscall-list-64-condition): Likewise.
18734 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18736 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18739 (abi-64-ld-soname): New macro.
18740 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18741 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18744 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18745 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18747 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18749 * sysdeps/unix/sysv/linux/kernel-features.h
18750 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18751 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18752 include <kernel-features.h>.
18753 [!__NR_ftruncate64]: Remove conditional code.
18754 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18755 [__NR_ftruncate64]: Make code unconditional.
18756 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18757 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18758 include <kernel-features.h>.
18759 [!__NR_ftruncate64]: Remove conditional code.
18760 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18761 [__NR_ftruncate64]: Make code unconditional.
18762 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18764 include <kernel-features.h>.
18765 [!__NR_ftruncate64]: Remove conditional code.
18766 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18767 [__NR_ftruncate64]: Make code unconditional.
18768 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18770 include <kernel-features.h>.
18771 [!__NR_ftruncate64]: Remove conditional code.
18772 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18773 [__NR_ftruncate64]: Make code unconditional.
18774 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18776 * configure.in (libc_cv_fpie): Weaken to a compile test using
18777 LIBC_TRY_CC_OPTION.
18778 * configure: Regenerated.
18780 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18795 2012-05-27 David S. Miller <davem@davemloft.net>
18797 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18799 (__Q_simulate_exceptions): Return void. Change to simulate
18800 exceptions by writing into the %fsr.
18801 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18802 (__Qp_handle_exceptions): Likewise.
18804 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18805 __Qp_handle_exceptions.
18806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18807 __Qp_handle_exceptions.
18808 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18809 as unused and give dummy FP_RND_NEAREST initializer.
18810 (FP_INHIBIT_RESULTS): Define.
18811 (___Q_simulate_exceptions): Update declaration.
18812 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18814 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18815 as unused and give dummy FP_RND_NEAREST initializer.
18816 (__Qp_handle_exceptions): Update declaration.
18817 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18820 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18822 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18823 the temporary FPU control word.
18824 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18825 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18826 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18827 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18828 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18829 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18830 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18831 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18832 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18833 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18834 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18836 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18838 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18841 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18843 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18844 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18845 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18846 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18848 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18849 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18852 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18854 * po/h.po: Update from translation team.
18856 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18858 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18860 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18861 handling of denormals.
18862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18863 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18864 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18865 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18867 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18868 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18871 2012-05-26 Marek Polacek <polacek@redhat.com>
18874 * math/libm-test.inc (fma_test): Don't always expect underflow
18877 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18880 * elf/tst-execstack.c: Include stackinfo.h.
18881 (do_test): Adjust test case to ensure that pthread_getattr_np
18882 behaviour remains the same after marking stack executable.
18884 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18886 * sysdeps/unix/sysv/linux/kernel-features.h
18887 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18888 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18890 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18891 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18892 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18894 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18895 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18897 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18899 * configure.in: Define the default includes to being none.
18900 * configure: Regenerated.
18902 2012-05-25 Roland McGrath <roland@hack.frob.com>
18904 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18905 * sysdeps/x86_64/setjmp.S: Likewise.
18906 * sysdeps/i386/bsd-setjmp.S: Likewise.
18907 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18908 * sysdeps/i386/setjmp.S: Likewise.
18909 * sysdeps/i386/__longjmp.S: Likewise.
18910 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18911 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18913 * include/stap-probe.h: New file.
18914 * configure.in: Handle --enable-systemtap.
18915 * configure: Regenerated.
18916 * config.h.in (USE_STAP_PROBE): New #undef.
18917 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18918 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18919 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18921 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18924 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18925 to 2.4.0 where earlier.
18926 * sysdeps/unix/sysv/linux/configure: Regenerated.
18927 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18928 <kernel-features.h>.
18929 [__ASSUME_32BITUIDS]: Make code unconditional.
18930 [!__ASSUME_32BITUIDS]: Remove conditional code.
18931 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18932 <kernel-features.h>.
18933 [__ASSUME_32BITUIDS]: Make code unconditional.
18934 [!__ASSUME_32BITUIDS]: Remove conditional code.
18935 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18936 [__ASSUME_32BITUIDS]: Make code unconditional.
18937 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18938 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
18963 <kernel-features.h>.
18964 [__ASSUME_32BITUIDS]: Make code unconditional.
18965 [!__ASSUME_32BITUIDS]: Remove conditional code.
18966 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18967 <kernel-features.h>.
18968 [__ASSUME_32BITUIDS]: Make code unconditional.
18969 [!__ASSUME_32BITUIDS]: Remove conditional code.
18970 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18971 <kernel-features.h>.
18972 [__ASSUME_32BITUIDS]: Make code unconditional.
18973 [!__ASSUME_32BITUIDS]: Remove conditional code.
18974 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18975 <kernel-features.h>.
18976 [__ASSUME_32BITUIDS]: Make code unconditional.
18977 [!__ASSUME_32BITUIDS]: Remove conditional code.
18978 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18979 <kernel-features.h>.
18980 [__NR_setresgid] (__setresgid): Do not declare.
18981 [__ASSUME_32BITUIDS]: Make code unconditional.
18982 [!__ASSUME_32BITUIDS]: Remove conditional code.
18983 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18984 <kernel-features.h>.
18985 [__NR_setresuid] (__setresuid): Do not declare.
18986 [__ASSUME_32BITUIDS]: Make code unconditional.
18987 [!__ASSUME_32BITUIDS]: Remove conditional code.
18988 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
19013 <kernel-features.h>.
19014 [__ASSUME_32BITUIDS]: Make code unconditional.
19015 [!__ASSUME_32BITUIDS]: Remove conditional code.
19016 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19017 <kernel-features.h>.
19018 [__ASSUME_32BITUIDS]: Make code unconditional.
19019 [!__ASSUME_32BITUIDS]: Remove conditional code.
19020 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19021 <kernel-features.h>.
19022 [__ASSUME_32BITUIDS]: Make code unconditional.
19023 [!__ASSUME_32BITUIDS]: Remove conditional code.
19024 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19025 <kernel-features.h>.
19026 [__ASSUME_32BITUIDS]: Make code unconditional.
19027 [!__ASSUME_32BITUIDS]: Remove conditional code.
19028 * sysdeps/unix/sysv/linux/kernel-features.h
19029 (__ASSUME_SETRESUID_SYSCALL): Remove.
19030 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19031 (__ASSUME_32BITUIDS): Likewise.
19032 (__ASSUME_LDT_WORKS): Likewise.
19033 (__ASSUME_O_DIRECTORY): Likewise.
19034 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19035 architecture but not kernel version.
19036 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19037 (__ASSUME_MMAP2_SYSCALL): Likewise.
19038 (__ASSUME_STAT64_SYSCALL): Likewise.
19039 (__ASSUME_IPC64): Likewise.
19040 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19041 <kernel-features.h>.
19042 [__ASSUME_32BITUIDS]: Make code unconditional.
19043 [!__ASSUME_32BITUIDS]: Remove conditional code.
19044 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19045 <kernel-features.h>.
19046 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19047 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19048 132096]: Remove conditional code.
19049 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19050 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19051 <kernel-features.h>.
19052 [__ASSUME_32BITUIDS]: Make code unconditional.
19053 [!__ASSUME_32BITUIDS]: Remove conditional code.
19054 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19055 <kernel-features.h>.
19056 [__ASSUME_32BITUIDS]: Make code unconditional.
19057 [!__ASSUME_32BITUIDS]: Remove conditional code.
19058 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19059 <kernel-features.h>.
19060 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19062 (__setresgid): Do not declare.
19063 [__ASSUME_32BITUIDS]: Make code unconditional.
19064 [!__ASSUME_32BITUIDS]: Remove conditional code.
19065 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19066 <kernel-features.h>.
19067 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19069 (__setresuid): Do not declare.
19070 [__ASSUME_32BITUIDS]: Make code unconditional.
19071 [!__ASSUME_32BITUIDS]: Remove conditional code.
19072 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19073 <kernel-features.h>.
19074 [__ASSUME_32BITUIDS]: Make code unconditional.
19075 [!__ASSUME_32BITUIDS]: Remove conditional code.
19076 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19077 <kernel-features.h>.
19078 [__ASSUME_32BITUIDS]: Make code unconditional.
19079 [!__ASSUME_32BITUIDS]: Remove conditional code.
19081 2012-05-25 Richard Henderson <rth@twiddle.net>
19083 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19084 dl_hwcap to ifunc resolver.
19085 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19087 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19088 dl_hwcap to ifunc resolver.
19089 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19091 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19094 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19095 for |x| <= 2**-26, not 2**-57.
19096 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19099 2012-05-24 Jeff Law <law@redhat.com>
19101 * stdio-common/Makefile (tests): Add bug25.
19102 * stdio-common/bug25.c: New test.
19104 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19107 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19108 multiple of MALLOC_ALIGNMENT in size.
19109 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19111 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19113 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19115 (FILENAME_MAX): Use macro-int-constant.
19116 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19117 (_IOFBF): Use macro-int-constant.
19118 (_IOLBF): Likewise.
19119 (_IONBF): Likewise.
19120 (SEEK_CUR): Likewise.
19121 (SEEK_END): Likewise.
19122 (SEEK_SET): Likewise.
19123 (TMP_MAX): Likewise.
19124 (EOF): Use macro-int-constant. Require < 0.
19125 (NULL): Use macro-constant. Require == 0.
19126 (stdin): Require type to be FILE *.
19127 (stdout): Likewise.
19128 (stderr): Likewise.
19129 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19130 macro-int-constant.
19131 (EXIT_SUCCESS): Likewise.
19132 (NULL): Use macro-constant. Require == 0.
19133 (RAND_MAX): Use macro-int-constant.
19134 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19135 [C99-based standards] (strtof): Require function.
19136 [C99-based standards] (strtold): Likewise.
19137 [C99-based standards] (strtoll): Likewise.
19138 [C99-based standards] (strtoull): Likewise.
19139 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19140 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19141 [ISO || ISO99 || ISO11] (math.h): Likewise.
19142 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19143 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19144 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19146 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19149 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19150 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19151 * intl/dgettext.c (DCGETTEXT): Likewise.
19152 * intl/gettext.c (DCGETTEXT): Likewise.
19153 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19154 * posix/regex_internal.h (gettext): Likewise.
19155 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19156 Remove declaration.
19157 * include/argz.h (__argz_count_internal)
19158 (__argz_stringify_internal): Remove declaration.
19159 (__argz_count, __argz_stringify): Declare hidden proto.
19160 * intl/dcgettext.c: Remove use of INTDEF.
19161 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19162 * string/argz-stringify.c: Likewise.
19163 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19164 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19165 Declare hidden proto.
19166 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19167 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19168 Declare hidden proto.
19169 * include/stdio.h (__asprintf_internal): Don't declare.
19170 (__asprintf): Don't define as macro. Declare hidden proto.
19171 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19172 (__fsetlocking): Declare hidden proto.
19173 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19174 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19176 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19177 (_IO_setlinebuf): Remove use of INTUSE.
19178 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19179 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19180 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19181 Remove declaration.
19182 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19183 (_IO_do_flush): Remove use of INTUSE.
19184 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19185 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19186 (_IO_adjust_column, _IO_least_wmarker)
19187 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19188 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19189 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19190 (_IO_default_doallocate, _IO_wdefault_doallocate)
19191 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19192 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19193 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19194 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19195 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19196 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19197 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19198 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19199 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19200 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19201 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19202 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19203 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19205 (_IO_flush_all_internal, _IO_adjust_column_internal)
19206 (_IO_default_uflow_internal, _IO_default_finish_internal)
19207 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19208 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19209 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19210 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19211 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19212 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19213 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19214 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19215 (_IO_file_close_internal, _IO_file_close_it_internal)
19216 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19217 (_IO_file_init_internal, _IO_file_attach_internal)
19218 (_IO_file_fopen_internal, _IO_file_read_internal)
19219 (_IO_file_sync_internal, _IO_file_seek_internal)
19220 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19221 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19222 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19223 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19224 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19225 (_IO_list_all_internal, _IO_link_in_internal)
19226 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19227 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19228 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19229 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19230 (_IO_do_write_internal, _IO_padn_internal)
19231 (_IO_getline_info_internal, _IO_getline_internal)
19232 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19233 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19234 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19235 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19236 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19237 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19238 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19239 with libc_hidden_ver, remove use of INTUSE.
19240 * libio/genops.c: Likewise.
19241 * libio/freopen.c: Likewise.
19242 * libio/freopen64.c: Likewise.
19243 * libio/iofclose.c: Likewise.
19244 * libio/iofdopen.c: Likewise.
19245 * libio/iofflush.c: Likewise.
19246 * libio/iofflush_u.c: Likewise.
19247 * libio/iofgets.c: Likewise.
19248 * libio/iofgets_u.c: Likewise.
19249 * libio/iofopen.c: Likewise.
19250 * libio/iofopncook.c: Likewise.
19251 * libio/iofread.c: Likewise.
19252 * libio/iofread_u.c: Likewise.
19253 * libio/ioftell.c: Likewise.
19254 * libio/iofwrite.c: Likewise.
19255 * libio/iogetline.c: Likewise.
19256 * libio/iogets.c: Likewise.
19257 * libio/iogetwline.c: Likewise.
19258 * libio/iopadn.c: Likewise.
19259 * libio/iopopen.c: Likewise.
19260 * libio/ioseekoff.c: Likewise.
19261 * libio/ioseekpos.c: Likewise.
19262 * libio/iosetbuffer.c: Likewise.
19263 * libio/iosetvbuf.c: Likewise.
19264 * libio/ioungetc.c: Likewise.
19265 * libio/ioungetwc.c: Likewise.
19266 * libio/iovdprintf.c: Likewise.
19267 * libio/iovsprintf.c: Likewise.
19268 * libio/iovsscanf.c: Likewise.
19269 * libio/memstream.c: Likewise.
19270 * libio/obprintf.c: Likewise.
19271 * libio/oldfileops.c: Likewise.
19272 * libio/oldiofclose.c: Likewise.
19273 * libio/oldiofdopen.c: Likewise.
19274 * libio/oldiofopen.c: Likewise.
19275 * libio/oldiopopen.c: Likewise.
19276 * libio/oldstdfiles.c: Likewise.
19277 * libio/putc.c: Likewise.
19278 * libio/setbuf.c: Likewise.
19279 * libio/setlinebuf.c: Likewise.
19280 * libio/stdfiles.c: Likewise.
19281 * libio/strops.c: Likewise.
19282 * libio/vasprintf.c: Likewise.
19283 * libio/vscanf.c: Likewise.
19284 * libio/vsnprintf.c: Likewise.
19285 * libio/vswprintf.c: Likewise.
19286 * libio/wfiledoalloc.c: Likewise.
19287 * libio/wfileops.c: Likewise.
19288 * libio/wgenops.c: Likewise.
19289 * libio/wmemstream.c: Likewise.
19290 * libio/wstrops.c: Likewise.
19291 * libio/__fpurge.c: Likewise.
19292 * libio/__fsetlocking.c: Likewise.
19293 * assert/assert.c: Likewise.
19294 * debug/fgets_chk.c: Likewise.
19295 * debug/fgets_u_chk.c: Likewise.
19296 * debug/fread_chk.c: Likewise.
19297 * debug/fread_u_chk.c: Likewise.
19298 * debug/gets_chk.c: Likewise.
19299 * debug/obprintf_chk.c: Likewise.
19300 * debug/vasprintf_chk.c: Likewise.
19301 * debug/vdprintf_chk.c: Likewise.
19302 * debug/vsnprintf_chk.c: Likewise.
19303 * debug/vsprintf_chk.c: Likewise.
19304 * malloc/mtrace.c: Likewise.
19305 * misc/error.c: Likewise.
19306 * misc/syslog.c: Likewise.
19307 * stdio-common/asprintf.c: Likewise.
19308 * stdio-common/fxprintf.c: Likewise.
19309 * stdio-common/getw.c: Likewise.
19310 * stdio-common/isoc99_fscanf.c: Likewise.
19311 * stdio-common/isoc99_scanf.c: Likewise.
19312 * stdio-common/isoc99_vfscanf.c: Likewise.
19313 * stdio-common/isoc99_vscanf.c: Likewise.
19314 * stdio-common/isoc99_vsscanf.c: Likewise.
19315 * stdio-common/printf-prs.c: Likewise.
19316 * stdio-common/printf_fp.c: Likewise.
19317 * stdio-common/printf_fphex.c: Likewise.
19318 * stdio-common/printf_size.c: Likewise.
19319 * stdio-common/putw.c: Likewise.
19320 * stdio-common/scanf.c: Likewise.
19321 * stdio-common/sprintf.c: Likewise.
19322 * stdio-common/tmpfile.c: Likewise.
19323 * stdio-common/vfprintf.c: Likewise.
19324 * stdio-common/vfscanf.c: Likewise.
19325 * stdlib/strfmon_l.c: Likewise.
19326 * sunrpc/openchild.c: Likewise.
19327 * sunrpc/xdr_stdio.c: Likewise.
19328 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19329 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19331 2012-05-24 Roland McGrath <roland@hack.frob.com>
19333 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19335 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19336 in the third column, to generate for the shared library an IFUNC
19337 that uses _dl_vdso_vsym.
19338 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19339 * Makeconfig (object-suffixes-noshared): New variable.
19341 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19342 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19343 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19344 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19347 * include/sys/time.h (__gettimeofday): Remove macro.
19348 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19349 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19351 (__gettimeofday): Add libc_hidden_def.
19352 (gettimeofday): Add libc_hidden_weak.
19353 * sysdeps/mach/gettimeofday.c: Likewise.
19354 * sysdeps/posix/gettimeofday.c: Likewise.
19355 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19356 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19358 (__gettimeofday_internal): Remove strong_alias.
19359 (__gettimeofday): Add libc_hidden_def.
19360 (gettimeofday): Add libc_hidden_weak.
19361 * sysdeps/unix/syscalls.list (gettimeofday):
19362 Remove __gettimeofday_internal alias.
19364 2012-05-24 Daniel Jacobowitz <drow@false.org>
19365 H.J. Lu <hongjiu.lu@intel.com>
19368 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19369 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19370 (largebin_index_32_big): New.
19371 (largebin_index): Use it for 16-byte alignment.
19372 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19373 correction with front_misalign.
19375 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19403 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19404 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19406 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19410 * math/libm-test.inc (exp_test): Add test from bug 14036.
19411 (pow_test): Add test from bug 10846.
19413 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19415 (special_function): Do not include flags in test name.
19416 (parse_args): Likewise.
19417 * sysdeps/i386/fpu/libm-test-ulps: Update.
19418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19419 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19420 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19423 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19425 * math/libm-test.inc ("Philosophy"): Update comment about
19427 (UNDERFLOW_EXCEPTION): New macro.
19428 (UNDERFLOW_EXCEPTION_OK): Likewise.
19429 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19430 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19431 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19432 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19433 (INVALID_EXCEPTION_OK): Update value.
19434 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19435 (OVERFLOW_EXCEPTION_OK): Likewise.
19436 (IGNORE_ZERO_INF_SIGN): Likewise.
19437 (test_exceptions): Handle underflow exceptions.
19438 (acos_test): Update for underflow exception expectations.
19439 (cexp_test): Likewise.
19440 (clog_test): Likewise.
19441 (clog10_test): Likewise.
19442 (csqrt_test): Likewise.
19443 (ctan_test): Likewise.
19444 (ctanh_test): Likewise.
19445 (exp_test): Likewise.
19446 (exp10_test): Likewise.
19447 (exp2_test): Likewise.
19448 (expm1_test): Likewise.
19449 (fma_test): Likewise.
19450 (j0_test): Likewise.
19451 (jn_test): Likewise.
19452 (nexttoward_test): Likewise.
19453 (pow_test): Likewise.
19454 (scalbn_test): Likewise.
19455 (scalbln_test): Likewise.
19456 (tan_test): Likewise.
19457 (y1_test): Likewise.
19458 * sysdeps/i386/fpu/libm-test-ulps: Update.
19459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19461 2012-05-23 David S. Miller <davem@davemloft.net>
19463 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19464 (__libc_sigaction): Remove unused local variables.
19466 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19468 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19470 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19472 mktime: avoid signed integer overflow
19473 * time/mktime.c (__mktime_internal): Do not mishandle the case
19474 where diff == INT_MIN.
19476 mktime: simplify computation of average
19477 * time/mktime.c (ranged_convert): Use new time_t_avg function
19478 instead of rolling our own (probably-slower) code.
19480 mktime: do not assume signed right shift propagates sign bit
19481 * time/mktime.c (isdst_differ): New static function.
19482 (__mktime_internal): No need to normalize tm_isdst now.
19483 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19486 mktime: merge another wrapv change from gnulib
19487 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19488 from some compilers.
19490 mktime: remove incorrect attempt at unusual arithmetics
19491 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19492 The code didn't really work on such machines anyway.
19493 (TYPE_MINIMUM): Assume two's complement.
19494 (twos_complement_arithmetic): Verify that long_int and time_t
19495 are two's complement (or unsigned, in the latter case).
19497 mktime: check signed shifts on long_int and time_t, too
19498 * time/mktime.c (SHR): Check that shifts work as desired
19499 on the types long_int and time_t too, as SHR is used on
19502 mktime: do not assume 'long' is wide enough
19503 * time/mktime.c (verify): Move decl up.
19504 (long_int): New type.
19505 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19506 to remove assumption in the code that 'long' is wide enough to
19507 store year values. This assumption is not true on x32 and on
19508 some non-glibc platforms.
19510 mktime: merge wrapv change from gnulib
19511 * time/mktime.c (WRAPV): New macro.
19512 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19513 (guess_time_tm, __mktime_internal): Do not assume that signed
19514 integer overflow wraps around; modern compilers generate code
19515 where this assumption is no longer valid.
19517 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19519 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19520 Replace "jmp L(pseudo_end)" with "ret".
19521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19524 2012-05-23 Andreas Jaeger <aj@suse.de>
19526 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19527 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19529 2012-05-23 Andreas Jaeger <aj@suse.de>
19530 Maximilian Attems <max@stro.at>
19532 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19535 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19538 code so that pseudo_end is just ret and the stack pointer is
19539 correct also for static library in error case.
19541 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19543 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19544 move to syscalls.list.
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19550 * manual/install.texi (Running make install): Do not mention Linux
19551 kernel version for which pt_chown is not needed.
19552 (Linux): Do not mention problems with nscd with 2.0 kernels.
19553 * INSTALL: Regenerated.
19555 2012-05-23 Andreas Jaeger <aj@suse.de>
19557 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19558 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19560 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19562 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19564 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19566 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19568 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19570 * sysdeps/unix/sysv/linux/bits/in.h
19571 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19573 2012-05-22 Roland McGrath <roland@hack.frob.com>
19575 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19576 (PREPARE_VERSION): Just use assert instead, it will be elided
19577 under [NDEBUG] anyway.
19579 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19581 * sysdeps/unix/sysv/linux/Makefile: Include
19582 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19583 (sysdep_routines): Remove sysctl.
19584 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19585 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19586 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19587 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19588 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19590 2012-05-22 Andreas Jaeger <aj@suse.de>
19592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19593 that pseudo_end is just ret and the stack pointer is correct also
19594 for static library in error case.
19596 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19599 * nss/nsswitch.c (defconfig_entries): New variable.
19600 (__nss_database_lookup): Don't leak defconfig entries.
19601 (nss_parse_service_list): Don't leak on error paths.
19602 (free_database_entries): New function.
19603 (free_defconfig): New function.
19604 (free_mem): Move common code to free_database_entries.
19606 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19608 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19610 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19612 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19613 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19616 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19617 (INTERNAL_SYSCALL_TYPES): Likewise.
19618 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19619 (LOAD_REGS_TYPES_[1-6]): Likewise.
19620 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19621 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19623 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19625 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19626 copysignl for GLIBC_2_0.
19627 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19628 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19630 logbl for GLIBC_2_0.
19631 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19632 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19634 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19637 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19639 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19642 * time/mktime.c: Update copyright years.
19644 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19646 mktime: merge comment-quoting-style change from gnulib
19647 * time/mktime.c: Quote 'like this' in comments.
19648 The GNU coding standards suggest that we no longer quote `like this',
19649 as "`" and "'" are typically rendered asymmetrically nowadays.
19650 The typical gnulib style is to quote 'like this' when quoting
19651 code, and "like this" when quoting English.
19653 * time/mktime.c (compile-command): Add "-I.".
19655 mktime: merge mktime-internal.h change from gnulib
19656 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19658 mktime: merge time_r change from gnulib
19659 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19661 mktime: merge DEBUG change from gnulib
19662 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19663 case system <time.h> has a #define.
19665 mktime: merge <sys/types.h> change from gnulib
19666 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19667 since <time.t> is now guaranteed to define time_t.
19669 mktime: merge HAVE_CONFIG_H change from gnulib
19670 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19672 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19677 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19679 (struct rusage): Use anonymous union to pad each field to
19682 2012-05-21 David S. Miller <davem@davemloft.net>
19684 * Makefules (o-iterator): Remove .s cases.
19685 (compile-command.s): Delete.
19686 (COMPILE.s): Delete.
19687 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19689 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19691 * configure.in (libc_cv_predef_stack_protector): Only consider
19692 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19693 * configure: Regenerated.
19695 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19697 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19698 New macro. Use R*LP on int and pointer.
19699 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19700 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19701 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19702 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19704 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19705 [__WORDSIZE_TIME64_COMPAT32] instead of
19706 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19707 (struct utmp): Likewise.
19708 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19709 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19711 (__WORDSIZE_TIME64_COMPAT32): This.
19712 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19713 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19714 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19715 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19716 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19717 (__WORDSIZE_TIME64_COMPAT32): New macro.
19719 2012-05-21 Andreas Jaeger <aj@suse.de>
19721 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19722 only if [SHARED]. Add prototype for __wcschr_ia32.
19724 2012-05-21 Roland McGrath <roland@hack.frob.com>
19726 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19727 of %rbp unmolested in the jmp_buf while mangling the low bits.
19728 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19729 unmolested high bits of %rbp while demangling the low bits.
19730 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19732 2012-05-21 Andreas Jaeger <aj@suse.de>
19734 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19735 * sunrpc/svc_simple.c: Use it for registerrpc.
19736 * sunrpc/xcrypt.c: Use it for passwd2des.
19738 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19740 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19742 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19743 Don't define if [__SYSCALL_WORDSIZE != 32].
19744 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19747 2012-05-21 Bruno Haible <bruno@clisp.org>
19748 Andreas Jaeger <aj@suse.de>
19750 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19751 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19752 inptr and inend for must_buffer_ch.
19753 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19754 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19755 * stdio-common/Makefile (tests): Remove bug15.
19756 (bug15-ENV): Remove macro.
19757 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19760 2012-05-19 Andreas Jaeger <aj@suse.de>
19761 Roland McGrath <roland@hack.frob.com>
19763 * manual/contrib.texi: Completely rewritten. It contains now an
19764 alphabetical list of contributors and their contributions.
19766 2012-05-21 Richard Henderson <rth@twiddle.net>
19768 * misc/getauxval.c (__getauxval): Use unsigned long int.
19769 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19770 (getauxval): Use unsigned long int.
19772 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19774 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19776 2012-05-21 Roland McGrath <roland@hack.frob.com>
19778 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19779 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19780 __alignof__ (long double).
19782 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19786 2012-05-20 Richard Henderson <rth@twiddle.net>
19788 * misc/getauxval.c: New file.
19789 * misc/sys/auxv.h: New file.
19790 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19791 (routines): Add getauxval.
19792 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19793 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19794 * elf/dl-sysdep.c (_dl_auxv): Remove.
19795 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19796 * elf/dl-support.c (_dl_auxv): New variable.
19797 (_dl_aux_init): Initialize it.
19798 * manual/startup.texi (Auxiliary Vector): New node.
19799 * sysdeps/generic/bits/hwcap.h: New file.
19800 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19801 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19802 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19803 * sysdeps/sparc/sysdep.h: ... here. Include it.
19804 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19805 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19811 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19817 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19821 2012-05-19 David S. Miller <davem@davemloft.net>
19823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19825 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19828 * math/s_ccosh.c: Include <float.h>
19829 (__ccosh): Avoid internal overflow calculating sinh and cosh
19830 values before multiplying by sin and cos values.
19831 * math/s_ccoshf.c: Likewise.
19832 * math/s_ccoshl.c: Likewise.
19833 * math/s_csin.c: Likewise.
19834 * math/s_csinf.c: Likewise.
19835 * math/s_csinl.c: Likewise.
19836 * math/s_csinh.c: Likewise.
19837 * math/s_csinhf.c: Likewise.
19838 * math/s_csinhl.c: Likewise.
19839 * math/libm-test.inc (ccos_test): Add more tests.
19840 (ccosh_test): Likewise.
19841 (csin_test): Likewise.
19842 (csinh_test): Likewise.
19843 * sysdeps/i386/fpu/libm-test-ulps: Update.
19844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19846 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19848 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19849 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19851 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19853 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19855 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19856 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19857 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19858 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19859 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19860 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19861 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19862 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19863 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19864 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19865 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19866 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19867 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19868 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19869 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19870 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19871 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19872 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19873 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19874 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19875 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19876 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19877 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19878 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19879 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19880 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19881 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19882 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19883 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19884 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19885 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19887 2012-05-18 Andreas Jaeger <aj@suse.de>
19889 * csu/.gitignore: Delete.
19891 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19893 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19894 (timex): Use __syscall_slong_t.
19896 2012-05-18 Andreas Jaeger <aj@suse.de>
19897 Carlos O'Donell <carlos_odonell@mentor.com>
19899 * manual/install.texi (Configuring and compiling): Update
19900 description about files modified in the source directory.
19901 * INSTALL: Regenerated.
19903 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19905 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19906 value. Use "or" to set return value to -1.
19907 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19908 negate return value.
19910 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19912 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19913 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19914 failure if the compiler has Graphite support disabled.
19915 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19917 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19918 CFLAGS-memmove.c): Likewise.
19919 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19922 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19924 * sysdeps/x86_64/x32/_itoa.h: New file.
19926 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19927 getdents system call only if kernel and user dirents have the
19928 same d_ino and d_off.
19930 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19931 LLONG_MAX != LONG_MAX.
19932 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19933 (_fitoa_word): Likewise.
19935 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19937 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19938 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19939 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19941 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19942 include <bits/wordsize.h>. Check __x86_64__ instead of
19944 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19945 if __x86_64__ is defined. Use anonymous union on fpstate.
19947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19950 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19952 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19953 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19954 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19955 Refer to _rtld_local_ro instead of _rtld_global_ro.
19956 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19958 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19960 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19962 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19963 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19964 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19966 * sysdeps/powerpc/powerpc32/dl-machine.c
19967 (__elf_machine_runtime_setup) [PROF]: Don't reference
19970 2012-05-18 Andreas Jaeger <aj@suse.de>
19972 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19973 function only available for GCCs before 3.4 since GCC 3.4
19974 introduced a builtin.
19976 (llrintf): Likewise.
19977 (llrint): Likewise.
19984 (nearbyint): Likewise.
19985 (nearbyintf): Likewise.
19989 (floorf): Likewise.
19991 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19993 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19994 on both fields and cast pointer to __syscall_ulong_t.
19996 * bits/types.h (__fsword_t): New type.
19997 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19998 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20000 (__FSWORD_T_TYPE): Likewise.
20001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20002 (__FSWORD_T_TYPE): Likewise.
20003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20004 (__FSWORD_T_TYPE): Likewise.
20005 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20006 (__FSWORD_T_TYPE): Likewise.
20007 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20008 __SWORD_TYPE with __fsword_t.
20009 (statfs64): Likewise.
20011 2012-05-17 David S. Miller <davem@davemloft.net>
20013 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20015 2012-05-17 Andreas Jaeger <aj@suse.de>
20017 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20020 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20022 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20024 2012-05-17 Andreas Jaeger <aj@suse.de>
20026 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20029 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20031 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20033 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20035 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20036 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20038 2012-05-17 Andreas Jaeger <aj@suse.de>
20039 Carlos O'Donell <carlos_odonell@mentor.com>
20042 * sysdeps/x86_64/multiarch/init-arch.h
20043 (bit_YMM_Usable): Rename to...
20044 (bit_AVX_Usable): ... this.
20045 (bit_FMA4_Usable): New macro.
20046 (bit_XMM_state): New macro.
20047 (bit_YMM_state): New macro.
20048 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20049 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20050 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20051 (CPUID_OSXSAVE): New macro.
20052 (CPUID_AVX): New macro.
20053 (CPUID_FMA4): New macro.
20054 (index_YMM_Usable): Rename to...
20055 (index_AVX_Usable): ... this.
20056 (HAS_AVX): Use HAS_ARCH_FEATURE.
20057 (HAS_FMA4): Likewise.
20058 (HAS_YMM_USABLE): Remove.
20059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20060 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20062 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20063 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20064 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20065 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20066 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20068 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20070 * math/libm-test.c: Support platforms without multiple rounding modes.
20071 * math/bug-nextafter.c: Support platforms without FP exceptions.
20072 * math/bug-nexttoward.c: Likewise.
20073 * math/test-fenv.c: Likewise.
20074 * math/test-misc.c: Likewise.
20075 * stdlib/bug-getcontext.c: Likewise.
20077 2012-05-17 Andreas Jaeger <aj@suse.de>
20079 * manual/examples/search.c (critter_cmp): Change signature to
20081 * manual/string.texi (Collation Functions): Likewise.
20083 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20085 * bits/types.h: Fold copyright years.
20086 * bits/typesizes.h: Likewise.
20087 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20089 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20091 * time/time.h: Likewise.
20093 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20096 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20097 in instead of returning them. Return void.
20098 (__libc_mallinfo): Accumulate over all arenas.
20099 (__malloc_stats): Adjust for change in int_mallinfo interface.
20101 2012-05-16 Roland McGrath <roland@hack.frob.com>
20104 * configure.in (NM): Add AC_CHECK_TOOL for it.
20105 (libc_extra_cflags): New substituted variable.
20106 Check for -fstack-protector being used implicitly.
20107 * configure: Regenerated.
20108 * config.make.in (config-extra-cflags): New variable,
20109 gets @libc_extra_cflags@.
20110 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20113 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20114 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20115 * configure: Regenerated.
20116 * config.make.in (CPPUNDEFS): New substituted variable.
20117 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20118 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20119 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20121 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20123 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20124 (mq_attr): Use __syscall_slong_t.
20126 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20128 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20129 Check __x86_64__ instead of __WORDSIZE.
20130 (_STAT_VER_LINUX): Likewise.
20131 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20132 __syscall_ulong_t and __syscall_slong_t.
20133 (stat64): Likewise.
20135 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20137 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20139 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20141 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20143 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20145 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20148 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20149 include <bits/wordsize.h>. Check __x86_64__ instead of
20151 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20153 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20155 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20156 include <bits/wordsize.h>. Check __x86_64__ instead of
20158 (user_regs_struct): Use "__extension__ unsigned long long"
20159 instead of "unsigned long" if __x86_64__ is defined.
20160 (user): Likewise. Pad after pointer field if __ILP32__ is
20163 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20165 * configure.in (makeinfo): Require version 4.5 or later. Allow
20167 * configure: Regenerated.
20168 * manual/install.texi (texinfo): Increase version requirement to
20170 * INSTALL: Regenerated.
20172 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20174 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20176 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20178 * sysdeps/x86_64/x32/ffs.c: New file.
20180 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20182 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20183 defined. Use __syscall_ulong_t.
20184 (shminfo): Use __syscall_ulong_t.
20185 (shm_info): Likewise.
20187 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20190 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20192 (msgqnum_t): Use __syscall_ulong_t.
20193 (msglen_t): Likewise.
20194 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20197 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20198 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20200 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20202 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20203 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20205 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20208 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20209 include <bits/wordsize.h>. Check __x86_64__ instead of
20212 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20213 "unsigned long long int" if __x86_64__ is defined.
20214 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20216 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20217 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20218 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20220 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20222 (GET_PC): Cast to uintptr_t first.
20223 (GET_FRAME): Likewise.
20224 (GET_STACK): Likewise.
20226 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20227 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20228 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20229 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20230 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20231 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20232 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20233 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20234 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20235 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20236 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20237 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20238 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20240 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20241 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20242 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20243 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20244 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20245 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20246 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20247 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20248 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20249 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20250 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20251 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20252 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20253 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20254 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20256 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20258 * Makerules (+depfiles): Also collect depfiles from .oS in
20260 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20261 .oS, $(libnldbl-routines)).
20263 * Makerules (native-compile-mkdep-flags): Define.
20264 * sunrpc/Makefile (extra-objs): Add $(addprefix
20265 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20266 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20267 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20268 calling $(make-target-directory).
20270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20272 * bits/types.h (__snseconds_t): Removed.
20273 * time/time.h (struct timespec): Replace __snseconds_t with
20275 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20276 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20279 (__SNSECONDS_T_TYPE): Likewise.
20280 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20281 (__SNSECONDS_T_TYPE): Likewise.
20282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20283 (__SNSECONDS_T_TYPE): Likewise.
20285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20287 * sysdeps/mach/hurd/bits/typesizes.h
20288 (__SYSCALL_SLONG_TYPE): New macro.
20289 (__SYSCALL_ULONG_TYPE): Likewise.
20291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20293 * bits/types.h (__syscall_slong_t): New type.
20294 (__syscall_ulong_t): Likewise.
20296 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20297 (__SYSCALL_ULONG_TYPE): Likewise.
20298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20299 (__SYSCALL_SLONG_TYPE): Likewise.
20300 (__SYSCALL_ULONG_TYPE): Likewise.
20301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20302 (__SYSCALL_SLONG_TYPE): Likewise.
20303 (__SYSCALL_ULONG_TYPE): Likewise.
20304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20305 (__SYSCALL_SLONG_TYPE): Likewise.
20306 (__SYSCALL_ULONG_TYPE): Likewise.
20308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20310 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20311 Add sigaltstack-offsets.sym.
20312 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20313 <sigaltstack-offsets.h>.
20314 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20315 longjmp_msg pointer.
20316 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20317 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20319 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20321 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20323 * elf/stackguard-macros.h: Remove file.
20324 * sysdeps/generic/stackguard-macros.h: New file.
20325 * sysdeps/i386/stackguard-macros.h: Likewise.
20326 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20327 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20328 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20329 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20330 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20331 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20332 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20333 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20334 <elf/stackguard-macros.h>.
20337 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20338 __aligned__ in attribute.
20339 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20340 (gregset_t): Likewise.
20342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20344 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20345 * sysdeps/x86_64/64/Implies-after: Here. New file.
20346 * sysdeps/x86_64/x32/Implies-after: New file.
20348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20350 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20351 and access return value for _dl_profile_fixup. Use R10_LP to
20354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20356 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20360 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20361 * sysdeps/x86_64/x32/sysdep.h: New file.
20363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20365 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20366 * sysdeps/x86_64/setjmp.S: Likewise.
20368 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20370 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20371 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20372 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20373 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20374 remove unused global constant.
20376 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20378 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20379 include of <not-cancel.h>.
20381 2012-05-15 Roland McGrath <roland@hack.frob.com>
20383 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20385 2012-05-15 Jeff Law <law@redhat.com>
20386 Andreas Jaeger <aj@suse.de>
20389 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20391 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20392 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20393 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20394 code changing __hst_map_handle.map.
20396 2012-05-15 Roland McGrath <roland@hack.frob.com>
20398 * configure.in (sysnames): Look for Implies-before and Implies-after
20400 * configure: Regenerated.
20402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20404 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20405 8-byte data alignment with LP_SIZE alignment.
20407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20409 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20414 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20418 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20419 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20420 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20422 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20426 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20427 (stackinfo_sub_sp): Likewise.
20429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20431 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20436 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20441 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20446 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20450 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20451 into R11_LP and load __x86_64_shared_cache_size_half into
20454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20456 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20459 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20468 powerpc32/power7/fpu/s_logb.c via #include.
20469 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20470 powerpc32/power7/fpu/s_logbf.c via #include.
20471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20472 powerpc32/power7/fpu/s_logbl.c via #include.
20474 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20476 * README.libm: Remove file.
20478 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20480 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20481 count for x32. Use R*_LP and omit operand-size suffix.
20483 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20485 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20486 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20487 * sysdeps/x86_64/x32/shlib-versions: New file.
20489 2012-05-14 Roland McGrath <roland@hack.frob.com>
20491 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20492 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20493 Use _dl_fatal_printf instead.
20495 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20497 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20498 set if not set by the user. Do not allow for being unset.
20499 * sysdeps/unix/sysv/linux/configure: Regenerated.
20501 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20503 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20504 the `q' suffix from lea and replace .quad with ASM_ADDR.
20506 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20509 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20511 (PTR_DEMANGLE): Likewise.
20513 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20515 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20517 (ASM_ADDR): Likewise.
20518 (RAX_LP): Likewise.
20519 (RBP_LP): Likewise.
20520 (RBX_LP): Likewise.
20521 (RCX_LP): Likewise.
20522 (RDI_LP): Likewise.
20523 (RSI_LP): Likewise.
20524 (RSP_LP): Likewise.
20527 (R10_LP): Likewise.
20528 (R10_LP): Likewise.
20529 (R11_LP): Likewise.
20530 (R12_LP): Likewise.
20531 (R13_LP): Likewise.
20532 (R14_LP): Likewise.
20533 (R15_LP): Likewise.
20535 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20537 * sysdeps/x86_64/x32/dl-machine.h: New file.
20539 2012-05-14 Andreas Jaeger <aj@suse.de>
20541 * manual/Makefile (subdir): Remove export of subdir.
20542 (all): Remove target.
20543 (.PHONY): Remove all from list.
20544 (mkinstalldirs): Remove.
20545 (.PHONY): Remove installdirs from list.
20546 ($(inst_infodir)/libc.info): Use make-target-directory.
20547 (installdirs): Remove.
20548 (subdir_%): Remove.
20549 (glibc-targets): Remove.
20552 ($(objpfx)stubs ../po/manual.pot): Remove.
20553 ($(objpfx)stamp%): Remove.
20554 (make-target-directory): Remove.
20555 (subdir_install): Remove.
20556 (routines): Remove.
20563 * manual/.gitignore: Remove, it's not needed anymore.
20564 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20566 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20568 (texis): Renamed to $(objpfx)texis.
20569 (texis-path): New, contains path to generated files.
20570 (chapters.%): Use texis-path for complete path, add extra argument
20572 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20573 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20574 (summary,texi, stamp-summary): Use complete path of
20575 files. Generate files in build dir.
20576 (dir-add.texi): Build in build dir.
20577 (libm-err.texi,stamp-libm-err): Likewise.
20578 (version.texi, stamp-version): Likewise.
20579 (.%c.texi): Likewise.
20580 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20581 (mostlyclean): Remove target.
20582 (realclean): Remove target.
20583 (generated): Add new variable with contents from mostlyclean and
20584 realclean, remove entries duplicated in common-mostlyclean, add
20585 stamp-libm-err and stamp-version.
20586 (generated-dirs): Add libc directory.
20587 ($(inst_infodir)/libc.info): Install files from build dir.
20589 * manual/install.texi (Configuring and compiling): Adjust since
20590 the info files are not part of the tar ball anymore.
20592 2012-05-14 Andreas Jaeger <aj@suse.de>
20594 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20597 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20600 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20601 to 2.2.0 where earlier.
20602 * sysdeps/unix/sysv/linux/configure: Regenerated.
20603 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20604 Remove conditional code.
20605 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20606 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20607 Remove conditional code.
20608 [!__NR_lchown]: Likewise.
20609 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20610 [__NR_lchown]: Likewise.
20611 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20612 comment referencing __ASSUME_LCHOWN_SYSCALL.
20613 * sysdeps/unix/sysv/linux/i386/sigaction.c
20614 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20615 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20616 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20617 Remove conditional code.
20618 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20619 (__protocol_available): Remove #if 0 code.
20620 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20622 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20623 * sysdeps/unix/sysv/linux/kernel-features.h
20624 (__ASSUME_GETCWD_SYSCALL): Don't define.
20625 (__ASSUME_REALTIME_SIGNALS): Likewise.
20626 (__ASSUME_PREAD_SYSCALL): Likewise.
20627 (__ASSUME_PWRITE_SYSCALL): Likewise.
20628 (__ASSUME_POLL_SYSCALL): Likewise.
20629 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20630 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20632 (__ASSUME_SIOCGIFNAME): Don't define.
20633 (__ASSUME_MSG_NOSIGNAL): Likewise.
20634 (__ASSUME_SENDFILE): Define unconditionally.
20635 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20636 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20638 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20639 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20640 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20641 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20642 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20643 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20644 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20646 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20649 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20650 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20655 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20658 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20661 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20664 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20667 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20669 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20670 Remove conditional code.
20671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20672 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20673 Remove conditional code.
20674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20675 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20676 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20677 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20678 Remove conditional code.
20679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20680 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20681 Remove conditional code.
20682 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20683 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20684 Remove conditional code.
20685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20686 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20687 Remove conditional code.
20688 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20689 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20690 Remove conditional code.
20691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20692 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20693 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20695 * sysdeps/unix/sysv/linux/sigaction.c
20696 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20697 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20698 * sysdeps/unix/sysv/linux/sigpending.c
20699 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20700 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20701 * sysdeps/unix/sysv/linux/sigprocmask.c
20702 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20703 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20704 * sysdeps/unix/sysv/linux/sigsuspend.c
20705 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20706 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20707 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20708 (__libc_missing_rt_sigs): Remove.
20709 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20710 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20711 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20712 Remove conditional code.
20713 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20714 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20716 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20717 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20718 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20719 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20721 2012-05-14 Andreas Jaeger <aj@suse.de>
20723 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20724 it's not used in glibc.
20725 (__coshm1): Likewise.
20726 (__acosh1p): Likewise.
20729 * manual/string.texi (Copying and Concatenation): Add missing
20730 variable in concat example.
20731 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20733 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20736 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20737 __builtin_clzl with __builtin_clzll.
20739 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20742 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20745 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20747 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20748 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20749 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20750 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20752 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20754 * NEWS: Update ia64 info.
20756 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20758 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20761 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20763 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20764 * sysdeps/unix/syscalls.list (dup3): Likewise.
20765 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20766 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20768 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20770 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20771 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20773 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20775 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20777 (TLS_IE): Use mov/add instead of movq/addq to load thread
20779 (TLS_GD_PREFIX): New.
20782 2012-05-11 David S. Miller <davem@davemloft.net>
20784 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20785 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20786 (_FPU_SETCW): Likewise.
20788 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20790 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20791 is 32-byte aligned.
20793 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20796 * iconvdata/gb18030.c: Update tables.
20797 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20798 characters specially.
20799 (BODY for TO_LOOP): Add encoding of missing ranges.
20801 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20804 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20805 * sysdeps/mach/hurd/dup3.c: Likewise.
20806 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20807 * sysdeps/powerpc/memmove.c:: Likewise.
20809 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20812 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20814 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20816 * elf/elf.h (R_X86_64_RELATIVE64): New.
20817 (R_X86_64_NUM): Updated.
20818 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20819 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20820 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20821 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20822 tst-quad1pie tst-quad2pie
20823 (modules-names): Add tst-quadmod1 tst-quadmod2.
20824 ($(objpfx)tst-quad1): New dependency.
20825 ($(objpfx)tst-quad2): Likewise.
20826 ($(objpfx)tst-quad1pie): Likewise.
20827 ($(objpfx)tst-quad2pie): Likewise.
20828 * sysdeps/x86_64/tst-quad1.c: New file.
20829 * sysdeps/x86_64/tst-quad1pie.c: New file.
20830 * sysdeps/x86_64/tst-quad2.c: Likewise.
20831 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20832 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20833 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20834 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20835 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20837 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20839 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20840 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20841 * streams/stropts.h (t_scalar_t): Define type.
20843 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20844 (_PATH_PRESERVE): Set to "/var/lib".
20845 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20847 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20850 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20851 if __dir_mkfile succeeded.
20853 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20854 checking for _hurd_dtablesize. Unlock it right after having
20855 finished _hurd_dtable allocation.
20857 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20859 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20860 * sysdeps/mach/hurd/configure: Regenerated.
20861 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20862 special-casing to...
20863 * sysdeps/gnu/configure.in: ... this new file.
20864 * sysdeps/unix/sysv/linux/configure: Regenerated.
20865 * sysdeps/gnu/configure: New generated file.
20867 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20868 for Linux: use nsec instead of usec, as well as:
20869 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20870 members of type struct timespec.
20871 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20873 (struct stat64): Likewise.
20874 (_STATBUF_ST_NSEC): New macro.
20875 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20877 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20878 __strtoul_internal rather than strtoul.
20880 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20882 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20885 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20887 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20888 which preserves existing values.
20889 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20891 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20893 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20894 TIMEOUT values. Return EINVAL for NFDS values either negative or
20895 greater than FD_SETSIZE.
20897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20899 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20900 allocated, call __vm_protect to finish enabling the existing space, and
20901 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20902 allocate the remainder.
20904 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20906 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20907 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20911 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20912 sysdeps/mach/hurd/readlink.c.
20914 * posix/tst-sysconf.c (posix_options): Only use
20915 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20916 _POSIX_SYNCHRONIZED_IO when they are defined
20917 * sysdeps/mach/hurd/bits/posix_opt.h:
20918 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20919 (_XOPEN_REALTIME): Undefine macro.
20920 (_XOPEN_REALTIME_THREADS): Undefine macro.
20921 (_XOPEN_SHM): Undefine macro.
20922 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20924 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20926 (_POSIX_ASYNC_IO): Undefine macro.
20927 (_POSIX_PRIORITIZED_IO): Undefine macro.
20928 (_POSIX_SPIN_LOCKS): Define macro to -1.
20930 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20931 SA_NODEFER, SA_RESETHAND.
20932 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20933 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20938 * elf/Makefile (pldd-modules): Define unconditionally.
20940 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20942 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20946 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20947 Return ENOENT when name is empty.
20948 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20950 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20952 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20954 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20956 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20958 Fix mlock in all cases except non-readable pages.
20959 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20960 instead of VM_PROT_ALL as parameter to __vm_wire function.
20962 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20963 (__mkdir): When path is `/', just fail with EEXIST.
20964 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20966 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20968 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20969 <sys/uio.h> (for writev).
20970 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20971 and <sys/param.h> (for MIN).
20973 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20975 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20976 REQUESTED_TIME. Properly set the remaining time and return EINTR
20979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20981 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20982 Depend on against $(link-rpcuserlibs).
20984 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20986 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20987 (__libc_stack_end): Do not use attribute_relro.
20988 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20989 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20990 to libthread-provided value.
20991 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20994 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20997 * bits/libc-lock.h (__libc_once_get): New macro.
20998 * sysdeps/mach/bits/libc-lock.h: Likewise.
20999 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21000 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21001 instead of using implementation details.
21003 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21004 * libio/freopen.c: Likewise.
21005 * libio/freopen64.c: Likewise.
21006 * misc/syslog.c: Likewise.
21007 * nscd/connections.c: Likewise.
21008 * nscd/netgroupcache.c: Likewise.
21009 * sysdeps/posix/getcwd.c: Likewise.
21011 2012-05-10 Roland McGrath <roland@hack.frob.com>
21013 * math/w_ilogbf.c: Add #include <limits.h>.
21015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21017 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21018 path instead of returning without unlocking.
21020 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21021 immediate-write ioctls.
21022 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21024 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21026 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21027 __builtin_frame_address instead of making assumptions about the
21028 location of the return address relative to DATA. Force early load of
21029 the return address.
21030 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21031 __builtin_frame_address.
21034 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21035 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21036 implement dup3 and do some further code clean-ups.
21037 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21038 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21042 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21044 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21045 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21046 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21047 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21048 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21051 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21052 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21053 when handler == SIG_ERR, not when handler != SIG_ERR.
21055 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21057 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21058 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21061 accept4 for GNU Hurd.
21062 * include/sys/socket.h (__libc_accept4): New prototype.
21063 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21064 to implement __libc_accept4.
21065 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21067 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21069 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21070 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21071 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21072 signal-defines.sym.
21074 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21076 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21080 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21081 assertion on O_CLOEXEC flag.
21082 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21083 * hurd/intern-fd.c: Likewise.
21084 * hurd/port2fd.c: Likewise.
21086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21089 * bits/in.h (IPV6_PKTINFO): Define new macro.
21090 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21092 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21097 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21098 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21099 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21100 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21102 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21103 * math/libm-test.inc (logb_test) : Additional logb tests.
21105 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21106 Andreas Jaeger <aj@suse.de>
21108 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21109 * configure: Regenerated.
21110 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21111 * config.make.in (link-obsolete-rpc): New substituted variable.
21112 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21113 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21114 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21115 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21116 so that libc.a contains the symbols.
21117 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21118 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21119 * sunrpc/auth_none.c: Likewise.
21120 * sunrpc/auth_unix.c: Likewise.
21121 * sunrpc/authdes_prot.c: Likewise.
21122 * sunrpc/authuxprot.c: Likewise.
21123 * sunrpc/clnt_gen.c: Likewise.
21124 * sunrpc/clnt_perr.c: Likewise.
21125 * sunrpc/clnt_raw.c: Likewise.
21126 * sunrpc/clnt_simp.c: Likewise.
21127 * sunrpc/clnt_tcp.c: Likewise.
21128 * sunrpc/clnt_udp.c: Likewise.
21129 * sunrpc/clnt_unix.c: Likewise.
21130 * sunrpc/des_crypt.c: Likewise.
21131 * sunrpc/des_soft.c: Likewise.
21132 * sunrpc/get_myaddr.c: Likewise.
21133 * sunrpc/key_call.c: Likewise.
21134 * sunrpc/key_prot.c: Likewise.
21135 * sunrpc/netname.c: Likewise.
21136 * sunrpc/pm_getmaps.c: Likewise.
21137 * sunrpc/pm_getport.c: Likewise.
21138 * sunrpc/pmap_clnt.c: Likewise.
21139 * sunrpc/pmap_prot.c: Likewise.
21140 * sunrpc/pmap_prot2.c: Likewise.
21141 * sunrpc/pmap_rmt.c: Likewise.
21142 * sunrpc/publickey.c: Likewise.
21143 * sunrpc/rpc_cmsg.c: Likewise.
21144 * sunrpc/rpc_common.c: Likewise.
21145 * sunrpc/rpc_dtable.c: Likewise.
21146 * sunrpc/rpc_prot.c: Likewise.
21147 * sunrpc/rpc_thread.c: Likewise.
21148 * sunrpc/rtime.c: Likewise.
21149 * sunrpc/svc.c: Likewise.
21150 * sunrpc/svc_auth.c: Likewise.
21151 * sunrpc/svc_raw.c: Likewise.
21152 * sunrpc/svc_run.c: Likewise.
21153 * sunrpc/svc_tcp.c: Likewise.
21154 * sunrpc/svc_udp.c: Likewise.
21155 * sunrpc/svc_unix.c: Likewise.
21156 * sunrpc/svcauth_des.c: Likewise.
21157 * sunrpc/xcrypt.c: Likewise.
21158 * sunrpc/xdr.c: Likewise.
21159 * sunrpc/xdr_array.c: Likewise.
21160 * sunrpc/xdr_float.c: Likewise.
21161 * sunrpc/xdr_intXX_t.c: Likewise.
21162 * sunrpc/xdr_mem.c: Likewise.
21163 * sunrpc/xdr_rec.c: Likewise.
21164 * sunrpc/xdr_ref.c: Likewise.
21165 * sunrpc/xdr_sizeof.c: Likewise.
21166 * sunrpc/xdr_stdio.c: Likewise.
21168 2012-05-10 Roland McGrath <roland@hack.frob.com>
21170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21171 change. Update copyright years.
21173 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21175 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21177 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21178 Joseph Myers <joseph@codesourcery.com>
21179 Paul Pluzhnikov <ppluzhnikov@google.com>
21182 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21184 [cross-compiling] (extra-libs): Likewise.
21185 [cross-compiling] (extra-libs-others): Likewise.
21186 [cross-compiling] (librpcsvc-routines): Likewise.
21187 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21188 [cross-compiling] (omit-deps): Likewise.
21189 (sunrpc-CPPFLAGS): New variable.
21190 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21191 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21192 (cross-rpcgen-objs): New variable.
21193 (extra-objs): Append $(cross-rpcgen-objs).
21194 ($(cross-rpcgen-objs)): New rule.
21195 ($(objpfx)cross-rpcgen): Likewise.
21196 (rpcgen-cmd): Define to use $(built-program-file). Expand
21198 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21199 ($(objpfx)x%.stmp): Likewise.
21200 * sunrpc/proto.h [IS_IN_build] (_): Define.
21201 [IS_IN_build] (_libc_intl_domainname): Likewise.
21203 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21205 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21206 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21207 and R_X86_64_TPOFF64.
21209 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21211 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21212 sysdeps/unix/sysv/syscalls.list.
21215 * sysdeps/unix/sysv/syscalls.list: Remove file.
21217 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21220 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21221 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21222 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21223 (__LC_IDENTIFICATION): Make these macros useful in #if
21224 expressions, as required by C99.
21226 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21228 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21229 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21232 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21234 * stdlib/longlong.h: Updated from GCC.
21236 2012-05-09 Andreas Jaeger <aj@suse.de>
21238 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21239 default is first entry.
21240 (run_mode): Set type.
21241 (main): Remove informal message about syslog.
21242 (options): Fix typo.
21245 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21248 (llrintf): Likewise.
21249 (llrint): Likewise.
21252 (nearbyint): Likewise.
21253 (nearbyintf): Likewise.
21255 2012-05-09 Andreas Jaeger <aj@suse.de>
21256 Pedro Alves <palves@redhat.com>
21258 * nscd/nscd.c (run_mode): Use enum.
21259 (main): Cleanup coding style issue.
21261 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21262 Andreas Jaeger <aj@suse.de>
21264 * nscd/nscd.c (go_background): Replaced with...
21265 (run_mode): ... this.
21266 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21267 (options): Add -F --foreground.
21268 (main): Implement it.
21269 (parse_opt): Parse it.
21271 2012-05-09 Andreas Jaeger <aj@suse.de>
21274 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21275 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21276 -Wconversion warning.
21277 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21280 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21282 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21284 (LC_ALL): Use macro-int-constant.
21285 (LC_COLLATE): Likewise.
21286 (LC_CTYPE): Likewise.
21287 (LC_MESSAGES): Likewise.
21288 (LC_MONETARY): Likewise.
21289 (LC_NUMERIC): Likewise.
21290 (LC_TIME): Likewise.
21291 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21292 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21293 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21294 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21296 [C99-based standards] (float_t): Expect type.
21297 [C99-based standards] (double_t): Expect type.
21298 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21300 [C99-based standards] (HUGE_VALL): Likewise.
21301 [C99-based standards] (INFINITY): Likewise.
21302 [C99-based standards] (NAN): Likewise.
21303 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21304 [C99-based standards] (FP_NAN): Likewise.
21305 [C99-based standards] (FP_NORMAL): Likewise.
21306 [C99-based standards] (FP_SUBNORMAL): Likewise.
21307 [C99-based standards] (FP_ZERO): Likewise.
21308 [C99-based standards] (FP_FAST_FMA): Use
21309 optional-macro-int-constant. Specify type. Require == 1.
21310 [C99-based standards] (FP_FAST_FMAF): Likewise.
21311 [C99-based standards] (FP_FAST_FMAL): Likewise.
21312 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21313 [C99-based standards] (FP_ILOGBNAN): Likewise.
21314 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21316 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21317 [C99-based standards] (math_errhandling): Specify type.
21318 [ISO99 || ISO11] (signgam): Do not allow.
21319 [non-C99-based standards] (copysignf): Do not allow.
21320 [non-C99-based standards] (exp2f): Likewise.
21321 [non-C99-based standards] (log2f): Likewise.
21322 [non-C99-based standards] (modff): Allow.
21323 [non-C99-based standards] (erff): Do not allow.
21324 [non-C99-based standards] (erfcf): Likewise.
21325 [non-C99-based standards] (gammaf): Likewise.
21326 [non-C99-based standards] (hypotf): Likewise.
21327 [non-C99-based standards] (j0f): Likewise.
21328 [non-C99-based standards] (j1f): Likewise.
21329 [non-C99-based standards] (jnf): Likewise.
21330 [non-C99-based standards] (lgammaf): Likewise.
21331 [non-C99-based standards] (tgammaf): Likewise.
21332 [non-C99-based standards] (y0f): Likewise.
21333 [non-C99-based standards] (y1f): Likewise.
21334 [non-C99-based standards] (ynf): Likewise.
21335 [non-C99-based standards] (isnanf): Likewise.
21336 [non-C99-based standards] (acoshf): Likewise.
21337 [non-C99-based standards] (asinhf): Likewise.
21338 [non-C99-based standards] (atanhf): Likewise.
21339 [non-C99-based standards] (cbrtf): Likewise.
21340 [non-C99-based standards] (expm1f): Likewise.
21341 [non-C99-based standards] (ilogbf): Likewise.
21342 [non-C99-based standards] (log1pf): Likewise.
21343 [non-C99-based standards] (logbf): Likewise.
21344 [non-C99-based standards] (nextafterf): Likewise.
21345 [non-C99-based standards] (remainderf): Likewise.
21346 [non-C99-based standards] (rintf): Likewise.
21347 [non-C99-based standards] (scalbf): Likewise.
21348 [non-C99-based standards] (copysignl): Likewise.
21349 [non-C99-based standards] (exp2l): Likewise.
21350 [non-C99-based standards] (log2l): Likewise.
21351 [non-C99-based standards] (modfl): Allow.
21352 [non-C99-based standards] (erfl): Do not allow.
21353 [non-C99-based standards] (erfcl): Likewise.
21354 [non-C99-based standards] (gammal): Likewise.
21355 [non-C99-based standards] (hypotl): Likewise.
21356 [non-C99-based standards] (j0l): Likewise.
21357 [non-C99-based standards] (j1l): Likewise.
21358 [non-C99-based standards] (jnl): Likewise.
21359 [non-C99-based standards] (lgammal): Likewise.
21360 [non-C99-based standards] (tgammal): Likewise.
21361 [non-C99-based standards] (y0l): Likewise.
21362 [non-C99-based standards] (y1l): Likewise.
21363 [non-C99-based standards] (ynl): Likewise.
21364 [non-C99-based standards] (isnanl): Likewise.
21365 [non-C99-based standards] (acoshl): Likewise.
21366 [non-C99-based standards] (asinhl): Likewise.
21367 [non-C99-based standards] (atanhl): Likewise.
21368 [non-C99-based standards] (cbrtl): Likewise.
21369 [non-C99-based standards] (expm1l): Likewise.
21370 [non-C99-based standards] (ilogbl): Likewise.
21371 [non-C99-based standards] (log1pl): Likewise.
21372 [non-C99-based standards] (logbl): Likewise.
21373 [non-C99-based standards] (nextafterl): Likewise.
21374 [non-C99-based standards] (remainderl): Likewise.
21375 [non-C99-based standards] (rintl): Likewise.
21376 [non-C99-based standards] (scalbl): Likewise.
21377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21378 [non-C99-based standards] (FP_*): Do not allow.
21379 [C99-based standards] (FP_*): Change to
21380 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21381 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21383 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21384 (SIG_ERR): Likewise.
21385 [X/Open-based standards] (SIG_HOLD): Likewise.
21386 (SIG_IGN): Likewise.
21387 (SIGABRT): Use macro-int-constant. Specify type. Require
21389 (SIGFPE): Likewise.
21390 (SIGILL): Likewise.
21391 (SIGINT): Likewise.
21392 (SIGSEGV): Likewise.
21393 (SIGTER): Likewise.
21394 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21395 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21396 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21397 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21398 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21399 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21400 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21401 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21402 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21403 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21404 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21405 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21406 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21407 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21408 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21409 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21410 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21411 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21412 [X/Open-based standards] (SIGTRAP): Likewise.
21413 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21414 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21415 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21416 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21417 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21420 2012-05-08 Ian Wienand <ianw@vmware.com>
21423 * time/tzset.c (__tzset_parse_tz): Update default rules for
21424 daylight time changes in the Energy Policy Act of 2005.
21426 2012-05-09 Andreas Jaeger <aj@suse.de>
21429 * elf/ldconfig.c (parse_conf): Change string to make clear that
21430 ldconfig only issued a warning if ld.so.conf does not exist.
21432 2012-05-08 David S. Miller <davem@davemloft.net>
21434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21435 movxtod instead of popping the value on the stack.
21437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21439 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21441 * config.h.in: Add HAVE_ARM_PCS_VFP.
21443 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21446 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21447 checking but the checks are disabled for any reason.
21449 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21451 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21452 and ELF64_R_TYPE with ELFW(R_TYPE).
21454 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21456 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21457 (ulimit): Likewise.
21459 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21460 (settimeofday): Likewise.
21462 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21464 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21465 a struct th_u2 inside the union, and move tu_block/tu_code into
21466 a new th_u3 union of tu_block/tu_code inside of that. Move
21467 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21468 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21469 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21470 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21471 (th_stuff): Change to th_u1.tu_stuff.
21473 (th_msg): Change to th_u1.th_u2.tu_data.
21475 2012-05-07 David S. Miller <davem@davemloft.net>
21477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21480 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21481 (SETUP_PIC_REG): Use it.
21482 (SETUP_PIC_REG_LEAF): Use it.
21484 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21488 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21490 (EXPL_FINITE): Likewise.
21491 (FLDLOG): Likewise.
21492 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21493 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21495 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21497 (EXPL_FINITE): Likewise.
21498 (FLDLOG): Likewise.
21499 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21500 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21502 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21503 test of -max_value argument for long double.
21504 * sysdeps/i386/fpu/libm-test-ulps: Update.
21505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21507 2012-05-06 David S. Miller <davem@davemloft.net>
21509 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21510 quad soft-float symbols whose references which are compiler
21512 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21514 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21518 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21520 (EXPL_FINITE): Likewise.
21521 (FLDLOG): Likewise.
21524 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21525 Adjust comments for base varying.
21526 (__expl_finite): Change alias to EXPL_FINITE.
21527 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21529 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21530 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21531 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21532 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21533 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21535 (EXPL_FINITE): Likewise.
21536 (FLDLOG): Likewise.
21539 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21540 Adjust comments for base varying.
21541 (__expl_finite): Change alias to EXPL_FINITE.
21542 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21547 * math/libm-test.inc (check_float_internal): Correct ulp
21548 calculation for subnormal expected results.
21550 2012-05-06 Andreas Jaeger <aj@suse.de>
21552 * Makeconfig (+math-flags): New, set to -frounding-math.
21553 (+cflags): Add +math-flags so that all of glibc gets compiled with
21556 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21558 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21560 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21566 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21567 (__ieee754_expl): Allow for and saturate large arguments.
21568 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21569 (u_threshold): Likewise.
21570 (__exp): Call __ieee754_exp before checking for overflow and
21572 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21573 (u_threshold): Likewise.
21574 (__expf): Call __ieee754_expf before checking for overflow and
21576 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21577 (u_threshold): Likewise.
21578 (__expl): Call __ieee754_expl before checking for overflow and
21580 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21581 (__ieee754_expl): Allow for and saturate large arguments.
21582 * math/libm-test.inc (exp_test): Add another test. Do not allow
21583 missing overflow exception on overflow.
21584 (expm1_test): Do not allow missing overflow exception on overflow.
21586 * sysdeps/i386/fpu/e_expl.c: Move to ...
21587 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21588 rather than using inline asm.
21589 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21590 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21591 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21593 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21596 (signal): Likewise.
21600 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21602 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21603 sysdeps/unix/common/syscalls.list.
21604 (fchmod): Likewise.
21605 (fchown): Likewise.
21606 (ftruncate): Likewise.
21607 (getrusage): Likewise.
21608 (gettimeofday): Likewise.
21609 (setpgid): Likewise.
21610 (setregid): Likewise.
21611 (setreuid): Likewise.
21612 (sigaction): Likewise.
21613 (truncate): Likewise.
21614 (vhangup): Likewise.
21615 * sysdeps/unix/common/syscalls.list: Remove file.
21616 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21617 * sysdeps/unix/sysv/linux/Implies: Likewise.
21619 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21621 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21623 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21627 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21630 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21633 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21636 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21639 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21642 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21645 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21649 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21653 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21656 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21660 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21664 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21666 * sysdeps/unix/common/bits/dirent.h: Remove file.
21667 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21669 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21670 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21671 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21672 * sysdeps/unix/bsd/isatty.c: Likewise.
21673 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21674 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21675 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21677 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21680 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21681 long double comparison inaccuracies.
21682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21685 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21687 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21690 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21693 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21694 nonzero digits before rounding a hex value.
21695 * stdlib/tst-strtod.c (tests): Add another test.
21697 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21699 * sysdeps/s390/fpu/libm-test-ulps: Update.
21701 2012-05-03 Andreas Jaeger <aj@suse.de>
21703 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21704 does not get optimized out.
21705 (malloc_opt_barrier): New.
21707 2012-05-03 Andreas Jaeger <aj@suse.de>
21708 Roland McGrath <roland@hack.frob.com>
21710 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21711 intermediate file deletion.
21712 (generated): Add .symlist files.
21714 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21717 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21718 Redirect under this condition.
21719 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21720 [__USE_GNU] (__dprintf_chk): Not under this condition.
21721 [__USE_GNU] (__vdprintf_chk): Likewise.
21722 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21723 under this condition.
21724 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21725 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21726 [__USE_XOPEN2K8] (vdprintf): Likewise.
21727 [__USE_GNU] (__dprintf_chk): Not under this condition.
21728 [__USE_GNU] (__vdprintf_chk): Likewise.
21729 [__USE_GNU] (dprintf): Likewise.
21730 [__USE_GNU] (vdprintf): Likewise.
21732 2012-05-03 Roland McGrath <roland@hack.frob.com>
21734 * elf/Makefile (common-generated): Set this instead of generated for
21735 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21736 $(all-built-dso)-derived lists.
21738 2012-05-03 Andreas Jaeger <aj@suse.de>
21740 * sysdeps/i386/fpu/libm-test-ulps: Update.
21743 * FAQ.in: Likewise.
21744 * scripts/gen-FAQ.pl: Likewise.
21745 * manual/install.texi (Installation): Point to online location of
21747 * Makefile (files-for-dist): Remove FAQ.
21750 2012-05-02 Allan McRae <allan@archlinux.org>
21752 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21753 (LDFLAGS-reldepmod5.so): Likewise.
21754 (LDFLAGS-reldep6mod1.so): Likewise.
21755 (LDFLAGS-reldep6mod4.so): Likewise.
21756 (LDFLAGS-reldep8mod3.so): Likewise.
21757 (LDFLAGS-unload4mod1.so): Likewise.
21758 (LDFLAGS-unload4mod2.so): Likewise.
21759 (LDFLAGS-tst-initorder): Likewise.
21760 (LDFLAGS-tst-initordera2.so): Likewise.
21761 (LDFLAGS-tst-initordera3.so): Likewise.
21762 (LDFLAGS-tst-initordera4.so): Likewise.
21763 (LDFLAGS-tst-initorderb2.so): Likewise.
21764 (LDFLAGS-noload): Likewise.
21765 (LDFLAGS-next): Likewise.
21766 (LDFLAGS-order2mod1.so): Likewise.
21767 (LDFLAGS-order2mod2.so): Likewise.
21768 (LDFLAGS-tst-initorder2): Likewise.
21769 (LDFLAGS-tst-initorder2a.so): Likewise.
21770 (LDFLAGS-tst-initorder2b.so): Likewise.
21771 (LDFLAGS-tst-initorder2c.so): Likewise.
21772 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21774 2012-05-02 David S. Miller <davem@davemloft.net>
21776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21778 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21781 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21783 2012-05-02 Andreas Jaeger <aj@suse.de>
21785 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21786 since we manipulate rounding mode.
21787 (CPPFLAGS-test-idouble.c): Likewise.
21788 (CPPFLAGS-test-ifloat.c): Likewise.
21789 (CFLAGS-test-ldouble.c): Likewise.
21790 (CFLAGS-test-double.c): Likewise.
21791 (CFLAGS-test-float.c): Likewise.
21792 (CFLAGS-test-misc.c): Likewise.
21793 (CFLAGS-test-test-fenv.c): Likewise.
21795 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21799 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21800 comparisons to determine direction to adjust input.
21802 2012-05-01 Roland McGrath <roland@hack.frob.com>
21804 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21805 output to the target.
21807 * scripts/localplt.awk: New file.
21808 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21809 (check-localplt-CFLAGS): Variable removed.
21810 ($(all-built-dso:=.jmprel)): New static pattern rule.
21811 (generated): Add those targets.
21812 (localplt-built-dso): New variable.
21813 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21815 * elf/check-localplt.c: File removed.
21817 * scripts/check-execstack.awk: New file.
21818 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21819 (check-execstack-CFLAGS): Variable removed.
21820 ($(objpfx)check-execstack.h): Target removed.
21821 ($(objpfx)execstack-default): New target.
21822 (generated): Add that instead of check-execstack.h.
21823 ($(all-built-dso:=.phdr)): New static pattern rule.
21824 (generated): Add those targets.
21825 * elf/check-execstack.c: File removed.
21827 * scripts/check-textrel.awk: New file.
21828 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21829 (check-textrel-CFLAGS): Variable removed.
21830 (all-built-dso): Use := to define.o
21831 ($(all-built-dso:=.dyn)): New static pattern rule.
21832 (generated): Add those targets.
21833 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21834 * config.make.in (READELF): New substituted variable.
21835 * elf/check-textrel.c: File removed.
21837 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21839 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21841 * conform/data/ctype.h-data [C99-based standards] (isblank):
21843 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21844 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21846 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21847 Specify type. Require positive value.
21848 (EILSEQ): Likewise.
21849 (ERANGE): Likewise.
21850 [ISO || POSIX] (EILSEQ): Do not expect.
21851 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21852 Specify type. Require positive value.
21853 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21854 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21855 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21856 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21857 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21858 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21859 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21860 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21861 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21862 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21863 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21864 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21865 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21866 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21867 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21868 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21869 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21870 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21871 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21872 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21873 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21874 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21875 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21876 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21877 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21878 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21879 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21880 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21881 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21882 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21883 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21884 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21885 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21886 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21887 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21889 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21890 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21891 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21892 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21893 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21894 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21895 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21896 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21898 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21901 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21903 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21904 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21905 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21906 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21907 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21908 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21909 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21910 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21911 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21912 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21913 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21914 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21915 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21916 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21917 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21918 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21919 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21920 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21921 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21922 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21923 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21924 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21925 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21926 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21927 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21928 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21929 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21931 (FLT_ROUNDS): Expect as macro, not constant.
21932 (FLT_MANT_DIG): Use macro-int-constant.
21933 (DBL_MANT_DIG): Likewise.
21934 (LDBL_MANT_DIG): Likewise.
21935 (FLT_DIG): Likewise.
21936 (DBL_DIG): Likewise.
21937 (LDBL_DIG): Likewise.
21938 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21939 (DBL_MIN_EXP): Likewise.
21940 (LDBL_MIN_EXP): Likewise.
21941 (FLT_MAX_EXP): Use macro-int-constant.
21942 (DBL_MAX_EXP): Likewise.
21943 (LDBL_MAX_EXP): Likewise.
21944 (FLT_MAX_10_EXP): Likewise.
21945 (DBL_MAX_10_EXP): Likewise.
21946 (LDBL_MAX_10_EXP): Likewise.
21947 (FLT_MAX): Use macro-constant.
21948 (DBL_MAX): Likewise.
21949 (LDBL_MAX): Likewise.
21950 (FLT_EPSILON): Use macro-constant. Give upper bound.
21951 (DBL_EPSILON): Likewise.
21952 (LDBL_EPSILON): Likewise.
21953 (FLT_MIN): Likewise.
21954 (DBL_MIN): Likewise.
21955 (LDBL_MIN): Likewise.
21956 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21957 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21958 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21959 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21960 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21961 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21962 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21963 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21964 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21965 [ISO11] (FLT_TRUE_MIN): Likewise.
21966 [ISO11] (LDBL_TRUE_MIN): Likewise.
21967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21968 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21969 (SCHAR_MIN): Use macro-int-constant. Specify type.
21970 (SCHAR_MAX): Likewise.
21971 (UCHAR_MAX): Likewise.
21972 (CHAR_MIN): Likewise.
21973 (CHAR_MAX): Likewise.
21974 (MB_LEN_MAX): Use macro-int-constant.
21975 (SHRT_MIN): Use macro-int-constant. Specify type.
21976 (SHRT_MAX): Likewise.
21977 (USHRT_MAX): Likewise.
21978 (INT_MAX): Likewise.
21979 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21981 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21983 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21985 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21986 bound negative. Suffix upper bound with "L".
21987 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21989 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21991 [C99-based standards] (LLONG_MAX): Likewise.
21992 [C99-based standards] (ULLONG_MAX): Likewise.
21993 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21995 [ISO11] (max_align_t): Require type.
21996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21998 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21999 from $CFLAGS, without defining away __attribute__ calls.
22000 (checknamespace): Use $CFLAGS_namespace.
22002 * conform/conformtest.pl (@keywords): Only include C99 keywords
22003 for standards based on C99 or C11.
22005 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22007 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22010 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22011 usability of symbols in #if.
22013 * conform/conformtest.pl: If macro or constant types start
22014 "promoted:", expect the symbol to be of the following type
22015 promoted by the integer promotions.
22017 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22018 in one place. Also handle "macro-constant".
22020 * conform/conformtest.pl: Only accept expected macro values with
22021 "==". Parse all "macro" lines in one place.
22022 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22024 * conform/conformtest.pl: Handle braced types on "constant" lines
22025 instead of handling "typed-constant".
22026 * conform/data/signal.h-data: Use "constant" instead of
22029 * conform/conformtest.pl: Handle "optional-" at start of lines in
22030 one place rather than duplicating several cases. Handle each
22031 format of "macro" line with initial "optional-".
22033 * conform/conformtest.pl: Only accept expected constant or
22034 optional-constant values with "==". Parse all "constant" lines in
22035 one place. Parse all "optional-constant" lines in one place.
22036 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22037 * conform/data/fmtmsg.h-data: Likewise.
22038 * conform/data/netinet/in.h-data: Likewise.
22039 * conform/data/tar.h-data: Likewise.
22040 * conform/data/limits.h-data: Use "==" form on "constant" and
22041 "optional-constant" lines.
22043 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22044 Use -std=c99 for XOPEN2K.
22045 (@knownproblems): Remove.
22046 (newtoken): Don't check %isknown.
22048 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22049 Do not expect macro.
22050 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22051 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22052 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22053 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22054 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22055 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22056 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22057 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22058 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22059 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22060 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22061 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22062 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22063 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22064 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22065 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22066 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22067 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22068 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22069 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22070 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22071 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22072 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22073 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22074 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22075 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22076 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22077 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22078 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22079 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22080 [XPG3] (acosh): Likewise.
22081 [XPG3] (asinh): Likewise.
22082 [XPG3] (atanh): Likewise.
22083 [XPG3] (cbrt): Likewise.
22084 [XPG3] (expm1): Likewise.
22085 [XPG3] (ilogb): Likewise.
22086 [XPG3] (log1p): Likewise.
22087 [XPG3] (logb): Likewise.
22088 [XPG3] (nextafter): Likewise.
22089 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22090 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22091 [XPG3] (remainder): Likewise.
22092 [XPG3] (rint): Likewise.
22093 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22094 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22095 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22096 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22097 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22098 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22099 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22100 [UNIX98 || XOPEN2K] (scalb): Expect.
22101 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22102 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22103 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22104 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22105 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22106 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22107 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22108 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22109 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22110 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22111 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22112 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22113 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22114 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22115 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22116 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22117 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22118 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22119 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22120 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22121 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22122 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22123 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22124 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22125 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22126 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22127 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22128 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22129 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22130 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22131 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22132 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22133 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22134 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22135 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22136 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22137 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22138 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22139 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22140 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22141 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22142 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22143 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22144 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22145 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22146 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22147 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22148 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22149 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22150 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22151 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22152 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22153 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22154 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22155 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22156 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22157 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22158 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22159 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22160 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22161 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22162 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22163 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22164 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22165 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22166 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22167 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22168 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22169 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22170 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22171 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22172 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22173 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22174 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22175 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22176 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22177 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22178 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22179 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22180 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22181 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22182 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22183 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22184 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22185 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22186 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22187 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22188 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22189 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22190 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22191 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22192 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22193 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22194 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22195 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22196 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22197 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22198 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22199 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22200 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22201 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22202 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22203 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22204 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22205 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22206 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22207 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22208 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22209 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22210 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22211 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22212 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22213 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22214 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22215 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22216 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22217 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22218 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22219 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22220 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22221 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22222 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22223 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22224 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22225 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22226 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22227 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22228 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22229 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22230 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22231 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22232 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22233 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22234 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22235 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22236 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22237 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22239 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22240 _XOPEN_SOURCE_EXTENDED for XPG4.
22242 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22244 * Makeconfig (localtime): Remove variable.
22245 (inst_localtime-file): Likewise.
22247 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22268 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22272 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22273 comparisons to determine direction to adjust input.
22274 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22275 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22276 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22278 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22280 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22282 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22283 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22285 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22287 * math/libm-test.inc (nexttoward_test): Add more tests.
22289 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22293 in version GLIBC_2.1, not GLIBC_2.0.
22294 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22297 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22300 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22302 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22303 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22304 * math/libm-test.inc (acos_test): Add more tests.
22305 (asin_test): Likewise.
22306 * sysdeps/i386/fpu/libm-test-ulps: Update.
22307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22310 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22312 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22313 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22314 * math/libm-test.inc (acos_test_tonearest): New function.
22315 (acos_test_towardzero): Likewise.
22316 (acos_test_downward): Likewise.
22317 (acos_test_upward): Likewise.
22318 (asin_test_tonearest): Likewise.
22319 (asin_test_towardzero): Likewise.
22320 (asin_test_downward): Likewise.
22321 (asin_test_upward): Likewise.
22322 (main): Call the new functions.
22323 * sysdeps/i386/fpu/libm-test-ulps: Update.
22324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22328 * math/e_exp10.c: Include <float.h>.
22329 (__ieee754_exp10): Handle underflow here rather than multiplying
22330 large negative argument by M_LN10.
22331 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22333 * math/e_exp10l.c: Include <float.h>.
22334 (__ieee754_exp10l): Handle underflow here rather than multiplying
22335 large negative argument by M_LN10l.
22336 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22337 spurious overflow exception on underflow.
22339 2012-04-29 Marek Polacek <polacek@redhat.com>
22341 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22342 (__fortify_function): New macro.
22343 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22344 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22345 __extern_always_inline.
22346 * libio/bits/stdio2.h: Likewise.
22347 * libio/bits/stdio.h: Likewise.
22348 * string/string.h: Likewise.
22349 * string/bits/string3.h: Likewise.
22350 * include/stdio.h: Likewise.
22351 * stdlib/bits/stdlib.h: Likewise.
22352 * stdlib/stdlib.h: Likewise.
22353 * rt/bits/mqueue2.h: Likewise.
22354 * rt/mqueue.h: Likewise.
22355 * posix/bits/unistd.h: Likewise.
22356 * posix/unistd.h: Likewise.
22357 * io/bits/poll2.h: Likewise.
22358 * io/bits/fcntl2.h: Likewise.
22359 * io/fcntl.h: Likewise.
22360 * io/sys/poll.h: Likewise.
22361 * misc/bits/syslog.h: Likewise.
22362 * misc/bits/syslog-ldbl.h: Likewise.
22363 * misc/sys/syslog.h: Likewise.
22364 * socket/bits/socket2.h: Likewise.
22365 * socket/sys/socket.h: Likewise.
22366 * debug/tst-chk1.c: Likewise.
22367 * wcsmbs/bits/wchar2.h: Likewise.
22368 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22369 * wcsmbs/wchar.h: Likewise.
22371 2012-04-29 Andreas Jaeger <aj@suse.de>
22373 * Makerules (tests): Remove enable-check-abi protection.
22374 (check-abi-warn): Remove.
22375 (check-abi-%): Remove check-abi-warn usage.
22377 * configure.in: Remove check-abi configure option.
22378 * configure: Regenerated.
22379 * config.make.in (enable-check-abi): Remove.
22381 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22384 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22385 double functions to double *_finite functions.
22388 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22389 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22391 * stdio-common/Makefile (tests): Add tst-sprintf3.
22392 * stdio-common/tst-sprintf3.c: New file.
22394 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22395 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22397 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22399 * conform/conformtest.pl: Remove duplicate typed-constant
22402 2012-04-28 David S. Miller <davem@davemloft.net>
22404 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22405 (check-abi-%): Remove AWK script prerequisite and explicit
22407 (check-abi): Rewrite to just diff the symlist with the abilist.
22408 (config-tls, config-abi-config): Delete, no longer used.
22409 (update-abi-%): Remove AWK script and explicit abilist directory.
22410 (update-abi): Rewrite to simply compare and conditionally copy the
22411 symlist and the sysdep abilist file. Remove update-abi-config
22413 * abilist/ld.abilist: Remove.
22414 * abilist/libBrokenLocale.abilist: Remove.
22415 * abilist/libanl.abilist: Remove.
22416 * abilist/libcrypt.abilist: Remove.
22417 * abilist/libdl.abilist: Remove.
22418 * abilist/librt.abilist: Remove.
22419 * abilist/libthread_db.abilist: Remove.
22420 * abilist/libutil.abilist: Remove.
22421 * scripts/extract-abilist.awk: Remove.
22422 * scripts/merge-abilist.awk: Remove.
22423 * sysdeps/generic/libcidn.abilist: New file.
22424 * sysdeps/generic/libnss_compat.abilist: New file.
22425 * sysdeps/generic/libnss_db.abilist: New file.
22426 * sysdeps/generic/libnss_dns.abilist: New file.
22427 * sysdeps/generic/libnss_files.abilist: New file.
22428 * sysdeps/generic/libnss_hesiod.abilist: New file.
22429 * sysdeps/generic/libnss_nis.abilist: New file.
22430 * sysdeps/generic/libnss_nisplus.abilist: New file.
22431 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22432 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22433 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22435 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22436 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22437 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22438 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22439 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22440 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22441 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22442 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22443 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22445 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22446 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22447 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22448 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22450 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22451 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22452 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22453 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22454 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22455 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22457 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22458 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22459 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22461 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22564 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22565 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22566 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22569 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22570 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22571 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22572 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22573 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22574 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22575 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22576 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22577 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22629 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22631 * conform/conformtest.pl: Fix typo in handling typed-constant from
22634 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22636 * README: Cut down references to pre-2.6 Linux kernels and
22637 Linuxthreads. Update lists of configurations in libc and ports
22638 and sort alphabetically. Say "or newer" with Linux kernel version
22641 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22643 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22646 * math/libm-test.inc (logb_test_downward): New test to expose
22647 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22650 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22653 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22655 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22656 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22658 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22660 * sysdeps/unix/i386/brk.S: Remove file.
22661 * sysdeps/unix/i386/dl-brk.S: Likewise.
22662 * sysdeps/unix/i386/pipe.S: Likewise.
22663 * sysdeps/unix/i386/sigreturn.S: Likewise.
22664 * sysdeps/unix/i386/syscall.S: Likewise.
22665 * sysdeps/unix/i386/vfork.S: Likewise.
22666 * sysdeps/unix/i386/wait.S: Likewise.
22668 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22669 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22671 * configure.in (arm*-none*): Do not allow without
22672 --enable-hacker-mode.
22673 (netbsd*): Remove case setting base_os.
22674 (386bsd*): Likewise.
22675 (freebsd*): Likewise.
22678 (sunos*): Likewise.
22679 (ultrix*): Likewise.
22680 (newsos*): Likewise.
22681 (dynix*): Likewise.
22687 (minix*): Likewise.
22688 (irix4*): Likewise.
22689 (irix6*): Likewise.
22690 (solaris[2-9]*): Likewise.
22692 * configure: Regenerated.
22694 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22697 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22698 overflow or cancellation in calculating denominator.
22699 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22700 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22701 down expression to avoid unexpected rounding in newer GCCs.
22702 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22704 2012-04-26 David S. Miller <davem@davemloft.net>
22706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22707 long-double compat symbols.
22708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22722 2012-04-25 David S. Miller <davem@davemloft.net>
22724 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22725 HWCAP_* values only after the memory barriers have been defined.
22726 (atomic_full_barrier): Define.
22727 (atomic_read_barrier): Define.
22728 (atomic_write_barrier): Define.
22730 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22732 * shlib-versions: Add libgcc_s version information.
22733 * sysdeps/generic/libgcc_s.h: Remove.
22734 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22736 * sysdeps/gnu/unwind-resume.c: Likewise.
22737 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22739 2012-04-25 David S. Miller <davem@davemloft.net>
22741 * sysdeps/unix/sparc/brk.S: Delete.
22742 * sysdeps/unix/sparc/dl-brk.S: Delete.
22743 * sysdeps/unix/sparc/pipe.S: Delete.
22744 * sysdeps/unix/sparc/sysdep.S: Delete.
22745 * sysdeps/unix/sparc/sysdep.h: Delete.
22746 * sysdeps/unix/sparc/vfork.S: Delete.
22747 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22748 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22749 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22750 ret_ERRVAL, r0, r1, MOVE): Define.
22751 (JUMPTARGET): Remove.
22752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22753 sysdeps/unix/sparc/sysdep.h
22754 (ENTRY, END): Remove.
22755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22757 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22759 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22760 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22763 * timezone/README: Update upstream location and email address for
22765 * timezone/zdump.c: Update from tzcode 2012b.
22766 * timezone/zic.c: Likewise.
22768 * configure.in (libc_cv_as_needed): Remove test.
22769 * configure: Regenerated.
22770 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22771 conditional definition.
22772 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22773 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22774 * config.make.in (have-as-needed): Remove variable.
22776 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22777 Paul Pluzhnikov <ppluzhnikov@google.com>
22779 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22782 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22784 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22785 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22786 * sysdeps/sh/strlen.S: Likewise.
22788 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22790 * sysdeps/unix/fork.S: Remove file.
22791 * sysdeps/unix/i386/fork.S: Likewise.
22792 * sysdeps/unix/sparc/fork.S: Likewise.
22794 * sysdeps/unix/system.c: Remove file.
22795 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22797 * sysdeps/unix/getegid.S: Remove file.
22798 * sysdeps/unix/geteuid.S: Likewise.
22800 2012-04-24 Roland McGrath <roland@hack.frob.com>
22802 * scripts/check-localplt.awk: New file.
22803 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22805 * scripts/data/localplt-generic.data: Add a comment.
22807 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22808 NODE when __dir_mkfile failed.
22809 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22810 Reported by Ludovic Courtès <ludo@gnu.org>.
22812 2012-04-24 Andreas Jaeger <aj@suse.de>
22814 * Makerules (common-clean): Also remove gen-as-const-headers
22817 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22819 * Makerules (native-compile): Do not change working directory for
22820 build. Use $(OUTPUT_OPTION) in command.
22821 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22823 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22826 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22827 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22828 * math/libm-test.inc (floor_test): Add more tests.
22829 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22831 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22833 * sysdeps/unix/getdents.c: Remove file.
22834 * sysdeps/unix/sysv/getdents.c: Likewise.
22835 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22837 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22838 sysdeps/unix/mman/syscalls.list.
22840 (mprotect): Likewise.
22842 (munmap): Likewise.
22843 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22844 * sysdeps/unix/mman/syscalls.list: Remove.
22845 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22847 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22848 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22849 * configure: Regenerated.
22850 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22851 $(libgcc_s_suffix).
22852 * config.make.in (libgcc_s_suffix): Remove variable.
22854 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22856 * sysdeps/unix/sysv/gethostname.c: Move to ...
22857 * sysdeps/posix/gethostname.c: ... here.
22859 * sysdeps/unix/execve.S: Remove file.
22861 * sysdeps/unix/_exit.S: Remove file.
22863 2012-04-23 Andreas Jaeger <aj@suse.de>
22866 * manual/Makefile: Remove make dist support, there's no
22867 need for a stand-alone documentation tar ball.
22868 (TEXI2DVI): Define always, it's not in Makeconfig.
22871 (edition): Removed.
22872 (glibc-doc-$(edition).tar): Removed
22876 (ETAGS): Remove, it's in Makeconfig.
22877 (move-if-change): Remove, it's in Makeconfig.
22879 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22882 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22883 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22884 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22885 (strtod_l, strtof_l, strtold_l): Remove __wur.
22886 It is not necessarily an error to ignore strtol's return value.
22887 One can reliably look at the stored endptr to decide whether
22888 the number had valid syntax.
22890 2012-04-21 Andreas Jaeger <aj@suse.de>
22893 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22895 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22897 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22898 * sysdeps/unix/sysv/Versions: Remove file.
22900 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22905 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22908 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22909 version from __vm86.
22911 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22913 * sysdeps/unix/common/lxstat.c: Remove file.
22914 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22916 * sysdeps/unix/sysv/Makefile: Remove file.
22918 * sysdeps/unix/sysv/direct.h: Remove file.
22920 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22921 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22922 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22923 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22924 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22925 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22926 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22928 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22930 * sysdeps/unix/xmknod.c: Remove file.
22931 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22933 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22935 * sysdeps/unix/sysv/i386/time.S: Remove file.
22937 * sysdeps/unix/fxstat.c: Remove file.
22938 * sysdeps/unix/xstat.c: Likewise.
22939 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22941 * sysdeps/unix/sysv/sigaction.c: Remove file.
22943 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22944 (sysdep_headers): Remove variable.
22945 [termio.h not in sysdep_headers] (generated): Likewise.
22946 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22947 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22948 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22949 * sysdeps/unix/sysv/tcflow.c: Likewise.
22950 * sysdeps/unix/sysv/tcflush.c: Likewise.
22951 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22952 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22953 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22954 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22955 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22957 * sysdeps/unix/siglist.c: Remove file.
22959 * sysdeps/unix/getppid.S: Remove file.
22961 * sysdeps/unix/mkdir.c: Remove file.
22962 * sysdeps/unix/rmdir.c: Likewise.
22964 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22966 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22968 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22969 errlist-compat value.
22971 2012-04-18 David S. Miller <davem@davemloft.net>
22973 * sysdeps/generic/memcopy.h (reg_char): Delete.
22974 * debug/strcat_chk.c: Use char, not reg_char.
22975 * debug/strcpy_chk.c: Likewise.
22976 * debug/strncat_chk.c: Likewise.
22977 * debug/strncpy_chk.c: Likewise.
22978 * string/memchr.c: Likewise.
22979 * string/memrchr.c: Likewise.
22980 * string/rawmemchr.c: Likewise.
22981 * string/strcat.c: Likewise.
22982 * string/strchr.c: Likewise.
22983 * string/strchrnul.c: Likewise.
22984 * string/strcmp.c: Likewise.
22985 * string/strcpy.c: Likewise.
22986 * string/strncat.c: Likewise.
22987 * string/strncmp.c: Likewise.
22988 * string/strncpy.c: Likewise.
22990 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22992 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22993 __builtin_memcopy is called when src and dest ranges are known to not
22996 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22998 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22999 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23000 fwd_align_merge macro call.
23001 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23002 bwd_align_merge macro call.
23003 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23005 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23007 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23008 bwd_align_merge macros.
23009 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23010 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23011 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23013 2012-04-18 David S. Miller <davem@davemloft.net>
23015 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23017 2012-04-18 Andreas Jaeger <aj@suse.de>
23020 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23021 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23022 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23024 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23025 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23026 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23028 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23029 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23030 Adjust for changed ldbl-128 files.
23032 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23033 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23034 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23036 2012-04-17 David S. Miller <davem@davemloft.net>
23038 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23040 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23042 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23043 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23044 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23045 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23046 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23047 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23049 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23052 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23053 * math/libm-test.inc: Add ilogb errno and exception tests.
23054 * math/w_ilogb.c: New file: ilogb wrapper.
23055 * math/w_ilogbf.c: New file: ilogbf wrapper.
23056 * math/w_ilogbl.c: New file: ilogbl wrapper.
23057 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23058 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23059 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23060 exception being thrown with 0.0 as argument.
23061 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23062 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23063 exception being thrown with 0.0 as argument.
23064 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23065 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23066 exception being thrown with 0.0 as argument.
23067 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23068 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23069 exception being thrown with 0.0 as argument.
23070 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23071 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23072 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23073 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23074 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23075 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23076 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23077 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23078 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23080 2012-04-17 Petr Baudis <pasky@ucw.cz>
23082 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23085 2012-04-16 Marek Polacek <polacek@redhat.com>
23087 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23089 2012-04-16 Marek Polacek <polacek@redhat.com>
23091 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23092 operands of fdivp instruction.
23094 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23096 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23097 * elf/tst-auditmod3b.c: Likewise.
23098 * elf/tst-auditmod4b.c: Likewise.
23099 * elf/tst-auditmod5b.c: Likewise.
23100 * elf/tst-auditmod6b.c: Likewise.
23101 * elf/tst-auditmod6c.c: Likewise.
23102 * elf/tst-auditmod7b.c: Likewise.
23103 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23104 * sysdeps/x86_64/preconfigure.in: Likewise.
23105 * sysdeps/x86_64/preconfigure: Regenerated.
23107 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23109 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23112 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23115 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23117 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23120 * locale/iso-639.def: Fix gl language name. Spotted by
23123 2012-04-12 Roland McGrath <roland@hack.frob.com>
23126 * libio/libio.h (__io_write_fn): Update comment.
23128 2012-04-12 Petr Baudis <pasky@ucw.cz>
23131 * stdio.texi (Hook Functions): The user provided writer function
23132 is not allowed to return -1.
23134 2012-04-11 David S. Miller <davem@davemloft.net>
23136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23138 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23140 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23141 Add a leading slash to rtkaio.
23143 2012-04-11 Jim Meyering <meyering@redhat.com>
23146 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23147 It is not necessarily an error to ignore fwrite's return
23148 value. One can reliably use ferror to test for errors after
23151 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23153 * bits/types.h (__snseconds_t): New type.
23154 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23156 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23157 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23158 (__SNSECONDS_T_TYPE): Likewise.
23159 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23160 (__SNSECONDS_T_TYPE): Likewise.
23161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23162 (__SNSECONDS_T_TYPE): Likewise.
23164 2012-04-10 Andreas Jaeger <aj@suse.de>
23167 * manual/time.texi (Processor Time): Return type of times is
23168 elapsed real time since an arbitrary point in the past.
23169 (CPU Time): Move CLK_TCK from here...
23170 (Processor Time): ...to here. Correct description.
23171 * manual/conf.texi (Constants for Sysconf): Correct description of
23174 2012-04-10 David S. Miller <davem@davemloft.net>
23177 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23178 where the is a gap between DT_REL(A) and DT_JMPREL.
23180 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23182 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23183 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23184 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23186 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23188 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23189 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23190 (dl_main): Handle --inhibit-cache.
23191 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23193 * elf/dl-load.c (_dl_map_object): Use it.
23194 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23196 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23199 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23200 (__ieee754_powl): Saturate large exponents rather than testing for
23201 overflow of y*log2(x).
23202 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23203 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23207 * math/s_ctan.c: Include <float.h>.
23208 (__ctan): Avoid internal overflow or cancellation in calculating
23210 * math/s_ctanf.c: Likewise.
23211 * math/s_ctanl.c: Likewise.
23212 * math/s_ctanh.c: Likewise.
23213 * math/s_ctanhf.c: Likewise.
23214 * math/s_ctanhl.c: Likewise.
23215 * math/libm-test.inc (ctan_test): Add more tests.
23216 (ctanh_test): Likewise.
23217 * sysdeps/i386/fpu/libm-test-ulps: Update.
23218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23220 2012-04-09 Andreas Jaeger <aj@suse.de>
23223 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23224 is an optional BSD extension.
23227 * manual/stdio.texi (Opening Streams): Document additional fopen
23230 2012-04-09 Roland McGrath <roland@hack.frob.com>
23232 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23233 %eax without telling the compiler.
23235 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23238 * manual/install.texi: Use sourceware.org.
23240 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23243 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23244 (__ieee754_pow): Generate overflow and underflow using huge*huge
23245 and tiny*tiny rather than just returning constant infinity or zero
23246 for large exponents.
23247 * math/libm-test.inc (pow_test): Require overflow exceptions for
23248 applicable cases of large exponents.
23251 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23252 (__ieee754_pow): Use iterative multiplication algorithm only for
23253 integer exponents with absolute value below 1024. Check for odd
23254 integer exponents when using algorithm for real exponents.
23255 * math/libm-test.inc (pow_test): Add more tests.
23256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23258 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23261 * math/libm-test.inc (exp_test): Do not allow overflow exception
23264 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23267 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23268 instead of __kernel_standard_f.
23270 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23272 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23273 * sysdeps/x86_64/memset_chk.S: Likewise.
23275 2012-04-08 Andreas Jaeger <aj@suse.de>
23278 * manual/startup.texi (Environment Access): Describe return value
23279 for putenv and setenv.
23282 * manual/filesys.texi (Directory Entries): Add description for
23286 * manual/filesys.texi (Directory Entries): Clarify that it's file
23287 system not operating system in the description of DT_UNKNOWN.
23290 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23292 2012-04-08 Stephen Compall <s11@member.fsf.org>
23295 * manual/llio.texi (Opening and Closing Files): Add cross
23296 reference to explain mode argument.
23298 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23300 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23301 * sysdeps/x86_64/memset_chk.S: Likewise.
23303 2012-04-07 David S. Miller <davem@davemloft.net>
23305 * elf/elf.h (R_SPARC_WDISP10): Define.
23306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23308 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23309 R_SPARC_SIZE64 and R_SPARC_H34.
23311 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23314 conditions and remove no longer applicable assertion.
23316 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23318 * bits/byteswap.h: Include <features.h>.
23319 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23320 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23322 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23324 * bits/byteswap.h (__bswap_16): Removed.
23325 Include <bits/byteswap-16.h> to get __bswap_16.
23326 * sysdeps/i386/bits/byteswap.h: Likewise.
23327 * sysdeps/s390/bits/byteswap.h: Likewise.
23328 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23329 * bits/byteswap-16.h: New file.
23330 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23331 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23332 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23333 * string/Makefile (headers): Add bits/byteswap-16.h.
23335 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23338 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23340 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23341 * nss/tst-nss-static.c: New.
23343 2012-04-06 Robert Millan <rmh@gnu.org>
23346 * manual/llio.texi (File Position Primitive): lseek
23347 refers to WHENCE when it really means OFFSET.
23349 2012-04-06 Andreas Jaeger <aj@suse.de>
23351 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23352 strncmp declarations.
23354 * abilist/libc.abilist: Add __poll and __ppoll.
23356 2012-04-05 David S. Miller <davem@davemloft.net>
23358 * scripts/check-local-headers.sh: Accept a host triplet in the
23359 path matched by the exclude regexp.
23361 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23363 * sysdeps/powerpc/powerpc32/dl-machine.h
23364 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23365 * sysdeps/s390/s390-32/dl-machine.h
23366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23367 * sysdeps/sparc/sparc32/dl-machine.h
23368 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23369 * sysdeps/sparc/sparc64/dl-machine.h
23370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23372 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23374 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23375 undefined symbol errors.
23377 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23380 2012-04-05 Michael Matz <matz@suse.de>
23383 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23385 2012-04-05 Andreas Jaeger <aj@suse.de>
23388 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23391 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23393 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23394 which ROUND is no valid rounding mode.
23396 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23398 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23400 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23402 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23404 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23405 an exception using FPU order intentionally.
23407 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23409 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23410 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23411 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23412 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23414 2012-04-05 Simon Josefsson <simon@josefsson.org>
23417 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23418 EINVAL when BUFLEN is too smal.
23420 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23423 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23424 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23426 2012-04-03 Andreas Jaeger <aj@suse.de>
23429 * manual/setjmp.texi (System V contexts): Fix sentence.
23432 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23433 New macro for this case.
23434 [!__GNUC__] (__bswap_64): New inline function for this case.
23435 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23436 * bits/byteswap.h: Likewise.
23437 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23438 ull, guard with __GLIBC_HAVE_LONG_LONG.
23440 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23441 __GLIBC_HAVE_LONG_LONG.
23443 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23444 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23446 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23449 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23450 inptr and inend, rather than using last_ch.
23452 2012-04-02 David S. Miller <davem@davemloft.net>
23454 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23455 * stdio-common/printf-parse.h (read_int): Change return type to
23456 'int', return -1 on INT_MAX overflow.
23457 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23458 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23459 overflows INT_MAX. Check for overflow of in-format-string precision
23460 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23461 SIZE_MAX not INT_MAX for integer overflow test.
23462 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23463 skip the construct in the format string but do not record anything.
23464 * stdio-common/bug22.c: Adjust to test both width/prevision
23465 INT_MAX overflow as well as total length INT_MAX overflow. Check
23466 explicitly for proper errno values.
23468 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23470 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23472 * string/test-strcmp.c [! WIDE]: Likewise.
23473 * time/tst-mktime2.c: Likewise for INT_MAX.
23474 * string/test-string.h: #include <sys/param.h> for MIN.
23476 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23477 * sysdeps/i386/init-first.c (init): Likewise.
23478 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23479 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23480 * sysdeps/sh/init-first.c (init): Likewise.
23482 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23484 * po/ru.po: Update from translation team.
23485 * po/vi.po: Likewise.
23487 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23489 * resolv/nss_dns/dns-host.c: Merge copyright years.
23491 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23493 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23494 Optimize memcpy with prefetch if
23495 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23496 src, dst pointers have unequal 16 byte alignments.
23498 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23501 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23502 from a CNAME entry and return the minimum ttl for the query.
23503 (gaih_getanswer_slice): Likewise.
23505 2012-03-30 Jeff Law <law@redhat.com>
23507 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23509 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23510 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23512 * resolv/nss_dns/dns-host.c: Update copyright year.
23514 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23516 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23517 requests to save a system call. Fix check that all bytes are sent.
23519 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23520 comments for sendmmsg.
23522 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23525 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23526 with only 1 character between 0x0041 and 0x01b0.
23527 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23528 * wcsmbs/tst-mbsnrtowcs.c: New file.
23530 2012-03-29 David S. Miller <davem@davemloft.net>
23532 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23533 small copies by hand.
23535 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23538 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23539 _nss_compat_initgroups_dyn): Fall back to malloc/free
23540 for large group memberships.
23542 2012-03-28 David S. Miller <davem@davemloft.net>
23544 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23545 that branches into memcpy.
23546 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23547 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23549 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23552 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23553 implementation too.
23554 * sysdeps/sparc/mempcpy.S: New file.
23556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23557 the IFUNC routine in the libc case.
23558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23560 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23561 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23562 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23563 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23564 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23565 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23566 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23567 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23569 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23570 loop to 256 bytes instead of 64 bytes and fix test signedness.
23572 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23573 * sysdeps/sparc/sparc32/Makefile: rather than here...
23574 * sysdeps/sparc/sparc64/Makefile: and here.
23576 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23578 * malloc/mallocbug.c: Avoid warnings about unused variables.
23580 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23583 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23584 in the right place. Discard and retry query if response is
23585 larger than input buffer size.
23587 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23592 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23593 x for large integer exponent.
23594 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23595 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23596 sign of result as needed afterwards.
23597 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23598 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23599 result for underflowing pow the same as for overflow.
23600 (__kernel_standard_l): Handle powl overflow and underflow here
23601 rather than calling __kernel_standard.
23602 * math/libm-test.inc (pow_test): Add more tests.
23617 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23618 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23619 (__kernel_standard_l): New function.
23620 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23622 * math/w_acosl.c (__acosl): Likewise.
23623 * math/w_asinl.c (__asinl): Likewise.
23624 * math/w_atan2l.c (__atan2l): Likewise.
23625 * math/w_atanhl.c (__atanhl): Likewise.
23626 * math/w_coshl.c (__coshl): Likewise.
23627 * math/w_exp10l.c (__exp10l): Likewise.
23628 * math/w_exp2l.c (__exp2l): Likewise.
23629 * math/w_fmodl.c (__fmodl): Likewise.
23630 * math/w_hypotl.c (__hypotl): Likewise.
23631 * math/w_j0l.c (__j0l, __y0l): Likewise.
23632 * math/w_j1l.c (__j1l, __y1l): Likewise.
23633 * math/w_jnl.c (__jnl, __ynl): Likewise.
23634 * math/w_lgammal.c (__lgammal): Likewise.
23635 * math/w_log10l.c (__log10l): Likewise.
23636 * math/w_log2l.c (__log2l): Likewise.
23637 * math/w_logl.c (__logl): Likewise.
23638 * math/w_powl.c (__powl): Likewise.
23639 * math/w_remainderl.c (__remainderl): Likewise.
23640 * math/w_scalbl.c (sysv_scalbl): Likewise.
23641 * math/w_sinhl.c (__sinhl): Likewise.
23642 * math/w_sqrtl.c (__sqrtl): Likewise.
23643 * math/w_tgammal.c (__tgammal): Likewise.
23644 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23645 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23646 * math/libm-test.inc (acos_test): Add more tests.
23647 (acosh_test): Likewise.
23648 (asin_test): Likewise.
23649 (atanh_test): Likewise.
23650 (exp_test): Likewise.
23651 (exp10_test): Likewise.
23652 (exp2_test): Likewise.
23653 (expm1_test): Likewise.
23654 (lgamma_test): Likewise.
23655 (log_test): Likewise.
23656 (log10_test): Likewise.
23657 (log1p_test): Likewise.
23658 (log2_test): Likewise.
23659 (pow_test): Do not allow some spurious overflow exceptions.
23660 (sqrt_test): Add more tests.
23661 (tgamma_test): Likewise.
23662 (y0_test): Likewise.
23663 (y1_test): Likewise.
23664 (yn_test): Likewise.
23666 2012-03-27 Anton Blanchard <anton@samba.org>
23668 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23670 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23671 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23672 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23674 2012-03-27 David S. Miller <davem@davemloft.net>
23676 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23678 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23679 have-as-vis3 check.
23681 2012-03-27 Andreas Jaeger <aj@suse.de>
23683 * sysdeps/x86_64/elf/configure.in: Moved to ...
23684 * sysdeps/x86_64/configure.in: ... here.
23685 * sysdeps/x86_64/elf/start.S: Moved to ...
23686 * sysdeps/x86_64/start.S: ... here.
23687 * sysdeps/x86_64/elf/configure: Delete.
23689 * sysdeps/x86_64/configure.in: Merge contents from
23690 sysdeps/i386/configure.in (without i686 check).
23692 * sysdeps/i386/elf/Versions: Merge into ...
23693 * sysdeps/i386/Versions: ... this.
23694 * sysdeps/i386/elf/Versions: Delete file.
23695 * sysdeps/i386/elf/start.S: Moved to ...
23696 * sysdeps/i386/start.S: ...here.
23697 * sysdeps/i386/elf/configure.in: Merge into...
23698 * sysdeps/i386/configure.in: ...here.
23699 * sysdeps/i386/elf/configure.in: Delete file.
23700 * sysdeps/i386/elf/configure: Delete file.
23702 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23703 * debug/backtracesyms.c: ... here.
23704 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23705 * debug/backtracesymsfd.c: ... here.
23706 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23707 * sysdeps/generic/ifunc-sel.h: ... here.
23709 * sysdeps/unix/i386/start.c: Delete file.
23710 * sysdeps/unix/sparc/start.c: Delete file.
23711 * sysdeps/unix/start.c: Delete file.
23713 * sysdeps/sh/elf/configure.in: Moved to ...
23714 * sysdeps/sh/configure.in: ... here.
23715 * sysdeps/sh/elf/start.S: Moved to ...
23716 * sysdeps/sh/start.S: ... here.
23717 * sysdeps/sh/elf/configure: Delete file.
23719 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23720 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23721 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23722 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23723 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23724 * sysdeps/powerpc/powerpc64/start.S: here.
23725 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23726 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23727 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23728 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23729 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23731 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23732 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23733 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23734 * sysdeps/powerpc/powerpc32/start.S: ... here.
23735 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23736 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23737 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23739 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23740 * sysdeps/powerpc/ifunc-sel.h: ... here.
23741 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23742 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23744 * sysdeps/sparc/elf/configure.in: Moved to ...
23745 * sysdeps/sparc/configure.in: ... here.
23746 * sysdeps/sparc/elf/configure: Delete file.
23747 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23748 * sysdeps/sparc/sparc32/start.S: ... here.
23749 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23750 * sysdeps/sparc/sparc64/start.S: ... here.
23751 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23752 * sysdeps/sparc/sparc32/Makefile: ... this.
23753 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23754 * sysdeps/sparc/sparc64/Makefile: ... this.
23756 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23757 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23758 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23759 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23760 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23761 * sysdeps/s390/s390-32/setjmp.S: ... here.
23762 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23763 * sysdeps/s390/s390-32/configure.in: ... here.
23764 * sysdeps/s390/s390-32/elf/configure: Delete file.
23765 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23766 * sysdeps/s390/s390-32/start.S: ... here.
23768 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23769 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23770 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23771 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23772 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23773 * sysdeps/s390/s390-64/setjmp.S: ... here.
23774 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23775 * sysdeps/s390/s390-64/configure.in: ... here
23776 * sysdeps/s390/s390-64/elf/configure: Delete file.
23777 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23778 * sysdeps/s390/s390-64/start.S: ... here.
23779 * sysdeps/s390/s390-64/elf/configure: Delete.
23781 * configure.in: Remove support for elf directories in sysdeps.
23783 * configure: Regenerated.
23784 * sysdeps/i386/configure: Regenerated.
23785 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23786 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23787 * sysdeps/s390/s390-32/configure: Regenerated.
23788 * sysdeps/s390/s390-64/configure: Regenerated.
23789 * sysdeps/sh/configure: Regenerated.
23790 * sysdeps/sparc/configure: Regenerated.
23791 * sysdeps/x86_64/configure: Regenerated.
23793 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23797 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23798 denormal result into account.
23800 2012-03-25 Roland McGrath <roland@hack.frob.com>
23802 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23803 Reported by Allan McRae <allan@archlinux.org>.
23805 2012-03-23 Jeff Law <law@redhat.com>
23807 * nss/getnssent.c (__nss_getent): Fix typo.
23809 2012-03-23 David S. Miller <davem@davemloft.net>
23811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23813 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23815 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23816 to pad to uint64_t for each field.
23817 (dl_tls_index): Replace unsigned long with uint64_t.
23819 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23820 Paul Pluzhnikov <ppluzhnikov@google.com>
23823 * grp/Makefile (otherlibs): Don't set it.
23824 * inet/Makefile (otherlibs): Likewise.
23825 * login/Makefile (otherlibs): Likewise.
23826 * nscd/Makefile (otherlibs): Likewise.
23827 * posix/Makefile (otherlibs): Likewise.
23828 * pwd/Makefile (otherlibs): Likewise.
23829 * rt/Makefile (otherlibs): Likewise.
23830 * sunrpc/Makefile (otherlibs): Likewise.
23831 * nss/Makefile (otherlibs): Likewise.
23832 Add libnss_files to routines and static-only-routines.
23833 ($(objpfx)getent): Remove rule.
23834 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23835 static-only-routines.
23837 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23840 * math/s_cexp.c: Include <float.h>.
23841 (__cexp): Handle exp result overflowing not necessarily
23842 overflowing both real and imaginary parts of result.
23843 * math/s_cexpf.c: Likewise.
23844 * math/s_cexpl.c: Likewise.
23845 * math/libm-test.inc (cexp_test): Add more tests.
23846 * sysdeps/i386/fpu/libm-test-ulps: Update.
23847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23849 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23851 * include/link.h (ELFW): New macro.
23852 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23853 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23855 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23857 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23860 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23862 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23864 (struct La_x32_retval): Likewise.
23866 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23868 * sysdeps/x86_64/preconfigure.in: New file.
23869 * sysdeps/x86_64/preconfigure: New generated file.
23871 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23874 * math/e_exp2l.c: Include <float.h>.
23875 (__ieee754_exp2l): Handle overflow and underflow cases
23876 separately. Only pass fractional part of argument to
23878 * math/libm-test.inc (exp2_test): Add more tests.
23880 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23881 negating x to take absolute value.
23882 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23884 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23885 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23887 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23888 computing low part if x was negated.
23889 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23891 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23893 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23894 la_x32_gnu_pltexit.
23895 (pltexit): Cast int_retval to ptrdiff_t.
23896 * elf/tst-auditmod3b.c: Likewise.
23897 * elf/tst-auditmod4b.c: Likewise.
23898 * elf/tst-auditmod5b.c: Likewise.
23899 * elf/tst-auditmod6b.c: Likewise.
23900 * elf/tst-auditmod6c.c: Likewise.
23901 * elf/tst-auditmod7b.c: Likewise.
23903 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23904 and x32_gnu_pltexit.
23906 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23907 __ELF_NATIVE_CLASS.
23908 (La_x32_regs): New macro.
23909 (La_x32_retval): Likewise.
23910 (la_x32_gnu_pltenter): New function prototype.
23911 (la_x32_gnu_pltexit): Likewise.
23913 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23915 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23920 * configure.in (libc_cv_cc_nofma): Check for option to disable
23921 generation of FMA instructions.
23922 * configure: Regenerate.
23923 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23924 * sysdeps/ieee754/dbl-64/Makefile: New file.
23925 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23926 Remove brandred-fma4.
23927 (CFLAGS-brandred-fma4.c): Remove.
23928 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23929 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23931 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23934 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23936 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23937 LLONG_MAX != LONG_MAX.
23938 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23939 (_fitoa_word): Likewise.
23940 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23941 LLONG_MAX != LONG_MAX.
23942 * stdio-common/_itowa.h: Include <_itoa.h>.
23943 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23944 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23945 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23946 only if not defined.
23947 (_ITOA_WORD_TYPE): Likewise.
23948 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23949 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23951 2012-03-21 David S. Miller <davem@davemloft.net>
23953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23955 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23957 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23958 of x86_64 when setting libc_cv_slibdir, libdir and
23960 * sysdeps/unix/sysv/linux/configure: Regenerated.
23962 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23964 * manual/lang.texi (Old Varargs): Remove section.
23965 (How Variadic): Update menu.
23966 (va_start): Do not mention varargs.h.
23968 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23969 Joseph Myers <joseph@codesourcery.com>
23971 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23973 * configure: Regenerated.
23975 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23977 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23978 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23981 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23984 * Makefile (files-for-dist): Remove NOTES.
23985 (NOTES): Remove rule.
23986 * README: Don't refer to NOTES.
23987 * manual/creature.texi: Don't include macros.texi.
23988 * manual/intro.texi (creature.texi): Remove comment referring to
23991 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23992 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23993 * configure: Regenerated.
23994 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23995 LIBC_TRY_CC_OPTION.
23996 (libc_cv_as_i686): Likewise.
23997 (libc_cv_cc_avx): Likewise.
23998 (libc_cv_cc_sse2avx): Likewise.
23999 (libc_cv_cc_fma4): Likewise.
24000 (libc_cv_cc_novzeroupper): Likewise.
24001 * sysdeps/i386/configure: Regenerated.
24004 * sysdeps/i386/fpu/s_cexp.S: Remove.
24005 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24006 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24007 * math/libm-test.inc (cexp_test): Add more tests.
24008 * sysdeps/i386/fpu/libm-test-ulps: Update.
24009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24011 2012-03-21 Allan McRae <allan@archlinux.org>
24013 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24015 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24018 * math/w_exp2.c: Do not include <float.h>.
24019 (o_threshold, u_threshold): Remove.
24020 (__exp2): Calculate result before checking finiteness and calling
24022 * math/w_exp2f.c: Likewise.
24023 * math/w_exp2l.c: Likewise.
24024 * math/libm-test.inc (exp2_test): Require overflow exception for
24028 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24029 range of signed 64-bit integers before using fistpll. Remove
24030 checks for whether integers fit in mantissa bits.
24031 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24032 the range of signed 32-bit integers before using fistpl. Remove
24033 checks for whether integers fit in mantissa bits.
24034 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24035 (__ieee754_powl): Test for y outside the range of signed 64-bit
24036 integers before using fistpll. Reduce 64-bit values to 63-bit
24038 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24039 divide-by-zero is raised for zero to large negative powers.
24040 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24041 (__ieee754_powl): Test for y outside the range of signed 64-bit
24042 integers before using fistpll. Reduce 64-bit values to 63-bit
24044 * math/libm-test.inc (pow_test): Add more tests.
24046 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24048 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24049 <stdio-common/_itoa.h>.
24050 * debug/segfault.c: Likewise.
24051 * elf/dl-cache.c: Likewise.
24052 * elf/dl-minimal.c: Likewise.
24053 * elf/dl-misc.c: Likewise.
24054 * elf/dl-sysdep.c: Likewise.
24055 * elf/dl-version.c: Likewise.
24056 * elf/rtld.c: Likewise.
24057 * hurd/hurdsock.c: Likewise.
24058 * hurd/lookup-retry.c: Likewise.
24059 * malloc/malloc.c: Likewise.
24060 * malloc/mtrace.c: Likewise.
24061 * nscd/nscd_getgr_r.c: Likewise.
24062 * nscd/nscd_getpw_r.c: Likewise.
24063 * nscd/nscd_getserv_r.c: Likewise.
24064 * posix/getopt_init.c: Likewise.
24065 * posix/wordexp.c: Likewise.
24066 * stdio-common/_itoa.c: Likewise.
24067 * stdio-common/printf_fphex.c: Likewise.
24068 * stdio-common/vfprintf.c: Likewise.
24069 * string/_strerror.c: Likewise.
24070 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24071 * sysdeps/i386/i686/hp-timing.h: Likewise.
24072 * sysdeps/mach/_strerror.c: Likewise.
24073 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24074 * sysdeps/mach/hurd/sethostid.c: Likewise.
24075 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24076 * sysdeps/mach/xpg-strerror.c: Likewise.
24077 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24078 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24079 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24080 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24081 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24082 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24083 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24084 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24085 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24086 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24087 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24088 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24089 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24090 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24091 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24092 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24093 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24094 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24095 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24096 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24097 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24099 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24101 * stdio-common/_itoa.h: Moved to ...
24102 * sysdeps/generic/_itoa.h: Here.
24104 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24106 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24107 instead of "_itoa.h" and "_itowa.h".
24108 * stdio-common/vfprintf.: Likewise.
24110 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24112 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24114 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24115 (__signbit): Likwise.
24116 (llrintf): Likwise.
24119 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24121 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24124 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24126 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24127 OVERFLOW_EXCEPTION_OK.
24128 * math/libm-test.inc ("Philosophy"): Update comment about
24130 (OVERFLOW_EXCEPTION): Define.
24131 (OVERFLOW_EXCEPTION_OK): Likewise.
24132 (INVALID_EXCEPTION_OK): Renumber.
24133 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24134 (IGNORE_ZERO_INF_SIGN): Likewise.
24135 (test_exceptions): Handle FE_OVERFLOW.
24136 (exp10_test): Expect overflow exceptions.
24137 (exp2_test): Likewise.
24138 (expm1_test): Likewise.
24139 (nextafter_test): Likewise.
24140 (pow_test): Likewise.
24141 (scalbn_test): Likewise.
24142 (scalbln_test): Likewise.
24144 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24146 * sysdeps/x86_64/bits/atomic.h
24147 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24149 (atomic_exchange_acq): Likewise.
24150 (__arch_exchange_and_add_body): Likewise.
24151 (__arch_add_body): Likewise.
24152 (atomic_add_negative): Likewise.
24153 (atomic_add_zero): Likewise.
24155 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24157 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24158 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24160 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24162 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24163 Check __x86_64__ instead of __WORDSIZE.
24165 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24167 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24169 2012-03-19 David S. Miller <davem@davemloft.net>
24171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24173 * sysdeps/sparc/fpu/fenv_private.h: New file.
24174 * sysdeps/sparc/fpu/math_private.h: Use it.
24175 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24177 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24178 (libc_feholdexcept_setroundl): Remove.
24179 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24181 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24182 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24184 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24186 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24187 int64_t instead of long int.
24188 (INSERT_WORDS64): Likwise.
24190 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24192 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24193 _Unwind_GetCFA return to _Unwind_Ptr first.
24195 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24198 * math/s_clog.c: Include <float.h>.
24199 (__clog): Scale large or subnormal inputs.
24200 * math/s_clogf.c: Likewise.
24201 * math/s_clogl.c: Likewise.
24202 * math/s_clog10.c: Include <float.h>.
24203 (M_LOG10_2): Define.
24204 (__clog10): Scale large or subnormal inputs.
24205 * math/s_clog10f.c: Likewise.
24206 * math/s_clog10l.c: Likewise.
24207 * math/libm-test.inc (clog_test): Add more tests.
24208 (clog10_test): Likewise.
24209 * sysdeps/i386/fpu/libm-test-ulps: Update.
24210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24213 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24215 * math/libm-test.inc (atan2_test): Add another test.
24217 * Makerules (common-objdir-compile): Remove.
24218 * sysdeps/unix/Makefile (config-generated): Do not add
24219 $(unix-generated) to variable.
24220 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24221 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24223 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24225 [generic bits/local_lim.h] (before-compile): Do not append to
24227 [generic bits/local_lim.h] (common-generated): Likewise.
24228 [generic sys/param.h] (before-compile): Do not append to variable.
24229 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24230 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24231 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24232 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24234 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24235 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24236 [generic sys/param.h] ($(addprefix
24237 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24238 [generic sys/param.h] (common-generated): Do not append to
24240 [generic sys/param.h] (sysdep_headers): Likewise.
24241 [generic bits/errno.h] (before-compile): Do not append to
24243 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24245 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24246 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24247 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24248 [generic bits/errno.h] (common-generated): Do not append to
24250 [generic bits/ioctls.h] (before-compile): Do not append to
24252 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24254 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24255 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24256 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24258 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24259 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24260 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24261 [generic bits/ioctls.h] (common-generated): Do not append to
24263 [generic sys/syscall.h] (syscall.h): Remove variable.
24264 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24266 [generic sys/syscall.h] (before-compile): Do not append to
24268 [generic sys/syscall.h] (common-generated): Likewise.
24269 * sysdeps/unix/errnos-tmpl.c: Remove file.
24270 * sysdeps/unix/errnos.awk: Likewise.
24271 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24272 * sysdeps/unix/ioctls.awk: Likewise.
24273 * sysdeps/unix/mk-local_lim.c: Likewise.
24274 * sysdeps/unix/snarf-ioctls: Likewise.
24276 2012-03-19 Richard Henderson <rth@twiddle.net>
24278 * sysdeps/i386/fpu/fenv_private.h: New file.
24279 * sysdeps/i386/fpu/math_private.h: Use it.
24280 (math_opt_barrier, math_force_eval): Remove.
24281 (libc_feholdexcept_setround_53bit): Remove.
24282 (libc_feupdateenv_53bit): Remove.
24283 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24284 (math_opt_barrier, math_force_eval): Remove.
24285 (libc_feholdexcept): Remove.
24286 (libc_feholdexcept_setround): Remove.
24287 (libc_fetestexcept, libc_fesetenv): Remove.
24288 (libc_feupdateenv_test): Remove.
24289 (libc_feupdateenv, libc_feholdsetround): Remove.
24290 (libc_feresetround): Remove.
24292 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24293 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24295 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24296 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24297 (libc_feupdateenv_testl): New.
24298 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24299 (libc_feupdateenv_testf): New.
24300 (libc_feupdateenv): Use libc_feupdateenv_test.
24301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24302 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24304 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24305 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24306 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24307 (libc_feresetround_noex): New.
24308 (libc_feresetround_noexf): New.
24309 (libc_feresetround_noexl): New.
24310 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24311 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24312 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24313 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24316 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24318 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24319 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24320 SET_RESTORE_ROUND_NOEX.
24321 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24322 SET_RESTORE_ROUND_NOEXF.
24323 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24324 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24325 (libc_feholdsetroundf): New.
24326 (libc_feresetround, libc_feresetroundf): New.
24328 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24329 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24330 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24332 * sysdeps/generic/math_private.h: Include <fenv.h>.
24333 (default_libc_feholdexcept): New.
24334 (default_libc_feholdexcept_setround): New.
24335 (default_libc_fesetenv, default_libc_feupdateenv): New.
24336 (libc_feholdexcept): Only define if undefined.
24337 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24338 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24339 (libc_feholdexcept_setroundl): Likewise.
24340 (libc_feholdexcept_setround_53bit): Likewise.
24341 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24342 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24343 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24344 (libc_feupdateenv_53bit): Likewise.
24345 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24346 (libc_feholdexcept): Convert from macro to inline function.
24347 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24348 (libc_fesetenv, libc_feupdateenv): Likewise.
24350 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24351 not previously defined.
24352 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24353 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24354 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24355 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24356 * sysdeps/ieee754/flt-32/math_private.h: New file.
24357 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24358 math_private.h below SET_FLOAT_WORD.
24359 (__isnan, __isinf_ns, __finite): Remove.
24360 (__isnanf, __isinf_nsf, __finitef): Remove.
24362 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24366 2012-03-17 David S. Miller <davem@davemloft.net>
24369 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24372 2012-03-16 David S. Miller <davem@davemloft.net>
24374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24380 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24381 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24382 sysdep_routines when subdir is sysvipc.
24383 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24384 __getshmlba helper.
24386 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24388 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24390 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24393 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24395 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24396 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24397 (__lround): Renamed to ...
24398 (__llround): This. Replace long int with long long int.
24399 Define lround functions as aliases of llround functions.
24400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24402 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24404 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24405 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24406 adresses to uintptr_t. Replace "long int" and "unsigned long
24407 int" with "greg_t" on va_arg.
24409 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24411 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24412 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24414 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24415 Move e_machine check before EI_CLASS check. Handle x32
24416 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24417 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24418 SKIP_EM_IA_64 and include
24419 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24421 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24422 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24423 (add_system_dir): New macro.
24425 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24426 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24428 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24439 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24441 * math/w_j0f.c (j0f): Likewise.
24443 * math/w_j0l.c (__j0l): Likewise.
24445 * math/w_j1.c (j1): Likewise.
24447 * math/w_j1f.c (j1f): Likewise.
24449 * math/w_j1l.c (__j1l): Likewise.
24451 * math/w_jn.c (jn): Likewise.
24453 * math/w_jnf.c (jnf): Likewise.
24455 * math/w_jnl.c (__jnl): Likewise.
24457 * math/libm-test.inc (j0_test): Add more tests.
24458 (j1_test): Likewise.
24459 (jn_test): Likewise. Add trailing semicolon to existing test.
24460 (y0_test): Likewise.
24461 (y1_test): Likewise.
24462 * sysdeps/i386/fpu/libm-test-ulps: Update.
24463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24467 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24468 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24469 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24470 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24471 (__tanl): Set errno for infinite argument.
24472 * sysdeps/i386/fpu/mptan.c: Remove.
24473 * sysdeps/i386/fpu/s_tan.S: Likewise.
24474 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24475 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24476 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24477 * math/libm-test.inc (tan_test): Add more tests and enable more
24478 tests for double and long double.
24479 * sysdeps/i386/fpu/libm-test-ulps: Update.
24480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24482 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24484 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24485 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24487 2012-03-16 Roland McGrath <roland@hack.frob.com>
24489 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24490 * configure.in: Use it for both main tree and add-ons.
24491 * configure: Regenerated.
24493 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24495 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24497 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24499 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24503 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24504 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24505 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24506 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24507 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24509 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24510 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24511 != 0 for prec == 2.
24512 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24513 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24514 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24515 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24516 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24517 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24518 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24519 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24520 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24521 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24522 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24523 * math/libm-test.inc (cos_test): Add more tests and enable more
24524 tests for long double.
24525 (sin_test): Likewise.
24526 (sincos_test): Likewise.
24527 * sysdeps/i386/fpu/libm-test-ulps: Update.
24528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24530 2012-03-16 David S. Miller <davem@davemloft.net>
24532 * sysdeps/sparc/fpu/math_private.h: New file.
24534 2012-03-15 David S. Miller <davem@davemloft.net>
24536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24546 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24550 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24551 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24553 * sysdeps/sparc/sparc-ifunc.h: New file.
24554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24592 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24593 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24596 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24597 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24599 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24601 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24605 2012-03-15 Andreas Jaeger <aj@suse.de>
24608 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24609 ieee754/flt-32 implementation for sin, cos and sincos.
24610 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24611 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24612 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24613 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24614 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24615 ieee754/flt-32 implementation for tan.
24617 * math/libm-test.inc (cos_test): Enable some large input tests for
24619 (sin_test): Likewise.
24620 (sincos_test): Likewise.
24621 (tan_test): Add tests for large input.
24623 * sysdeps/i386/fpu/libm-test-ulps: Update.
24625 2012-03-15 Andreas Jaeger <aj@suse.de>
24628 * math/libm-test.inc (cos_test): Add more test cases.
24629 (sin_test): Likewise.
24630 (sincos_test): Likewise.
24632 2012-03-15 Andreas Jaeger <aj@suse.de>
24635 * math/libm-test.inc (cos_test): Add a test case for large input
24637 (sin_test): Likewise.
24638 (sincos_test): Likewise.
24640 2012-03-15 Andreas Jaeger <aj@suse.de>,
24641 Joseph Myers <joseph@codesourcery.com>
24644 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24645 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24646 * sysdeps/i386/fpu/branred.c: Likewise.
24647 * sysdeps/i386/fpu/dosincos.c: Likewise.
24648 * sysdeps/i386/fpu/mpa.c: Likewise.
24649 * sysdeps/i386/fpu/s_cos.S: Likewise.
24650 * sysdeps/i386/fpu/s_sin.S: Likewise.
24651 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24652 * sysdeps/i386/fpu/sincos32.c: Likewise.
24654 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24656 (libc_feupdateenv_53bit): Define.
24657 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24659 (libc_feupdateenv_53bit): Define.
24661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24662 53 bit (without extend i386 double precision).
24664 * math/libm-test.inc (sincos_test): Add tests for large input.
24668 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24670 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24674 2012-03-15 David S. Miller <davem@davemloft.net>
24676 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24677 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24678 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24679 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24704 fmin/fmax sysdep routines.
24705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24707 2012-03-14 David S. Miller <davem@davemloft.net>
24709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24781 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24786 * sysdeps/sparc/configure.in: New file.
24787 * sysdeps/sparc/configure: Generate.
24788 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24789 * configure: Regenerate.
24790 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24791 * config.make.in (have-as-vis3): New.
24792 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24793 available use -Av9d instead of -Av9a.
24794 * sysdeps/sparc/sparc64/Makefile: Likewise.
24795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24810 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24811 fzeros/fnegs to load 0x80000000 into a float register instead of
24813 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24815 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24819 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24820 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24821 ($(inst_includedir)/bits/syscall.h): Remove rule.
24822 ($(objpfx)bits/syscall.d): Include instead of
24823 $(objpfx)syscall-list.d.
24824 (generated): Change syscall-list.h and syscall-list.d to
24825 bits/syscall.h and bits/syscall.d.
24827 2012-03-14 Roland McGrath <roland@hack.frob.com>
24830 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24832 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24835 * math/s_csqrt.c: Include <float.h>.
24836 (__csqrt): Scale large or subnormal inputs.
24837 * math/s_csqrtf.c: Likewise.
24838 * math/s_csqrtl.c: Likewise.
24839 * math/libm-test.inc (csqrt_test): Add more tests.
24840 * sysdeps/i386/fpu/libm-test-ulps: Update.
24841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24844 * math/libm-test.inc (hypot_test): Add more tests.
24846 2012-03-13 David S. Miller <davem@davemloft.net>
24849 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24850 double-precision for the calculation instead of scaling.
24852 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24854 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24855 manipulate bits before adding and subtracting TWO52[sx].
24856 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24859 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24861 2012-03-13 David S. Miller <davem@davemloft.net>
24863 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24864 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24865 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24866 rtld-global-offsets.h
24867 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24869 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24872 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24874 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24875 'err' in the ifdef scope in which it is actually used.
24877 * nss/nss_db/db-init.c: Include string.h
24879 2012-03-12 David S. Miller <davem@davemloft.net>
24881 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24882 masking out of the most significant byte of random value used.
24883 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24884 Fix coding style in previous change.
24886 * sysdeps/unix/sysv/linux/kernel-features.h
24887 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24888 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24890 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24893 2012-03-11 David S. Miller <davem@davemloft.net>
24895 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24896 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24897 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24898 for 'resultvar' otherwise things get truncated on 64-bit.
24900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24901 Fix masking out of the most significant byte of random value used.
24903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24905 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24909 2012-03-09 David S. Miller <davem@davemloft.net>
24911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24912 variables with appropriate CPP guards.
24913 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24914 frame pointer, not the stack pointer. Correct layout comments. Fix test
24915 on resulting framesize and the management of the outregs buffer for pltexit.
24916 Preserve floating point return values across _dl_call_pltexit call.
24917 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24918 framesize and the management of the outregs buffer for pltexit.
24919 Preserve floating point return values across _dl_call_pltexit
24921 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24922 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24923 (print_exit): Fix format string for return register value.
24925 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24927 * sunrpc/Makefile (others): Add rpcgen.
24928 ($(objpfx)rpcgen): Remove special build rule and dependency on
24930 * sunrpc/rpcgen.c: New file.
24932 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24935 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24936 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24937 * sysdeps/i386/crti.S: Likewise.
24938 * sysdeps/i386/crtn.S: Likewise.
24939 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24940 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24941 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24942 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24943 * sysdeps/sh/crti.S: Likewise.
24944 * sysdeps/sh/crtn.S: Likewise.
24945 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24948 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24950 * locale/programs/locfile-kw.gperf: Likewise.
24951 * locale/programs/charmap-kw.h: Regenerated.
24952 * locale/programs/locfile-kw.h: Likewise.
24955 * intl/plural.y: Replace FSF snail mail address with URL.
24956 * intl/plural.c: Regenerated.
24958 2012-03-09 Richard Henderson <rth@twiddle.net>
24960 * include/math_private.h: Remove file.
24961 * math/math_private.h: Move file ...
24962 * sysdeps/generic/math_private.h: ... here.
24964 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24965 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24966 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24968 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24969 and <math_private.h>.
24970 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24971 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24972 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24973 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24974 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24975 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24976 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24978 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24979 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24982 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24984 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24985 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24986 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24987 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24988 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24989 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24991 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24992 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24994 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24995 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24996 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25000 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25002 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25004 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25006 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25007 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25008 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25009 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25010 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25011 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25012 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25013 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25014 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25015 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25016 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25017 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25018 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25019 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25020 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25021 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25022 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25023 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25024 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25025 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25026 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25027 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25028 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25029 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25031 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25033 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25034 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25038 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25039 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25040 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25041 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25042 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25043 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25044 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25052 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25053 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25054 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25057 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25058 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25059 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25060 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25061 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25062 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25063 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25064 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25065 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25066 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25067 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25068 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25069 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25070 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25071 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25072 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25073 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25074 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25075 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25076 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25077 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25078 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25080 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25081 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25082 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25083 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25084 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25085 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25086 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25087 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25088 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25089 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25090 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25091 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25092 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25093 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25094 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25095 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25096 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25097 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25098 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25099 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25100 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25101 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25102 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25103 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25104 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25105 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25106 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25108 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25109 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25110 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25111 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25112 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25113 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25114 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25115 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25116 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25117 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25118 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25119 * sysdeps/ieee754/k_standard.c: Likewise.
25120 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25121 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25122 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25123 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25124 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25125 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25129 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25130 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25131 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25132 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25133 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25134 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25135 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25136 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25137 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25138 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25139 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25140 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25141 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25142 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25143 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25144 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25145 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25146 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25147 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25148 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25149 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25150 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25151 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25152 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25153 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25154 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25155 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25156 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25157 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25158 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25159 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25160 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25161 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25162 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25163 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25164 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25165 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25166 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25167 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25168 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25169 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25170 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25171 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25172 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25173 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25176 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25177 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25178 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25179 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25180 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25181 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25182 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25183 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25184 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25186 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25187 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25190 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25192 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25193 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25194 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25195 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25196 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25197 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25200 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25211 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25212 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25219 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25223 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25224 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25228 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25229 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25230 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25231 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25232 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25233 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25234 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25235 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25236 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25237 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25238 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25239 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25241 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25242 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25243 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25244 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25245 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25246 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25247 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25248 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25249 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25250 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25251 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25252 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25253 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25254 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25255 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25256 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25257 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25258 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25259 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25260 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25261 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25262 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25263 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25264 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25265 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25266 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25267 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25268 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25269 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25270 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25271 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25272 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25273 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25274 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25275 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25276 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25277 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25278 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25279 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25280 * sysdeps/ieee754/s_lib_version.c: Likewise.
25281 * sysdeps/ieee754/s_matherr.c: Likewise.
25282 * sysdeps/ieee754/s_signgam.c: Likewise.
25283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25285 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25286 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25287 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25288 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25289 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25290 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25291 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25292 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25293 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25294 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25295 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25296 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25297 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25298 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25299 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25300 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25301 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25302 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25303 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25305 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25307 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25308 * sunrpc/rpc_main.c: Likewise.
25309 * sunrpc/rpc_svcout.c: Likewise.
25311 2012-03-09 David S. Miller <davem@davemloft.net>
25313 * include/math_private.h: New file.
25315 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25317 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25318 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25319 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25320 from <bits/socket_type.h>.
25321 (enum __socket_type): Don't define here.
25322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25324 bits/socket_type.h.
25327 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25328 checking __USE_GNU.
25330 * Makerules ($(inst_includedir)/%.h): New rule.
25331 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25332 (install-others): Remove variable setting.
25333 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25335 2012-03-08 Richard Henderson <rth@twiddle.net>
25337 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25338 from macro to inline function; merge with the
25339 !__LIBC_INTERNAL_MATH_INLINES version.
25340 (__ieee754_sqrtf): Likewise.
25342 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25343 to inline function.
25344 (__rintf, __floor, __floorf): Likewise.
25346 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25347 macro to inline function.
25348 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25351 not <math/math_private.h>.
25353 2012-03-08 David S. Miller <davem@davemloft.net>
25355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25357 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25359 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25361 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25363 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25364 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25366 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25368 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25369 be defined individually, they must be defined as a block. Define
25370 S for printing a string instead of hidint the different by using a
25371 macro for adding the 'l'.
25372 * stdio-common/tst-fphex-wide.c: Adjust.
25374 2012-03-07 Marek Polacek <polacek@redhat.com>
25376 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25378 2012-03-08 Marek Polacek <polacek@redhat.com>
25381 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25382 * stdio-common/tst-fphex.c: Define a few macros to make the
25383 test reusable. Use them.
25384 * stdio-common/tst-fphex-wide.c: New file.
25386 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25389 * manual/macros.texi (gnusystems): New macro.
25390 (nongnusystems): Likewise.
25391 (gnulinuxhurdsystems): Likewise.
25392 (gnuhurdsystems): Likewise..
25393 (gnulinuxsystems): Likewise.
25394 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25395 variants of the GNU system, not "GNU system".
25396 * manual/conf.texi: Likewise.
25397 * manual/errno.texi: Likewise. Update example of errno macro
25399 * manual/filesys.texi: Likewise.
25400 (getumask): Document as specific to GNU/Hurd.
25401 * manual/install.texi: Likewise. Reword some references to
25403 * manual/intro.texi: Likewise.
25404 * manual/io.texi: Likewise.
25405 (File Name Portability): Detail which constraints are inapplicable
25406 to all GNU systems and which are only inapplicable to GNU/Hurd.
25407 * manual/job.texi: Likewise.
25408 * manual/llio.texi: Likewise.
25409 (O_NOCTTY): Document as present on GNU/Linux.
25410 * manual/maint.texi: Likewise.
25411 * manual/memory.texi: Likewise.
25412 * manual/pattern.texi: Likewise.
25413 * manual/pipe.texi: Likewise.
25414 * manual/process.texi: Likewise.
25415 * manual/resource.texi: Likewise.
25416 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25418 * manual/setjmp.texi: Likewise.
25419 * manual/signal.texi: Likewise.
25420 * manual/startup.texi: Likewise.
25421 * manual/stdio.texi: Likewise.
25422 * manual/terminal.texi: Likewise.
25423 (ONLCR): Document as POSIX.
25424 (OXTABS): Document availability on GNU/Linux as XTABS.
25425 (ONOEOT): Document availability separately from other bits.
25426 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25427 * manual/time.texi: Likewise.
25428 * manual/users.texi: Likewise.
25429 * INSTALL: Regenerated.
25430 * sysdeps/gnu/errlist.c: Regenerated.
25432 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25433 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25434 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25436 * configure: Regenerated.
25438 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25440 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25441 default includes instead of AC_HEADER_CHECK.
25442 * sysdeps/i386/configure: Regenerated.
25445 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25446 * math/s_cacoshf.c (__cacoshf): Likewise.
25447 * math/s_cacoshl.c (__cacoshl): Likewise.
25448 * math/s_casinh.c (__casinh): Set signs of result from argument.
25449 * math/s_casinhf.c (__casinhf): Likewise.
25450 * math/s_casinhl.c (__casinhl): Likewise.
25451 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25452 (casinh_test): Add more tests.
25453 * sysdeps/i386/fpu/libm-test-ulps: Update.
25454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25456 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25458 * po/zh_TW.po: Update from translation team.
25460 * login/Makefile (distribute): Remove variable.
25461 * catgets/Makefile: Likewise.
25462 * mach/Makefile: Likewise.
25463 * malloc/Makefile: Likewise.
25464 * misc/Makefile: Likewise.
25465 * iconv/Makefile: Likewise.
25466 * nscd/Makefile: Likewise.
25467 * hurd/Makefile: Likewise.
25468 * manual/Makefile: Likewise.
25469 * locale/Makefile: Likewise.
25470 * intl/Makefile: Likewise.
25471 * conform/Makefile: Likewise.
25472 * nss/Makefile: Likewise.
25473 * time/Makefile: Likewise.
25474 * soft-fp/Makefile: Likewise.
25475 * dirent/Makefile: Likewise.
25476 * gmon/Makefile: Likewise.
25477 * po/Makefile: Likewise.
25478 * rt/Makefile: Likewise.
25479 * socket/Makefile: Likewise.
25480 * math/Makefile: Likewise.
25481 * signal/Makefile: Likewise.
25482 * debug/Makefile: Likewise.
25483 * elf/Makefile: Likewise.
25484 * timezone/Makefile: Likewise.
25485 * stdlib/Makefile: Likewise.
25486 * iconvdata/Makefile: Likewise.
25487 * sunrpc/Makefile: Likewise.
25488 * io/Makefile: Likewise.
25489 * argp/Makefile: Likewise.
25490 * inet/Makefile: Likewise.
25491 * hesiod/Makefile: Likewise.
25492 * grp/Makefile: Likewise.
25493 * csu/Makefile: Likewise.
25494 * wctype/Makefile: Likewise.
25495 * crypt/Makefile: Likewise.
25496 * libio/Makefile: Likewise.
25497 * string/Makefile: Likewise.
25498 * nis/Makefile: Likewise.
25499 * resolv/Makefile: Likewise.
25500 * stdio-common/Makefile: Likewise.
25501 * wcsmbs/Makefile: Likewise.
25502 * dlfcn/Makefile: Likewise.
25503 * posix/Makefile: Likewise.
25506 * timezone/Makefile: Don't install timezone files, just the programs
25509 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25511 * nss/databases.def: Add missing gshadow entry.
25513 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25515 2012-03-06 Marek Polacek <polacek@redhat.com>
25518 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25519 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25520 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25521 * stdio-common/tst-long-dbl-fphex.c: New file.
25523 2012-03-06 David S. Miller <davem@davemloft.net>
25525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25526 (set_obp_int): New function.
25527 (get_obp_int): New function.
25528 (__get_clockfreq_via_dev_openprom): Likewise.
25529 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25530 Avoid unused variable warnings on 'val' and use builtin_expect.
25531 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25533 (INLINE_CLONE_SYSCALL): Likewise.
25535 2012-03-05 David S. Miller <davem@davemloft.net>
25537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25539 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25544 only for |x| >= 40.
25545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25547 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25550 Replace gettimeofday with __vdso_gettimeofday.
25552 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25553 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25554 __vdso_clock_gettime and __vdso_getcpu.
25556 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25557 time with __vdso_time.
25559 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25561 * manual/lang.texi (size_t): Note types to which size_t may be
25562 equivalent with the GNU C Library, but do not describe when
25563 differences between them are significant.
25565 2012-03-05 Andreas Jaeger <aj@suse.de>
25567 * sysdeps/i386/fpu/libm-test-ulps: Update.
25569 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25572 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25573 (__ieee754_pow): Save and restore rounding mode and use
25574 round-to-nearest for main computations.
25575 * math/libm-test.inc (pow_test_tonearest): New function.
25576 (pow_test_towardzero): Likewise.
25577 (pow_test_downward): Likewise.
25578 (pow_test_upward): Likewise.
25579 (main): Call the new functions.
25580 * sysdeps/i386/fpu/libm-test-ulps: Update.
25581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25584 * math/libm-test.inc (cosh_test_tonearest): New function.
25585 (cosh_test_towardzero): Likewise.
25586 (cosh_test_downward): Likewise.
25587 (cosh_test_upward): Likewise.
25588 (sinh_test_tonearest): Likewise.
25589 (sinh_test_towardzero): Likewise.
25590 (sinh_test_downward): Likewise.
25591 (sinh_test_upward): Likewise.
25592 (main): Call the new functions.
25593 * sysdeps/i386/fpu/libm-test-ulps: Update.
25594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25596 2012-03-05 Tom de Vries <tom@codesourcery.com>
25598 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25599 default stack guard is set in last bytes.
25600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25602 2012-03-05 Kees Cook <keescook@chromium.org>
25604 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25607 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25608 possibly allocate from heap instead of stack.
25609 * stdio-common/bug-vfprintf-nargs.c: New file.
25610 * stdio-common/Makefile (tests): Add nargs overflow test.
25612 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25616 2012-03-03 Marek Polacek <polacek@redhat.com>
25618 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25619 * math/math_private.h: Likewise.
25620 * stdlib/tst-strtod.c: Likewise.
25621 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25622 * sysdeps/x86_64/bits/atomic.h: Likewise.
25624 2012-03-02 David S. Miller <davem@davemloft.net>
25626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25630 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25631 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25632 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25633 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25635 2012-03-02 Roland McGrath <roland@hack.frob.com>
25638 * manual/examples/README: New file, says the example source files
25639 can be used under GPL>=2.
25640 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25641 line containing just "*/".
25642 * manual/examples/add.c: Add copyright header (GPL>=2).
25643 * manual/examples/argp-ex1.c: Likewise.
25644 * manual/examples/argp-ex2.c: Likewise.
25645 * manual/examples/argp-ex3.c: Likewise.
25646 * manual/examples/argp-ex4.c: Likewise.
25647 * manual/examples/atexit.c: Likewise.
25648 * manual/examples/db.c: Likewise.
25649 * manual/examples/dir.c: Likewise.
25650 * manual/examples/dir2.c: Likewise.
25651 * manual/examples/execinfo.c: Likewise.
25652 * manual/examples/filecli.c: Likewise.
25653 * manual/examples/filesrv.c: Likewise.
25654 * manual/examples/fmtmsgexpl.c: Likewise.
25655 * manual/examples/genpass.c: Likewise.
25656 * manual/examples/inetcli.c: Likewise.
25657 * manual/examples/inetsrv.c: Likewise.
25658 * manual/examples/isockad.c: Likewise.
25659 * manual/examples/longopt.c: Likewise.
25660 * manual/examples/memopen.c: Likewise.
25661 * manual/examples/memstrm.c: Likewise.
25662 * manual/examples/mkfsock.c: Likewise.
25663 * manual/examples/mkisock.c: Likewise.
25664 * manual/examples/mygetpass.c: Likewise.
25665 * manual/examples/pipe.c: Likewise.
25666 * manual/examples/popen.c: Likewise.
25667 * manual/examples/rprintf.c: Likewise.
25668 * manual/examples/search.c: Likewise.
25669 * manual/examples/select.c: Likewise.
25670 * manual/examples/setjmp.c: Likewise.
25671 * manual/examples/sigh1.c: Likewise.
25672 * manual/examples/sigusr.c: Likewise.
25673 * manual/examples/stpcpy.c: Likewise.
25674 * manual/examples/strdupa.c: Likewise.
25675 * manual/examples/strftim.c: Likewise.
25676 * manual/examples/strncat.c: Likewise.
25677 * manual/examples/subopt.c: Likewise.
25678 * manual/examples/swapcontext.c: Likewise.
25679 * manual/examples/termios.c: Likewise.
25680 * manual/examples/testopt.c: Likewise.
25681 * manual/examples/testpass.c: Likewise.
25682 * manual/examples/timeval_subtract.c: Likewise.
25685 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25687 * manual/timeval_subtract.c.texi: ... here, new file.
25689 2012-03-02 David S. Miller <davem@davemloft.net>
25691 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25693 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25696 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25697 (__sin): Save and restore rounding mode and use round-to-nearest
25698 for all computations.
25699 (__cos): Save and restore rounding mode and use round-to-nearest
25700 for all computations.
25701 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25703 (tan): Save and restore rounding mode and use round-to-nearest for
25705 * math/libm-test.inc (cos_test_tonearest): New function.
25706 (cos_test_towardzero): Likewise.
25707 (cos_test_downward): Likewise.
25708 (cos_test_upward): Likewise.
25709 (sin_test_tonearest): Likewise.
25710 (sin_test_towardzero): Likewise.
25711 (sin_test_downward): Likewise.
25712 (sin_test_upward): Likewise.
25713 (tan_test_tonearest): Likewise.
25714 (tan_test_towardzero): Likewise.
25715 (tan_test_downward): Likewise.
25716 (tan_test_upward): Likewise.
25717 (main): Call the new functions.
25718 * sysdeps/i386/fpu/libm-test-ulps: Update.
25719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25722 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25723 small n, then large n, before computing and testing k+n.
25724 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25729 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25730 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25735 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25736 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25737 * math/libm-test.inc (scalbn_test): Add more tests.
25738 (scalbln_test): Likewise.
25740 * manual/filesys.texi (mode_t): Describe constraints on size and
25741 signedness, not exact equivalence to a particular type.
25743 (ino64_t): Likewise.
25745 (nlink_t): Likewise.
25746 (blkcnt_t): Likewise.
25747 (blkcnt64_t): Likewise.
25748 * manual/llio.texi (off_t): Likewise.
25751 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25752 (__ieee754_exp): Save and restore rounding mode and use
25753 round-to-nearest for all computations.
25754 * math/libm-test.inc (exp_test_tonearest): New function.
25755 (exp_test_towardzero): Likewise.
25756 (exp_test_downward): Likewise.
25757 (exp_test_upward): Likewise.
25758 (main): Call the new functions.
25759 * sysdeps/i386/fpu/libm-test-ulps: Update.
25760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25762 2012-03-01 Chris Demetriou <cgd@google.com>
25764 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25765 have predictable order.
25767 2012-03-01 David S. Miller <davem@davemloft.net>
25769 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25771 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25772 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25773 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25774 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25776 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25777 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25778 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25780 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25781 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25782 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25783 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25784 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25789 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25790 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25792 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25793 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25794 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25795 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25796 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25799 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25800 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25801 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25802 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25803 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25805 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25806 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25807 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25808 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25809 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25810 * sysdeps/sparc/elf/configure: Regenerated.
25812 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25814 * configure.in (AS, LD): Require binutils 2.20 or later.
25815 * configure: Regenerated.
25816 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25817 as required minimum version.
25818 * INSTALL: Regenerated.
25822 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25823 before squaring exponent.
25824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25825 bottom long double and 27 bits of top long double before squaring
25827 * math/libm-test.inc (erfc_test): Add more tests.
25828 * sysdeps/i386/fpu/libm-test-ulps: Update.
25829 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25832 2012-03-01 Kai Tietz <ktietz@redhat.com>
25834 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25835 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25836 containing bit-fields.
25837 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25838 * soft-fp/single.h (_FP_UNION_S): Likewise.
25839 * soft-fp/double.h (_FP_UNION_D): Likewise.
25841 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25844 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25845 not include ../strcmp.S.
25846 [USE_AS_STRNCASECMP_L]: Likewise.
25847 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25848 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25849 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25850 (__strncasecmp_l_ia32): Define as alias to
25851 __strncasecmp_l_nonascii.
25854 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25855 * sysdeps/i386/fpu/libm-test-ulps: Update.
25856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25858 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25861 2012-02-29 Jeff Law <law@redhat.com>
25863 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25864 out of bounds read.
25866 2012-02-29 Marek Polacek <polacek@redhat.com>
25869 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25870 * elf/Makefile: Add rules to run tst-unused-dep.out.
25872 2012-02-28 David S. Miller <davem@davemloft.net>
25874 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25875 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25876 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25878 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25879 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25881 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25883 * math/libm-test.inc (llround_test): Move one test from
25884 lround_test. Use TEST_f_L in moved test.
25885 (lround_test): Move misplaced test to llround_test. Add testcase
25888 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25890 * sysdeps/x86_64/fpu/e_expf.S: New file.
25891 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25893 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25896 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25897 of remain_len that may cause incomplete multi-byte character and
25899 * posix/bug-regex33.c: New file.
25900 * posix/Makefile (tests): Add bug-regex33.
25902 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25904 * manual/macros.texi: New file.
25905 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25906 * manual/libc.texinfo: Include macros.texi.
25907 * manual/creatute.texi: Likewise.
25908 * manual/install.texi: Likewise.
25909 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25910 @glibcadj{} in references to the GNU C Library.
25911 * manual/charset.texi: Likewise.
25912 * manual/conf.texi: Likewise.
25913 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25914 when not using those macros.
25915 * manual/creature.texi: Likewise.
25916 * manual/crypt.texi: Likewise.
25917 * manual/errno.texi: Likewise.
25918 * manual/filesys.texi: Likewise.
25919 * manual/header.texi: Likewise.
25920 * manual/install.texi: Likewise.
25921 * manual/intro.texi: Likewise.
25922 * manual/io.texi: Likewise.
25923 * manual/job.texi: Likewise.
25924 * manual/lang.texi: Likewise.
25925 * manual/libc.texiinfo: Likewise.
25926 * manual/llio.texi: Likewise.
25927 * manual/locale.texi: Likewise.
25928 * manual/maint.texi: Likewise.
25929 * manual/math.texi: Likewise.
25930 * manual/memory.texi: Likewise.
25931 * manual/message.texi: Likewise.
25932 * manual/nss.texi: Likewise.
25933 * manual/pattern.texi: Likewise.
25934 * manual/process.texi: Likewise.
25935 * manual/resource.texi: Likewise.
25936 * manual/search.texi: Likewise.
25937 * manual/setjmp.texi: Likewise.
25938 * manual/signal.texi: Likewise.
25939 * manual/socket.texi: Likewise.
25940 * manual/startup.texi: Likewise.
25941 * manual/stdio.texi: Likewise.
25942 * manual/string.texi: Likewise.
25943 * manual/sysinfo.texi: Likewise.
25944 * manual/syslog.texi: Likewise.
25945 * manual/terminal.texi: Likewise.
25946 * manual/time.texi: Likewise.
25947 * manual/users.texi: Likewise.
25948 * INSTALL: Regenerated.
25949 * NOTES: Regenerated.
25950 * sysdeps/gnu/errlist.c: Regenerated.
25952 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25954 * include/dirent.h: Include <dirstream.h> before
25957 2012-02-28 David S. Miller <davem@davemloft.net>
25959 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25960 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25961 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25962 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25964 2012-02-27 David S. Miller <davem@davemloft.net>
25966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25968 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25969 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25972 frame pointer instead of stack pointer relative arg slot.
25973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25974 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25975 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25977 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25980 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25982 2012-02-27 David S. Miller <davem@davemloft.net>
25984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25988 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25989 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25990 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25991 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25993 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25995 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25996 later. Allow versions 5-9.
25997 * configure: Regenerated.
25998 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25999 required minimum version and 4.6 as recommended version. Do not
26000 mention bugs in GCC 2.7 and 2.8.
26001 * INSTALL: Regenerated.
26003 2012-02-27 David S. Miller <davem@davemloft.net>
26005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26011 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26012 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26014 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26015 manipulate bits before adding and subtracting TWO112[sx].
26016 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26018 2012-02-27 Roland McGrath <roland@hack.frob.com>
26021 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26022 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26023 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26024 being in POSIX, because they are in 1003.1-2008.
26026 * rt/tst-aio.c: Include <fcntl.h>.
26027 * rt/tst-aio7.c: Likewise.
26028 * rt/tst-aio64.c: Likewise.
26030 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26032 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26034 * manual/install.texi (--with-headers): Describe headers as
26035 interface headers, not private headers.
26036 (Specific advice for GNU/Linux systems): Describe use of headers
26037 from "make headers_install", not private headers from older
26039 * INSTALL: Regenerated.
26040 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26042 * sysdeps/unix/sysv/linux/configure: Regenerated.
26044 * manual/llio.texi (fclean): Remove documentation.
26046 * manual/Makefile (libc-texi-generated): New variable. Include
26048 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26049 $(libc-texi-generated), not duplicated list of files.
26050 (version.texi, stamp-version): New rules.
26051 (realclean): Remove $(libc-texi-generated), not individual files
26052 from that list. Do not remove dir-add.texinfo.
26053 * manual/libc.texinfo: Comment out uses of edition numbers and
26054 references to printed manual. Remove last-updated dates.
26055 (EDITION): Comment out.
26057 (VERSION, UPDATED): Remove.
26058 (version.texi): Include.
26060 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26062 * sysdeps/posix/spawni.c: Include <signal.h>.
26063 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26064 * sysdeps/pthread/aio_fsync.c: Likewise.
26066 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26068 * conform/Makefile (tests): Run only when not cross-compiling and
26069 when fast-check is not defined.
26071 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26072 * conform/data/limits.h-data: Fixes for POSIX2008.
26073 * conform/run-conformtest.sh: Run all tests.
26074 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26076 * include/bits/dlfcn.h: Likewise.
26077 * include/langinfo.h: Likewise.
26078 * include/monetary.h: Likewise.
26079 * include/sys/poll.h: Likewise.
26081 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26083 * posix/spawn.h: Define __need_sigset_t.
26084 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26085 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26086 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26087 to get sigevent_t only.
26088 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26089 only for __USE_GNU.
26090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26091 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26092 process_vm_writev only for __USE_GNU.
26093 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26095 * conform/Makefile: For now ignore errors from run-conformtest.
26096 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26097 POSIX to avoid namespace pollution. Don't prepend headers.
26098 * conform/data/aio.h-data: Fixes for POSIX testing.
26099 * conform/data/fcntl.h-data: Likewise.
26100 * conform/data/glob.h-data: Likewise.
26101 * conform/data/grp.h-data: Likewise.
26102 * conform/data/pthread.h-data: Likewise.
26103 * conform/data/pwd.h-data: Likewise.
26104 * conform/data/signal.h-data: Likewise.
26105 * conform/data/spawn.h-data: Likewise.
26106 * conform/data/stdio.h-data: Likewise.
26107 * conform/data/stdlib.h-data: Likewise.
26108 * conform/data/stropts.h-data: Likewise.
26109 * conform/data/sys/mman.h-data: Likewise.
26110 * conform/data/sys/stat.h-data: Likewise.
26111 * conform/data/sys/types.h-data: Likewise.
26112 * conform/data/sys/wait.h-data: Likewise.
26113 * conform/data/time.h-data: Likewise.
26114 * conform/data/unistd.h-data: Likewise.
26115 * conform/data/utime.h-data: Likewise.
26117 * io/sys/stat.h: fchmod was always in POSIX.
26118 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26119 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26120 * rt/aio.h: Define __need_timespec before including <time.h>.
26121 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26122 struct. Add forward declaration of pthread_attr_t and use it in
26124 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26126 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26127 always remove CLK_TCK definition.
26129 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26131 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26133 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26135 * conform/run-conformtest.sh: New file.
26136 * conform/Makefile: Run run-conformtest for tests.
26137 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26140 * conform/data/uchar.h-data: New file.
26141 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26142 * conform/data/arpa/inet.h-data: Likewise.
26143 * conform/data/assert.h-data: Likewise.
26144 * conform/data/complex.h-data: Likewise.
26145 * conform/data/cpio.h-data: Likewise.
26146 * conform/data/ctype.h-data: Likewise.
26147 * conform/data/dirent.h-data: Likewise.
26148 * conform/data/dlfcn.h-data: Likewise.
26149 * conform/data/errno.h-data: Likewise.
26150 * conform/data/fcntl.h-data: Likewise.
26151 * conform/data/float.h-data: Likewise.
26152 * conform/data/fmtmsg.h-data: Likewise.
26153 * conform/data/fnmatch.h-data: Likewise.
26154 * conform/data/ftw.h-data: Likewise.
26155 * conform/data/glob.h-data: Likewise.
26156 * conform/data/grp.h-data: Likewise.
26157 * conform/data/iconv.h-data: Likewise.
26158 * conform/data/inttypes.h-data: Likewise.
26159 * conform/data/langinfo.h-data: Likewise.
26160 * conform/data/libgen.h-data: Likewise.
26161 * conform/data/limits.h-data: Likewise.
26162 * conform/data/locale.h-data: Likewise.
26163 * conform/data/math.h-data: Likewise.
26164 * conform/data/monetary.h-data: Likewise.
26165 * conform/data/mqueue.h-data: Likewise.
26166 * conform/data/ndbm.h-data: Likewise.
26167 * conform/data/net/if.h-data: Likewise.
26168 * conform/data/netdb.h-data: Likewise.
26169 * conform/data/netinet/in.h-data: Likewise.
26170 * conform/data/nl_types.h-data: Likewise.
26171 * conform/data/poll.h-data: Likewise.
26172 * conform/data/pthread.h-data: Likewise.
26173 * conform/data/pwd.h-data: Likewise.
26174 * conform/data/regex.h-data: Likewise.
26175 * conform/data/sched.h-data: Likewise.
26176 * conform/data/search.h-data: Likewise.
26177 * conform/data/semaphore.h-data: Likewise.
26178 * conform/data/setjmp.h-data: Likewise.
26179 * conform/data/signal.h-data: Likewise.
26180 * conform/data/spawn.h-data: Likewise.
26181 * conform/data/stdarg.h-data: Likewise.
26182 * conform/data/stdio.h-data: Likewise.
26183 * conform/data/stdlib.h-data: Likewise.
26184 * conform/data/string.h-data: Likewise.
26185 * conform/data/strings.h-data: Likewise.
26186 * conform/data/stropts.h-data: Likewise.
26187 * conform/data/sys/ipc.h-data: Likewise.
26188 * conform/data/sys/mman.h-data: Likewise.
26189 * conform/data/sys/msg.h-data: Likewise.
26190 * conform/data/sys/resource.h-data: Likewise.
26191 * conform/data/sys/select.h-data: Likewise.
26192 * conform/data/sys/sem.h-data: Likewise.
26193 * conform/data/sys/shm.h-data: Likewise.
26194 * conform/data/sys/socket.h-data: Likewise.
26195 * conform/data/sys/stat.h-data: Likewise.
26196 * conform/data/sys/statvfs.h-data: Likewise.
26197 * conform/data/sys/time.h-data: Likewise.
26198 * conform/data/sys/timeb.h-data: Likewise.
26199 * conform/data/sys/times.h-data: Likewise.
26200 * conform/data/sys/types.h-data: Likewise.
26201 * conform/data/sys/uio.h-data: Likewise.
26202 * conform/data/sys/un.h-data: Likewise.
26203 * conform/data/sys/utsname.h-data: Likewise.
26204 * conform/data/sys/wait.h-data: Likewise.
26205 * conform/data/syslog.h-data: Likewise.
26206 * conform/data/tar.h-data: Likewise.
26207 * conform/data/termios.h-data: Likewise.
26208 * conform/data/utime.h-data: Likewise.
26209 * conform/data/utmpx.h-data: Likewise.
26210 * conform/data/varargs.h-data: Likewise.
26211 * conform/data/wchar.h-data: Likewise.
26212 * conform/data/wctype.h-data: Likewise.
26213 * conform/data/wordexp.h-data: Likewise.
26215 * include/stropts.h: New file.
26216 * include/uchar.h: New file.
26217 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26218 * include/assert.h: Likewise.
26219 * include/ctype.h: Likewise.
26220 * include/dirent.h: Likewise.
26221 * include/dlfcn.h: Likewise.
26222 * include/fcntl.h: Likewise.
26223 * include/fnmatch.h: Likewise.
26224 * include/glob.h: Likewise.
26225 * include/grp.h: Likewise.
26226 * include/libio.h: Likewise.
26227 * include/locale.h: Likewise.
26228 * include/math.h: Likewise.
26229 * include/net/if.h: Likewise.
26230 * include/netdb.h: Likewise.
26231 * include/netinet/in.h: Likewise.
26232 * include/pthread.h: Likewise.
26233 * include/pwd.h: Likewise.
26234 * include/regex.h: Likewise.
26235 * include/sched.h: Likewise.
26236 * include/search.h: Likewise.
26237 * include/setjmp.h: Likewise.
26238 * include/signal.h: Likewise.
26239 * include/stdio.h: Likewise.
26240 * include/stdlib.h: Likewise.
26241 * include/string.h: Likewise.
26242 * include/sys/cdefs.h: Likewise.
26243 * include/sys/mman.h: Likewise.
26244 * include/sys/msg.h: Likewise.
26245 * include/sys/resource.h: Likewise.
26246 * include/sys/select.h: Likewise.
26247 * include/sys/socket.h: Likewise.
26248 * include/sys/stat.h: Likewise.
26249 * include/sys/statvfs.h: Likewise.
26250 * include/sys/time.h: Likewise.
26251 * include/sys/times.h: Likewise.
26252 * include/sys/uio.h: Likewise.
26253 * include/sys/utsname.h: Likewise.
26254 * include/sys/wait.h: Likewise.
26255 * include/termios.h: Likewise.
26256 * include/time.h: Likewise.
26257 * include/ulimit.h: Likewise.
26258 * include/unistd.h: Likewise.
26259 * include/utime.h: Likewise.
26260 * include/wchar.h: Likewise.
26261 * include/wctype.h: Likewise.
26262 * include/wordexp.h: Likewise.
26264 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26266 * time/time.h: TIME_UTC must be a macro.
26267 Make timespec_get available for ISO C11 only as well.
26269 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26271 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26272 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26274 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26276 * configure.in: Use -o not -a in test for unsupported multi-arch.
26278 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26280 * manual/texinfo.tex: Update to version 2012-01-19.16.
26282 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26284 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26286 2012-02-24 Roland McGrath <roland@hack.frob.com>
26289 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26290 * manual/fdl-1.3.texi: New file.
26291 * manual/fdl-1.1.texi: File removed.
26294 * manual/libc.texinfo (FDL_VERSION): New @set.
26295 Use it for mention of FDL in cover text.
26296 (Documentation License): Use it in @include file name.
26298 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26299 Roland McGrath <roland@hack.frob.com>
26302 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26303 not LONG_LONG_MAX and LONG_LONG_MIN.
26304 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26305 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26307 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26309 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26313 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26314 manipulate bits before adding and subtracting TWO23[sx].
26315 * math/libm-test.inc (nearbyint_test): Add more tests.
26317 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26320 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26321 bits before adding and subtracting TWO23[sx].
26322 * math/libm-test.inc (rint_test): Add more tests.
26323 (rint_test_tonearest): Likewise.
26324 (rint_test_towardzero): Likewise.
26325 (rint_test_downward): Likewise.
26326 (rint_test_upward: Likewise.
26328 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26331 * include/stdc-predef.h: New file. Extracted from features.h.
26332 * include/features.h: Include stdc-predef.h.
26333 * Makefile (headers): Add stdc-predef.h.
26334 * CONFORMANCE (Compiler limitations): Update.
26336 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26338 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26340 2012-02-21 David S. Miller <davem@davemloft.net>
26342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26343 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26345 2012-02-20 David S. Miller <davem@davemloft.net>
26347 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26348 using a normal save/restore sequence, rather than allocating a
26349 dummy stack frame just to store a frame pointer and restore.
26350 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26352 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26354 * manual/install.texi: Fix stray word in line-wrapped comment.
26356 2012-02-20 David S. Miller <davem@davemloft.net>
26358 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26359 both binutils and gcc support GOTDATA.
26361 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26362 "rd %pc" in the PIC register setup sequences.
26364 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26365 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26366 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26367 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26368 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26373 (SYSCALL_ERROR_HANDLER): Likewise.
26374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26375 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26377 (SYSCALL_ERROR_HANDLER): Likewise.
26379 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26380 (HAVE_GCC_GOTDATA): New.
26381 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26382 relocation support in both binutils and gcc.
26383 * sysdeps/sparc/elf/configure: Regenerate.
26385 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26386 * sysdeps/sparc/sparc32/elf/configure: Delete.
26387 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26388 * sysdeps/sparc/sparc64/elf/configure: Delete.
26389 * sysdeps/sparc/elf/configure.in: New file.
26390 * sysdeps/sparc/elf/configure: Generate.
26392 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26393 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26394 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26395 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26396 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26398 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26400 * manual/install.texi: Do not mention specific glibc version
26402 * manual/libc.texinfo (VERSION, UPDATED): Update.
26403 (@copying): Use @copyright{} and range of years.
26405 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26408 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26409 [crti.S not in sysdirs] (generated): Do not append.
26410 [crti.S not in sysdirs] (omit-deps): Likewise.
26411 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26412 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26413 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26414 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26415 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26417 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26418 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26419 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26420 * csu/defs.awk: Remove file.
26421 * sysdeps/generic/initfini.c: Likewise.
26422 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26424 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26427 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26429 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26430 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26431 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26433 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26434 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26436 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26437 (__EPOLL_PACKED): Define to empty if not defined by
26439 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26443 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26445 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26446 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26447 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26448 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26450 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26454 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26456 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26459 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26463 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26466 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26468 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26470 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26471 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26473 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26475 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26478 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26480 * math/w_acos.c: Use non-signaling floating-point comparisons.
26481 * math/w_acosf.c: Likewise.
26482 * math/w_acosh.c: Likewise.
26483 * math/w_acoshf.c: Likewise.
26484 * math/w_acoshl.c: Likewise.
26485 * math/w_acosl.c: Likewise.
26486 * math/w_asin.c: Likewise.
26487 * math/w_asinf.c: Likewise.
26488 * math/w_asinl.c: Likewise.
26489 * math/w_atanh.c: Likewise.
26490 * math/w_atanhf.c: Likewise.
26491 * math/w_atanhl.c: Likewise.
26492 * math/w_exp2.c: Likewise.
26493 * math/w_exp2f.c: Likewise.
26494 * math/w_exp2l.c: Likewise.
26495 * math/w_j0.c: Likewise.
26496 * math/w_j0f.c: Likewise.
26497 * math/w_j0l.c: Likewise.
26498 * math/w_j1.c: Likewise.
26499 * math/w_j1f.c: Likewise.
26500 * math/w_j1l.c: Likewise.
26501 * math/w_jn.c: Likewise.
26502 * math/w_jnf.c: Likewise.
26503 * math/w_log.c: Likewise.
26504 * math/w_log10.c: Likewise.
26505 * math/w_log10f.c: Likewise.
26506 * math/w_log10l.c: Likewise.
26507 * math/w_log2.c: Likewise.
26508 * math/w_log2f.c: Likewise.
26509 * math/w_log2l.c: Likewise.
26510 * math/w_logf.c: Likewise.
26511 * math/w_logl.c: Likewise.
26512 * math/w_sqrt.c: Likewise.
26513 * math/w_sqrtf.c: Likewise.
26514 * math/w_sqrtl.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26516 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26517 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26518 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26519 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26521 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26524 * manual/string.texi (strnlen): Use correct parameter name in
26525 equivalent expression.
26527 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26530 * manual/users.texi (seteuid): Consistently use neweuid for
26533 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26536 * manual/nss.texi (Services in the NSS configuration): Correct
26537 list of services in example configuration file.
26539 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26542 * manual/arith.texi: Remove statements about negative zero
26543 behaving identically to zero.
26545 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26548 * manual/install.texi: Do not document upgrading from libc5.
26550 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26553 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26555 2012-02-18 David S. Miller <davem@davemloft.net>
26557 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26558 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26559 %o7 across the call.
26560 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26563 SETUP_PIC_REG_LEAF.
26564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26565 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26566 * sysdeps/sparc/crtn.S: Likewise.
26568 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26570 * aout/Makefile: Remove.
26572 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26575 * manual/examples/argp-ex1.c (main): Format definition in GNU
26577 * manual/examples/argp-ex2.c (main): Likewise.
26578 * manual/examples/argp-ex3.c (main): Likewise.
26579 * manual/examples/argp-ex4.c (main): Likewise.
26580 * manual/examples/longopt.c (main): Use new-style prototype
26582 * manual/examples/strncat.c (main): Specify return type and use
26583 (void) for arguments.
26584 * manual/examples/subopt.c (main): Use char **argv argument.
26586 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26589 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26592 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26595 * manual/string.texi (strchr): Change when strchrnul is
26598 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26601 * manual/locale.texi (setlocale): Document LOCPATH.
26603 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26606 * manual/process.texi (execle): Move @dots{} before last argument.
26608 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26611 * manual/charset.texi (Generic Charset Conversion): Fix typo
26612 (LC_TYPE -> LC_CTYPE).
26614 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26617 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26618 (scalbnf): Likewise.
26619 (scalbnl): Likewise.
26620 (scalbln): Likewise.
26621 (scalblnf): Likewise.
26622 (scalblnl): Likewise.
26623 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26624 (vwarnx): Likewise.
26627 * manual/filesys.texi (telldir): Use braces around return type.
26628 * manual/llio.texi (mmap): Add space after comma.
26629 (mmap64): Likewise.
26630 * manual/math.texi (jn): Use @var{} on parameter names.
26636 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26638 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26640 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26641 (sched_get_priority_max): Likewise.
26642 * manual/signal.texi (sigvec): Add space after comma.
26643 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26645 (if_indextoname): Likewise.
26646 (if_freenameindex): Likewise.
26647 (sendto): Use ',' instead of '.' in prototype.
26648 * manual/startup.texi (syscall): Use @dots{} instead of literal
26650 * manual/stdio.texi (__fpending): Separate initial words of
26651 paragraph from @deftypefun line.
26652 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26654 (vsyslog): Use @var{} on parameter names.
26655 * manual/terminal.texi (stty): Use @var{} on parameter names.
26656 * manual/users.texi (getutmp): Use @var{} on parameter names.
26657 (getutmpx): Likewise.
26659 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26662 * manual/stdio.texi (fopen): Fix typos in description of
26665 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26668 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26669 get clock_id definition.
26671 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26674 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26675 (madvise): Cast every argument to void on its own.
26677 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26680 * manual/startup.texi (Exit Status): Fix typo.
26682 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26685 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26686 * manual/examples/argp-ex2.c: Likewise.
26687 * manual/examples/argp-ex3.c: Likewise.
26689 2012-02-16 Richard Henderson <rth@redhat.com>
26691 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26692 * sysdeps/s390/s390-32/initfini.c: Remove.
26693 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26694 * sysdeps/s390/s390-64/initfini.c: Remove.
26696 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26698 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26699 compiler output for sysdeps/generic/initfini.c.
26700 * sysdeps/sh/elf/initfini.c: Remove file.
26702 2012-02-16 David S. Miller <davem@davemloft.net>
26705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26707 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26708 * sysdeps/sparc/crti.S: New file.
26709 * sysdeps/sparc/crtn.S: New file.
26710 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26711 * sysdeps/sparc/sparc64/Makefile: Likewise.
26713 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26716 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26718 2012-02-15 Roland McGrath <roland@hack.frob.com>
26721 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26723 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26724 (write, read, close): Likewise.
26725 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26727 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26729 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26730 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26731 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26732 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26734 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26738 2012-02-14 Marek Polacek <polacek@redhat.com>
26740 * sysdeps/x86_64/crti.S: New file.
26741 * sysdeps/x86_64/crtn.S: New file.
26742 * sysdeps/x86_64/elf/initfini.c: Remove file.
26744 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26746 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26747 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26748 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26749 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26751 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26755 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26757 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26758 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26759 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26760 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26762 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26766 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26768 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26769 __feraiseexcept instead of feraiseexcept.
26771 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26772 nanosleep invocations.
26773 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26774 strings, and add error checking for a nanosleep invocations.
26776 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26778 Replace FSF snail mail address with URLs, as per GNU coding standards.
26779 Most of the snail mail addresses were wrong anyway, and omitting
26780 them makes the source code easier to maintain. Almost all of the
26781 changes are to license notices and to locale LC_IDENTIFICATION
26782 addresses, except for this one:
26783 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26784 not its snail mail address.
26786 2012-02-09 Richard Henderson <rth@twiddle.net>
26788 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26789 of kernel-features.h.
26791 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26793 2012-02-08 Marek Polacek <polacek@redhat.com>
26795 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26796 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26797 * sysdeps/gnu/_G_config.h: Likewise.
26798 * sysdeps/generic/_G_config.h: Likewise.
26800 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26802 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26806 * sysdeps/powerpc/powerpc32/crti.S: New file.
26807 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26808 * sysdeps/powerpc/powerpc64/crti.S: New file.
26809 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26811 * Makeconfig (have-initfini): Don't set.
26812 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26813 * configure.in (nopic_initfini): Don't substitute.
26814 * config.h.in (HAVE_INITFINI): Don't #undef.
26815 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26816 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26818 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26820 Support crti.S and crtn.S provided directly by architectures.
26821 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26822 [crti.S in sysdirs] (omit-deps): Likewise.
26823 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26824 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26825 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26826 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26827 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26828 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26829 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26830 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26831 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26832 compiler output for sysdeps/generic/initfini.c.
26833 * sysdeps/i386/elf/Makefile: Remove file.
26834 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26836 2012-02-07 Marek Polacek <polacek@redhat.com>
26838 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26839 * sysdeps/gnu/_G_config.h: Likewise.
26840 * sysdeps/mach/hurd/_G_config.h: Likewise.
26842 2012-02-07 Marek Polacek <polacek@redhat.com>
26844 * math/Makefile (tests): Add tst-CMPLX2.
26845 * math/tst-CMPLX2.c: New file.
26847 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26849 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26851 * math/libm-test.inc (jn_test): Add missing L suffix.
26853 2012-02-06 Marek Polacek <polacek@redhat.com>
26855 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26856 * sysdeps/i386/fpu/e_powf.S: Likewise.
26857 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26860 * sysdeps/i386/fpu/e_pow.S: Likewise.
26861 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26863 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26864 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26865 * sysdeps/i386/fpu/e_log2.S: Likewise.
26866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26867 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26868 * sysdeps/i386/fpu/e_powl.S: Likewise.
26869 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26870 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26871 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26872 * sysdeps/i386/fpu/e_logl.S: Likewise.
26873 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26874 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26875 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26876 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26877 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26878 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26879 * sysdeps/i386/fpu/e_log.S: Likewise.
26880 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26881 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26882 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26883 * sysdeps/i386/fpu/e_logf.S: Likewise.
26884 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26885 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26886 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26887 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26888 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26889 * sysdeps/i386/fpu/e_log10.S: Likewise.
26890 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26891 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26892 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26893 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26894 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26895 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26896 * sysdeps/i386/asm-syntax.h: Likewise.
26897 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26899 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26900 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26901 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26902 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26903 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26904 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26905 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26906 * sysdeps/powerpc/sysdep.h: Likewise.
26907 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26908 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26910 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26913 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26915 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26917 * sysdeps/i386/sysdep.h: Include <features.h>.
26918 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26921 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26923 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26925 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26928 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26930 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26931 (SETUP_PIC_REG): Use GET_PC_THUNK.
26932 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26935 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26937 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26938 for non-PIC compilation.
26939 (SETUP_PIC_REG): Add .p2align directive.
26940 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26941 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26942 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26943 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26944 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26945 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26946 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26948 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26949 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26950 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26951 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26952 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26953 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26954 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26955 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26956 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26960 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26961 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26962 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26963 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26970 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26972 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26973 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26974 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26975 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26976 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26977 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26978 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26979 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26980 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26982 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26984 * math/tst-CMPLX.c: Include <stdio.h>.
26986 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26988 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26990 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26991 * sysdeps/sparc/bits/mathdef.h: Likewise.
26993 2012-01-31 Marek Polacek <polacek@redhat.com>
26995 * libio/libio.h: Don't define _PARAMS.
26996 * locale/programs/config.h: Don't define PARAMS.
26997 * stdlib/strtol_l.c: Likewise.
26998 (__strtol_l): Remove PARAMS from the prototype.
27000 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27002 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27003 names. Just use the correct names. Remove unnecessary wrapper
27005 * malloc/arena.c: Likewise.
27006 * malloc/hooks.c: Likewise.
27008 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27009 ARENA_TEST says not to. Simplify test for creation of a new arena.
27010 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27012 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27014 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27016 (update_get_addr): New function.
27017 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27018 GET_ADDR_MODULE parameter.
27020 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27022 * crypt/cert.c: Remove __STDC__ conditionals.
27023 * crypt/crypt-entry.c: Likewise.
27024 * crypt/crypt_util.c: Likewise.
27025 * libio/filedoalloc.c: Likewise.
27026 * libio/fileops.c: Likewise.
27027 * libio/genops.c: Likewise.
27028 * libio/iofclose.c: Likewise.
27029 * libio/iofdopen.c: Likewise.
27030 * libio/iofopen.c: Likewise.
27031 * libio/iofopen64.c: Likewise.
27032 * libio/iogetdelim.c: Likewise.
27033 * libio/iopopen.c: Likewise.
27034 * libio/obprintf.c: Likewise.
27035 * libio/oldfileops.c: Likewise.
27036 * libio/oldiofclose.c: Likewise.
27037 * libio/oldiofdopen.c: Likewise.
27038 * libio/oldiofopen.c: Likewise.
27039 * libio/oldiopopen.c: Likewise.
27040 * libio/wfiledoalloc.c: Likewise.
27041 * libio/wgenops.c: Likewise.
27042 * locale/programs/xmalloc.c: Likewise.
27043 * misc/syslog.c: Likewise.
27044 * stdio-common/xbug.c: Likewise.
27045 * string/memchr.c: Likewise.
27046 * string/memcmp.c: Likewise.
27047 * string/memrchr.c: Likewise.
27048 * string/rawmemchr.c: Likewise.
27049 * sysdeps/posix/getcwd.c: Likewise.
27050 * time/strftime_l.c: Likewise.
27052 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27054 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27055 * config.make.in (config-cflags-sse2avx): Define.
27056 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27059 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27061 * scripts/config.guess: Update from upstream config git repository.
27062 * scripts/config.sub: Likewise.
27064 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27066 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27068 (R_TILEPRO_*, R_TILEGX_*): New macros.
27070 * scripts/firstversions.awk: Fix bug in version range handling.
27072 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27074 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27076 * include/sys/epoll.h: New file.
27077 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27080 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27082 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27083 Avoid unnecessary __WORDSIZE == 64 test.
27084 (fmaxf): Use VEX format if possible.
27089 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27090 * math/math_private.h: Remove libc_fegetround* and
27092 * sysdeps/i386/configure.in: Check for -msse2avx.
27093 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27094 also if SSE2AVX is defined.
27095 Remove libc_fegetround* and libc_fesetround*.
27096 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27097 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27098 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27100 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27101 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27102 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27103 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27106 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27108 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27110 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27112 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27114 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27117 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27119 * Makeconfig (libm): Define.
27120 * elf/Makefile: Add rules to build and run tst-relsort1.
27121 * elf/tst-relsort1.c: New file.
27122 * elf/tst-relsort1mod1.c: New file.
27123 * elf/tst-relsort1mod2.c: New file.
27125 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27127 * math/s_ldexp.c: Remove __STDC__ conditionals.
27128 * math/s_ldexpf.c: Likewise.
27129 * math/s_ldexpl.c: Likewise.
27130 * math/s_nextafter.c: Likewise.
27131 * math/s_nexttowardf.c: Likewise.
27132 * math/s_significand.c: Likewise.
27133 * math/s_significandf.c: Likewise.
27134 * math/s_significandl.c: Likewise.
27135 * math/w_jnl.c: Likewise.
27136 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27137 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27138 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27139 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27140 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27142 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27143 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27144 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27157 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27158 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27159 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27160 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27161 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27162 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27163 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27164 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27165 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27166 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27167 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27168 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27169 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27170 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27171 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27172 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27173 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27174 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27175 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27176 * sysdeps/ieee754/k_standard.c: Likewise.
27177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27178 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27179 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27180 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27181 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27182 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27183 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27184 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27185 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27187 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27188 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27189 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27190 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27191 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27192 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27193 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27195 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27196 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27200 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27202 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27203 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27204 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27208 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27209 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27210 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27213 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27226 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27238 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27243 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27246 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27251 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27256 * sysdeps/ieee754/s_matherr.c: Likewise.
27257 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27258 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27262 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27264 * crypt/md5.h: Remove __STDC__ conditionals.
27265 * libio/libioP.h: Likewise.
27266 * locale/programs/config.h: Likewise.
27267 * sysdeps/generic/sysdep.h: Likewise.
27268 * sysdeps/i386/asm-syntax.h: Likewise.
27269 * sysdeps/s390/asm-syntax.h: Likewise.
27270 * sysdeps/unix/sysdep.h: Likewise.
27271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27274 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27276 * libio/libio.h: Remove __STDC__ conditionals.
27277 * malloc/obstack.h: Likewise.
27278 * math/complex.h: Likewise.
27279 * math/math.h: Likewise.
27280 * sysdeps/generic/_G_config.h: Likewise.
27281 * sysdeps/gnu/_G_config.h: Likewise.
27282 * sysdeps/mach/hurd/_G_config.h: Likewise.
27283 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27284 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27285 * sysdeps/sparc/bits/mathdef.h: Likewise.
27287 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27290 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27291 Clean up HAS_* macros.
27292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27293 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27297 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27298 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27299 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27300 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27303 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27305 * elf/tst-unique3.cc (gets): Remove declaration.
27306 * elf/tst-unique3lib.cc (gets): Likewise.
27307 * elf/tst-unique3lib2.cc (gets): Likewise.
27308 * elf/tst-unique4.cc (gets): Likewise.
27310 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27312 * include/stdio.h: Add C++ protection. Add gets declarations and
27314 * debug/tst-chk1.c: Don't declare gets here.
27315 * stdio-common/tst-gets.c: Likewise.
27317 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27319 * posix/glob: Remove directory.
27321 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27323 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27325 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27327 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27328 of the non-standard EPFNOSUPPORT.
27330 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27332 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27333 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27334 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27336 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27338 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27340 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27342 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27344 * nscd/grpcache.c (cache_addgr): Likewise.
27345 * nscd/hstcache.c (cache_addhst): Likewise.
27346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27347 * nscd/pwdcache.c (cache_addpw): Likewise.
27348 * nscd/servicescache.c (cache_addserv): Likewise.
27350 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27352 * malloc/malloc.c: Various cleanups.
27353 * malloc/hooks.c: Likewise.
27355 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27356 * stdlib/bug-fmtmsg1.c: New file.
27358 * stdlib/fmtmsg.c (init): Add missing unlock.
27359 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27361 2012-01-12 Marek Polacek <polacek@redhat.com>
27363 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27366 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27368 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27369 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27370 macro to ensure uniqueness of label name.
27371 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27372 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27374 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27378 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27379 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27380 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27383 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27385 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27387 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27388 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27389 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27391 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27393 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27394 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27395 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27398 * math/bits/math-finite.h: Add ldexp support.
27400 2012-01-10 Marek Polacek <polacek@redhat.com>
27402 * locale/programs/localedef.h (show_archive_content): Add noreturn
27405 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27407 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27409 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27411 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27413 * io/Makefile (headers): Add bits/poll2.h.
27415 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27418 typo #include statement.
27420 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27422 * include/sys/cdefs.h: Define __attribute_alloc_size.
27423 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27424 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27425 * elf/pldd.c: Likewise.
27426 * iconv/iconv_charmap.c: Likewise.
27427 * iconv/iconvconfig.c: Likewise.
27428 * iconv/strtab.c: Likewise.
27429 * locale/programs/locale.c: Likewise.
27430 * locale/programs/localedef.h: Likewise.
27431 * locale/programs/simple-hash.c: Likewise.
27432 * nscd/nscd.h: Likewise.
27433 * nss/makedb.c: Likewise.
27434 * sysdeps/generic/ldconfig.h: Likewise.
27435 * locale/programs/localedef.c: Remove xmalloc prototype.
27436 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27438 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27440 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27443 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27445 * math/Makefile (tests): Add tst-CMPLX.
27446 * math/tst-CMPLX.c: New file.
27448 * math/complex.h (CMPLXL): Fix typo.
27450 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27451 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27453 * debug/tst-chk1.c: Add poll and ppoll tests.
27454 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27455 * include/sys/poll.h: Add hidden proto for ppoll.
27456 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27457 * sysdeps/mach/hurd/ppoll.c: Likewise.
27458 * io/ppoll.c: Likewise.
27459 * debug/poll_chk.c: New file.
27460 * debug/ppoll_chk.c: New file.
27461 * include/bits/poll2.h: New file.
27462 * io/bits/poll2.h: New file.
27465 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27467 * configure.in: static is always set to yes. Remove.
27468 * config.make.in: Don't set build-static.
27469 * Makeconfig: Remove use of build-static.
27470 * dlfcn/Makefile: Likewise.
27471 * elf/Makefile: Likewise.
27472 * math/Makefile: Likewise.
27473 * misc/Makefile: Likewise.
27474 * nptl/Makefile: Likewise.
27475 * sysdeps/mach/hurd/Makefile: Likewise.
27477 * configure.in: PWD_P is not used anymore.
27478 * config.make.in: Remove PWD_P entry.
27480 * configure.in: Remove last remnants of RANLIB.
27481 No need to check for signed size_t anymore.
27482 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27484 Remove __builtin_expect test because we require at least gcc 3.4.
27485 * aclocal.m4: Likewise.
27487 * wcsmbs/mbrtoc16.c: Implement using towc function.
27488 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27489 * wcsmbs/wcsmbsload.c: Likewise.
27490 * iconv/gconv_simple.c: Likewise.
27491 * iconv/gconv_int.h: Likewise.
27492 * iconv/gconv_builtin.h: Likewise.
27493 * iconv/iconv_prog.c: Remove CHAR16 handling.
27495 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27497 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27499 * configure.in: Remove --with-elf and --enable-bounded options.
27500 Dont set base_machine for ia64. More non-ELF conditions removed.
27501 Remove testing and setting of leading underscore information.
27502 * config.make.in (build-bounded): Set to no.
27503 * config.h.in: Remove NO_UNDERSCORES entry.
27504 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27506 * csu/start.c: Remove !NO_UNDERSCORE code.
27507 * locale/localeinfo.h: Likewise.
27508 * sysdeps/generic/machine-gmon.h: Likewise.
27509 * sysdeps/generic/sysdep.h: Likewise.
27510 * sysdeps/i386/sysdep.h: Likewise.
27511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27512 * sysdeps/mach/sysdep.h: Likewise.
27513 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27514 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27515 * sysdeps/sh/sysdep.h: Likewise.
27516 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27517 * sysdeps/unix/i386/sysdep.S: Likewise.
27518 * sysdeps/unix/sparc/start.c: Likewise.
27519 * sysdeps/unix/sparc/sysdep.S: Likewise.
27520 * sysdeps/unix/sparc/sysdep.h: Likewise.
27521 * sysdeps/unix/start.c: Likewise.
27522 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27523 * sysdeps/x86_64/sysdep.h: Likewise.
27525 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27528 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27530 * argp/argp-fmtstream.h: Use const instead __const.
27531 * argp/argp.h: Likewise.
27532 * assert/assert.h: Likewise.
27533 * bits/fenv.h: Likewise.
27534 * bits/sched.h: Likewise.
27535 * bits/sigset.h: Likewise.
27536 * bits/sigthread.h: Likewise.
27537 * catgets/nl_types.h: Likewise.
27538 * conform/data/pthread.h-data: Likewise.
27539 * crypt/crypt-private.h: Likewise.
27540 * crypt/crypt.h: Likewise.
27541 * crypt/crypt_util.c: Likewise.
27542 * ctype/ctype.h: Likewise.
27543 * debug/execinfo.h: Likewise.
27544 * debug/mbsnrtowcs_chk.c: Likewise.
27545 * debug/mbsrtowcs_chk.c: Likewise.
27546 * debug/wcsnrtombs_chk.c: Likewise.
27547 * debug/wcsrtombs_chk.c: Likewise.
27548 * debug/wcstombs_chk.c: Likewise.
27549 * dirent/dirent.h: Likewise.
27550 * dlfcn/dlfcn.h: Likewise.
27551 * elf/neededtest4.c: Likewise.
27552 * grp/grp.h: Likewise.
27553 * gshadow/gshadow.h: Likewise.
27554 * iconv/gconv.h: Likewise.
27555 * iconv/gconv_int.h: Likewise.
27556 * iconv/gconv_simple.c: Likewise.
27557 * iconv/iconv.h: Likewise.
27558 * iconv/loop.c: Likewise.
27559 * iconv/skeleton.c: Likewise.
27560 * include/aio.h: Likewise.
27561 * include/aliases.h: Likewise.
27562 * include/argz.h: Likewise.
27563 * include/arpa/inet.h: Likewise.
27564 * include/assert.h: Likewise.
27565 * include/dirent.h: Likewise.
27566 * include/dlfcn.h: Likewise.
27567 * include/execinfo.h: Likewise.
27568 * include/fcntl.h: Likewise.
27569 * include/fenv.h: Likewise.
27570 * include/glob.h: Likewise.
27571 * include/grp.h: Likewise.
27572 * include/libintl.h: Likewise.
27573 * include/mntent.h: Likewise.
27574 * include/netdb.h: Likewise.
27575 * include/pwd.h: Likewise.
27576 * include/rpc/netdb.h: Likewise.
27577 * include/sched.h: Likewise.
27578 * include/search.h: Likewise.
27579 * include/shadow.h: Likewise.
27580 * include/signal.h: Likewise.
27581 * include/stdio.h: Likewise.
27582 * include/stdlib.h: Likewise.
27583 * include/string.h: Likewise.
27584 * include/sys/socket.h: Likewise.
27585 * include/sys/stat.h: Likewise.
27586 * include/sys/statfs.h: Likewise.
27587 * include/sys/statvfs.h: Likewise.
27588 * include/sys/syslog.h: Likewise.
27589 * include/sys/time.h: Likewise.
27590 * include/sys/uio.h: Likewise.
27591 * include/time.h: Likewise.
27592 * include/unistd.h: Likewise.
27593 * include/utmp.h: Likewise.
27594 * include/wchar.h: Likewise.
27595 * include/wctype.h: Likewise.
27596 * inet/aliases.h: Likewise.
27597 * inet/arpa/inet.h: Likewise.
27598 * inet/netinet/ether.h: Likewise.
27599 * inet/netinet/in.h: Likewise.
27600 * intl/libintl.h: Likewise.
27601 * io/bits/fcntl2.h: Likewise.
27602 * io/fcntl.h: Likewise.
27603 * io/ftw.h: Likewise.
27604 * io/sys/poll.h: Likewise.
27605 * io/sys/stat.h: Likewise.
27606 * io/sys/statfs.h: Likewise.
27607 * io/sys/statvfs.h: Likewise.
27608 * io/utime.h: Likewise.
27609 * libio/bits/stdio.h: Likewise.
27610 * libio/bits/stdio2.h: Likewise.
27611 * libio/libio.h: Likewise.
27612 * libio/libioP.h: Likewise.
27613 * libio/stdio.h: Likewise.
27614 * locale/lc-ctype.c: Likewise.
27615 * locale/locale.h: Likewise.
27616 * login/utmp.h: Likewise.
27617 * malloc/arena.c: Likewise.
27618 * malloc/malloc.c: Likewise.
27619 * malloc/malloc.h: Likewise.
27620 * malloc/mcheck.c: Likewise.
27621 * malloc/mtrace.c: Likewise.
27622 * math/bits/mathcalls.h: Likewise.
27623 * math/fenv.h: Likewise.
27624 * math/math_private.h: Likewise.
27625 * misc/bits/error.h: Likewise.
27626 * misc/bits/syslog.h: Likewise.
27627 * misc/err.h: Likewise.
27628 * misc/error.h: Likewise.
27629 * misc/fstab.h: Likewise.
27630 * misc/mntent.h: Likewise.
27631 * misc/regexp.h: Likewise.
27632 * misc/search.h: Likewise.
27633 * misc/sgtty.h: Likewise.
27634 * misc/sys/mman.h: Likewise.
27635 * misc/sys/syslog.h: Likewise.
27636 * misc/sys/uio.h: Likewise.
27637 * misc/sys/xattr.h: Likewise.
27638 * misc/ttyent.h: Likewise.
27639 * nis/rpcsvc/ypclnt.h: Likewise.
27640 * nss/nss.h: Likewise.
27641 * posix/bits/unistd.h: Likewise.
27642 * posix/fnmatch.h: Likewise.
27643 * posix/glob.h: Likewise.
27644 * posix/sched.h: Likewise.
27645 * posix/spawn.h: Likewise.
27646 * posix/sys/wait.h: Likewise.
27647 * posix/unistd.h: Likewise.
27648 * posix/wordexp.h: Likewise.
27649 * pwd/pwd.h: Likewise.
27650 * resolv/netdb.h: Likewise.
27651 * resource/sys/resource.h: Likewise.
27652 * rt/aio.h: Likewise.
27653 * rt/bits/mqueue2.h: Likewise.
27654 * rt/mqueue.h: Likewise.
27655 * shadow/shadow.h: Likewise.
27656 * signal/signal.h: Likewise.
27657 * socket/send.c: Likewise.
27658 * socket/sendto.c: Likewise.
27659 * socket/sys/socket.h: Likewise.
27660 * stdio-common/printf.h: Likewise.
27661 * stdlib/bits/stdlib.h: Likewise.
27662 * stdlib/fmtmsg.h: Likewise.
27663 * stdlib/monetary.h: Likewise.
27664 * stdlib/stdlib.h: Likewise.
27665 * stdlib/ucontext.h: Likewise.
27666 * streams/stropts.h: Likewise.
27667 * string/argz.h: Likewise.
27668 * string/bits/string2.h: Likewise.
27669 * string/string.h: Likewise.
27670 * string/strings.h: Likewise.
27671 * sunrpc/rpc/auth.h: Likewise.
27672 * sunrpc/rpc/auth_des.h: Likewise.
27673 * sunrpc/rpc/clnt.h: Likewise.
27674 * sunrpc/rpc/netdb.h: Likewise.
27675 * sunrpc/rpc/pmap_clnt.h: Likewise.
27676 * sunrpc/rpc/xdr.h: Likewise.
27677 * sysdeps/generic/inttypes.h: Likewise.
27678 * sysdeps/generic/net/if.h: Likewise.
27679 * sysdeps/generic/sys/swap.h: Likewise.
27680 * sysdeps/gnu/net/if.h: Likewise.
27681 * sysdeps/gnu/utmpx.h: Likewise.
27682 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27683 * sysdeps/i386/i486/bits/string.h: Likewise.
27684 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27685 * sysdeps/s390/bits/string.h: Likewise.
27686 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27687 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27688 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27689 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27690 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27691 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27692 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27693 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27694 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27695 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27696 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27697 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27698 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27699 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27700 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27701 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27702 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27704 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27705 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27706 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27707 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27708 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27709 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27710 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27711 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27712 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27714 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27715 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27716 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27717 * sysvipc/sys/ipc.h: Likewise.
27718 * sysvipc/sys/msg.h: Likewise.
27719 * sysvipc/sys/sem.h: Likewise.
27720 * sysvipc/sys/shm.h: Likewise.
27721 * termios/termios.h: Likewise.
27722 * time/sys/time.h: Likewise.
27723 * time/time.h: Likewise.
27724 * wcsmbs/bits/wchar2.h: Likewise.
27725 * wcsmbs/uchar.h: Likewise.
27726 * wcsmbs/wchar.h: Likewise.
27727 * wctype/wctype.h: Likewise.
27730 * Makeconfig: Remove all but ELF support including AIX support.
27731 * Makerules: Likewise.
27732 * config.h.in: Likewise.
27733 * config.make.in: Likewise.
27734 * configure: Likewise.
27735 * configure.in: Likewise.
27736 * csu/Makefile: Likewise.
27737 * csu/version.c: Likewise.
27738 * debug/Makefile: Likewise.
27739 * dlfcn/Makefile: Likewise.
27740 * elf/Makefile: Likewise.
27741 * extra-lib.mk: Likewise.
27742 * iconv/Makefile: Likewise.
27743 * include/libc-symbols.h: Likewise.
27744 * include/shlib-compat.h: Likewise.
27745 * resolv/Makefile: Likewise.
27746 * resolv/res_libc.c: Likewise.
27747 * rt/Makefile: Likewise.
27748 * sysdeps/i386/asm-syntax.h: Likewise.
27749 * sysdeps/i386/sysdep.h: Likewise.
27750 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27751 * sysdeps/mach/sysdep.h: Likewise.
27752 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27753 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27754 * sysdeps/s390/asm-syntax.h: Likewise.
27755 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27757 * sysdeps/sh/sysdep.h: Likewise.
27758 * sysdeps/unix/sparc/sysdep.h: Likewise.
27759 * sysdeps/wordsize-32/divdi3.c: Likewise.
27760 * sysdeps/x86_64/sysdep.h: Likewise.
27762 * argp/Versions: Remove _argp_unlock_xxx.
27765 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27766 * abilist/libBrokenLocale.abilist: Likewise.
27767 * abilist/libanl.abilist: Likewise.
27768 * abilist/libc.abilist: Likewise.
27769 * abilist/libcrypt.abilist: Likewise.
27770 * abilist/libdl.abilist: Likewise.
27771 * abilist/libm.abilist: Likewise.
27772 * abilist/libnsl.abilist: Likewise.
27773 * abilist/libpthread.abilist: Likewise.
27774 * abilist/libresolv.abilist: Likewise.
27775 * abilist/librt.abilist: Likewise.
27776 * abilist/libthread_db.abilist: Likewise.
27777 * abilist/libutil.abilist: Likewise.
27778 * abilist/libnss_db.abilist: New file.
27780 * scripts/abilist.awk: Add support for indirect functions.
27782 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27784 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27786 * shlib-versions: Remove entries for ports architectures.
27788 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27790 * elf/stackguard-macros.h: Remove support for IA-64.
27791 * elf/tst-auditmod1.c: Likewise.
27792 * sysdeps/generic/ldsodefs.h: Likewise.
27794 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27795 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27799 * configure.in: Remove --enable-omitfp support.
27801 * config.make.in: Likewise.
27802 * Makeconfig: Likewise.
27803 * manual/install.texi: Likewise.
27805 In case anyone cares, the IA-64 architecture could move to ports.
27806 * sysdeps/ia64/*: Removed.
27807 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27808 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27811 * configure.in: Remove entries for unsupported architectures.
27814 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27815 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27817 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27818 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27819 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27820 fall back to using wcrtomb.
27821 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27822 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27824 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27825 * wcsmbs/tst-c16c32-1.c: New file.
27827 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27830 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27832 * elf/tst-unique3.cc: Add explicit declaration of gets.
27833 * elf/tst-unique3lib.cc: Likewise.
27834 * elf/tst-unique3lib2.cc: Likewise.
27835 * elf/tst-unique4.cc: Likewise.
27837 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27839 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27842 * assert/assert.h (static_assert): Don't define for C++.
27843 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27844 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27846 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27848 * iconv/loop.c (single loop): Fix assertion in storing of
27851 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27853 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27855 * posix/getconf.c: Update copyright year.
27856 * nss/getent.c: Likewise.
27857 * nss/makedb.c: Likewise.
27858 * iconv/iconvconfig.c: Likewise.
27859 * iconv/iconv_prog.c: Likewise.
27860 * elf/ldconfig.c: Likewise.
27861 * elf/pldd.c: Likewise.
27862 * elf/sotruss.ksh: Likewise.
27863 * catgets/gencat.c: Likewise.
27864 * csu/version.c: Likewise.
27865 * elf/ldd.bash.in: Likewise.
27866 * elf/sprof.c (print_version): Likewise.
27867 * locale/programs/locale.c: Likewise.
27868 * locale/programs/localedef.c: Likewise.
27869 * login/programs/pt_chown.c: Likewise.
27870 * nscd/nscd.c (print_version): Likewise.
27871 * debug/xtrace.sh: Likewise.
27872 * malloc/memusage.sh: Likewise.
27873 * malloc/mtrace.pl: Likewise.
27874 * debug/catchsegv.sh: Likewise.
27876 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27878 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27881 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27884 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27885 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27887 * iconv/gconv_int.h: Likewise.
27888 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27889 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27890 from libc for GLIBC_2.16.
27891 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27892 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27893 * wcsmbs/uchar.h: Really define mbstate_t.
27894 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27895 * wcsmbs/c16rtomb.c: New file.
27896 * wcsmbs/mbrtoc16.c: New file.
27897 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27898 for C/POSIX locale.
27899 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27900 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27902 * wcsmbs/wchar.h: Add missing __restrict.
27904 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27907 * time/Makefile (routines): Add timespec_get.
27908 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27909 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27910 timespec for ISO C11.
27911 * time/timespec_get.c: New file.
27912 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27913 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27916 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27917 * stdlib/stdlib.h: Declare aligned_alloc.
27918 * Versions.def: Add GLIBC_2.16 for libc.
27919 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27922 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27925 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27929 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27932 * assert/assert.h (static_assert): Define.
27934 * version.h: Update for 2.16 development version.
27937 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27940 * version.h (RELEASE): Bump for 2.15 release.
27941 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27943 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27944 Patch by Marek Polacek <mpolacek@redhat.com>.
27946 * bits/byteswap.h: Protect long long constants with __extension__.
27947 * sysdeps/i386/bits/byteswap.h: Likewise.
27948 * sysdeps/ia64/bits/byteswap.h: Likewise.
27949 * sysdeps/s390/bits/byteswap.h: Likewise.
27950 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27952 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27956 destination buffer.
27957 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27959 2011-12-23 Marek Polacek <polacek@redhat.com>
27961 * elf/dl-addr.c (determine_info): Add inline keyword.
27962 * elf/tst-auditmod4b.c (check_avx): Likewise.
27963 * elf/tst-auditmod6b.c (check_avx): Likewise.
27964 * elf/tst-auditmod6c.c (check_avx): Likewise.
27965 * elf/tst-auditmod7b.c (check_avx): Likewise.
27967 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27969 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27972 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27975 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27976 processing for last bytes.
27978 2011-08-06 Bruno Haible <bruno@clisp.org>
27981 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27982 U+0385, not to U+1FEE.
27985 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27986 entry for U+00A5 U+0301.
27988 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27991 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27992 buffer for the output is too small.
27994 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27998 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27999 SSE flags if possible.
28001 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28004 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28005 processing for last bytes.
28007 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28009 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28010 (syscall-list-default-options, syscall-list-default-condition)
28011 (syscall-list-includes): Define.
28012 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28013 list of ABIs and options and #if conditions for each ABI. Do not
28014 handle common syscalls between ABIs specially.
28015 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28017 (syscall-list-variants, syscall-list-32bit-options)
28018 (syscall-list-32bit-condition, syscall-list-64bit-options)
28019 (syscall-list-64bit-condition): Define.
28020 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28021 (syscall-list-variants, syscall-list-32bit-options)
28022 (syscall-list-32bit-condition, syscall-list-64bit-options)
28023 (syscall-list-64bit-condition): Define.
28024 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28026 (syscall-list-variants, syscall-list-32bit-options)
28027 (syscall-list-32bit-condition, syscall-list-64bit-options)
28028 (syscall-list-64bit-condition): Define.
28029 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28031 (syscall-list-variants, syscall-list-32bit-options)
28032 (syscall-list-32bit-condition, syscall-list-64bit-options)
28033 (syscall-list-64bit-condition): Define.
28035 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28037 * locale/iso-639.def: Add brx entry.
28040 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28041 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28043 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28044 __feraiseexcept_renamed.
28046 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28049 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28050 EPOLLET with unsigned values.
28051 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28054 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28055 to large cancellation.
28056 * math/s_cacoshf.c: Likewise.
28057 * math/s_cacoshl.c: Likewise.
28059 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28063 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28064 * math/s_cacoshf.c: Likewise.
28065 * math/s_cacoshl.c: Likewise.
28067 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28070 * iconv/gconv.h: Define __GCONV_SWAP.
28071 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28072 * iconvdata/utf-16.c: Likewise.
28073 * iconvdata/utf-32.c: Likewise.
28075 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28079 numerator after shifting it by one limb.
28081 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28083 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28084 under [__USE_EXTERN_INLINES].
28086 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28089 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28091 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28093 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28094 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28096 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28097 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28098 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28099 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28100 for strncasecmp/strncasecmp_l compilation.
28101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28102 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28104 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28107 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28110 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28113 * time/tzfile.c (__tzfile_read): Check values from file header.
28115 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28117 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28118 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28119 * powerpc/powerpc32/dl-start.S: Likewise.
28120 * powerpc/powerpc32/elf/start.S: Likewise.
28121 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28122 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28123 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28124 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28125 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28126 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28127 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28128 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28129 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28130 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28131 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28132 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28133 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28134 * powerpc/powerpc32/memset.S: Likewise.
28135 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28136 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28137 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28138 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28139 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28140 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28141 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28142 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28143 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28144 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28145 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28146 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28147 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28149 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28151 * math/libm-test.inc: Added more nearbyint tests.
28152 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28154 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28155 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28157 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28159 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28162 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28164 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28165 Add wcscpy-ssse3 wcscpy-c.
28166 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28167 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28168 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28169 * sysdeps/x86_64/wcschr.S: New file.
28170 * sysdeps/x86_64/wcsrchr.S: New file.
28171 * string/test-strcmp.c: Remove checking of wcscmp function for
28173 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28174 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28175 wcsrchr-sse2 wcsrchr-c.
28176 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28177 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28178 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28179 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28180 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28181 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28182 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28183 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28184 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28185 * wcsmbc/wcschr.c (WCSCHR): New macro.
28187 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28189 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28190 * wcsmbs/test-wcsrchr.c: New file.
28191 * string/test-strrchr.c: Add wcsrchr support.
28193 * wcsmbs/test-wcscpy.c: New file.
28194 * string/test-strcpy.c: Add wcscpy support.
28197 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28202 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28205 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28207 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28209 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28210 Minor optimizations.
28212 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28213 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28214 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28216 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28218 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28219 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28220 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28221 for gcc to avoid warnings.
28222 * inet/Makefile (tests): Add tst-checks.
28223 * inet/tst-checks.c: New file.
28225 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28228 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28231 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28232 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28234 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28236 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28238 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28241 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28243 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28245 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28246 conditional on GCC version.
28247 (__arch_compare_and_exchange_val_8_acq)
28248 (__arch_compare_and_exchange_val_16_acq)
28249 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28250 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28251 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28253 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28255 * sysdeps/sh/backtrace.c: New file.
28257 2011-12-02 Andreas Schwab <schwab@redhat.com>
28259 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28262 2011-12-01 Andreas Schwab <schwab@redhat.com>
28264 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28265 falling back to utime.
28267 2011-11-30 Andreas Schwab <schwab@redhat.com>
28269 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28270 expectations for float.
28272 2011-11-29 Andreas Schwab <schwab@redhat.com>
28274 * locale/weight.h (findidx): Add parameter len.
28275 * locale/weightwc.h (findidx): Likewise.
28276 * posix/fnmatch_loop.c (FCT): Adjust caller.
28277 * posix/regcomp.c (build_equiv_class): Likewise.
28278 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28279 * posix/regexec.c (check_node_accept_bytes): Likewise.
28280 * string/strcoll_l.c (STRCOLL): Likewise.
28281 * string/strxfrm_l.c (STRXFRM): Likewise.
28283 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28285 * Makefile.in: Remove CVSOPT handling.
28286 * configure.in: Remove use of AC_REVISION.
28287 * iconvdata/Makefile (distribute): No need to filter out CVS.
28288 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28291 2011-11-16 Andreas Schwab <schwab@redhat.com>
28293 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28294 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28295 [USE_AS_STRNCASECMP_L]: Likewise.
28296 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28297 NO_TLS_DIRECT_SEG_REFS.
28298 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28299 Fix argument offsets for non-PIC.
28300 [USE_AS_STRNCASECMP_L]: Likewise.
28301 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28302 NO_TLS_DIRECT_SEG_REFS.
28304 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28306 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28308 * locale/loadlocale.c (_nl_load_locale): Likewise.
28310 2011-11-15 Andreas Schwab <schwab@redhat.com>
28312 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28313 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28314 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28315 (SYSCALL_GETTIME): Set errno on error.
28317 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28318 count references to noai6ai_cached.
28320 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28322 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28324 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28325 FD_CLOEXEC for /proc/self/maps.
28327 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28328 FD_CLOEXEC for /proc/meminfo.
28330 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28333 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28334 FD_CLOEXEC for given file.
28336 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28338 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28339 FD_CLOEXEC for /etc/hosts.
28340 (_gethtent): Likewise.
28342 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28344 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28345 cancellation and set FD_CLOEXEC for /etc/netgroup.
28347 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28348 reading /etc/publickey.
28350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28351 allow cancellation when reading /etc/group.
28353 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28355 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28357 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28358 when using data file.
28360 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28362 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28363 (write_nis_obj): Use "c" and "e" in fopen.
28365 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28367 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28369 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28371 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28373 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28376 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28378 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28380 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28382 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28383 file parsing and set FD_CLOEXEC.
28385 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28387 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28389 2011-11-14 Andreas Schwab <schwab@redhat.com>
28391 * malloc/arena.c (arena_get2): Don't call reused_arena when
28392 _int_new_arena failed.
28394 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28396 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28397 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28398 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28399 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28400 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28402 to compile strcasecmp and strncasecmp.
28403 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28404 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28408 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28410 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28411 locale-defines.sym to gen-as-const-headers.
28412 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28413 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28415 to compile strcasecmp and strncasecmp.
28416 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28417 strcasecmp_l and strncasecmp_l.
28418 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28419 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28420 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28421 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28422 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28423 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28424 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28425 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28426 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28427 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28428 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28430 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28432 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28433 result of SYSDEP_GETTIME_CPU to retval.
28434 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28435 parameter list to macro. Remove trailing semicolon. Adjust users.
28437 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28440 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28442 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28444 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28445 from unused variable.
28447 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28449 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28452 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28455 * sunrpc/rpc_prot.c (rejected): Fix case value.
28457 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28458 unsigned long long int to avoid warnings in shift.
28460 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28462 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28465 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28466 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28467 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28469 * nis/nis_table.c (nis_list): Use variable of correct type for
28470 result of __follow_path call.
28472 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28474 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28475 of math functions ceil, trunc, floor, round, and sqrt, when
28476 avaliable on the platform.
28477 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28480 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28481 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28483 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28485 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28486 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28488 2011-11-11 Roland McGrath <roland@hack.frob.com>
28490 * include/unistd.h: Fix __readlink return type.
28491 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28493 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28495 * stdlib/ucontext.h: Undo last change for makecontext.
28497 2011-11-11 Andreas Schwab <schwab@redhat.com>
28499 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28501 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28502 * setjmp/setjmp.h: Mark functions as non-leaf.
28503 * setjmp/bits/setjmp2.h: Likewise.
28504 * stdlib/ucontext.h: Likewise.
28506 2011-11-10 Andreas Schwab <schwab@redhat.com>
28508 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28509 (reused_arena): Don't check arena limit.
28510 (arena_get2): Atomically check arena limit.
28512 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28514 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28515 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28520 2011-11-07 Andreas Schwab <schwab@redhat.com>
28522 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28523 handler when locking.
28525 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28526 Fix size of allocated buffer.
28528 2011-11-04 Andreas Schwab <schwab@redhat.com>
28531 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28532 declarations for long double functions.
28533 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28535 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28537 2011-11-03 Andreas Schwab <schwab@redhat.com>
28539 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28542 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28545 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28547 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28549 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28551 * include/alloca.h (stackinfo_alloca_round): Define.
28552 (extend_alloca): Use it.
28553 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28554 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28557 * scripts/check-local-headers.sh: Ignore libaudit.h.
28559 * nscd/Makefile (extra-objs): Make recursively expanded.
28561 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28563 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28566 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28567 * posix/tst-rfc3484-2.c: Likewise.
28568 * posix/tst-rfc3484-3.c: Likewise.
28570 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28572 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28574 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28575 process_vm_writev from libc using GLIBC_2.15 version.
28577 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28579 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28581 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28584 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28587 * nss/getent.c (initgroups_keys): Show error message in case no group
28590 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28591 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28592 __bump_nl_timestamp.
28593 * nscd/connections (nscd_init): When host database is served open
28594 netlink socket and request notification about configuration changes.
28595 (main_loop_poll): Track netlink file descriptor and bump timestamp
28596 in case data becomes available.
28597 (main_loop_epoll): Likewise.
28598 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28599 (database_pers_head): Add extra_data fileds.
28600 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28601 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28602 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28605 in6ai data, call __free_in6ai.
28606 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28607 Add -DHAVE_NETLINK.
28608 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28609 interface information. Reuse previous data if netlink timestamp
28611 (__bump_nl_timestamp): New function.
28612 (__free_in6ai): New function.
28614 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28616 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28617 close_not_cancel_no_status here.
28618 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28620 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28623 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28626 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28627 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28628 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28630 2011-07-03 Andreas Jaeger <aj@suse.de>
28633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28634 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28635 * math/libm-test.inc (sin_test): Add test case.
28637 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28640 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28641 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28643 * elf/chroot_canon.c (chroot_canon): Cleanups.
28645 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28648 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28649 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28651 * string/test-strchr.c: Make usable for strchrnul testing.
28652 * string/test-strchrnul.c: New file.
28653 * string/Makefile (strop-tests): Add strchrnul.
28655 * po/it.po: Update from translation team.
28656 * po/es.po: Likewise.
28658 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28660 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28661 the three constants needed as parameters. Drop the others.
28662 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28663 __m128i_strloadu_tolower.
28664 Create and initialize variable zero and use it in all the places
28665 where _mm_setzero_si128 was used.
28667 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28668 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28669 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28670 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28672 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28673 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28674 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28675 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28676 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28677 __mpranred, __mptan.
28678 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28679 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28680 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28681 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28682 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28683 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28684 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28685 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28686 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28688 2011-10-28 Andreas Schwab <schwab@redhat.com>
28690 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28691 redefine if SHARED.
28692 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28695 wide char related routines to wcsmbs subdir.
28697 2011-10-27 Andreas Schwab <schwab@redhat.com>
28700 * misc/sys/cdefs.h (__THROWNL): Define.
28701 * posix/unistd.h: Use __THREADNL instead of __THREAD
28702 for memory synchronization functions.
28704 2011-10-26 Roland McGrath <roland@hack.frob.com>
28707 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28709 * manual/stdio.texi (Obstack Streams): Node removed.
28711 2011-10-26 Andreas Schwab <schwab@redhat.com>
28713 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28714 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28715 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28717 * math/math_private.h (math_force_eval): Allow non-addressable
28719 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28721 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28723 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28724 file is not needed.
28726 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28728 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28729 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28730 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28733 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28735 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28736 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28737 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28738 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28739 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28740 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28741 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28742 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28743 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28744 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28745 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28746 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28748 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28749 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28750 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28751 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28752 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28753 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28755 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28756 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28759 place. Use VEX encoding when compiling for AVX.
28761 2011-10-25 Andreas Schwab <schwab@redhat.com>
28763 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28764 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28766 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28768 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28770 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28771 useless if() expression.
28772 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28773 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28774 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28776 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28777 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28778 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28780 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28781 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28782 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28783 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28784 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28786 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28787 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28788 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28790 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28792 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28794 2011-10-25 Andreas Schwab <schwab@redhat.com>
28796 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28798 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28800 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28802 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28803 .text section. Avoid duplicate constants.
28804 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28806 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28814 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28816 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28819 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28821 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28827 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28828 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28829 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28830 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28831 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28832 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28833 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28834 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28835 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28836 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28837 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28838 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28839 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28840 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28841 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28842 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28843 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28844 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28845 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28846 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28847 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28848 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28850 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28852 * sysdeps/x86_64/dla.h: Move to ...
28853 * sysdeps/x86_64/fpu/dla.h: ...here.
28854 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28855 situations. Use __builtin_fma only for gcc 4.6 and up.
28857 * config.make.in: Add have-mfma4 entry.
28858 * configure.in: Substitute libc_cv_cc_fma4.
28859 * math/Makefile (dbl-only-routines): Add sincostab.
28860 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28861 Use __sincostab not sincos.
28862 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28864 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28865 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28866 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28869 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28870 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28871 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28872 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28874 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28875 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28877 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28878 define aliases when function name is a macro.
28879 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28880 sysdeps/ieee754/dbl-64/sincos.tbl.
28881 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28882 fma4-enabled routines.
28883 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28884 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28885 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28886 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28887 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28888 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28890 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28891 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28892 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28893 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28894 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28895 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28896 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28898 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28899 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28900 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28901 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28903 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28904 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28905 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28906 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28907 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28908 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28909 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28910 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28911 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28912 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28914 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28925 2011-10-24 Andreas Schwab <schwab@redhat.com>
28927 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28929 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28931 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28933 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28935 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28937 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28938 Remove unused variable magic_bits.
28939 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28941 * string/strnlen.c: Define and use STRNLEN macro.
28942 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28943 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28945 * wcsmbs/wcslen.c: Define and use WCSLEN.
28946 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28947 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28948 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28949 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28950 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28951 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28952 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28954 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28957 strnlen-sse2-no-bsf.
28958 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28960 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28961 Add strnlen support.
28962 (USE_AS_STRNLEN): New macro.
28963 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28965 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28966 * sysdeps/x86_64/wcslen.S: New file.
28968 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28970 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28971 XMM-moves are used for copying on small sizes.
28973 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28975 * wcsmbs/Makefile (strop-tests): Add wcschr.
28976 * wcsmbs/test-wcschr.c: New file.
28977 * string/test-strchr.c: Update.
28978 Add wcschr support.
28981 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28983 * wcsmbs/Makefile (strop-tests): Add wcslen.
28984 * wcsmbs/test-wcslen.c: New file.
28985 * string/test-strlen.c: Update.
28986 Add wcslen support.
28989 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28991 * po/it.po: Update from translation team.
28993 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28995 * sysdeps/x86_64/wcscmp.S: Update.
28996 Fix wrong comparison semantics.
28997 wcscmp shall use signed comparison not unsigned.
28998 Don't use substraction to avoid overflow bug.
28999 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29000 * wcsmbc/wcscmp.c: Likewise.
29001 * string/test-strcmp.c: Likewise.
29002 Add new tests to check cases with negative values.
29004 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29006 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29007 * sysdeps/x86_64/dla.h: ...here. New file.
29008 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29018 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29021 __ynl_finite aliases.
29023 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29027 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29029 [DLA_FMA] (EMULV): Use DLA_FMA.
29030 [DLA_FMA] (MUL12): Use EMULV.
29031 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29032 that are not needed.
29033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29038 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29041 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29043 * math/s_nan.c: Undef __nan.
29044 * math/s_nanf.c: Undef __nanf.
29045 * math/s_nanl.c: Undef __nanl.
29046 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29049 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29051 * math/s_catan.c: Add branch predictions.
29052 * math/s_catanf.c: Likewise.
29053 * math/s_catanh.c: Likewise.
29054 * math/s_catanhf.c: Likewise.
29055 * math/s_catanhl.c: Likewise.
29056 * math/s_catanl.c: Likewise.
29057 * math/s_cexp.c: Likewise.
29058 * math/s_cexpf.c: Likewise.
29059 * math/s_cexpl.c: Likewise.
29060 * math/s_clog.c: Likewise.
29061 * math/s_clog10.c: Likewise.
29062 * math/s_clog10f.c: Likewise.
29063 * math/s_clog10l.c: Likewise.
29064 * math/s_clogf.c: Likewise.
29065 * math/s_clogl.c: Likewise.
29066 * math/s_csqrt.c: Likewise.
29067 * math/s_csqrtf.c: Likewise.
29068 * math/s_csqrtl.c: Likewise.
29069 * math/s_ctanf.c: Likewise.
29070 * math/s_ctanh.c: Likewise.
29071 * math/s_ctanhf.c: Likewise.
29072 * math/s_ctanhl.c: Likewise.
29073 * math/s_ctanl.c: Likewise.
29075 * math/math_private.h: Define __nan, __nanf, __nanl.
29076 * math/s_cacosh.c: Include <math_private.h>.
29077 * math/s_cacoshl.c: Likewise.
29078 * math/s_casinh.c: Likewise.
29079 * math/s_casinhf.c: Likewise.
29080 * math/s_casinhl.c: Likewise.
29081 * math/s_ccos.c: Rely entire on ccosh.
29082 * math/s_ccosf.c: Rely entire on ccoshf.
29083 * math/s_ccosl.c: Rely entirely on ccoshl.
29084 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29085 Remove tests for FE_INVALID.
29086 * math/s_ccoshf.c: Likewise.
29087 * math/s_ccoshl.c: Likewise.
29088 * math/s_csin.c: Likewise.
29089 * math/s_csinf.c: Likewise.
29090 * math/s_csinh.c Likewise.
29091 * math/s_csinhf.c: Likewise.
29092 * math/s_csinhl.c: Likewise.
29093 * math/s_csinl.c: Likewise.
29094 * math/s_ctan.c: Likewise.
29095 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29096 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29099 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29102 compilation problems.
29104 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29107 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29109 * sysdeps/i386/configure.in: Test for -mfma4 option.
29110 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29111 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29112 COMMON_CPUID_INDEX_80000001.
29113 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29114 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29115 use it if FMA3 is not supported.
29116 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29118 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29119 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29121 2011-10-20 Andreas Schwab <schwab@redhat.com>
29124 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29125 it would create a cycle with a link time dependency.
29127 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29129 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29131 * string/Makefile (strop-tests): Add rawmemchr.
29132 * string/test-rawmemchr.c: New file.
29134 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29136 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29137 when compiling str{,n}casecmp and when AVX is available. Hook up
29138 new optimized code in initializers.
29140 2011-10-19 Andreas Schwab <schwab@redhat.com>
29142 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29143 __feraiseexcept instead of feraiseexcept.
29145 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29147 * math/math_private.h: Define defaults for libc_fetestexcept and
29149 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29150 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29151 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29152 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29153 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29154 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29155 libc_fetestexcept and libc_feupdateenv.
29157 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29158 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29159 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29160 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29161 libc_feholdexcept_setround.
29163 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29164 Add s_nearbyint-c and s_nearbyintf-c.
29165 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29166 nearbyintf inlines.
29167 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29168 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29169 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29170 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29172 * math/math_private.h: Define defaults for libc_fegetround,
29173 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29174 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29175 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29176 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29177 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29178 standard functions.
29179 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29180 Remove comments and hacks for old compiler versions.
29181 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29182 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29183 libc_feholdexceptl.
29185 2011-10-18 Andreas Schwab <schwab@redhat.com>
29187 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29188 (__feraiseexcept_renamed): Add __NTH.
29189 (feraiseexcept): Add __NTH. Rename local variables to fix
29190 namespace violations.
29192 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29194 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29196 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29198 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29199 recently added interfaces.
29200 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29202 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29203 about macro parameter expansion.
29205 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29206 __NO_MATH_INLINES is defined. Cleanups.
29208 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29209 and __floorf is target has SSE4.1.
29210 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29211 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29212 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29213 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29215 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29217 (floorf): Likewise.
29219 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29221 2011-10-17 Andreas Schwab <schwab@redhat.com>
29223 * misc/sys/cdefs.h: Fix last change.
29225 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29228 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29230 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29232 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29234 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29235 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29238 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29239 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29240 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29241 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29242 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29243 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29244 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29245 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29246 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29247 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29248 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29249 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29250 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29251 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29252 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29253 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29255 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29256 ceil, ceilf, floor, floorf.
29258 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29259 Perform IRELATIVE relocations last.
29261 * elf/do-rel.h: Add another parameter nrelative, replacing the
29262 local variable with the same name. Change name of the function
29263 to end in Rel or Rela (uppercase).
29264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29265 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29266 elf_dynamic_do_##reloc function.
29268 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29270 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29271 is sufficient, at least on modern CPUs.
29273 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29275 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29276 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29278 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29280 * math/bits/math-finite.h: Add entries for exp.
29281 * math/e_expl.c: Add __*_finite alias.
29282 * sysdeps/i386/fpu/e_exp.S: Likewise.
29283 * sysdeps/i386/fpu/e_expf.S: Likewise.
29284 * sysdeps/i386/fpu/e_expl.c: Likewise.
29285 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29286 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29289 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29290 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29291 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29293 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29294 is sufficient, at least on modern CPUs.
29296 * ctype/ctype-info.c (__ctype_init): Define.
29297 * include/ctype.h (__ctype_init): Declare.
29298 (__ctype_b_loc): The variable is always initialized.
29299 (__ctype_toupper_loc): Likewise.
29300 (__ctype_tolower_loc): Likewise.
29301 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29302 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29304 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29306 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29308 * configure.in: Also look in $cxxmachine/include for C++ system
29311 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29313 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29314 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29315 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29316 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29317 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29318 (USE_AS_WMEMCMP): New macro.
29320 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29321 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29322 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29323 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29325 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29326 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29327 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29328 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29329 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29330 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29331 (USE_AS_WMEMCMP): New macro.
29332 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29333 * sysdeps/string/test-memcmp.c: Update.
29334 Fix simple_wmemcmp.
29336 * wcsmbs/wmemcmp.c: Update.
29337 (WMEMCMP): New macro.
29340 2011-10-12 Andreas Jaeger <aj@suse.de>
29343 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29345 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29347 * libio/iofwide.c (do_length): Avoid warning.
29349 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29351 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29353 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29355 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29356 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29357 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29358 * sysdeps/i386/i686/fpu/e_log.S: New file.
29359 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29360 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29362 * ctype/ctype.h: Add support for inlined isXXX functions when
29363 compiling C++ code.
29365 2011-10-14 Andreas Schwab <schwab@redhat.com>
29367 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29369 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29371 2011-10-13 Roland McGrath <roland@hack.frob.com>
29374 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29376 2011-10-13 Andreas Schwab <schwab@redhat.com>
29378 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29379 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29382 * sysdeps/x86_64/memrchr.S: Check for zero size.
29384 * string/stratcliff.c: Add memrchr tests.
29386 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29389 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29390 rawmemchr-sse2 rawmemchr-sse2-bsf.
29391 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29392 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29393 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29394 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29395 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29396 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29397 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29398 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29399 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29400 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29401 * string/memrchr.c (MEMRCHR): New macro.
29403 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29405 Add integration with gcc's -ffinite-math-only and optimize wrapper
29407 * Versions.def: Define GLIBC_2.15 version for libm.
29408 * math/Makefile (headers): Add bits/math-finite.h.
29409 * math/bits/math-finite.h: New file.
29410 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29411 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29412 * math/e_acoshl.c: Add __*_finite alias.
29413 * math/e_acosl.c: Likewise.
29414 * math/e_asinl.c: Likewise.
29415 * math/e_atan2l.c: Likewise.
29416 * math/e_atanhl.c: Likewise.
29417 * math/e_coshl.c: Likewise.
29418 * math/e_exp10.c: Likewise.
29419 * math/e_exp10f.c: Likewise.
29420 * math/e_exp10l.c: Likewise.
29421 * math/e_exp2l.c: Likewise.
29422 * math/e_fmodl.c: Likewise.
29423 * math/e_gammal_r.c: Likewise.
29424 * math/e_hypotl.c: Likewise.
29425 * math/e_j0l.c: Likewise.
29426 * math/e_j1l.c: Likewise.
29427 * math/e_jnl.c: Likewise.
29428 * math/e_lgammal_r.c: Likewise.
29429 * math/e_log10l.c: Likewise.
29430 * math/e_log2l.c: Likewise.
29431 * math/e_logl.c: Likewise.
29432 * math/e_powl.c: Likewise.
29433 * math/e_sinhl.c: Likewise.
29434 * math/e_sqrtl.c: Likewise.
29435 * math/e_scalb.c: Completely rewritten and optimized.
29436 * math/e_scalbf.c: Likewise.
29437 * math/e_scalbl.c: Likewise.
29438 * math/w_acos.c: Likewise.
29439 * math/w_acosf.c: Likewise.
29440 * math/w_acosl.c: Likewise.
29441 * math/w_acosh.c: Likewise.
29442 * math/w_acoshf.c: Likewise.
29443 * math/w_acoshl.c: Likewise.
29444 * math/w_asin.c: Likewise.
29445 * math/w_asinf.c: Likewise.
29446 * math/w_asinl.c: Likewise.
29447 * math/w_atan2.c: Likewise.
29448 * math/w_atan2f.c: Likewise.
29449 * math/w_atan2l.c: Likewise.
29450 * math/w_atanh.c: Likewise.
29451 * math/w_atanhf.c: Likewise.
29452 * math/w_atanhl.c: Likewise.
29453 * math/w_exp10.c: Likewise.
29454 * math/w_exp10f.c: Likewise.
29455 * math/w_exp10l.c: Likewise.
29456 * math/w_fmod.c: Likewise.
29457 * math/w_fmodf.c: Likewise.
29458 * math/w_fmodl.c: Likewise.
29459 * math/w_j0.c: Likewise.
29460 * math/w_j0f.c: Likewise.
29461 * math/w_j0l.c: Likewise.
29462 * math/w_j1.c: Likewise.
29463 * math/w_j1f.c: Likewise.
29464 * math/w_j1l.c: Likewise.
29465 * math/w_jn.c: Likewise.
29466 * math/w_jnf.c: Likewise.
29467 * math/w_log.c: Likewise.
29468 * math/w_logf.c: Likewise.
29469 * math/w_logl.c: Likewise.
29470 * math/w_log10.c: Likewise.
29471 * math/w_log10f.c: Likewise.
29472 * math/w_log10l.c: Likewise.
29473 * math/w_log2.c: Likewise.
29474 * math/w_log2f.c: Likewise.
29475 * math/w_log2l.c: Likewise.
29476 * math/w_pow.c: Likewise.
29477 * math/w_powf.c: Likewise.
29478 * math/w_powl.c: Likewise.
29479 * math/w_remainder.c: Likewise.
29480 * math/w_remainderf.c: Likewise.
29481 * math/w_remainderl.c: Likewise.
29482 * math/w_scalb.c: Likewise.
29483 * math/w_scalbf.c: Likewise.
29484 * math/w_scalbl.c: Likewise.
29485 * math/w_sqrt.c: Likewise.
29486 * math/w_sqrtf.c: Likewise.
29487 * math/w_sqrtl.c: Likewise.
29488 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29489 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29491 * math/math_private.h: Declare __kernel_standard_f.
29492 * math/w_cosh.c: Remove cruft and optimize a bit.
29493 * math/w_coshf.c: Likewise.
29494 * math/w_coshl.c: Likewise.
29495 * math/w_exp2.c: Likewise.
29496 * math/w_exp2f.c: Likewise.
29497 * math/w_exp2l.c: Likewise.
29498 * math/w_hypot.c: Likewise.
29499 * math/w_hypotf.c: Likewise.
29500 * math/w_hypotl.c: Likewise.
29501 * math/w_lgamma.c: Likewise.
29502 * math/w_lgamma_r.c: Likewise.
29503 * math/w_lgammaf.c: Likewise.
29504 * math/w_lgammaf_r.c: Likewise.
29505 * math/w_lgammal.c: Likewise.
29506 * math/w_lgammal_r.c: Likewise.
29507 * math/w_sinh.c: Likewise.
29508 * math/w_sinhf.c: Likewise.
29509 * math/w_sinhl.c: Likewise.
29510 * math/w_tgamma.c: Likewise.
29511 * math/w_tgammaf.c: Likewise.
29512 * math/w_tgammal.c: Likewise.
29513 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29515 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29516 Minor optimizations. Pretty printing. Remove cruft.
29517 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29518 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29519 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29520 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29521 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29522 * sysdeps/i386/fpu/e_asin.S: Likewise.
29523 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29524 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29525 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29526 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29527 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29528 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29529 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29530 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29531 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29532 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29533 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29534 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29535 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29536 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29537 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29538 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29539 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29540 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29541 * sysdeps/i386/fpu/e_log.S: Likewise.
29542 * sysdeps/i386/fpu/e_log10.S: Likewise.
29543 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29544 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29545 * sysdeps/i386/fpu/e_log2.S: Likewise.
29546 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29548 * sysdeps/i386/fpu/e_logf.S: Likewise.
29549 * sysdeps/i386/fpu/e_logl.S: Likewise.
29550 * sysdeps/i386/fpu/e_pow.S: Likewise.
29551 * sysdeps/i386/fpu/e_powf.S: Likewise.
29552 * sysdeps/i386/fpu/e_powl.S: Likewise.
29553 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29554 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29555 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29556 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29557 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29558 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29559 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29560 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29561 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29562 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29565 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29566 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29567 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29568 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29569 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29571 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29572 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29573 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29575 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29576 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29578 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29579 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29582 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29583 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29584 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29585 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29586 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29588 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29589 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29590 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29591 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29592 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29593 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29594 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29595 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29596 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29597 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29598 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29599 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29600 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29601 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29602 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29603 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29604 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29605 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29607 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29608 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29609 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29610 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29611 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29612 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29613 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29614 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29615 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29616 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29617 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29618 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29619 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29620 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29621 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29622 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29623 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29625 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29626 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29627 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29628 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29630 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29631 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29632 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29633 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29634 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29635 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29636 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29637 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29638 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29640 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29641 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29642 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29643 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29644 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29645 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29647 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29648 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29649 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29650 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29651 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29652 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29653 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29654 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29655 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29656 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29657 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29658 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29659 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29660 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29661 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29662 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29663 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29664 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29665 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29667 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29668 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29670 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29671 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29672 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29673 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29674 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29675 (__isnanf): Likewise.
29676 (__isinf_ns): Likewise.
29677 (__isinf_nsf): Likewise.
29678 (__finite): Likewise.
29679 (__finitef): Likewise.
29680 (__ieee754_sqrt): Define as macro.
29681 (__ieee754_sqrtf): Define as macro.
29682 (__ieee754_sqrtl): Define as macro.
29683 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29685 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29686 __FINITE_MATH_ONLY__ consistent.
29687 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29689 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29691 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29694 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29696 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29698 * po/ja.po: Update from translation team.
29700 2011-10-08 Roland McGrath <roland@hack.frob.com>
29702 * locale/programs/locarchive.c (prepare_address_space): New function.
29703 (create_archive, enlarge_archive, open_archive): Use it.
29705 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29706 inside [SHARED], where it is used.
29708 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29710 * nss/getent.c (netgroup_keys): Remove unused variable.
29711 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29713 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29715 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29716 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29718 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29719 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29720 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29721 * math/Makefile (libm-calls): Add s_isinf_ns.
29722 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29723 * math/multc3.c: Likewise.
29724 * math/s_casin.c: Likewise.
29725 * math/s_casinf.c: Likewise.
29726 * math/s_casinl.c: Likewise.
29727 * math/s_ccos.c: Likewise.
29728 * math/s_ccosf.c: Likewise.
29729 * math/s_ccosl.c: Likewise.
29730 * math/s_ctan.c: Likewise.
29731 * math/s_ctanf.c: Likewise.
29732 * math/s_ctanh.c: Likewise.
29733 * math/s_ctanhf.c: Likewise.
29734 * math/s_ctanhl.c: Likewise.
29735 * math/s_ctanl.c: Likewise.
29736 * math/w_fmod.c: Likewise.
29737 * math/w_fmodf.c: Likewise.
29738 * math/w_fmodl.c: Likewise.
29739 * math/w_remainder.c: Likewise.
29740 * math/w_remainderf.c: Likewise.
29741 * math/w_remainderl.c: Likewise.
29742 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29743 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29744 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29746 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29747 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29748 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29749 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29751 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29753 * stdio-common/printf_fphex.c: Likewise.
29754 * stdio-common/printf_size.c: Likewise.
29756 * math/e_exp10.c: Include math_private.h using <...> not "...".
29757 * math/e_exp10f.c: Likewise.
29758 * math/e_exp10l.c: Likewise.
29759 * math/e_exp2l.c: Likewise.
29760 * math/e_j0l.c: Likewise.
29761 * math/e_j1l.c: Likewise.
29762 * math/e_jnl.c: Likewise.
29763 * math/e_lgammal_r.c: Likewise.
29764 * math/e_rem_pio2l.c: Likewise.
29765 * math/e_scalb.c: Likewise.
29766 * math/e_scalbf.c: Likewise.
29767 * math/e_scalbl.c: Likewise.
29768 * math/k_cosl.c: Likewise.
29769 * math/k_sinl.c: Likewise.
29770 * math/k_tanl.c: Likewise.
29771 * math/s_cacoshf.c: Likewise.
29772 * math/s_catan.c: Likewise.
29773 * math/s_catanf.c: Likewise.
29774 * math/s_catanh.c: Likewise.
29775 * math/s_catanhf.c: Likewise.
29776 * math/s_catanhl.c: Likewise.
29777 * math/s_catanl.c: Likewise.
29778 * math/s_ccosh.c: Likewise.
29779 * math/s_ccoshf.c: Likewise.
29780 * math/s_ccoshl.c: Likewise.
29781 * math/s_cexp.c: Likewise.
29782 * math/s_cexpf.c: Likewise.
29783 * math/s_cexpl.c: Likewise.
29784 * math/s_clog.c: Likewise.
29785 * math/s_clog10.c: Likewise.
29786 * math/s_clog10f.c: Likewise.
29787 * math/s_clog10l.c: Likewise.
29788 * math/s_clogf.c: Likewise.
29789 * math/s_clogl.c: Likewise.
29790 * math/s_csin.c: Likewise.
29791 * math/s_csinf.c: Likewise.
29792 * math/s_csinh.c: Likewise.
29793 * math/s_csinhf.c: Likewise.
29794 * math/s_csinhl.c: Likewise.
29795 * math/s_csinl.c: Likewise.
29796 * math/s_csqrt.c: Likewise.
29797 * math/s_csqrtf.c: Likewise.
29798 * math/s_csqrtl.c: Likewise.
29799 * math/s_ctan.c: Likewise.
29800 * math/s_ctanf.c: Likewise.
29801 * math/s_ctanh.c: Likewise.
29802 * math/s_ctanhf.c: Likewise.
29803 * math/s_ctanhl.c: Likewise.
29804 * math/s_ctanl.c: Likewise.
29805 * math/s_ldexp.c: Likewise.
29806 * math/s_ldexpf.c: Likewise.
29807 * math/s_ldexpl.c: Likewise.
29808 * math/s_significand.c: Likewise.
29809 * math/s_significandf.c: Likewise.
29810 * math/s_significandl.c: Likewise.
29811 * math/w_acos.c: Likewise.
29812 * math/w_acosf.c: Likewise.
29813 * math/w_acosh.c: Likewise.
29814 * math/w_acoshf.c: Likewise.
29815 * math/w_acoshl.c: Likewise.
29816 * math/w_acosl.c: Likewise.
29817 * math/w_asin.c: Likewise.
29818 * math/w_asinf.c: Likewise.
29819 * math/w_asinl.c: Likewise.
29820 * math/w_atan2.c: Likewise.
29821 * math/w_atan2f.c: Likewise.
29822 * math/w_atan2l.c: Likewise.
29823 * math/w_atanh.c: Likewise.
29824 * math/w_atanhf.c: Likewise.
29825 * math/w_atanhl.c: Likewise.
29826 * math/w_cosh.c: Likewise.
29827 * math/w_coshf.c: Likewise.
29828 * math/w_coshl.c: Likewise.
29829 * math/w_dremf.c: Likewise.
29830 * math/w_exp10.c: Likewise.
29831 * math/w_exp10f.c: Likewise.
29832 * math/w_exp10l.c: Likewise.
29833 * math/w_exp2.c: Likewise.
29834 * math/w_exp2f.c: Likewise.
29835 * math/w_fmod.c: Likewise.
29836 * math/w_fmodf.c: Likewise.
29837 * math/w_fmodl.c: Likewise.
29838 * math/w_hypot.c: Likewise.
29839 * math/w_hypotf.c: Likewise.
29840 * math/w_hypotl.c: Likewise.
29841 * math/w_j0.c: Likewise.
29842 * math/w_j0f.c: Likewise.
29843 * math/w_j0l.c: Likewise.
29844 * math/w_j1.c: Likewise.
29845 * math/w_j1f.c: Likewise.
29846 * math/w_j1l.c: Likewise.
29847 * math/w_jn.c: Likewise.
29848 * math/w_jnf.c: Likewise.
29849 * math/w_jnl.c: Likewise.
29850 * math/w_lgamma.c: Likewise.
29851 * math/w_lgamma_r.c: Likewise.
29852 * math/w_lgammaf.c: Likewise.
29853 * math/w_lgammaf_r.c: Likewise.
29854 * math/w_lgammal.c: Likewise.
29855 * math/w_lgammal_r.c: Likewise.
29856 * math/w_log.c: Likewise.
29857 * math/w_log10.c: Likewise.
29858 * math/w_log10f.c: Likewise.
29859 * math/w_log10l.c: Likewise.
29860 * math/w_log2.c: Likewise.
29861 * math/w_log2f.c: Likewise.
29862 * math/w_log2l.c: Likewise.
29863 * math/w_logf.c: Likewise.
29864 * math/w_logl.c: Likewise.
29865 * math/w_pow.c: Likewise.
29866 * math/w_powf.c: Likewise.
29867 * math/w_powl.c: Likewise.
29868 * math/w_remainder.c: Likewise.
29869 * math/w_remainderf.c: Likewise.
29870 * math/w_remainderl.c: Likewise.
29871 * math/w_scalb.c: Likewise.
29872 * math/w_scalbf.c: Likewise.
29873 * math/w_scalbl.c: Likewise.
29874 * math/w_sinh.c: Likewise.
29875 * math/w_sinhf.c: Likewise.
29876 * math/w_sinhl.c: Likewise.
29877 * math/w_sqrt.c: Likewise.
29878 * math/w_sqrtf.c: Likewise.
29879 * math/w_sqrtl.c: Likewise.
29880 * math/w_tgamma.c: Likewise.
29881 * math/w_tgammaf.c: Likewise.
29882 * math/w_tgammal.c: Likewise.
29884 * po/ja.po: Update from translation team.
29886 2011-09-29 Andreas Jaeger <aj@suse.de>
29889 * sunrpc/netname.c (netname2host): Fix logic.
29893 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29895 * math/w_remainder.c (__remainder): Likewise.
29896 * math/w_remainderf.c (__remainderf): Likewise.
29897 * math/libm-test.inc (remainder_test): Add test cases.
29899 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29901 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29904 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29906 * string/test-memcmp.c: Avoid unncessary #defines.
29907 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29909 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29911 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29912 Use new sse2 version for core i3 - i7 as it's faster
29913 than sse42 version.
29914 (bit_Prefer_PMINUB_for_stringop): New.
29915 * sysdeps/x86_64/rawmemchr.S: Update.
29916 Replace with faster SSE2 version.
29917 * sysdeps/x86_64/memrchr.S: New file.
29918 * sysdeps/x86_64/memchr.S: Update.
29919 Replace with faster SSE2 version.
29921 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29923 * elf/dl-load.c (lose): Add cast to avoid warning.
29925 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29927 * po/ca.po: Update from translation team.
29929 * inet/getnetgrent_r.c: Hook up nscd.
29930 * nscd/Makefile (routines): Add nscd_netgroup.
29931 (nscd-modules): Add netgroupcache.
29932 (CFLAGS-netgroupcache.c): Define.
29933 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29934 (cache_search): Add const to second parameter.
29935 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29937 (dbs): Add netgrdb entry.
29938 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29939 (verify_persistent_db): Handle netgrdb.
29940 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29941 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29943 (netgroup_response_header): Define.
29944 (innetgroup_response_header): Define.
29945 (datahead): Add netgroup_response_header and innetgroup_response_header
29947 * nscd/nscd.conf: Add entries for netgroup cache.
29948 * nscd/nscd.h (dbtype): Add netgrdb.
29949 (_PATH_NSCD_NETGROUP_DB): Define.
29950 (netgroup_iov_disabled): Declare.
29951 (xmalloc, xcalloc, xrealloc): Move declarations here.
29952 (cache_search): Adjust prototype.
29953 Add netgroup-related prototypes.
29954 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29955 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29956 (__nscd_innetgr): Declare.
29957 * nscd/selinux.c (perms): Use access_vector_t as element type and
29958 add netgroup-related initializers.
29959 * nscd/netgroupcache.c: New file.
29960 * nscd/nscd_netgroup.c: New file.
29961 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29962 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29963 For four parameters use innetgr.
29964 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29965 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29966 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29967 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29969 * nscd/connections.c (register_traced_file): Don't register file
29970 for disabled databases.
29972 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29974 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29976 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29977 from tree and freeing node.
29979 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29981 * nss/nsswitch.c (__nss_database_lookup): Handle
29982 nss_parse_service_list out of memory case.
29984 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29986 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29987 out of memory case.
29989 2011-10-04 Andreas Schwab <schwab@redhat.com>
29991 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29992 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29994 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29995 elf_machine_rela, elf_machine_lazy_rel.
29996 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29997 (ELF_DYNAMIC_DO_REL): Likewise.
29998 (ELF_DYNAMIC_DO_RELA): Likewise.
29999 (ELF_DYNAMIC_RELOCATE): Likewise.
30000 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30001 to ELF_DYNAMIC_DO_REL.
30002 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30003 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30004 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30006 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30007 skip_ifunc, don't call ifunc function if non-zero.
30008 (elf_machine_rela): Likewise.
30009 (elf_machine_lazy_rel): Likewise.
30010 (elf_machine_lazy_rela): Likewise.
30011 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30012 (elf_machine_lazy_rel): Likewise.
30013 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30015 (elf_machine_lazy_rel): Likewise.
30016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30018 (elf_machine_lazy_rel): Likewise.
30019 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30020 (elf_machine_lazy_rel): Likewise.
30021 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30022 (elf_machine_lazy_rel): Likewise.
30023 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30024 (elf_machine_lazy_rel): Likewise.
30025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30026 (elf_machine_lazy_rel): Likewise.
30027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30028 (elf_machine_lazy_rel): Likewise.
30029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30030 (elf_machine_lazy_rel): Likewise.
30032 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30034 * nss/nss_files/files-init.c (_nss_files_init): Use static
30035 initialization for all the *_traced_file variables.
30037 2011-09-28 Andreas Schwab <schwab@redhat.com>
30039 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30041 2011-09-27 Roland McGrath <roland@hack.frob.com>
30044 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30046 2011-09-27 Andreas Schwab <schwab@redhat.com>
30048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30049 Reread the line before reparsing it.
30051 2011-09-26 Andreas Schwab <schwab@redhat.com>
30053 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30055 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30056 Maxim Kuvyrkov <maxim@codesourcery.com>
30057 Joseph Myers <joseph@codesourcery.com>
30059 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30060 if needed for __stack_chk_guard.
30062 2011-09-19 Roland McGrath <roland@hack.frob.com>
30064 * sysdeps/posix/spawni.c (script_execute): Always define it.
30065 It will be optimized away if unused.
30066 (maybe_script_execute): New function.
30067 (__spawni): Call it.
30069 * Makerules: Don't include tls.make.
30070 (config-tls): Always set to thread.
30071 * tls.make.c: File removed.
30073 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30075 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30076 * config.make.in (CPPFLAGS-config): New substituted variable.
30078 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30080 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30083 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30084 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30086 2011-09-15 Roland McGrath <roland@hack.frob.com>
30088 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30089 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30091 (CALL_FAIL): Likewise.
30092 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30093 (CALL_FAIL): Macro removed.
30094 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30096 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30098 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30099 for __FINITE_MATH_ONLY__ == 1.
30101 2011-09-15 Andreas Schwab <schwab@redhat.com>
30103 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30104 __ieee754_sqrt instead of sqrt.
30105 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30106 __ieee754_sqrtf instead of sqrtf.
30107 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30108 __floorf instead of floorf.
30109 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30110 __floorf, __truncf instead of floorf, truncf.
30112 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30114 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30116 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30117 __extern_always_inline.
30118 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30121 2011-09-14 Andreas Schwab <schwab@redhat.com>
30123 * elf/rtld.c (dl_main): Also relocate in dependency order when
30124 doing symbol dependency testing.
30126 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30129 Always define `refsym'.
30131 2011-09-13 Andreas Schwab <schwab@redhat.com>
30133 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30134 (__FD_ELT): Renamed from __FDELT.
30135 * misc/bits/select2.h (__FD_ELT): Likewise.
30136 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30137 __FD_MASK instead of __FDELT, __FDMASK.
30138 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30140 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30143 * elf/Makefile (gen-ldd): Fix pattern.
30145 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30146 (init_tls): Likewise.
30148 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30150 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30152 2011-09-12 Andreas Schwab <schwab@redhat.com>
30154 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30155 `struct cmsghdr *' instead of `void *'.
30156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30159 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30161 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30163 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30164 ldd_rewrite_script.
30166 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30168 * configure.in: Remove --with-tls option.
30169 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30170 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30171 out in case it is missing.
30172 * sysdeps/ia64/elf/configure.in: Likewise.
30173 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30174 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30175 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30176 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30177 * sysdeps/sh/elf/configure.in: Likewise.
30178 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30179 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30180 * sysdeps/x86_64/elf/configure.in: Likewise.
30181 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30182 * sysdeps/mach/hurd/tls.h: Likewise.
30185 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30188 * configure.in: Fix use of AC_INIT.
30190 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30192 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30194 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30196 * malloc/hooks.c: Likewise.
30199 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30200 variables statically.
30201 (narenas): Initialize.
30202 (list_lock): Initialize.
30203 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30204 initializtion of main_arena and list_lock. Small cleanups.
30205 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30206 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30207 Add initializers to main_arena and mp_.
30208 (malloc_state): Remove pagesize member. Change all users to use
30211 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30212 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30213 is always initialized.
30215 * malloc/malloc.c: Removed unused configurations and dead code.
30216 * malloc/arena.c: Likewise.
30217 * malloc/hooks.c: Likewise.
30218 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30220 * include/tls.h: Removed. USE___THREAD must always be defined.
30221 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30222 * elf/dl-libc.c: Likewise.
30223 * elf/dl-tsd.c: Likewise.
30224 * include/errno.h: Likewise.
30225 * include/netdb.h: Likewise.
30226 * include/resolv.h: Likewise.
30227 * inet/herrno-loc.c: Likewise.
30228 * inet/herrno.c: Likewise.
30229 * malloc/arena.c: Likewise.
30230 * malloc/hooks.c: Likewise.
30231 * malloc/malloc.c: Likewise.
30232 * resolv/res-state.c: Likewise.
30233 * resolv/res_libc.c: Likewise.
30234 * sysdeps/i386/dl-machine.h: Likewise.
30235 * sysdeps/ia64/dl-machine.h: Likewise.
30236 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30237 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30238 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30239 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30240 * sysdeps/sh/dl-machine.h: Likewise.
30241 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30242 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30243 * sysdeps/unix/i386/sysdep.S: Likewise.
30244 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30245 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30246 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30250 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30252 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30254 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30255 * sysdeps/x86_64/dl-machine.h: Likewise.
30256 * tls.make.c: Likewise.
30258 * configure.in: Remove --with-__thread option. Make tests for
30259 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30260 tls_model attribute fail if no support is available. Remove
30262 * Makeconfig: Adjust for dropped configure option. All features are
30264 * Makerules: Likewise.
30265 * Versions.def: Likewise.
30266 * argp/argp-fmtstream.c: Likewise.
30267 * argp/argp-fmtstream.h: Likewise.
30268 * argp/argp-help.c: Likewise.
30269 * assert/assert.c: Likewise.
30270 * config.h.in: Likewise.
30271 * config.make.in: Likewise.
30272 * configure: Likewise.
30273 * configure.in: Likewise.
30274 * csu/Versions: Likewise.
30275 * csu/init.c: Likewise.
30276 * elf/tst-audit2.c: Likewise.
30277 * elf/tst-tls10.c: Likewise.
30278 * elf/tst-tls10.h: Likewise.
30279 * elf/tst-tls11.c: Likewise.
30280 * elf/tst-tls12.c: Likewise.
30281 * elf/tst-tls14.c: Likewise.
30282 * elf/tst-tlsmod11.c: Likewise.
30283 * elf/tst-tlsmod12.c: Likewise.
30284 * elf/tst-tlsmod13.c: Likewise.
30285 * elf/tst-tlsmod13a.c: Likewise.
30286 * elf/tst-tlsmod14a.c: Likewise.
30287 * elf/tst-tlsmod15b.c: Likewise.
30288 * elf/tst-tlsmod16a.c: Likewise.
30289 * elf/tst-tlsmod16b.c: Likewise.
30290 * elf/tst-tlsmod7.c: Likewise.
30291 * elf/tst-tlsmod8.c: Likewise.
30292 * elf/tst-tlsmod9.c: Likewise.
30293 * gmon/gmon.c: Likewise.
30294 * grp/fgetgrent_r.c: Likewise.
30295 * grp/putgrent.c: Likewise.
30296 * hurd/fopenport.c: Likewise.
30297 * include/libc-symbols.h: Likewise.
30298 * include/tls.h: Likewise.
30299 * intl/gettextP.h: Likewise.
30300 * intl/loadinfo.h: Likewise.
30301 * locale/global-locale.c: Likewise.
30302 * locale/localeinfo.h: Likewise.
30303 * mach/devstream.c: Likewise.
30304 * malloc/arena.c: Likewise.
30305 * malloc/set-freeres.c: Likewise.
30306 * misc/err.c: Likewise.
30307 * misc/getttyent.c: Likewise.
30308 * misc/mntent_r.c: Likewise.
30309 * posix/getopt.c: Likewise.
30310 * posix/wordexp.c: Likewise.
30311 * pwd/fgetpwent_r.c: Likewise.
30312 * resolv/Versions: Likewise.
30313 * resolv/res_hconf.c: Likewise.
30314 * shadow/fgetspent_r.c: Likewise.
30315 * shadow/putspent.c: Likewise.
30316 * stdio-common/printf_fphex.c: Likewise.
30317 * stdio-common/tmpfile.c: Likewise.
30318 * stdlib/abort.c: Likewise.
30319 * stdlib/fmtmsg.c: Likewise.
30320 * sunrpc/auth_unix.c: Likewise.
30321 * sunrpc/clnt_perr.c: Likewise.
30322 * sunrpc/clnt_tcp.c: Likewise.
30323 * sunrpc/clnt_udp.c: Likewise.
30324 * sunrpc/clnt_unix.c: Likewise.
30325 * sunrpc/openchild.c: Likewise.
30326 * sunrpc/svc_simple.c: Likewise.
30327 * sunrpc/svc_tcp.c: Likewise.
30328 * sunrpc/svc_udp.c: Likewise.
30329 * sunrpc/svc_unix.c: Likewise.
30330 * sunrpc/xdr.c: Likewise.
30331 * sunrpc/xdr_array.c: Likewise.
30332 * sunrpc/xdr_rec.c: Likewise.
30333 * sunrpc/xdr_ref.c: Likewise.
30334 * sunrpc/xdr_stdio.c: Likewise.
30336 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30338 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30340 2011-07-03 Andreas Jaeger <aj@suse.de>
30342 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30343 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30344 regenerate with gen-libm-tests.pl.
30346 2010-05-12 Petr Baudis <pasky@suse.cz>
30349 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30350 around j0() zero points by switching to j1().
30351 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30352 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30354 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30356 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30358 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30360 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30363 Patch in part by Pavel Roskin <proski@gnu.org>.
30366 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30368 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30369 Free memory block if necessary.
30372 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30373 be NULL. Don't lock in this case.
30375 2011-09-09 Roland McGrath <roland@hack.frob.com>
30377 * elf/elf.h (ELFOSABI_GNU): New macro.
30378 (ELFOSABI_LINUX): Define to that.
30380 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30382 * string/strncat.c (strncat): Undef the symbol in case it has been
30383 defined in bits/string.h.
30385 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30387 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30389 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30392 2011-08-17 Andreas Jaeger <aj@suse.de>
30394 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30396 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30397 Ian Lance Taylor <iant@google.com>
30399 * math/libm-test.inc (lround_test): New testcase.
30400 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30402 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30404 * Makefile: Remove support for automatic cvs check-ins.
30405 * Makerules: Likewise.
30406 * config.make.in: Likewise.
30407 * configure.in: Likewise.
30408 * intl/Makefile: Likewise.
30409 * locale/Makefile: Likewise.
30410 * po/Makefile: Likewise.
30411 * posix/Makefile: Likewise.
30412 * sysdeps/gnu/Makefile: Likewise.
30413 * sysdeps/mach/hurd/Makefile: Likewise.
30414 * sysdeps/sparc/sparc32/Makefile: Likewise.
30417 * posix/Makefile (bug-regex32-ENV): Define.
30418 Patch by John Stanley <jpsinthemix@verizon.net>.
30420 * misc/Makefile (headers): Add bits/select2.h.
30421 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30422 * misc/bits/select2.h: New file.
30423 * include/bits/select2.h: New file.
30424 * debug/Makefile (routines): Add fdelt_chk.
30425 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30426 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30428 * debug/fdelt_chk.c: New file.
30430 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30431 * wcsmbs/test-wmemcmp.c: Likewise.
30432 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30433 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30435 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30437 * string/Makefile (strop-tests): Add memcmp.
30438 * string/test-wmemcmp.c: New file.
30439 * string/test-memcmp.c: Add wmemcmp support.
30441 2011-09-08 Roland McGrath <roland@hack.frob.com>
30444 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30447 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30448 garbage value in a __mach_port_mod_refs call in the cases of the
30449 task-self and thread-self ports.
30451 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30453 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30455 2011-09-08 Andreas Schwab <schwab@redhat.com>
30457 * elf/dl-load.c (lose): Check for non-null L.
30459 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30461 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30463 * elf/dl-libc.c (dlerror_run): Pass back error code from
30467 * elf/dl-load.c (lose): Free l_origin if it is valid.
30469 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30471 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30472 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30474 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30475 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30476 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30478 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30480 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30481 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30482 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30483 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30484 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30485 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30486 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30487 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30488 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30489 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30491 2011-08-15 Alan Modra <amodra@gmail.com>
30494 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30495 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30496 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30497 ppc_mcount to static-only-routines.
30498 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30500 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30501 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30503 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30505 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30506 for finite and infinity parameters.
30508 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30510 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30511 and add nop instructions for throughput optimization.
30512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30514 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30516 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30517 aligned copy for power7 with vector-scalar instructions.
30518 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30520 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30525 2011-09-07 Andreas Schwab <schwab@redhat.com>
30528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30531 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30533 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30534 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30535 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30536 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30539 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30541 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30542 Forgot to demangle the pointer.
30544 * sysdeps/i386/sysdep.h: Define atom_text_section.
30545 * sysdeps/x86_64/sysdep.h: Likewise.
30546 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30547 section with atom_text_section.
30548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30549 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30550 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30552 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30554 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30555 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30556 already be defined. Change to take two parameters and don't assign
30557 result to variable. Adjust all users.
30558 Define INTERNAL_GETTIME if not already defined.
30559 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30562 HAVE_CLOCK_GETTIME_VSYSCALL.
30563 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30566 gettimeofday vsyscall, just use time.
30568 2011-09-06 Andreas Schwab <schwab@redhat.com>
30570 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30573 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30575 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30579 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30580 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30581 syscall if possible.
30583 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30585 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30586 e_ident. Don't pass to find_mapsXX.
30587 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30589 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30592 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30593 * sysdeps/x86_64/multiarch/strchr.S: Update.
30594 Check bit_slow_BSF bit.
30595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30596 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30599 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30602 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30604 (tryshell): Define.
30605 (__spawni): Change last parameter to be flag. Test
30606 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30607 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30608 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30609 * posix/spawni.c: Likewise.
30610 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30611 * posix/spawnp.c: Likewise. Change normal version to use
30612 SPAWN_XFLAGS_USE_PATH.
30613 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30614 SPAWN_XFLAGS_TRY_SHELL.
30617 * posix/glob.h: Remove gcc 1.x support.
30620 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30622 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30625 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30627 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30628 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30629 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30630 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30631 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30632 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30634 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30636 * sysdeps/x86_64/wcscmp.S: New file.
30638 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30639 wcscmp-c wcscmp-sse2
30640 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30641 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30642 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30643 * wcsmbs/wcscmp.c: Allow renaming.
30645 2011-09-05 David S. Miller <davem@davemloft.net>
30647 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30648 stack slot, rather than the struct return pointer slot.
30649 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30650 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30652 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30654 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30656 * po/ja.po: Update from translation team.
30659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30660 kernel in 64-bit binaries.
30662 2011-09-01 David S. Miller <davem@davemloft.net>
30664 * elf/elf.h (HWCAP_SPARC_*): Move to..
30665 * sysdeps/sparc/sysdep.h: this new file and add new values.
30666 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30667 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30668 _DL_HWCAP_COUNT to 24.
30669 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30671 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30672 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30673 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30675 instead of magic constants.
30676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30678 2011-08-31 David S. Miller <davem@davemloft.net>
30680 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30682 Reimplement to do errno handling inline.
30683 (SYSCALL_ERROR_HANDLER): New macro.
30684 (__SYSCALL_STRING): Do not do errno handling in asm.
30685 (__CLONE_SYSCALL_STRING): Delete.
30686 (__INTERNAL_SYSCALL_STRING): Delete.
30687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30688 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30689 (PSEUDO): Reimplement to do errno handling inline.
30690 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30691 (SYSCALL_ERROR_HANDLER): New macro.
30692 (__SYSCALL_STRING): Do not do errno handling in asm.
30693 (__CLONE_SYSCALL_STRING): Delete.
30694 (__INTERNAL_SYSCALL_STRING): Delete.
30695 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30696 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30698 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30699 (inline_syscall*): Add 'err' argument.
30700 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30701 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30702 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30703 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30705 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30706 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30708 2011-08-30 Andreas Schwab <schwab@redhat.com>
30710 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30712 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30714 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30717 2011-08-24 David S. Miller <davem@davemloft.net>
30719 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30721 2011-08-24 Andreas Schwab <schwab@redhat.com>
30723 * elf/Makefile: Add rules to build and run unload8 test.
30724 * elf/unload8.c: New file.
30725 * elf/unload8mod1.c: New file.
30726 * elf/unload8mod1x.c: New file.
30727 * elf/unload8mod2.c: New file.
30728 * elf/unload8mod3.c: New file.
30730 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30733 2011-08-23 David S. Miller <davem@davemloft.net>
30735 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30736 subtract stack bias.
30737 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30738 %sp not %fp in calculations.
30739 (_JMPBUF_UNWINDS_ADJ): Likewise.
30741 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30742 (aio_suspend): Call it to force an exception region around the
30743 AIO_MISC_WAIT() invocation.
30745 2011-08-23 Andreas Schwab <schwab@redhat.com>
30747 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30750 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30752 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30754 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30755 and <dl-machine.h>.
30756 (Elf64_FuncDesc): Remove.
30758 2011-08-22 David S. Miller <davem@davemloft.net>
30760 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30761 sigaltstack check, add missing cfi directives.
30762 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30763 missing cfi directives, and sigaltstack handling.
30765 2011-08-16 Andreas Schwab <schwab@redhat.com>
30768 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30769 object is seen twice.
30770 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30772 * elf/Makefile (distribute): Add tst-initorder2.c.
30773 (tests): Add tst-initorder2.
30774 (modules-names): Add tst-initorder2a tst-initorder2b
30775 tst-initorder2c tst-initorder2d. Add rules to build them.
30776 ($(objpfx)tst-initorder2.out): New rule.
30777 * elf/tst-initorder2.c: New file.
30778 * elf/tst-initorder2.exp: New file.
30780 2011-08-22 Andreas Schwab <schwab@redhat.com>
30782 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30784 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30785 dependencies back to end of function.
30787 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30788 $(elfobjdir)/ld.so.
30790 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30792 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30793 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30795 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30796 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30797 of __vdso_gettimeofday.
30798 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30799 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30801 (_libc_vdso_platform_setup): Remove initialization of
30802 __vdso_gettimeofday and __vdso_time.
30804 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30806 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30807 and fgetc_unlocked.
30808 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30811 * elf/dl-open.c (add_to_global): Report additions to the global scope
30812 for LD_DEBUG=scopes.
30813 (dl_open_worker): Also print scope of newly loaded dependencies.
30814 (_dl_show_scope): Indicate if there is no scope.
30817 * stdio-common/Makefile (tests): Add bug24.
30818 * stdio-common/bug24.c: New file.
30820 2011-08-19 Andreas Jaeger <aj@suse.de>
30823 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30824 non-existant file when using close-on-exec mode.
30826 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30829 the very first instruction.
30831 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30832 the CFI state in the end.
30833 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30834 inclusion of dl-trampoline.h.
30835 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30837 2011-08-19 Andreas Schwab <schwab@redhat.com>
30839 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30840 expectations for long double.
30842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30843 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30845 2011-08-14 David S. Miller <davem@davemloft.net>
30847 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30848 artificual limit depends upon the system page size.
30850 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30852 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30853 * resolv/Makefile: Define CFLAGS-libresolv.
30855 2011-08-17 Andreas Schwab <schwab@redhat.com>
30857 * nss/makedb.c (compute_tables): Make variables used in nested
30860 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30862 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30863 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30864 if buffer was too small.
30866 * elf/pldd.c (main): Attach to all threads in the process.
30867 Rewrite /proc handling to use *at functions.
30869 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30871 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30872 specifies first scope to show.
30873 (dl_open_worker): Update callers. Move printing scope of new
30874 object to before the relocation.
30875 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30876 * sysdeps/generic/ldsodefs.h: Update declaration.
30878 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30879 string for the scope number.
30881 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30883 * nscd/servicescache.c (cache_addserv): Make sure written is always
30886 2011-08-14 Roland McGrath <roland@hack.frob.com>
30888 * sysdeps/i386/i486/bits/atomic.h
30889 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30890 statement expression, so as to suppress "set but not used" warning.
30891 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30893 * string/strncat.c (STRNCAT): Use prototype definition.
30895 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30896 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30898 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30899 (localedef-modules): Add localedef.
30900 (locale-modules): Add locale.
30902 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30903 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30904 to avoid a warning.
30906 2011-08-14 David S. Miller <davem@davemloft.net>
30908 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30909 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30911 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30913 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30914 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30915 * elf/rtld.c (dl_main): Set l_name of vDSO.
30916 Call _dl_show_scope when DL_DEBUG_SCOPES.
30917 (process_dl_debug): Recognize scopes flag and also set it for all.
30918 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30919 Declare _dl_show_scope.
30921 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30922 (do_dlopen): Pass caller_dlopen to dl_open.
30923 (__libc_dlopen_mode): Initialize caller_dlopen.
30925 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30926 of libc. Make tolower call locale-independent. Optimize a bit by
30927 using isdigit instead of isalnum.
30928 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30930 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30932 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30933 was a dependency or dynamically loaded.
30935 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30937 * intl/l10nflist.c: Allow architecture-specific pop function.
30938 * sysdeps/x86_64/l10nflist.c: New file.
30940 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30943 2011-08-10 Andreas Schwab <schwab@redhat.com>
30945 * include/dirent.h: Add libc_hidden_proto for scandirat and
30946 scandirat64. Don't declare __scandirat64.
30947 * dirent/scandirat.c: Add libc_hidden_def.
30948 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30949 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30951 2011-08-10 David S. Miller <davem@davemloft.net>
30953 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30959 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30961 * Versions.def [libc]: Add GLIBC_2.15.
30962 * dirent/Makefile (routines): Add scandirat and scandirat64.
30963 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30965 * dirent/dirent.h: Declare scandirat and scandirat64.
30966 * dirent/scandirat.c: New file.
30967 * dirent/scandirat64.c: New file.
30968 * sysdeps/wordsize-64/scandirat.c: New file.
30969 * sysdeps/wordsize-64/scandirat64.c: New file.
30970 * dirent/opendir.c: Define opendirat.
30971 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30973 * dirent/scandir64.c: Adjust for scandir.c change.
30974 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30975 __scandirat64, and __scandir_cancel_handler.
30976 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30977 additional parameter and use openat instead of open (outside of ld.so).
30978 Add new __opendir as wrapper around __opendirat.
30979 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30980 here without requiring old scandirat implementation.
30982 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30984 * dirent/scandir.c (cancel_handler): Renamed to
30985 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30986 defined. Adjust users.
30987 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30988 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30990 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30992 * string/test-string.h (IMPL): Use __STRING to expand name and then
30995 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30998 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31000 * string/Makefile: Update.
31001 (strop-tests): Append strncat.
31002 * string/test-wcscmp.c: New file.
31003 New comprehensive test for wcscmp.
31004 * string/test-strcmp.c: Update.
31005 (WIDE): New define.
31007 2011-07-22 Andreas Schwab <schwab@redhat.com>
31009 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31012 2011-07-26 Andreas Schwab <schwab@redhat.com>
31014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31015 encoding to ACE if AI_IDN.
31017 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31020 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31022 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31025 Fix overflow bug in strncat.
31026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31028 * string/test-strncat.c: Update.
31029 Add new tests for checking overflow bugs.
31031 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31034 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31035 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31036 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31038 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31039 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31040 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31041 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31044 (USE_AS_STRCAT): Define.
31045 Add strcat and strncat support.
31046 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31048 2011-07-25 Andreas Schwab <schwab@redhat.com>
31050 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31051 __n bigger than INT_MAX+1.
31052 (__strncmp_g): Likewise.
31054 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31056 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31057 * libio/stido.h: Likewise.
31059 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31064 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31065 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31066 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31067 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31071 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31076 (_dl_x86_64_save_sse): Likewise.
31078 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31082 (_dl_x86_64_save_sse): Likewise.
31084 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31086 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31088 2011-07-21 Andreas Schwab <schwab@redhat.com>
31090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31092 (_dl_x86_64_save_sse): Use correct AVX check.
31094 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31097 bug in strncpy/strncat.
31098 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31100 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31102 * string/tester.c (test_strcat): Add tests for different alignments
31103 of source and destination.
31104 (test_strncat): Likewise.
31106 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31109 * posix/glob.c (glob): Check passed in values before using them in
31110 expressions to avoid some overflows.
31111 (glob_in_dir): Likewise.
31114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31115 check for AVX enablement so that we don't crash with old kernels and
31117 * elf/tst-audit4.c: Add same checks here.
31118 * elf/tst-audit6.c: Likewise.
31120 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31122 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31124 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31126 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31128 * po/cs.po: Update from translation team.
31129 * po/bg.po: Likewise.
31131 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31133 * misc/sys/cdefs.h: Add support for const attribute.
31134 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31135 to gnu_dev_{major,minor,makedev} functions.
31137 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31139 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31141 2011-07-20 Andreas Schwab <schwab@redhat.com>
31143 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31146 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31149 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31150 register in order to avoid conflicts with the soft frame pointer
31151 being held in r11 when necessary.
31152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31153 (INTERNAL_VSYSCALL_NCS): Likewise.
31155 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31157 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31158 * elf/dl-fini.c (_dl_fini): Adjust caller.
31159 * elf/dl-close.c (_dl_close_worker): Likewise.
31160 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31162 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31164 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31165 "aux_cache->nlibs < 0".
31167 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31168 in the reload-count case.
31170 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31173 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31174 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31175 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31176 * sysdeps/x86_64/multiarch/strcat.S: New file.
31177 * sysdeps/x86_64/multiarch/strncat.S: New file.
31178 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31179 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31180 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31181 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31183 (USE_AS_STRCAT): Define.
31184 Add strcat and strncat support.
31185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31186 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31187 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31188 * string/strncat.c: Update.
31189 (USE_AS_STRNCAT): Define.
31190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31191 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31193 * sysdeps/x86_64/multiarch/init-arch.h
31194 (bit_Prefer_PMINUB_for_stringop): New.
31195 (index_Prefer_PMINUB_for_stringop): Likewise.
31196 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31197 bit_Prefer_PMINUB_for_stringop.
31199 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31201 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31203 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31204 of casting of buffer.
31205 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31206 buffer32 and buffer64.
31207 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31208 writes instead of casting of buffer.
31209 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31211 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31214 2011-07-19 Andreas Schwab <schwab@redhat.com>
31216 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31218 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31220 * nscd/nscd.c (termination_handler): Don't do anything for a database
31221 if it has not yet been initialized.
31223 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31225 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31227 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31229 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31231 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31233 * po/nl.po: Update from translation team.
31234 * po/sv.po: Likewise.
31236 2011-07-16 Roland McGrath <roland@hack.frob.com>
31238 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31239 now disallowed by GCC.
31241 * configure.in (use-default-link): Default to yes if a test -shared
31242 link meets our qualifications.
31243 * configure: Regenerated.
31245 * config.make.in (output-format): New variable.
31246 * configure.in: Check for ld --print-output-format support.
31247 * configure: Regenerated.
31248 * Makerules ($(common-objpfx)format.lds)
31249 [$(output-format) != unknown]: Just use $(output-format),
31250 instead of the linker-script munging.
31252 2011-07-14 Roland McGrath <roland@hack.frob.com>
31254 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31255 of $(common-objpfx)shlib.lds.
31256 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31258 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31259 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31261 * configure.in (-z relro check): Adjust test code to add a large
31262 writable data section after it.
31263 * configure: Regenerated.
31265 2011-07-11 Roland McGrath <roland@hack.frob.com>
31267 * configure.in (-z relro check): Fix test code to make the variable
31269 * configure: Regenerated.
31271 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31273 * nscd/nscd.h (struct traced_file): Define.
31274 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31275 elements. Add traced_files.
31276 (inotify_fd): Declare.
31277 (register_traced_file): Declare.
31278 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31279 (inotify_fd): Export.
31280 (resolv_conf_descr): Remove.
31281 (nscd_init): Move inotify descriptor creation to main.
31282 Don't register files for notification here.
31283 (register_traced_file): New function.
31284 (invalidate_cache): Don't use reset_res to determine whether to call
31285 res_init, go through the list of registered files.
31286 (main_loop_poll): The inotify descriptors are now stored in the
31287 structures for the traced files.
31288 (main_loop_epoll): Likewise
31289 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31290 to __nss_disable_nscd.
31291 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31292 for a database anymore. Check the records for all the registered
31294 * nss/Makefile (libnss_files-routines): Add files-init.
31295 (libnss_db-routines): Add db-init.
31296 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31297 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31298 * nss/nss_db/db-init.c: New file.
31299 * nss/nss_files/files-init.c: New file.
31300 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31301 __nss_lookup_function.
31302 (__nss_lookup_function): Call nss_load_library.
31303 (nss_load_all_libraries): New function.
31304 (__nss_disable_nscd): Take parameter with callback function for files
31305 to register. Set is_nscd. Load all the DSOs for the NSS modules
31306 used for the cached services.
31307 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31308 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31309 options for features to all the files in nscd.
31311 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31313 2011-07-10 Roland McGrath <roland@hack.frob.com>
31315 * csu/elf-init.c (__libc_csu_init): Comment typo.
31317 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31319 * po/pl.po: Update from translation team.
31320 * po/ja.po: Likewise.
31321 * po/ru.po: Likewise.
31322 * po/ko.po: Likewise.
31323 * po/fr.po: Likewise.
31325 2011-07-09 Roland McGrath <roland@hack.frob.com>
31327 * configure.in (.ctors/.dtors header and trailer check):
31328 Use an empirical test on a built program.
31329 * configure: Regenerated.
31331 * configure.in (-z relro check): Use an empirical test on a built DSO.
31332 Detect, but do not require, on ia64.
31333 * configure: Regenerated.
31335 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31336 Update tests that use readelf to use $READELF instead.
31337 * configure: Regenerated.
31339 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31341 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31342 if the result is not used.
31344 2011-07-05 Andreas Jaeger <aj@suse.de>
31347 * stdlib/tst-strtod.c: Add testcase.
31349 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31351 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31352 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31353 The latter has a higher limit. Take additional parameter to pass to
31355 (__pathconf): Pass file to __statfs_link_max.
31356 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31358 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31362 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31363 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31365 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31366 (__statfs_filesize_max): Likewise.
31367 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31369 2011-07-05 Andreas Jaeger <aj@suse.de>
31371 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31373 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31375 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31377 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31380 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31382 * Makefile (strop-tests): Add strncat.
31383 * string/test-strncat.c: New file.
31385 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31387 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31389 2011-06-21 Andreas Jaeger <aj@suse.de>
31391 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31392 Copy rule from iconvdata/Makefile.
31394 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31397 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31398 but no long options are defined, just return 'W'.
31400 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31403 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31405 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31407 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31409 (innetgr): Likewise.
31411 2011-07-05 Roland McGrath <roland@hack.frob.com>
31413 * config.make.in (install_root): Default to $(DESTDIR).
31415 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31417 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31419 2011-07-02 Roland McGrath <roland@hack.frob.com>
31421 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31423 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31424 containing directory rather than embedding absolute directory names.
31426 * scripts/check-local-headers.sh: Rewritten using awk.
31427 Match by word, not by line. Print error messages for matches.
31428 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31430 * Makerules [shlib-lds-flags empty]:
31431 ($(common-objpfx)libc_pic.opts): New target.
31432 ($(common-objpfx)libc_pic.os.clean): New target.
31433 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31435 * config.make.in (OBJCOPY): New variable.
31436 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31437 * configure: Regenerated.
31439 * config.make.in (use-default-link): New variable.
31440 * configure.in (use_default_link): Grok --with-default-link to set it.
31441 * configure: Regenerated.
31442 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31443 (shlib-lds, shlib-lds-flags): Define to empty.
31445 * Makerules (shlib-lds): New variable.
31446 (shlib-lds-flags): New variable.
31447 (build-shlib, build-moduile, build-module-asneeded): Use it.
31448 ($(common-objpfx)libc.so): Use $(shlib-lds).
31449 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31450 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31452 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31453 DT_FLAGS/DT_FLAGS_1 with zero flags.
31455 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31456 linker script munging.
31458 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31460 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31462 * crypt/sha512.c (sha512_process_block): Perform total addition using
31463 128-bit if possible.
31464 (__sha512_finish_ctx): Likewise.
31465 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31467 * crypt/sha256.c (SWAP64): Define.
31468 (sha256_process_block): Perform total addition using 64-bit if
31470 (__sha256_finish_ctx): Likewise.
31472 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31474 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31476 * nscd/hstcache.c (cache_addhst): Likewise.
31477 * nscd/grpcache.c (cache_addgr): Likewise.
31478 * nscd/aicache.c (addhstaiX): Likewise
31479 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31481 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31483 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31484 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31485 * nscd/hstcache.c (cache_addhst): Likewise.
31486 * nscd/grpcache.c (cache_addgr): Likewise.
31487 * nscd/aicache.c (addhstaiX): Likewise
31489 2011-07-01 Andreas Schwab <schwab@redhat.com>
31491 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31492 domain only when needed.
31494 2011-06-30 Andreas Schwab <schwab@redhat.com>
31496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31497 is always restored.
31499 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31501 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31502 are re-adding the entry.
31503 * nscd/servicescache.c (cache_addserv): Likewise.
31505 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31507 * sysdeps/generic/dl-irel.h: fix protection against multiple
31509 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31511 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31514 * malloc/memusage.sh: Fix quoting in message.
31515 * debug/xtrace.sh: Likewise.
31517 * configure.in: Remove support for --experimental-malloc option, make
31519 * config.make.in: Likewise.
31520 * malloc/Makefile: Likewise.
31522 2011-06-27 Andreas Schwab <schwab@redhat.com>
31524 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31525 two-byte characters.
31527 2011-06-27 Roland McGrath <roland@hack.frob.com>
31529 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31530 AC_CACHE_CHECK invocation.
31531 * configure: Regenerated.
31533 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31535 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31538 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31539 bit from old_res_options.
31541 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31543 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31544 value type for setfct.
31546 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31549 __gettimeofday instead of gettimeofday.
31551 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31553 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31555 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31557 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31562 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31565 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31566 strcpy-sse2-unaligned strncpy-sse2-unaligned
31567 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31568 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31569 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31570 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31571 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31573 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31574 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31575 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31576 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31577 (STRCPY): Support SSE2 and SSSE3 versions.
31579 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31582 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31583 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31584 kernels which artificially limit size of requests.
31586 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31589 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31590 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31591 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31592 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31593 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31594 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31595 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31598 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31599 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31600 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31601 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31602 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31604 Enable unaligned load optimization for Intel Core i3, i5 and i7
31606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31608 (index_Fast_Unaligned_Load): Define.
31609 (HAS_FAST_UNALIGNED_LOAD): Define.
31611 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31613 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31615 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31618 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31619 until it is clear that the information is realy needed.
31620 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31622 2011-06-22 Andreas Schwab <schwab@redhat.com>
31624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31626 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31629 /sys/devices/system/cpu/online if it is usable.
31631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31632 reading the information from the /proc filesystem to once a second.
31634 2011-06-21 Andreas Jaeger <aj@suse.de>
31636 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31637 NULL after inclusion of kernel headers.
31639 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31641 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31642 calls to internal_setent.
31645 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31646 addresses using gethostbyname4_r ignore IPv4 addresses.
31648 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31649 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31651 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31653 2011-06-20 David S. Miller <davem@davemloft.net>
31655 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31657 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31659 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31660 (elf_irel): Use it.
31661 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31662 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31663 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31664 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31665 * sysdeps/x86_64/dl-irel.h: Likewise.
31667 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31668 * elf/dl-sym.c: Likewise.
31670 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31672 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31673 need to dereference resplen2.
31675 2011-06-14 Andreas Schwab <schwab@redhat.com>
31677 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31679 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31681 * Makeconfig: Define vardbdir and inst_vardbdir.
31682 * nss/Makefile: Add rules to install db-Makefile.
31684 * nss/nss_db/db-XXX.c: Cleanup.
31686 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31687 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31689 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31690 * nss/makedb.c: Implement -g option to specify that value strings
31691 are generated and should not be added to table iterated over for
31693 * nss/nss_db/db-initgroups.c: New file.
31695 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31698 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31699 (internal_getgrouplist): Adjust to name change.
31700 Update use_initgroups_entry if this is not the first call.
31701 * nss/databases.def: Add initgroups entry.
31703 * nss/makedb.c (compute_tables): Check result of multiple hash table
31704 sizes to minimize maximum chain length.
31706 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31708 * Versions.def: Add entry for libnss_db.
31709 * shlib-versions: Likewise.
31710 * nss/Makefile: Add rules to build libnss_db.
31711 * nss/Versions: Add libnss_db information. Organize libnss_files
31713 * nss/db-Makefile: Add gshadow support. Change rules for the new
31714 makedb progra. Some minor improvements to generate smaller files.
31715 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31717 * nss/makedb.c: ...here.
31718 Improve database format to be smaller and require less memory at
31720 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31722 * nss/nss_db/db-netgrp.c: Likewise.
31723 * nss/nss_db/db-open.c: Likewise.
31724 * nss/nss_files/flies-XXX.x: Adjust comments.
31725 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31726 * nss/nss_files/files-grp.c: Likewise.
31727 * nss/nss_files/files-hosts.c: Likewise.
31728 * nss/nss_files/files-network.c: Likewise.
31729 * nss/nss_files/files-proto.c: Likewise.
31730 * nss/nss_files/files-pwd.c: Likewise.
31731 * nss/nss_files/files-rpc.c: Likewise.
31732 * nss/nss_files/files-service.c: Likewise.
31733 * nss/nss_files/files-sgrp.c: Likewise.
31734 * nss/nss_files/files-spwd.c: Likewise.
31735 * nss/nss_db/db-alias.c: Removed.
31736 * nss/nss_db/dummy-db.h: Removed.
31738 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31740 * nss/makedb.c: Rewritten to not use database library.
31741 * nss/Makefile: Update to build new makedb program.
31743 2011-06-14 Andreas Jaeger <aj@suse.de>
31745 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31746 memset declaration.
31748 2011-06-10 Andreas Schwab <schwab@redhat.com>
31750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31753 2011-06-10 Roland McGrath <roland@hack.frob.com>
31755 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31756 * elf/Makefile ($(objpfx)ld.so): Likewise.
31758 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31759 Don't list ld.so twice in dependencies.
31761 * posix/bug-regex31.c: Include <stdlib.h>.
31763 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31765 * nis/nss_compat/compat-spwd.c
31766 (getspent_next_nss_netgr): Remove unused variable.
31767 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31769 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31770 nonmembers" output to use the right array.
31772 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31774 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31776 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31777 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31778 * catgets/gencat.c (read_input_file): Likewise.
31779 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31781 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31782 variable definition inside #if's controlling its use.
31784 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31786 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31788 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31790 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31793 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31795 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31796 * configure: Regenerated.
31798 * Makerules: Revert last change.
31799 * elf/Makefile: Likewise.
31801 2011-06-09 Roland McGrath <roland@hack.frob.com>
31803 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31804 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31805 (reloc-link): Likewise.
31807 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31809 * elf/Makefile: Add rules to build pldd.
31810 * elf/pldd.c: New file.
31811 * elf/pldd-xx.c: New file.
31813 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31815 * version.h: Update for 2.15 development version.
31817 2011-06-07 David S. Miller <davem@davemloft.net>
31819 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31822 elf_machine_lazy_rel): Likewise.
31823 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31825 elf_machine_lazy_rel): Likewise.
31826 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31827 dl_hwcap via passed in argument.
31828 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31831 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31833 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31835 2011-06-06 Roland McGrath <roland@hack.frob.com>
31838 * manual/fdl-1.1.texi: New file, verbatim from:
31839 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31840 * manual/lgpl-2.1.texi: New file, verbatim from:
31841 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31842 * manual/Makefile (licenses): New variable, list those new file names.
31844 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31846 * manual/fdl.texi: File removed.
31847 * manual/lesser.texi: File removed.
31848 * manual/libc.texinfo (Copying, Documentation License):
31849 Use new @include file names, put @appendix directive before @include.
31851 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31854 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31855 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31856 (mq_open): Add __NTH.
31858 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31861 Assume Intel Core i3/i5/i7 processor if AVX is available.
31863 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31868 2011-05-31 Andreas Schwab <schwab@redhat.com>
31870 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31871 memory. Use alloca_account. Fix memory leak when retrying.
31873 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31875 * version.h (RELEASE): Bump for 2.14 release.
31876 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31878 * config.make.in (RANLIB): Remove entry.
31880 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31882 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31883 (libc.pot): Work around missing support for .ksh extension in xgettext.
31886 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31887 if both request failed.
31888 (send_dg): In case of server errors clear resplen or *resplen2.
31891 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31892 when there are multiple maps.
31893 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31894 (_dl_fini): Remove test here.
31896 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31898 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31901 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31902 bit from old_res_options.
31903 (gaih_inet): Likewise.
31906 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31909 * resolv/res_init.c (res_setoptions): Make the code more compact.
31912 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31916 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31918 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31921 * malloc/malloc.h: Declare malloc hook variables as volatile.
31923 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31927 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31928 raise in the comment.
31929 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31930 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31931 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31933 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31936 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31937 grow the buffers more if it already has to be sufficient.
31938 (build_wcs_upper_buffer): Likewise.
31939 * posix/regexec.c (check_matching): Likewise.
31940 (clean_state_log_if_needed): Likewise.
31941 (extend_buffers): Don't enlarge buffers beyond size of the input
31943 Patches mostly by Emil Wojak <emil@wojak.eu>.
31944 * posix/bug-regex32.c: New file.
31945 * posix/Makefile (tests): Add bug-regex32.
31947 * locale/findlocale.c (_nl_find_locale): Return right away if
31948 _nl_explode_name failed.
31949 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31951 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31953 * debug/xtrace.sh: Unify messages.
31954 * malloc/memusage.sh: Likewise.
31957 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31958 time symbol from vDSO. Substitute with vsyscall if not available.
31959 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31962 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31963 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31964 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31965 Add sendmmsg and internal_sendmmsg.
31966 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31967 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31968 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31970 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31971 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31972 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31974 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31977 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31978 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31980 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31984 * iconvdata/Makefile (tests): Add bug-iconv9.
31985 * iconvdata/bug-iconv9.c: New file.
31987 2011-05-27 Andreas Schwab <schwab@redhat.com>
31990 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31992 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31995 (struct user_regs_struct): Change intcs field back to cs.
31997 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31999 * po/ja.po: Update from translation team.
32001 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32004 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32005 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32007 2011-05-20 Andreas Schwab <schwab@redhat.com>
32009 * stdlib/longlong.h: Update from GCC.
32011 2011-05-23 Andreas Schwab <schwab@redhat.com>
32013 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32015 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32016 Add parameter name.
32017 (__sysconf): Pass it down.
32019 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32022 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32024 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32025 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32026 add in in __libc_use_alloca calls. Adjust callers.
32027 (glob): Use malloc in some situations.
32029 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32030 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32033 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32035 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32036 and CLOCK_BOOTTIME_ALARM.
32039 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32042 * string/_strerror.c (__strerror_r): Print negative errors as signed
32046 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32047 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32048 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32050 * configure.in: Fix typo in redirection and correct removal of test
32051 files in two cases.
32054 * locale/setlocale.c (new_composite_name): Fix test to check for
32055 identical name of all categories.
32058 * libio/filedoalloc.c (local_isatty): New function.
32059 (_IO_file_doallocate): Use local_isatty.
32060 * stdio-common/perror.c (perror): In case a new stream is used
32061 forward the stream error.
32062 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32065 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32070 * include/alloca.h (extend_alloca_account): Define.
32073 * posix/regex.h: Fix comments with documentation of user-accessible
32074 fields after compilation and describe correct free'ing of pattern
32075 after re_compile_pattern.
32076 Patch by Reuben Thomas <rrt@sc3d.org>.
32078 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32080 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32081 and -mno-altivec to prevent the compiler from using Altivec and/or
32082 VSX instructions when the corresponding registers are not available.
32084 2011-05-19 Andreas Schwab <schwab@redhat.com>
32086 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32088 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32090 * libio/freopen.c (freopen): Use __dup2, not dup2.
32091 * libio/freopen64.c (freopen64): Likewise.
32093 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32096 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32097 * math/Makefile (tests): Add test-powl.
32098 (CFLAGS-test-powl.c): Define.
32099 * math/test-powl.c: New file.
32101 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32103 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32105 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32108 * iconvdata/gb18030.c: Update to GB18020-2005.
32110 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32112 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32113 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32114 Patch by Aharon Robbins <arnold@skeeve.com>.
32117 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32121 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32122 through underflows.
32125 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32126 point to strings before performing equality test for error_one_per_line
32130 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32134 (struct user_fpregs_struct): Avoid __uint*_t types.
32137 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32138 symbol info. Use it instead of calling _dl_addr locally.
32139 (lock_and_info): New function.
32140 (tr_freehook): Call lock_and_info and pass symbol info as additional
32141 parameter to tr_where.
32142 (tr_mallochook): Likewise.
32143 (tr_reallochook): Likewise.
32144 (tr_memalignhook): Likewise.
32146 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32147 used and couldn't be at all thread-safe.
32149 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32151 * libio/freopen.c (freopen): Don't close old file descriptor
32152 before the new one is opened. Instead dup the new file descriptor
32153 to the old one after the new stream is created.
32154 * libio/freopen64.c (freopen64): Likewise.
32155 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32156 * libio/fileops.c (_IO_new_file_close_it): Handle new
32157 _IO_FLAGS2_NOCLOSE flag.
32158 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32159 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32160 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32161 _IO_FLAGS2_NOCLOSE flag.
32162 * include/unistd.h: Add hidden_proto for dup3.
32163 Define __have_dup3.
32164 * io/dup3.c: Define hidden symbol.
32165 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32168 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32169 when an incomplete long option is used.
32170 * posix/tst-getopt_long1.c: New file.
32171 * posix/Makefile (tests): Add tst-getopt_long1.
32174 * scripts/config.guess: Update from autoconf-2.68.
32175 * scripts/config.sub: Likewise.
32178 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32180 (has_cpuclock): ...this. New function.
32181 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32182 macro here based on has_cpuclock code.
32185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32186 First byte (not low byte) is now always NUL.
32187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32190 Use non-cancelable interfaces.
32193 * locale/iso-639.def: Add entry for Sorani.
32196 * include/stdlib.h: Move include protection to the right place.
32197 Define abort_msg_s. Declare __abort_msg with it.
32198 * stdlib/abort.c (__abort_msg): Adjust type.
32199 * assert/assert.c (__assert_fail_base): New function. Majority
32200 of code from __assert_fail. Allocate memory for __abort_msg with
32202 (__assert_fail): Now call __assert_fail_base.
32203 * assert/assert-perr.c: Remove bulk of implementation. Use
32204 __assert_fail_base.
32205 * include/assert.hL Declare __assert_fail_base.
32206 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32208 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32210 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32214 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32215 until all modules are registered in the DTV.
32216 * elf/Makefile: Add rules to build and run tst-tls19.
32217 * elf/tst-tls19.c: New file.
32218 * elf/tst-tls19mod1.c: New file.
32219 * elf/tst-tls19mod2.c: New file.
32220 * elf/tst-tls19mod3.c: New file.
32221 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32224 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32228 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32229 two-byte sequence errors.
32230 * iconvdata/Makefile (tests): Add bug-iconv8.
32231 * iconvdata/bug-iconv8.c: New file.
32234 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32237 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32240 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32241 (dummy_getcfa): New function.
32242 (init): Get _Unwind_GetCFA address, use dummy if not found.
32243 (backtrace_helper): In recursion check, also check whether CFA changes.
32244 (__backtrace): Completely initialize arg.
32246 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32247 storing incomplete byte sequence in state object. Avoid testing for
32248 guaranteed too small input if we know there is enough data available.
32250 2011-05-11 Andreas Schwab <schwab@redhat.com>
32252 * Makeconfig (+link-pie): Indent.
32253 * Rules (binaries-pie): Define if $(have-fpie) and
32255 (binaries-shared): Also filter out $(binaries-pie).
32256 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32257 * nscd/Makefile (others-pie): Add nscd.
32258 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32259 ($(objpfx)nscd): Remove command override.
32260 * login/Makefile (others-pie): Add pt_chown.
32261 ($(objpfx)pt_chown): Remove command override.
32262 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32263 remove command overrides.
32265 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32267 * libio/tst_putwc.c: Fix error messages.
32270 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32271 currently writing and seek to current position when not.
32272 * libio/Makefile (tests): Add bug-fclose1.
32273 * libio/bug-fclose1.c: New file.
32275 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32278 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32279 don't set DF_1_NODELETE here.
32280 (do_lookup_x): When entering new entry test for copy relocation
32281 and if necessary set DF_1_NODELETE flag.
32282 * elf/tst-unique4.cc: New file.
32283 * elf/tst-unique4.h: New file.
32284 * elf/tst-unique4lib.cc: New file.
32285 * elf/Makefile: Add rules to build and run tst-unique4.
32286 Patch by Piotr Bury <pbury@goahead.com>.
32288 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32291 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32294 * misc/mntent_r.c (addmntent): Flush the stream after the output
32297 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32298 (is_trusted_path_normalize): Skip initial colon. Append slash
32299 to empty buffer. Duplicate is_trusted_path code but allow
32300 constructed patch to be prefix.
32301 (is_dst): Allow $ORIGIN followed by /.
32302 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32303 Correct testing of result of is_trusted_path_normalize
32304 (decompose_rpath): Fix warning.
32306 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32309 * grp/initgroups.c (internal_getgrouplist): When we found the service
32310 list through the initgroups entry in nsswitch.conf do not always
32311 continue on a successful lookup. Don't always use the
32312 __nss_group_database value if it is set.
32313 * nss/nsswitch.conf (initgroups): Change action for successful db
32314 lookup to continue for compatibility.
32316 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32319 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32321 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32323 * iconvdata/tst-tables.sh: Likewise.
32324 * iconvdata/cp770.c: New file.
32325 * iconvdata/cp771.c: New file.
32326 * iconvdata/cp772.c: New file.
32327 * iconvdata/cp773.c: New file.
32328 * iconvdata/cp774.c: New file.
32329 * iconvdata/testdata/CP770: New file.
32330 * iconvdata/testdata/CP770..UTF8: New file.
32331 * iconvdata/testdata/CP771: New file.
32332 * iconvdata/testdata/CP771..UTF8: New file.
32333 * iconvdata/testdata/CP772: New file.
32334 * iconvdata/testdata/CP772..UTF8: New file.
32335 * iconvdata/testdata/CP773: New file.
32336 * iconvdata/testdata/CP773..UTF8: New file.
32337 * iconvdata/testdata/CP774: New file.
32338 * iconvdata/testdata/CP774..UTF8: New file.
32340 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32342 * iconvdata/gen-8bit-gap.sh: Likewise.
32343 * iconvdata/gen-8bit.sh: Likewise.
32345 * locale/iso-639.def: Add ary entry.
32348 * locale/C-translit.h.in: Add U20A1 transliteration.
32351 * locale/iso-639.def: Add wae entry.
32352 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32355 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32359 * locale/C-translit.h.in: Add entry for U20B9.
32360 Patch by pravin.d.s@gmail.com.
32362 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32365 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32366 ENAMETOOLONG use generic getcwd.
32367 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32368 in rtld. Use *stat64.
32369 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32370 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32371 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32372 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32373 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32374 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32375 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32376 __fstatat64 macros.
32377 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32378 * dirent/rewinddir.c: Add libc_hidden_def.
32379 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32380 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32382 * include/dirent.h (__alloc_dir): Add flags parameter.
32383 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32384 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32386 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32387 from fdopendir if O_CLOEXEC is already set.
32389 2011-03-15 Alan Modra <amodra@gmail.com>
32391 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32392 l_tls_firstbyte_offset non-zero. Save padding offset in
32393 l_tls_firstbyte_offset for later use.
32394 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32395 freeing static tls block.
32397 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32399 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32400 where #ifdef was intended. The intent is to prevent ARG_MAX from
32401 being defined by the kernel headers.
32403 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32406 * resolv/resolv.h: Define RES_NOTLDQUERY.
32407 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32408 no-tld-query and set RES_NOTLDQUERY.
32409 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32410 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32411 modern BIND to search name as TLD unless forbidden.
32413 2011-05-07 Petr Baudis <pasky@suse.cz>
32414 Ulrich Drepper <drepper@gmail.com>
32417 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32418 (is_trusted_path): ...to here.
32419 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32420 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32421 using is_trusted_path_normalize() in setuid scripts.
32423 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32425 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32426 __BEGIN/__END_DECLS.
32428 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32431 NSS_STATUS_NOTFOUND if no record was found.
32433 2011-05-05 Andreas Schwab <schwab@redhat.com>
32435 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32436 (headers-not-in-tirpc): Remove rpc/netdb.h
32437 * resolv/netdb.h: Revert last change.
32439 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32441 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32442 circular dependency between libgcc.a and libc.a.
32444 2011-05-05 Andreas Schwab <schwab@redhat.com>
32446 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32447 * nis/Makefile: Don't install rpcsvc/*.
32448 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32449 instead of <rpc/types.h>.
32450 (MAXHOSTNAMELEN): Define.
32452 2011-05-03 Andreas Schwab <schwab@redhat.com>
32454 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32456 2011-04-28 Maciej Babinski <mbabinski@google.com>
32459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32460 gethostbyname4_r when IPv6 results are possible.
32462 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32465 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32466 _PC_PIPE_BUF handling.
32468 2011-04-30 Bruno Haible <bruno@clisp.org>
32471 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32472 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32474 * inet/getnameinfo.c (getnameinfo): Likewise.
32476 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32478 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32479 to groups setting in database lookup.
32480 * nss/nsswitch.conf: Add initgroups entry.
32482 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32485 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32487 Patch by Eric Blake <eblake@redhat.com>.
32489 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32491 * sunrpc/Makefile (need-export-routines): Add svc_run.
32492 (routines): Remove svc_run.
32493 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32494 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32495 * sunrpc/svc_run.c (svc_run): Likewise.
32496 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32498 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32501 problem in reallocation in last patch.
32503 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32505 * sunrpc/Makefile: Move inclusion of Rules.
32507 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32509 * nss/nss_files/files-initgroups.c: New file.
32510 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32511 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32512 _nss_files_initgroups_dyn.
32514 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32516 * elf/elf.h (R_ARM_IRELATIVE): Define.
32518 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32520 * po/ru.po: Update from translation team.
32522 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32524 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32527 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32530 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32531 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32533 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32534 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32536 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32538 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32540 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32542 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32544 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32547 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32549 * stdlib/bug-getcontext.c: New file.
32550 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32552 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32554 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32555 instructions into .machine "z9-109".
32556 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32557 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32559 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32561 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32562 between environment variables and auxiliary vector.
32564 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32566 * Makefile: Add rules to build linkobj/libc.so.
32567 * include/libc-symbols.h: Define libc_hidden_nolink.
32568 * include/rpc/auth.h: Mark functions which are to be hidden.
32569 * include/rpc/auth_des.h: Likewise.
32570 * include/rpc/auth_unix.h: Likewise.
32571 * include/rpc/clnt.h: Likewise.
32572 * include/rpc/des_crypt.h: Likewise.
32573 * include/rpc/key_prot.h: Likewise.
32574 * include/rpc/pmap_clnt.h: Likewise.
32575 * include/rpc/pmap_prot.h: Likewise.
32576 * include/rpc/pmap_rmt.h: Likewise.
32577 * include/rpc/rpc_msg.h: Likewise.
32578 * include/rpc/svc.h: Likewise.
32579 * include/rpc/svc_auth.h: Likewise.
32580 * include/rpc/xdr.h: Likewise.
32581 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32582 * nss/Makefile: Likewise.
32583 * sunrpc/Makefile: Don't install headers. Build library with normal
32584 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32585 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32586 for the compat linking library. Remove use of INTDEF/INTUSE.
32587 * sunrpc/auth_none.c: Likewise.
32588 * sunrpc/auth_unix.c: Likewise.
32589 * sunrpc/authdes_prot.c: Likewise.
32590 * sunrpc/authuxprot.c: Likewise.
32591 * sunrpc/clnt_gen.c: Likewise.
32592 * sunrpc/clnt_perr.c: Likewise.
32593 * sunrpc/clnt_raw.c: Likewise.
32594 * sunrpc/clnt_simp.c: Likewise.
32595 * sunrpc/clnt_tcp.c: Likewise.
32596 * sunrpc/clnt_udp.c: Likewise.
32597 * sunrpc/clnt_unix.c: Likewise.
32598 * sunrpc/des_crypt.c: Likewise.
32599 * sunrpc/des_soft.c: Likewise.
32600 * sunrpc/get_myaddr.c: Likewise.
32601 * sunrpc/key_call.c: Likewise.
32602 * sunrpc/key_prot.c: Likewise.
32603 * sunrpc/netname.c: Likewise.
32604 * sunrpc/pm_getmaps.c: Likewise.
32605 * sunrpc/pm_getport.c: Likewise.
32606 * sunrpc/pmap_clnt.c: Likewise.
32607 * sunrpc/pmap_prot.c: Likewise.
32608 * sunrpc/pmap_prot2.c: Likewise.
32609 * sunrpc/pmap_rmt.c: Likewise.
32610 * sunrpc/publickey.c: Likewise.
32611 * sunrpc/rpc_cmsg.c: Likewise.
32612 * sunrpc/rpc_common.c: Likewise.
32613 * sunrpc/rpc_dtable.c: Likewise.
32614 * sunrpc/rpc_prot.c: Likewise.
32615 * sunrpc/rpc_thread.c: Likewise.
32616 * sunrpc/rtime.c: Likewise.
32617 * sunrpc/svc.c: Likewise.
32618 * sunrpc/svc_auth.c: Likewise.
32619 * sunrpc/svc_authux.c: Likewise.
32620 * sunrpc/svc_raw.c: Likewise.
32621 * sunrpc/svc_run.c: Likewise.
32622 * sunrpc/svc_simple.c: Likewise.
32623 * sunrpc/svc_tcp.c: Likewise.
32624 * sunrpc/svc_udp.c: Likewise.
32625 * sunrpc/svc_unix.c: Likewise.
32626 * sunrpc/svcauth_des.c: Likewise.
32627 * sunrpc/xcrypt.c: Likewise.
32628 * sunrpc/xdr.c: Likewise.
32629 * sunrpc/xdr_array.c: Likewise.
32630 * sunrpc/xdr_float.c: Likewise.
32631 * sunrpc/xdr_intXX_t.c: Likewise.
32632 * sunrpc/xdr_mem.c: Likewise.
32633 * sunrpc/xdr_rec.c: Likewise.
32634 * sunrpc/xdr_ref.c: Likewise.
32635 * sunrpc/xdr_sizeof.c: Likewise.
32636 * sunrpc/xdr_stdio.c: Likewise.
32638 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32641 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32642 * sysdeps/ia64/dl-tls.h: Likewise.
32643 * sysdeps/powerpc/dl-tls.h: Likewise.
32644 * sysdeps/s390/dl-tls.h: Likewise.
32645 * sysdeps/sh/dl-tls.h: Likewise.
32646 * sysdeps/sparc/dl-tls.h: Likewise.
32647 * sysdeps/x86_64/dl-tls.h: Likewise.
32648 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32650 2011-03-14 Andreas Schwab <schwab@redhat.com>
32652 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32653 rpath element also skip the following colon.
32654 (expand_dynamic_string_token): Add is_path parameter and pass
32655 down to DL_DST_REQUIRED and _dl_dst_substitute.
32656 (decompose_rpath): Call expand_dynamic_string_token with
32657 non-zero is_path. Ignore empty rpaths.
32658 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32661 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32666 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32669 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32670 Patch by Filipe David Manana <fdmanana@apache.org>.
32672 2011-04-07 Andreas Schwab <schwab@redhat.com>
32674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32675 Maintain aligned stack.
32676 (CHECK_RSP): Remove unused macro.
32678 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32680 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32681 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32683 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32685 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32687 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32689 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32692 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32693 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32694 * sysdeps/x86_64/memmove.c: New file.
32695 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32696 (memcpy): Renamed to ...
32697 (__new_memcpy): This.
32698 (memcpy): Provide GLIBC_2_14 memcpy.
32699 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32700 (memcpy): Provide GLIBC_2_2_5 memcpy.
32702 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32705 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32707 2011-03-30 Andreas Schwab <schwab@redhat.com>
32709 * misc/syncfs.c: New file.
32710 * misc/Makefile (routines): Add syncfs.
32711 * posix/unistd.h: Declare syncfs.
32712 * sysdeps/unix/syscalls.list: Add syncfs.
32714 2011-04-01 Andreas Schwab <schwab@redhat.com>
32716 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32719 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32723 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32726 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32729 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32736 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32737 sync_file_range.c with -fexceptions.
32738 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32739 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32740 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32741 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32742 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32743 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32745 sync_file_range as cancellation point
32746 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32747 now a wrapper around __call_sync_file_range with cancellation handling.
32748 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32749 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32750 function name to __call_sync_file_range.
32751 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32752 Add call_sync_file_range.
32754 2011-04-01 Andreas Schwab <schwab@redhat.com>
32756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32759 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32761 * iconv/iconv.h: Fix typo in comment.
32762 * io/fcntl.h: Likewise.
32763 * libio/stdio.h: Likewise.
32764 * posix/spawn.h: Likewise.
32765 * posix/unistd.h: Likewise.
32766 * stdlib/stdlib.h: Likewise.
32767 * time/time.h: Likewise.
32768 * wcsmbs/wchar.h: Likewise.
32770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32771 open_by_handle): Add.
32772 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32773 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32774 Augment a few comments.
32775 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32780 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32783 * io/fcntl.h (AT_EMPTY_PATH): Define.
32785 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32787 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32788 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32789 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32791 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32792 * Versions.def: Add GLIBC_2.14.
32793 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32796 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32798 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32800 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32802 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32805 * string/test-strncmp.c (do_page_test): New function.
32806 (check2): Likewise.
32807 (test_main): Call check2.
32808 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32810 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32813 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32814 Handle cache information in CPU leaf 4.
32815 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32817 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32820 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32821 character representation.
32822 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32824 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32826 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32827 END(__isnan) to END(__isnanf) to match function entry point/label
32828 EALIGN(__isnanf,...).
32830 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32832 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32834 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32837 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32838 copy from the symbol referenced in the relocation to initialize the
32840 Patch by Piotr Bury <pbury@goahead.com>.
32841 * elf/Makefile: Add rules to build and tst-unique3.
32842 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32843 * elf/tst-unique3.cc: New file.
32844 * elf/tst-unique3.h: New file.
32845 * elf/tst-unique3lib.cc: New file.
32846 * elf/tst-unique3lib2.cc: New file.
32848 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32850 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32852 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32853 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32856 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32858 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32859 to-be-loaded object along a path to loader is ld.so.
32861 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32862 Ulrich Drepper <drepper@gmail.com>
32864 * sysdeps/x86_64/memset.S: After aligning destination, code
32865 branches to different locations depending on the value of
32866 misalignment, when multiarch is enabled. Fix this.
32868 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32870 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32871 Set _x86_64_preferred_memory_instruction for AMD processsors.
32872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32873 Set bit_Prefer_SSE_for_memop for AMD processors.
32875 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32877 * libio/fmemopen.c (fmemopen): Optimize a bit.
32879 2011-03-03 Andreas Schwab <schwab@redhat.com>
32881 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32883 2011-03-03 Roland McGrath <roland@redhat.com>
32885 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32887 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32889 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32890 __bzero_ultra1 instead of __memset_ultra1.
32892 2011-02-23 Andreas Schwab <schwab@redhat.com>
32893 Ulrich Drepper <drepper@gmail.com>
32896 * include/link.h (struct link_map): Add l_orig_initfini.
32897 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32898 returning unsuccessfully.
32899 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32900 close of a file loaded at startup, restore the original l_initfini
32902 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32903 list, store the pointer.
32904 * elf/Makefile ($(objpfx)noload-mem): New rule.
32905 (noload-ENV): Define.
32906 (tests): Add $(objpfx)noload-mem.
32907 * elf/noload.c: Include <memcheck.h>.
32908 (main): Call mtrace. Close all opened handles.
32910 2011-02-17 Andreas Schwab <schwab@redhat.com>
32913 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32914 dependencies are missing.
32916 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32918 Fix __if_freereq crash: Unlike the generic version which uses free,
32920 * sysdeps/mach/hurd/ifreq.h: New file.
32922 2011-01-27 Petr Baudis <pasky@suse.cz>
32923 Ulrich Drepper <drepper@gmail.com>
32926 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32927 to extend_alloca().
32928 * stdio-common/bug23.c: New file.
32929 * stdio-common/Makefile (tests): Add bug23.
32931 2010-09-28 Andreas Schwab <schwab@redhat.com>
32932 Ulrich Drepper <drepper@gmail.com>
32935 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32936 before performing relro protection. At old place add assertion
32937 to make sure nothing changed.
32939 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32940 Glauber de Oliveira Costa <glommer@gmail.com>
32942 * elf/elf.h: Add new ARM TLS relocs.
32944 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32947 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32949 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32951 * sysdeps/wordsize-64/tst-writev.c: New file.
32953 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32955 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32956 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32957 insns in _dl_start to prevent a TOC reference before relocs are
32960 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32963 * Makeconfig: Remove RANLIB definition.
32964 * Makerules: Don't use RANLIB.
32965 * aclocal.m4: Remove ranlib test.
32966 * configure.in: No need to check for ranlib.
32967 * elf/rtld-Rules: Don't use RANLIB.
32969 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32971 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32973 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32974 inclusion protection macro.
32976 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32977 SIGRTMIN and SIGRTMAX and print information in that case only when
32978 SIGRTMIN is defined.
32980 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32982 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32983 arginfo fn returning -1.
32985 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32986 and thousands string is zero terminated.
32988 2011-02-03 Andreas Schwab <schwab@redhat.com>
32990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32991 sysdeps/unix/sysv/linux/bits/socket.h.
32993 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32995 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32996 (__CPU_COUNT): Remove old macros.
32997 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32998 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32999 (__CPU_ALLOC, __CPU_FREE): Add macros.
33000 (__sched_cpualloc, __sched_cpufree): Add declarations.
33002 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33004 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33005 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33006 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33007 (readdhstai): Return value of addhstaiX call.
33008 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33009 (addgrbyX): Return value returned by cache_addgr.
33010 (readdgrbyname): Return value returned by addgrbyX.
33011 (readdgrbygid): Likewise.
33012 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33013 (addpwbyX): Return value returned by cache_addpw.
33014 (readdpwbyname): Return value returned by addhstbyX.
33015 (readdpwbyuid): Likewise.
33016 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33017 (addservbyX): Return value returned by cache_addserv.
33018 (readdservbyname): Return value returned by addservbyX:
33019 (readdservbyport): Likewise.
33020 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33021 (addhstbyX): Return value returned by cache_addhst.
33022 (readdhstbyname): Return value returned by addhstbyX.
33023 (readdhstbyaddr): Likewise.
33024 (readdhstbynamev6): Likewise.
33025 (readdhstbyaddrv6): Likewise.
33026 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33027 (readdinitgroups): Return value returned by addinitgroupsX.
33028 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33029 (prune_cache): Keep track of timeout value of re-added entries.
33030 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33031 * nscd/nscd.h: Adjust prototypes of readd* functions.
33033 2011-02-04 Roland McGrath <roland@redhat.com>
33035 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33036 (nis_stats): Likewise.
33037 * nis/nis_modify.c (nis_modify): Likewise.
33038 * nis/nis_remove.c (nis_remove): Likewise.
33039 * nis/nis_add.c (nis_add): Likewise.
33041 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33043 * posix/fnmatch_loop.c: Add some consts.
33045 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33047 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33050 * config.make.in (config-cflags-novzeroupper): Define.
33051 * configure.in: Substitute libc_cv_cc_novzeroupper.
33052 * elf/Makefile (AVX-CFLAGS): Define.
33053 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33054 (CFLAGS-tst-auditmod4a.c): Likewise.
33055 (CFLAGS-tst-auditmod4b.c): Likewise.
33056 (CFLAGS-tst-auditmod6b.c): Likewise.
33057 (CFLAGS-tst-auditmod6c.c): Likewise.
33058 (CFLAGS-tst-auditmod7b.c): Likewise.
33059 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33061 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33063 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33064 function to the callback.
33065 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33067 2011-02-02 Andreas Schwab <schwab@redhat.com>
33069 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33072 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33075 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33077 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33079 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33082 * elf/Makefile: Add rules to build and run new test.
33083 * elf/tst-initorder.c: New file.
33084 * elf/tst-initorder.exp: New file.
33085 * elf/tst-initordera1.c: New file.
33086 * elf/tst-initordera2.c: New file.
33087 * elf/tst-initordera3.c: New file.
33088 * elf/tst-initordera4.c: New file.
33089 * elf/tst-initorderb1.c: New file.
33090 * elf/tst-initorderb2.c: New file.
33091 * elf/tst-order-a1.c: New file.
33092 * elf/tst-order-a2.c: New file.
33093 * elf/tst-order-a3.c: New file.
33094 * elf/tst-order-a4.c: New file.
33095 * elf/tst-order-b1.c: New file.
33096 * elf/tst-order-b2.c: New file.
33097 * elf/tst-order-main.c: New file.
33098 New test case by George Gensure <werkt0@gmail.com>.
33100 2010-10-01 Andreas Schwab <schwab@redhat.com>
33102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33103 decoding ACE if AI_CANONIDN.
33105 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33107 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33109 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33111 * version.h (RELEASE): Bump for 2.13 release.
33112 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33114 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33116 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33118 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33121 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33125 * posix/getconf.c: Update copyright year.
33126 * catgets/gencat.c: Likewise.
33127 * csu/version.c: Likewise.
33128 * debug/catchsegv.sh: Likewise.
33129 * debug/xtrace.sh: Likewise.
33130 * elf/ldconfig.c: Likewise.
33131 * elf/ldd.bash.in: Likewise.
33132 * elf/sprof.c (print_version): Likewise.
33133 * iconv/iconv_prog.c: Likewise.
33134 * iconv/iconvconfig.c: Likewise.
33135 * locale/programs/locale.c: Likewise.
33136 * locale/programs/localedef.c: Likewise.
33137 * malloc/memusage.sh: Likewise.
33138 * malloc/mtrace.pl: Likewise.
33139 * nscd/nscd.c (print_version): Likewise.
33140 * nss/getent.c: Likewise.
33142 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33143 PF_CAIF, and PF_ALG.
33144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33146 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33148 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33149 (modules-names): Use them.
33150 (ifunc-test-modules, ifunc-pie-tests): Define.
33151 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33152 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33153 (test-extras): Likewise.
33154 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33155 $(compile-command.c).
33156 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33157 (all-built-dso): Define.
33158 (check-textrel.out, check-execstack.out): Depend on it.
33160 * configure.in: Don't override --enable-multi-arch.
33162 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33165 * nscd/hstcache.c (tryagain): Define.
33166 (cache_addhst): Return tryagain not notfound for temporary errors.
33167 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33170 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33173 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33174 to make the syscall.
33175 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33178 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33179 and fall back to matching as normal character if the string ends before
33180 the matching ']' is found. This is what POSIX requires.
33181 * posix/testfnm.c: Adjust test result.
33182 * posix/globtest.sh: Adjust test result. Add new test.
33183 * posix/tst-fnmatch.input: Likewise.
33184 * posix/tst-fnmatch2.c: Add new test.
33186 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33188 * elf/Makefile (check-execstack): Revert last change. Depend on
33190 (check-execstack.h): New target.
33191 (generated): Add check-execstack.h.
33192 * elf/check-execstack.c: Include "check-execstack.h".
33193 (main): Revert last change.
33194 (handle_file): Return zero if GNU_STACK is absent and
33195 DEFAULT_STACK_PERMS doesn't include PF_X.
33197 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33199 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33200 in child fails because the descriptor is already closed.
33201 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33202 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33203 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33206 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33210 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33211 temporary buffer used to handle multi lookups locally.
33212 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33214 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33216 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33219 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33221 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33222 alignment for SSE2.
33224 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33227 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33228 characters. When rounding increased number of integer digits recompute
33230 * stdio-common/tst-grouping.c: New file.
33231 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33233 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33235 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33236 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33238 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33240 * bits/select.h: Likewise.
33242 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33244 * po/ja.po: Update from translation team.
33246 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33249 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33250 implementation just like for lxstat, fxstatat, et al.
33252 2010-12-27 Jim Meyering <meyering@redhat.com>
33255 * posix/regexec.c (build_trtable): Return failure indication upon
33256 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33258 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33261 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33262 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33263 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33264 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33267 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33270 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33271 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33273 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33275 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33276 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33277 script has SORT_BY_INIT_PRIORITY.
33278 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33279 NO_CTORS_DTORS_SECTIONS is defined.
33280 * elf/soinit.c: Likewise.
33281 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33282 NO_CTORS_DTORS_SECTIONS is defined.
33283 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33284 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33285 * sysdeps/sh/init-first.c: Likewise.
33286 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33288 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33290 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33291 always use the slow path.
33293 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33295 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33296 similar rule which adds the sysdep directories to the header search in
33297 order to pick up the correct platform stackinfo.h.
33298 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33299 perform test if it is, otherwise return successfully without testing.
33300 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33301 DEFAULT_STACK_PERMS define in stackinfo.h.
33302 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33303 defined in stackinfo.h.
33304 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33305 DEFAULT_STACK_PERMS defined in stackinfo.h.
33306 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33307 * sysdeps/ia64/stackinfo.h: Likewise.
33308 * sysdeps/s390/stackinfo.h: Likewise.
33309 * sysdeps/sh/stackinfo.h: Likewise.
33310 * sysdeps/sparc/stackinfo.h: Likewise.
33311 * sysdeps/x86_64/stackinfo.h: Likewise.
33312 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33313 PF_X for powerpc64. Retain PF_X for powerpc32.
33315 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33317 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33319 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33320 GETDENTS_64BIT_ALIGNED.
33322 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33324 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33326 2010-12-10 Andreas Schwab <schwab@redhat.com>
33328 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33331 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33332 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33334 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33335 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33337 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33340 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33343 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33345 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33347 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33349 * po/it.po: Update from translation team.
33351 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33356 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33358 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33360 2010-11-24 Andreas Schwab <schwab@redhat.com>
33362 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33364 (gaih_getanswer_slice): Likewise.
33366 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33370 2010-05-31 Petr Baudis <pasky@suse.cz>
33373 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33374 silently even in the chroot mode.
33376 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33378 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33379 last patch a bit. Pretty printing
33381 2010-05-31 Petr Baudis <pasky@suse.cz>
33384 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33385 initialization of skip_initgroups_dyn.
33387 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33390 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33392 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33394 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33396 2010-11-11 Andreas Schwab <schwab@redhat.com>
33398 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33399 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33400 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33401 ($(objpfx)tst-fnmatch-mem): New rule.
33402 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33403 * posix/tst-fnmatch.c (main): Call mtrace.
33405 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33408 Support Intel processor model 6 and model 0x2c.
33410 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33412 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33415 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33418 * string/test-strncasecmp.c (check_result): New function.
33419 (do_one_test): Use it.
33420 (check1): New function.
33421 (test_main): Use it.
33422 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33423 Support strcasecmp and strncasecmp.
33425 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33428 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33431 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33433 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33437 * sysdeps/x86_64/multiarch/bzero.S: New file.
33438 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33439 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33440 * sysdeps/x86_64/multiarch/memset.S: New file.
33441 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33443 Set bit_Prefer_SSE_for_memop for Intel processors.
33444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33446 (index_Prefer_SSE_for_memop): Define.
33447 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33449 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33451 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33452 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33454 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33457 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33458 (__x86_64_raw_data_cache_size_half): Likewise.
33459 (__x86_64_raw_shared_cache_size): Likewise.
33460 (__x86_64_raw_shared_cache_size_half): Likewise.
33462 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33463 (__x86_64_raw_data_cache_size_half): Likewise.
33464 (__x86_64_raw_shared_cache_size): Likewise.
33465 (__x86_64_raw_shared_cache_size_half): Likewise.
33466 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33467 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33468 and __x86_64_raw_shared_cache_size_half. Round
33469 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33470 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33471 to multiple of 256 bytes.
33473 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33476 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33477 of inacessible symlinks. Verify result of symlink before returning it.
33478 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33479 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33481 2010-10-28 Erich Ritz <erichritz@gmail.com>
33483 * math/math.h (isinf): Fix typo in comment.
33485 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33487 * po/da.po: Update from translation team.
33489 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33491 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33492 is added to the list.
33494 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33495 Ulrich Drepper <drepper@gmail.com>
33497 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33498 the global list here. Move code to...
33499 (_dl_add_to_namespace_list): ...here. New function.
33500 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33501 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33502 * elf/dl-load.c (lose): Don't remove the element from the list.
33503 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33504 (_dl_map_object): Likewise.
33506 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33509 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33510 into all bytes of SSE register.
33511 Patch by Richard Li <richardpku@gmail.com>.
33513 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33516 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33519 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33521 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33522 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33523 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33524 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33529 2010-10-22 Andreas Schwab <schwab@redhat.com>
33531 * include/dlfcn.h (__RTLD_SECURE): Define.
33532 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33533 mode & __RTLD_SECURE instead.
33534 (open_path): Rename preloaded parameter to secure.
33535 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33536 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33537 * elf/dl-deps.c (openaux): Likewise.
33538 * elf/rtld.c (struct map_args): Remove is_preloaded.
33539 (map_doit): Don't use it.
33540 (dl_main): Likewise.
33541 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33542 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33544 2010-09-09 Andreas Schwab <schwab@redhat.com>
33546 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33547 (sysd-rules-targets): Remove duplicates.
33548 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33549 rtld-%.$o dependency.
33551 2010-10-18 Andreas Schwab <schwab@redhat.com>
33553 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33554 _dl_map_object do it.
33556 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33558 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33559 fast fma builtins, define the macros in the C99 standard.
33560 (FP_FAST_FMAF): Likewise.
33561 (FP_FAST_FMAL): Likewise.
33562 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33564 * bits/mathdef.h: Update copyright year.
33565 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33567 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33569 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33570 builtins, define the macros in the C99 standard.
33571 (FP_FAST_FMAF): Likewise.
33572 (FP_FAST_FMAL): Likewise.
33573 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33575 (FP_FAST_FMAF): Likewise.
33577 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33580 * math/libm-test.inc (fma_test): Some new testcases.
33581 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33583 y and infinite z. Do multiplication by C already in long double.
33584 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33586 y and infinite z. Do bitwise or of inexact bit into u.d.
33587 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33588 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33589 * sysdeps/i386/fpu/s_fma.S: Removed.
33590 * sysdeps/i386/fpu/s_fmal.S: Removed.
33592 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33595 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33597 computation is not scheduled after fetestexcept. Fix value
33598 of minimum denormal long double.
33600 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33603 * math/libm-test.inc (fma_test): Add some more tests.
33604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33607 2010-10-15 Andreas Schwab <schwab@redhat.com>
33609 * scripts/data/localplt-s390-linux-gnu.data: New file.
33610 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33612 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33615 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33616 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33618 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33620 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33622 if one of x and y is very large and the other is subnormal.
33623 * sysdeps/s390/fpu/s_fmaf.c: New file.
33624 * sysdeps/s390/fpu/s_fma.c: New file.
33625 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33626 * sysdeps/powerpc/fpu/s_fma.S: New file.
33627 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33628 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33629 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33631 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33634 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33636 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33637 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33638 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33639 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33640 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33641 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33644 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33647 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33648 * posix/bug-regex31.input: Add test case.
33650 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33652 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33653 * posix/bug-regex31.input: New file.
33656 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33657 (parse_sub_exp): Fix last change, use postorder.
33659 * posix/bug-regex31.c: New file.
33660 * posix/Makefile: Add rules to build and run bug-regex31.
33662 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33665 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33668 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33669 to have entries in sys_siglist.
33672 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33675 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33678 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33679 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33680 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33681 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33682 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33683 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33684 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33685 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33686 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33687 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33688 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33689 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33690 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33691 * math/ftestexcept.c (fetestexcept): Likewise.
33692 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33693 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33694 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33695 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33696 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33697 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33698 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33700 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33703 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33706 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33708 * string/bug-strstr1.c: New file.
33709 * string/Makefile: Add rules to build and run bug-strstr1.
33711 2010-10-05 Eric Blake <eblake@redhat.com>
33714 * string/str-two-way.h (two_way_long_needle): Always clear memory
33715 when skipping input due to the shift table.
33717 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33720 * malloc/mcheck.c: Handle large requests.
33723 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33724 for strncmp and strncasecmp.
33725 * string/stratcliff.c: Add tests for strcmp and strncmp.
33726 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33728 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33730 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33733 2010-09-30 Andreas Jaeger <aj@suse.de>
33735 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33736 (CGROUP_SUPER_MAGIC): Define.
33737 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33738 Handle btrfs and cgroup file systems.
33739 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33742 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33744 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33745 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33747 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33750 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33751 trying to locate the ELF header.
33753 2010-09-27 Andreas Schwab <schwab@redhat.com>
33756 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33757 Mask out sign-bit copies when constructing f_fsid.
33759 2010-09-24 Petr Baudis <pasky@suse.cz>
33761 * debug/stack_chk_fail_local.c: Add missing licence exception.
33762 * debug/warning-nop.c: Likewise.
33764 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33766 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33767 implementing getdents64 using getdents syscall, set d_type if
33768 __ASSUME_GETDENTS32_D_TYPE.
33770 2010-09-16 Andreas Schwab <schwab@redhat.com>
33772 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33773 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33775 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33778 * posix/unistd.h: Undo change of feature selection for ftruncate from
33781 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33783 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33786 2010-09-20 Andreas Schwab <schwab@redhat.com>
33788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33792 2010-09-14 Andreas Schwab <schwab@redhat.com>
33794 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33795 variables after CHECK_SP call.
33796 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33798 2010-09-13 Andreas Schwab <schwab@redhat.com>
33799 Ulrich Drepper <drepper@redhat.com>
33801 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33802 re-relocationg ld.so.
33803 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33804 _dl_init_paths call.
33805 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33808 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33810 * resolv/res_init.c (__res_vinit): Count the default server we added.
33812 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33813 Ulrich Drepper <drepper@redhat.com>
33816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33817 (____longjmp_chk): Use %ebx for saving value across system call.
33820 2010-09-06 Andreas Schwab <schwab@redhat.com>
33822 * manual/Makefile: Don't mix pattern rules with normal rules.
33824 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33826 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33828 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33829 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33830 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33831 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33835 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33838 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33839 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33841 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33843 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33844 * sysdeps/x86_64/addmul_1.S: Likewise.
33845 * sysdeps/x86_64/lshift.S: Likewise.
33846 * sysdeps/x86_64/mul_1.S: Likewise.
33847 * sysdeps/x86_64/rshift.S: Likewise.
33848 * sysdeps/x86_64/sub_n.S: Likewise.
33849 * sysdeps/x86_64/submul_1.S: Likewise.
33851 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33853 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33854 Define __sched_param instead of SCHED_* and sched_param when
33855 <bits/sched.h> is included with __need_schedparam defined.
33856 * bits/sched.h [__need_schedparam]
33857 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33858 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33859 (__defined_schedparam): Define to 1.
33860 (__sched_param): New structure, identical to sched_param.
33861 (__need_schedparam): Undefine.
33863 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33865 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33866 (epoll_create1): Declare.
33868 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33870 2010-08-31 Andreas Schwab <schwab@redhat.com>
33873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33874 shifting retval into place.
33876 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33878 * nis/rpcsvc/nis.h: Update copyright notice.
33879 * nis/rpcsvc/nis.x: Likewise.
33880 * nis/rpcsvc/nis_callback.h: Likewise.
33881 * nis/rpcsvc/nis_callback.x: Likewise.
33882 * nis/rpcsvc/nis_object.x: Likewise.
33883 * nis/rpcsvc/nis_tags.h: Likewise.
33884 * nis/rpcsvc/yp.h: Likewise.
33885 * nis/rpcsvc/yp.x: Likewise.
33886 * nis/rpcsvc/ypupd.h: Likewise.
33887 * nis/yp_xdr.c: Likewise.
33888 * nis/ypupdate_xdr.c: Likewise.
33890 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33891 mainly the body of pmap_getport. Add parameters to specify timeouts.
33892 (pmap_getport): Use __libc_rpc_getport.
33893 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33894 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33895 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33897 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33902 2010-08-27 Roland McGrath <roland@redhat.com>
33904 * sysdeps/i386/i686/multiarch/Makefile
33905 (CFLAGS-varshift.c): New variable.
33907 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33909 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33910 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33914 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33916 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33918 * sysdeps/x86_64/strlen.S: Unroll the loop.
33919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33920 strlen-sse2 strlen-sse2-bsf.
33921 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33922 __strlen_no_bsf if bit_Slow_BSF is set.
33923 (__strlen_sse42): Removed.
33924 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33925 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33927 2010-08-25 Roland McGrath <roland@redhat.com>
33929 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33930 * sysdeps/x86_64/multiarch/varshift.c: New file.
33931 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33932 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33933 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33934 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33936 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33939 strlen-sse2 strlen-sse2-bsf.
33940 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33941 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33942 (__strlen_sse2): Removed.
33943 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33946 bit_Slow_BSF for Atom.
33947 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33948 (index_Slow_BSF): Define.
33949 (HAS_SLOW_BSF): Define.
33951 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33954 * resolv/res_init.c (__res_vinit): When no server address at all
33955 is given default to loopback.
33957 2010-08-24 Roland McGrath <roland@redhat.com>
33959 * configure.in: Remove config-name.h generation.
33960 * configure: Regenerated.
33961 * config-name.in: File removed.
33962 * scripts/config-uname.sh: New file.
33963 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33964 ($(objdir)config-name.h): New target.
33966 * sunrpc/rpc_parse.h: Avoid nested comment.
33968 2010-08-24 Richard Henderson <rth@redhat.com>
33969 Ulrich Drepper <drepper@redhat.com>
33970 H.J. Lu <hongjiu.lu@intel.com>
33972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33974 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33975 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33976 _mm_alignr_epi8 with _mm_loadu_si128.
33977 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33978 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33979 (__m128i_shift_right): Removed.
33980 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33981 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33982 * sysdeps/x86_64/multiarch/varshift.h: New file.
33983 * sysdeps/x86_64/multiarch/varshift.S: New file.
33985 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33987 * configure.in: Move assembler checks to before sysdep dir checking.
33989 2010-08-20 Petr Baudis <pasky@suse.cz>
33991 * LICENSES: Sync the sunrpc license.
33993 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33995 * sunrpc/auth_des.c: Update copyright notice once again.
33996 * sunrpc/auth_none.c: Likewise.
33997 * sunrpc/auth_unix.c: Likewise.
33998 * sunrpc/authdes_prot.c: Likewise.
33999 * sunrpc/authuxprot.c: Likewise.
34000 * sunrpc/bindrsvprt.c: Likewise.
34001 * sunrpc/clnt_gen.c: Likewise.
34002 * sunrpc/clnt_perr.c: Likewise.
34003 * sunrpc/clnt_raw.c: Likewise.
34004 * sunrpc/clnt_simp.c: Likewise.
34005 * sunrpc/clnt_tcp.c: Likewise.
34006 * sunrpc/clnt_udp.c: Likewise.
34007 * sunrpc/clnt_unix.c: Likewise.
34008 * sunrpc/des_crypt.c: Likewise.
34009 * sunrpc/des_soft.c: Likewise.
34010 * sunrpc/get_myaddr.c: Likewise.
34011 * sunrpc/getrpcport.c: Likewise.
34012 * sunrpc/key_call.c: Likewise.
34013 * sunrpc/key_prot.c: Likewise.
34014 * sunrpc/openchild.c: Likewise.
34015 * sunrpc/pm_getmaps.c: Likewise.
34016 * sunrpc/pm_getport.c: Likewise.
34017 * sunrpc/pmap_clnt.c: Likewise.
34018 * sunrpc/pmap_prot.c: Likewise.
34019 * sunrpc/pmap_prot2.c: Likewise.
34020 * sunrpc/pmap_rmt.c: Likewise.
34021 * sunrpc/rpc/auth.h: Likewise.
34022 * sunrpc/rpc/auth_unix.h: Likewise.
34023 * sunrpc/rpc/clnt.h: Likewise.
34024 * sunrpc/rpc/des_crypt.h: Likewise.
34025 * sunrpc/rpc/key_prot.h: Likewise.
34026 * sunrpc/rpc/netdb.h: Likewise.
34027 * sunrpc/rpc/pmap_clnt.h: Likewise.
34028 * sunrpc/rpc/pmap_prot.h: Likewise.
34029 * sunrpc/rpc/pmap_rmt.h: Likewise.
34030 * sunrpc/rpc/rpc.h: Likewise.
34031 * sunrpc/rpc/rpc_des.h: Likewise.
34032 * sunrpc/rpc/rpc_msg.h: Likewise.
34033 * sunrpc/rpc/svc.h: Likewise.
34034 * sunrpc/rpc/svc_auth.h: Likewise.
34035 * sunrpc/rpc/types.h: Likewise.
34036 * sunrpc/rpc/xdr.h: Likewise.
34037 * sunrpc/rpc_clntout.c: Likewise.
34038 * sunrpc/rpc_cmsg.c: Likewise.
34039 * sunrpc/rpc_common.c: Likewise.
34040 * sunrpc/rpc_cout.c: Likewise.
34041 * sunrpc/rpc_dtable.c: Likewise.
34042 * sunrpc/rpc_hout.c: Likewise.
34043 * sunrpc/rpc_main.c: Likewise.
34044 * sunrpc/rpc_parse.c: Likewise.
34045 * sunrpc/rpc_parse.h: Likewise.
34046 * sunrpc/rpc_prot.c: Likewise.
34047 * sunrpc/rpc_sample.c: Likewise.
34048 * sunrpc/rpc_scan.c: Likewise.
34049 * sunrpc/rpc_scan.h: Likewise.
34050 * sunrpc/rpc_svcout.c: Likewise.
34051 * sunrpc/rpc_tblout.c: Likewise.
34052 * sunrpc/rpc_util.c: Likewise.
34053 * sunrpc/rpc_util.h: Likewise.
34054 * sunrpc/rpcinfo.c: Likewise.
34055 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34056 * sunrpc/rpcsvc/key_prot.x: Likewise.
34057 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34058 * sunrpc/rpcsvc/mount.x: Likewise.
34059 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34060 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34061 * sunrpc/rpcsvc/rex.x: Likewise.
34062 * sunrpc/rpcsvc/rstat.x: Likewise.
34063 * sunrpc/rpcsvc/rusers.x: Likewise.
34064 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34065 * sunrpc/rpcsvc/spray.x: Likewise.
34066 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34067 * sunrpc/rtime.c: Likewise.
34068 * sunrpc/svc.c: Likewise.
34069 * sunrpc/svc_auth.c: Likewise.
34070 * sunrpc/svc_authux.c: Likewise.
34071 * sunrpc/svc_raw.c: Likewise.
34072 * sunrpc/svc_run.c: Likewise.
34073 * sunrpc/svc_simple.c: Likewise.
34074 * sunrpc/svc_tcp.c: Likewise.
34075 * sunrpc/svc_udp.c: Likewise.
34076 * sunrpc/svc_unix.c: Likewise.
34077 * sunrpc/svcauth_des.c: Likewise.
34078 * sunrpc/xcrypt.c: Likewise.
34079 * sunrpc/xdr.c: Likewise.
34080 * sunrpc/xdr_array.c: Likewise.
34081 * sunrpc/xdr_float.c: Likewise.
34082 * sunrpc/xdr_mem.c: Likewise.
34083 * sunrpc/xdr_rec.c: Likewise.
34084 * sunrpc/xdr_ref.c: Likewise.
34085 * sunrpc/xdr_sizeof.c: Likewise.
34086 * sunrpc/xdr_stdio.c: Likewise.
34088 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34091 2010-08-19 Andreas Schwab <schwab@redhat.com>
34093 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34095 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34097 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34098 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34099 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34100 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34102 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34103 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34104 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34105 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34106 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34107 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34108 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34109 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34110 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34112 2010-07-26 Anton Blanchard <anton@samba.org>
34114 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34115 * malloc/arena.c (heap_trim): Likewise.
34117 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34119 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34122 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34124 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34126 * sysdeps/i386/elf/Makefile: New file.
34128 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34130 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34131 from fanotify_init.
34132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34135 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34137 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34139 * sysdeps/multiarch/strcmp.S: Likewise.
34141 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34144 strncase_l-nonascii.
34145 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34146 Add strncase_l-ssse3.
34147 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34148 * sysdeps/x86_64/strcmp.S: Likewise.
34149 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34150 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34151 * sysdeps/x86_64/strncase.S: New file.
34152 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34153 * sysdeps/x86_64/strncase_l.S: New file.
34154 * string/Makefile (strop-tests): Add strncasecmp.
34155 * string/test-strncasecmp.c: New file.
34157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34160 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34161 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34163 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34165 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34167 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34169 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34170 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34171 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34173 2010-05-01 Alan Modra <amodra@gmail.com>
34175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34176 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34177 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34178 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34179 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34180 tidying. Don't tail-call __sigjmp_save for static lib.
34181 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34183 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34184 (CALL_MCOUNT): Add eh info, and nop after bl.
34185 (TAIL_CALL_SYSCALL_ERROR): New macro.
34186 (PSEUDO_RET): Use it.
34187 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34188 Correct save location of integer regs and cr.
34189 (_dl_profile_resolve): Correct cr save location. Delete nops
34190 after bl when SHARED. Reduce cfi size a little by better
34191 placement of cfi directives.
34192 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34193 make a stack frame. Instead use parm save area as a temp.
34194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34195 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34197 Don't make a stack frame for parent, use parm save area.
34198 Increase child stack frame to 112 bytes. Don't save unused reg,
34199 and adjust reg usage. Set up cfi on error recovery and
34200 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34202 (__makecontext): Add dummy nop after jump to exit.
34203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34204 Use correct parm save area and cr save, reduce stack frame.
34205 Correct cfi for possible PSEUDO_RET frame setup.
34206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34207 Branch to local label emitted by PSEUDO_RET rather than
34210 2010-08-12 Andreas Schwab <schwab@redhat.com>
34213 * locale/programs/locale.c (print_assignment): New function.
34214 (show_locale_vars): Use it.
34216 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34218 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34220 (struct statfs64): Likewise.
34221 (_STATFS_F_FLAGS): Define.
34222 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34223 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34224 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34225 (ST_VALID): Define locally.
34226 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34227 __statvfs_getflags, use the provided value.
34228 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34229 __ASSUME_STATFS_F_FLAGS.
34231 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34233 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34234 Add sys/fanotify.h.
34235 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34236 fanotify_mask for GLIBC_2.13.
34237 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34238 fanotify_init and fanotify_mark.
34239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34240 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34242 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34244 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34245 prlimit64 for GLIBC_2.13.
34246 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34248 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34252 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34253 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34256 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34259 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34260 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34262 * nss/Makefile: Add rules to build and run tst-nss-test1.
34263 * shlib-versions: Add entry for libnss_test1.
34264 * nss/nss_test1.c: New file.
34265 * nss/tst-nss-test1.c: New file.
34267 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34268 (__nss_configure_lookup): Set appropriate entry in
34269 __nss_configure_lookup to true.
34270 * nss/nsswitch.h: Define enum with indeces of databases in
34271 databases and __nss_database_custom arrays. Declare
34272 __nss_database_custom.
34273 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34274 to avoid using nscd when custom rules are installed.
34275 * nss/getXXbyYY_r.c: Likewise.
34276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34278 * nss/nss_files/files-parse.c: Whitespace fixes.
34280 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34283 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34284 * posix/fnmatch_loop.c: Likewise.
34286 2010-07-17 Andi Kleen <ak@linux.intel.com>
34288 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34289 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34290 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34291 * Versions.def [GLIBC_2.13]: Add.
34293 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34295 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34296 Also fail if tpwd after pwuid call is NULL.
34298 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34300 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34301 when converting to ms.
34303 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34305 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34306 EOPNOTSUPP errors with ENOTTY.
34307 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34308 EOPNOTSUPP errors with ENOTTY.
34310 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34312 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34313 Add strcasecmp_l-ssse3.
34314 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34316 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34317 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34318 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34320 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34322 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34324 * string/Makefile (strop-tests): Add strcasecmp.
34325 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34326 strcasecmp_l-nonascii.
34327 (gen-as-const-headers): Add locale-defines.sym.
34328 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34329 * sysdeps/x86_64/strcasecmp.S: New file.
34330 * sysdeps/x86_64/strcasecmp_l.S: New file.
34331 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34332 * sysdeps/x86_64/locale-defines.sym: New file.
34333 * string/test-strcasecmp.c: New file.
34335 * string/test-strcasestr.c: Test both ends of the range of characters.
34336 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34338 2010-07-29 Roland McGrath <roland@redhat.com>
34341 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34343 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34345 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34348 2010-07-27 Andreas Schwab <schwab@redhat.com>
34350 * manual/memory.texi (Malloc Tunable Parameters): Document
34353 2010-07-26 Roland McGrath <roland@redhat.com>
34356 * configure.in (-fgnu89-inline check): Set and substitute
34357 gnu89_inline, not libc_cv_gnu89_inline.
34358 * configure: Regenerated.
34359 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34361 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34363 * string/test-strnlen.c: New file.
34364 * string/Makefile (strop-tests): Add strnlen.
34365 * string/tester.c (test_strnlen): Add a few more test cases.
34366 * string/tst-strlen.c: Better error reporting.
34368 * sysdeps/x86_64/strnlen.S: New file.
34370 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34372 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34373 lower-latency instructions.
34375 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34377 * string/test-strcasestr.c: New file.
34378 * string/test-strstr.c: New file.
34379 * string/Makefile (strop-tests): Add strstr and strcasestr.
34380 * string/str-two-way.h: Don't undefine MAX.
34381 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34383 2010-07-21 Andreas Schwab <schwab@redhat.com>
34385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34386 strcasestr-nonascii.
34387 (CFLAGS-strcasestr-nonascii.c): Define.
34388 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34389 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34390 Remove unused attribute.
34392 2010-07-20 Roland McGrath <roland@redhat.com>
34394 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34395 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34396 ld.so.cache was broken. With it, there is no way to disable dsocaps
34397 like LD_HWCAP_MASK can disable hwcaps.
34399 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34401 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34403 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34405 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34406 call in strcasestr.
34407 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34408 __strcasestr_sse42_nonascii.
34409 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34410 strcasestr-nonascii.c.
34411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34413 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34415 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34416 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34420 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34425 2010-07-06 Andreas Schwab <schwab@redhat.com>
34428 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34431 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34433 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34434 _PC_PIPE_BUF using F_GETPIPE_SZ.
34436 2010-07-05 Roland McGrath <roland@redhat.com>
34438 * manual/arith.texi (Rounding Functions): Fix rint description
34439 implicit in round description.
34441 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34443 * elf/Makefile: Fix linking for a few tests to make recent linker
34446 2010-06-30 Andreas Schwab <schwab@redhat.com>
34448 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34449 $(common-objpfx)libc_nonshared.a.
34451 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34453 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34454 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34455 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34456 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34457 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34458 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34459 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34460 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34475 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34476 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34477 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34478 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34479 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34480 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34481 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34482 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34483 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34484 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34485 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34486 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34502 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34504 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34505 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34506 * string/memmove.c (memmove): Renamed to ...
34507 (MEMMOVE): ...this. Default to memmove.
34508 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34509 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34512 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34513 mempcpy-ssse3-back memmove-ssse3-back.
34514 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34515 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34517 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34518 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34519 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34520 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34521 * sysdeps/x86_64/multiarch/memmove.c: New file.
34522 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34523 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34524 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34525 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34526 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34527 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34529 (index_Fast_Copy_Backward): Define.
34530 (HAS_ARCH_FEATURE): Define.
34531 (HAS_FAST_REP_STRING): Define.
34532 (HAS_FAST_COPY_BACKWARD): Define.
34534 2010-06-21 Andreas Schwab <schwab@redhat.com>
34536 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34537 Restore proper fallback handling.
34539 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34542 * posix/group_member.c (__group_member): Correct checking loop.
34544 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34545 OOM in getpwuid_r correctly. Return error number when the caller
34546 should return, otherwise -1.
34547 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34548 call returning > 0 value.
34549 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34551 2010-06-07 Andreas Schwab <schwab@redhat.com>
34553 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34554 libc_nonshared.a from targets in modules-names.
34556 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34558 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34561 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34563 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34564 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34568 2010-06-02 Andreas Schwab <schwab@redhat.com>
34570 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34572 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34574 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34580 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34583 2010-06-14 Roland McGrath <roland@redhat.com>
34585 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34587 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34589 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34590 __REDIRECT followed by __THROW.
34591 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34592 * posix/getopt.h (getopt): Likewise.
34594 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34596 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34597 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34598 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34600 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34601 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34603 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34605 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34607 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34611 Properly check family and model.
34613 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34615 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34617 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34619 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34621 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34623 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34626 2010-05-19 Andreas Schwab <schwab@redhat.com>
34628 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34631 2010-05-21 Andreas Schwab <schwab@redhat.com>
34633 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34634 and internal_recvmmsg.
34635 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34636 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34637 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34638 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34640 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34641 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34642 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34644 2010-05-20 Andreas Schwab <schwab@redhat.com>
34646 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34648 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34650 POWER7 optimizations.
34651 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34652 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34654 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34656 * version.h: Update for 2.13 development version.
34658 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34660 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34661 exceptions. Return 0.
34663 2010-05-07 Roland McGrath <roland@redhat.com>
34665 * elf/ldconfig.c (main): Add a const.
34667 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34669 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34670 (args_options): Add no-idn option.
34671 (ahosts_keys_int): Add idn_flags to ai_flags.
34672 (parse_option): Handle 'i' option to clear idn_flags.
34674 * malloc/malloc.c (_int_free): Possible race in the most recently
34675 added check. Only act on the data if no current modification
34678 See ChangeLog.17 for earlier changes.