]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add ChangeLog entry and fix NEWS for #16078
[thirdparty/glibc.git] / ChangeLog
1 2013-10-30 Mike Frysinger <vapier@gentoo.org>
2
3 * configure.in: Moved to ...
4 * configure.ac: ... here. Change reference to configure.in
5 to configure.ac.
6 * sysdeps/arm/preconfigure.ac: ... here.
7 configure.in to configure.ac.
8 * sysdeps/gnu/configure.in: Moved to ...
9 * sysdeps/gnu/configure.ac: ... here.
10 * sysdeps/i386/configure.in: Moved to ...
11 * sysdeps/i386/configure.ac: ... here.
12 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14 * sysdeps/mach/configure.in: Moved to ...
15 * sysdeps/mach/configure.ac: ... here.
16 * sysdeps/mach/hurd/configure.in: Moved to ...
17 * sysdeps/mach/hurd/configure.ac: ... here.
18 * sysdeps/powerpc/configure.in: Moved to ...
19 * sysdeps/powerpc/configure.ac: ... here.
20 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24 * sysdeps/s390/s390-32/configure.in: Moved to ...
25 * sysdeps/s390/s390-32/configure.ac: ... here.
26 * sysdeps/s390/s390-64/configure.in: Moved to ...
27 * sysdeps/s390/s390-64/configure.ac: ... here.
28 * sysdeps/sh/configure.in: Moved to ...
29 * sysdeps/sh/configure.ac: ... here.
30 * sysdeps/sparc/configure.in: Moved to ...
31 * sysdeps/sparc/configure.ac: ... here.
32 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
33 * sysdeps/unix/sysv/linux/configure.ac: ... here.
34 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36 * sysdeps/x86_64/configure.in: Moved to ...
37 * sysdeps/x86_64/configure.ac: ... here.
38 * sysdeps/x86_64/preconfigure.in: Moved to ...
39 * sysdeps/x86_64/preconfigure.ac: ... here.
40 * aclocal.m4: Change reference to configure.in to configure.ac.
41 * config.h.in: Likewise.
42 * manual/install.texi: Likewise.
43 * manual/maint.texi: Likewise.
44 * Makefile: Likewise.
45 * malloc/Makefile: Likewise.
46 * nscd/Makefile: Likewise.
47 * Makeconfig: Change reference to configure.in and
48 preconfigure.in to configure.ac and preconfigure.ac
49 respectively.
50 * INSTALL: Regenerated.
51 * configure: Likewise.
52 * sysdeps/gnu/configure: Likewise.
53 * sysdeps/i386/configure: Likewise.
54 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55 * sysdeps/mach/configure: Likewise.
56 * sysdeps/mach/hurd/configure: Likewise.
57 * sysdeps/powerpc/configure: Likewise.
58 * sysdeps/powerpc/powerpc32/configure: Likewise.
59 * sysdeps/powerpc/powerpc64/configure: Likewise.
60 * sysdeps/s390/s390-32/configure: Likewise.
61 * sysdeps/s390/s390-64/configure: Likewise.
62 * sysdeps/sh/configure: Likewise.
63 * sysdeps/sparc/configure: Likewise.
64 * sysdeps/unix/sysv/linux/configure: Likewise.
65 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
66 * sysdeps/x86_64/configure: Likewise.
67 * sysdeps/x86_64/preconfigure: Likewise.
68
69 2013-10-29 Andreas Schwab <schwab@suse.de>
70
71 * stdio-common/Makefile (tst-swscanf-ENV): Define.
72
73 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74
75 * benchtests/pow-inputs: Add new inputs.
76
77 * benchtests/exp-inputs: Add new inputs.
78
79 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
80 conditional check for return value.
81 (__cos32): Likewise.
82
83 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84
85 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
86 to provide a boost for large inputs with word alignment.
87 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
88 implementation based on optimized PPC64 strcpy.
89 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
90 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
91 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
92 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
93
94 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
95
96 [BZ #2801]
97 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
98
99 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
100
101 [BZ #14876]
102 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
103 * time/tst-strptime.c (day_tests): Add testcase.
104
105 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
106
107 [BZ #14029]
108 * manual/pattern.texi: Acknowledge that fnmatch can fail.
109
110 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
111
112 [BZ #16074]
113 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
114 MAP_FAILED on error.
115
116 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
117
118 [BZ #16072]
119 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
120 heap for large requests.
121
122 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
123
124 [BZ #9954]
125 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
126 result if the result has no associated interface.
127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
128 interface for all 127.X.Y.Z addresses.
129
130 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
131
132 * locale/iso-639.def: Add Ligurian (lij)
133
134 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
135
136 [BZ #15825]
137 * sunrpc/rpc_main.c: Document rpcgen -5.
138
139 2013-10-19 Michael Stahl <mstahl@redhat.com>
140
141 * elf/rtld.c (do_preload): Print the reason why preloading failed.
142
143 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
144
145 [BZ #10278]
146 * posix/glob.c: Match only directories when trailing slash is present.
147 * posix/tst-gnuglob.c (my_opendir): Do not open files.
148 (main): Add testcase.
149
150 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
151
152 [BZ #15670]
153 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
154
155 2013-10-18 Carlos O'Donell <carlos@redhat.com>
156
157 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
158 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
159 AUTH_DES and cindex for FIPS 140-2.
160 (DES Encryption): Add cindex FIPS 46-3.
161
162 * locale/locarchive.h (struct locarhandle): Add fname.
163 * locale/programs/localedef.c (main): Pass ARGV[remaining]
164 if an optional argument was specified to --list-archive,
165 otherwise NULL.
166 * locale/programs/locarchive.c (show_archive_content): Take new
167 argument fname and pass it via ah.fname to open_archive.
168 * locale/programs/localedef.h: Update decl.
169 (open_archive): If AH->fname is non-null, open that file
170 rather than the default file name, and don't ignore ENOENT.
171 (create_archive): Set AH.fname to NULL.
172 (delete_locales_from_archive): Likewise.
173 (add_locales_to_archive): Likewise.
174 * locale/programs/locfile.c (write_all_categories): Likewise.
175
176 2013-10-18 Joseph Myers <joseph@codesourcery.com>
177 Aldy Hernandez <aldyh@redhat.com>
178
179 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
180 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
181 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
182 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
183 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
184 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
185 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
186 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
187 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
188 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
189 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
190 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
191 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
192 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
193 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
194 Likewise.
195 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
196 Likewise.
197 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
198 Likewise.
199 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
200 Likewise.
201 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
202 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
203 Likewise.
204 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
205 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
206 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
207 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
208 Likewise.
209 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
210 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
211 * sysdeps/powerpc/preconfigure: Likewise.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
213 Likewise.
214 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
215 Replace contents of file by #include of <fenv_libc.h>.
216 * sysdeps/powerpc/soft-fp/sfp-machine.h
217 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
218 and <sys/prctl.h>.
219 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
224 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
230 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
232 Allow copysignl PLT reference to be missing.
233
234 2013-10-18 Richard Sandiford <richard@codesourcery.com>
235 Joseph Myers <joseph@codesourcery.com
236
237 [BZ #15948]
238 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
239 single character.
240 (add_to_tablewc): Assert sequence of wide characters is nonempty.
241
242 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
243
244 * elf/tst-tls-dlinfo.c: Don't include tls.h.
245 * elf/tst-tls1.c: Likewise.
246 * elf/tst-tls10.h: Likewise.
247 * elf/tst-tls14.c: Likewise.
248 * elf/tst-tls2.c: Likewise.
249 * elf/tst-tls3.c: Likewise.
250 * elf/tst-tls4.c: Likewise.
251 * elf/tst-tls5.c: Likewise.
252 * elf/tst-tls6.c: Likewise.
253 * elf/tst-tls7.c: Likewise.
254 * elf/tst-tls8.c: Likewise.
255 * elf/tst-tls9.c: Likewise.
256 * elf/tst-tlsmod1.c: Likewise.
257 * elf/tst-tlsmod13.c: Likewise.
258 * elf/tst-tlsmod13a.c: Likewise.
259 * elf/tst-tlsmod14a.c: Likewise.
260 * elf/tst-tlsmod16a.c: Likewise.
261 * elf/tst-tlsmod16b.c: Likewise.
262 * elf/tst-tlsmod2.c: Likewise.
263 * elf/tst-tlsmod3.c: Likewise.
264 * elf/tst-tlsmod4.c: Likewise.
265 * elf/tst-tlsmod5.c: Likewise.
266 * elf/tst-tlsmod6.c: Likewise.
267
268 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
269
270 [BZ #12486]
271 * malloc/malloc.c: remove checks for statistics.
272
273 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
274
275 [BZ #15277]
276 * inet/inet_net.c (inet_network): Detect additional invalid strings.
277 * inet/tst-network.c: Add testcase.
278
279 2013-10-17 Andreas Schwab <schwab@suse.de>
280
281 [BZ #15218]
282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
283 to determine canonical name.
284
285 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
286
287 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
288 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
290 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
292 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
293 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
294 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
295 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
296 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
297 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
298 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
299 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
300 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
301 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
302 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
304 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
305 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
306 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
307 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
308 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
309 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
310 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
311 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
312 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
313 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
314 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
315 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
316 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
317 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
318 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
319 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
320 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
321 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
322 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
323 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
324 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
325 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
326 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
327 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
328 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
329 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
330 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
331 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
332 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
333 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
334 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
335 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
336 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
337 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
338 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
339 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
340 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
342 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
344 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
345
346 2013-10-17 Joseph Myers <joseph@codesourcery.com>
347
348 [BZ #16041]
349 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
350 make result into a quiet NaN.
351
352 2013-10-16 Joseph Myers <joseph@codesourcery.com>
353
354 * soft-fp/adddf3.c: Fix horizontal whitespace.
355 * soft-fp/addsf3.c: Likewise.
356 * soft-fp/addtf3.c: Likewise.
357 * soft-fp/divdf3.c: Likewise.
358 * soft-fp/divsf3.c: Likewise.
359 * soft-fp/divtf3.c: Likewise.
360 * soft-fp/double.h: Likewise.
361 * soft-fp/eqdf2.c: Likewise.
362 * soft-fp/eqsf2.c: Likewise.
363 * soft-fp/eqtf2.c: Likewise.
364 * soft-fp/extenddftf2.c: Likewise.
365 * soft-fp/extended.h: Likewise.
366 * soft-fp/extendsfdf2.c: Likewise.
367 * soft-fp/extendsftf2.c: Likewise.
368 * soft-fp/extendxftf2.c: Likewise.
369 * soft-fp/fixdfdi.c: Likewise.
370 * soft-fp/fixdfsi.c: Likewise.
371 * soft-fp/fixdfti.c: Likewise.
372 * soft-fp/fixsfdi.c: Likewise.
373 * soft-fp/fixsfsi.c: Likewise.
374 * soft-fp/fixsfti.c: Likewise.
375 * soft-fp/fixtfdi.c: Likewise.
376 * soft-fp/fixtfsi.c: Likewise.
377 * soft-fp/fixtfti.c: Likewise.
378 * soft-fp/fixunsdfdi.c: Likewise.
379 * soft-fp/fixunsdfsi.c: Likewise.
380 * soft-fp/fixunsdfti.c: Likewise.
381 * soft-fp/fixunssfdi.c: Likewise.
382 * soft-fp/fixunssfsi.c: Likewise.
383 * soft-fp/fixunssfti.c: Likewise.
384 * soft-fp/fixunstfdi.c: Likewise.
385 * soft-fp/fixunstfsi.c: Likewise.
386 * soft-fp/fixunstfti.c: Likewise.
387 * soft-fp/floatdidf.c: Likewise.
388 * soft-fp/floatdisf.c: Likewise.
389 * soft-fp/floatditf.c: Likewise.
390 * soft-fp/floatsidf.c: Likewise.
391 * soft-fp/floatsisf.c: Likewise.
392 * soft-fp/floatsitf.c: Likewise.
393 * soft-fp/floattidf.c: Likewise.
394 * soft-fp/floattisf.c: Likewise.
395 * soft-fp/floattitf.c: Likewise.
396 * soft-fp/floatundidf.c: Likewise.
397 * soft-fp/floatundisf.c: Likewise.
398 * soft-fp/floatunditf.c: Likewise.
399 * soft-fp/floatunsidf.c: Likewise.
400 * soft-fp/floatunsisf.c: Likewise.
401 * soft-fp/floatunsitf.c: Likewise.
402 * soft-fp/floatuntidf.c: Likewise.
403 * soft-fp/floatuntisf.c: Likewise.
404 * soft-fp/floatuntitf.c: Likewise.
405 * soft-fp/fmadf4.c: Likewise.
406 * soft-fp/fmasf4.c: Likewise.
407 * soft-fp/fmatf4.c: Likewise.
408 * soft-fp/gedf2.c: Likewise.
409 * soft-fp/gesf2.c: Likewise.
410 * soft-fp/getf2.c: Likewise.
411 * soft-fp/ledf2.c: Likewise.
412 * soft-fp/lesf2.c: Likewise.
413 * soft-fp/letf2.c: Likewise.
414 * soft-fp/muldf3.c: Likewise.
415 * soft-fp/mulsf3.c: Likewise.
416 * soft-fp/multf3.c: Likewise.
417 * soft-fp/negdf2.c: Likewise.
418 * soft-fp/negsf2.c: Likewise.
419 * soft-fp/negtf2.c: Likewise.
420 * soft-fp/op-1.h: Likewise.
421 * soft-fp/op-2.h: Likewise.
422 * soft-fp/op-4.h: Likewise.
423 * soft-fp/op-8.h: Likewise.
424 * soft-fp/op-common.h: Likewise.
425 * soft-fp/quad.h: Likewise.
426 * soft-fp/single.h: Likewise.
427 * soft-fp/soft-fp.h: Likewise.
428 * soft-fp/sqrtdf2.c: Likewise.
429 * soft-fp/sqrtsf2.c: Likewise.
430 * soft-fp/sqrttf2.c: Likewise.
431 * soft-fp/subdf3.c: Likewise.
432 * soft-fp/subsf3.c: Likewise.
433 * soft-fp/subtf3.c: Likewise.
434 * soft-fp/truncdfsf2.c: Likewise.
435 * soft-fp/trunctfdf2.c: Likewise.
436 * soft-fp/trunctfsf2.c: Likewise.
437 * soft-fp/trunctfxf2.c: Likewise.
438 * soft-fp/unorddf2.c: Likewise.
439 * soft-fp/unordsf2.c: Likewise.
440 * soft-fp/unordtf2.c: Likewise.
441
442 2013-10-15 Joseph Myers <joseph@codesourcery.com>
443
444 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
445 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
446
447 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
448
449 * elf/dl-libc.c: Clear initfini list after freeing.
450
451 2013-10-14 Joseph Myers <joseph@codesourcery.com>
452
453 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
454 * soft-fp/addsf3.c: Likewise.
455 * soft-fp/addtf3.c: Likewise.
456 * soft-fp/divdf3.c: Likewise.
457 * soft-fp/divsf3.c: Likewise.
458 * soft-fp/divtf3.c: Likewise.
459 * soft-fp/double.h: Likewise.
460 * soft-fp/eqdf2.c: Likewise.
461 * soft-fp/eqsf2.c: Likewise.
462 * soft-fp/eqtf2.c: Likewise.
463 * soft-fp/extenddftf2.c: Likewise.
464 * soft-fp/extended.h: Likewise.
465 * soft-fp/extendsfdf2.c: Likewise.
466 * soft-fp/extendsftf2.c: Likewise.
467 * soft-fp/extendxftf2.c: Likewise.
468 * soft-fp/fixdfdi.c: Likewise.
469 * soft-fp/fixdfsi.c: Likewise.
470 * soft-fp/fixdfti.c: Likewise.
471 * soft-fp/fixsfdi.c: Likewise.
472 * soft-fp/fixsfsi.c: Likewise.
473 * soft-fp/fixsfti.c: Likewise.
474 * soft-fp/fixtfdi.c: Likewise.
475 * soft-fp/fixtfsi.c: Likewise.
476 * soft-fp/fixtfti.c: Likewise.
477 * soft-fp/fixunsdfdi.c: Likewise.
478 * soft-fp/fixunsdfsi.c: Likewise.
479 * soft-fp/fixunsdfti.c: Likewise.
480 * soft-fp/fixunssfdi.c: Likewise.
481 * soft-fp/fixunssfsi.c: Likewise.
482 * soft-fp/fixunssfti.c: Likewise.
483 * soft-fp/fixunstfdi.c: Likewise.
484 * soft-fp/fixunstfsi.c: Likewise.
485 * soft-fp/fixunstfti.c: Likewise.
486 * soft-fp/floatdidf.c: Likewise.
487 * soft-fp/floatdisf.c: Likewise.
488 * soft-fp/floatditf.c: Likewise.
489 * soft-fp/floatsidf.c: Likewise.
490 * soft-fp/floatsisf.c: Likewise.
491 * soft-fp/floatsitf.c: Likewise.
492 * soft-fp/floattidf.c: Likewise.
493 * soft-fp/floattisf.c: Likewise.
494 * soft-fp/floattitf.c: Likewise.
495 * soft-fp/floatundidf.c: Likewise.
496 * soft-fp/floatundisf.c: Likewise.
497 * soft-fp/floatunsidf.c: Likewise.
498 * soft-fp/floatunsisf.c: Likewise.
499 * soft-fp/floatuntidf.c: Likewise.
500 * soft-fp/floatuntisf.c: Likewise.
501 * soft-fp/floatuntitf.c: Likewise.
502 * soft-fp/fmadf4.c: Likewise.
503 * soft-fp/fmasf4.c: Likewise.
504 * soft-fp/fmatf4.c: Likewise.
505 * soft-fp/gedf2.c: Likewise.
506 * soft-fp/gesf2.c: Likewise.
507 * soft-fp/getf2.c: Likewise.
508 * soft-fp/ledf2.c: Likewise.
509 * soft-fp/lesf2.c: Likewise.
510 * soft-fp/letf2.c: Likewise.
511 * soft-fp/muldf3.c: Likewise.
512 * soft-fp/mulsf3.c: Likewise.
513 * soft-fp/multf3.c: Likewise.
514 * soft-fp/negdf2.c: Likewise.
515 * soft-fp/negsf2.c: Likewise.
516 * soft-fp/negtf2.c: Likewise.
517 * soft-fp/op-1.h: Likewise.
518 * soft-fp/op-2.h: Likewise.
519 * soft-fp/op-4.h: Likewise.
520 * soft-fp/op-8.h: Likewise.
521 * soft-fp/op-common.h: Likewise.
522 * soft-fp/quad.h: Likewise.
523 * soft-fp/single.h: Likewise.
524 * soft-fp/soft-fp.h: Likewise.
525 * soft-fp/sqrtdf2.c: Likewise.
526 * soft-fp/sqrtsf2.c: Likewise.
527 * soft-fp/sqrttf2.c: Likewise.
528 * soft-fp/subdf3.c: Likewise.
529 * soft-fp/subsf3.c: Likewise.
530 * soft-fp/subtf3.c: Likewise.
531 * soft-fp/truncdfsf2.c: Likewise.
532 * soft-fp/trunctfdf2.c: Likewise.
533 * soft-fp/trunctfsf2.c: Likewise.
534 * soft-fp/trunctfxf2.c: Likewise.
535 * soft-fp/unorddf2.c: Likewise.
536 * soft-fp/unordsf2.c: Likewise.
537 * soft-fp/unordtf2.c: Likewise.
538
539 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
540
541 [BZ #15672]
542 * misc/error.c (error_tail): Fix possible buffer overflow.
543
544 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
545
546 [BZ #13028]
547 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
548 address.
549
550 2013-10-14 P. J. McDermott <pj@pehjota.net>
551
552 [BZ #832]
553 * elf/ldd.bash.in (try_trace): New function. Delete previous code
554 testing pipefail option.
555
556 2013-10-12 Joseph Myers <joseph@codesourcery.com>
557
558 * soft-fp/double.h: Indent preprocessor directives inside #if.
559 * soft-fp/extended.h: Likewise.
560 * soft-fp/op-2.h: Likewise.
561 * soft-fp/op-4.h: Likewise.
562 * soft-fp/op-common.h: Likewise.
563 * soft-fp/quad.h: Likewise.
564 * soft-fp/single.h: Likewise.
565 * soft-fp/soft-fp.h: Likewise.
566
567 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
568
569 * iconv/iconv_prog.c: Fix typos.
570 * stdio-common/psiginfo-data.h: Likewise.
571
572 2013-10-12 Reuben Thomas <rrt@sc3d.org>
573
574 [BZ #15764]
575 * locale/setlocale.c: Fix typo.
576
577 2013-10-12 Joseph Myers <joseph@codesourcery.com>
578
579 [BZ #16036]
580 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
581 signaling NaN arguments.
582 * soft-fp/unordsf2.c (__unordsf2): Likewise.
583 * soft-fp/unordtf2.c (__unordtf2): Likewise.
584
585 [BZ #14910]
586 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
587 unordered operands.
588 * soft-fp/gesf2.c (__gesf2): Likewise.
589 * soft-fp/getf2.c (__getf2): Likewise.
590 * soft-fp/ledf2.c (__ledf2): Likewise.
591 * soft-fp/lesf2.c (__lesf2): Likewise.
592 * soft-fp/letf2.c (__letf2): Likewise.
593
594 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
595 * soft-fp/eqsf2.c (__eqsf2): Likewise.
596 * soft-fp/eqtf2.c (__eqtf2): Likewise.
597 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
598 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
599 * soft-fp/fixdfti.c (__fixdfti): Likewise.
600 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
601 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
602 * soft-fp/fixsfti.c (__fixsfti): Likewise.
603 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
604 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
605 * soft-fp/fixtfti.c (__fixtfti): Likewise.
606 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
607 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
608 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
609 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
610 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
611 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
612 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
613 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
614 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
615 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
616 * soft-fp/floatdisf.c (__floatdisf): Likewise.
617 * soft-fp/floatsisf.c (__floatsisf): Likewise.
618 * soft-fp/floattidf.c (__floattidf): Likewise.
619 * soft-fp/floattisf.c (__floattisf): Likewise.
620 * soft-fp/floattitf.c (__floattitf): Likewise.
621 * soft-fp/floatundidf.c (__floatundidf): Likewise.
622 * soft-fp/floatundisf.c (__floatundisf): Likewise.
623 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
624 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
625 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
626 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
627 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
628 * soft-fp/gesf2.c (__gesf2): Likewise.
629 * soft-fp/getf2.c (__getf2): Likewise.
630 * soft-fp/ledf2.c (__ledf2): Likewise.
631 * soft-fp/lesf2.c (__lesf2): Likewise.
632 * soft-fp/letf2.c (__letf2): Likewise.
633
634 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
635 Undefine and redefine.
636 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
637 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
638 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
639 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
640 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
641 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
642 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
643 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
644 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
645 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
646 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
647 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
648 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
649 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
650 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
651
652 [BZ #16032]
653 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
654 without decrementing exponent if mantissa >= that for the
655 denominator, not >.
656 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
657 denominator, not >. Decrement exponent in < case instead of
658 incrementing in >= case.
659 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
660 without decrementing exponent if mantissa >= that for the
661 denominator, not >.
662
663 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
664 computing saturated result for unsigned overflow.
665
666 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
667 Jeff Law <law@redhat.com>
668
669 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
670 (atan2Mp): Add systemtap probe marker.
671 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
672 (__ieee754_log): Add systemtap probe marker.
673 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
674 (atanMp): Add systemtap probe marker.
675 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
676 (tanMp): Add systemtap probe marker.
677 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
678 (__slowexp): Add systemtap probe marker.
679 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
680 (__slowpow): Add systemtap probe marker.
681 * manual/probes.texi: Document probes.
682
683 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
684
685 [BZ #15362]
686 * libio/fileops.c (_IO_new_file_write): Return count of bytes
687 written.
688 (_IO_new_file_xsputn): Don't return EOF if nothing has been
689 written.
690 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
691 written to buffer but not flushed.
692 * libio/iofwrite_u.c: Likewise.
693 * libio/iopadn.c: Return bytes returned even if EOF was
694 encountered.
695 * libio/iowpadn.c: Likewise.
696 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
697 if _IO_padn does not write the whole buffer.
698 [!COMPILE_WPRINTF] (PAD): Likewise.
699
700 2013-10-10 David S. Miller <davem@davemloft.net>
701
702 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
703 directory block.
704
705 2013-10-10 Joseph Myers <joseph@codesourcery.com>
706
707 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
708 instead of FSF address.
709 * soft-fp/fixdfti.c: Likewise.
710 * soft-fp/fixsfti.c: Likewise.
711 * soft-fp/fixtfti.c: Likewise.
712 * soft-fp/fixunsdfti.c: Likewise.
713 * soft-fp/fixunssfti.c: Likewise.
714 * soft-fp/fixunstfti.c: Likewise.
715 * soft-fp/floattidf.c: Likewise.
716 * soft-fp/floattisf.c: Likewise.
717 * soft-fp/floattitf.c: Likewise.
718 * soft-fp/floatuntidf.c: Likewise.
719 * soft-fp/floatuntisf.c: Likewise.
720 * soft-fp/floatuntitf.c: Likewise.
721 * soft-fp/trunctfxf2.c: Likewise.
722
723 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
724 * soft-fp/fixdfti.c: Likewise.
725 * soft-fp/fixsfti.c: Likewise.
726 * soft-fp/fixtfti.c: Likewise.
727 * soft-fp/fixunsdfti.c: Likewise.
728 * soft-fp/fixunssfti.c: Likewise.
729 * soft-fp/fixunstfti.c: Likewise.
730 * soft-fp/floattidf.c: Likewise.
731 * soft-fp/floattisf.c: Likewise.
732 * soft-fp/floattitf.c: Likewise.
733 * soft-fp/floatuntidf.c: Likewise.
734 * soft-fp/floatuntisf.c: Likewise.
735 * soft-fp/floatuntitf.c: Likewise.
736 * soft-fp/trunctfxf2.c: Likewise.
737
738 2013-10-10 David S. Miller <davem@davemloft.net>
739
740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
741
742 2013-10-10 Joseph Myers <joseph@codsourcery.com>
743
744 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
745 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
746 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
747 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
748 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
749 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
750 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
751
752 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
753 for NaNs before doing comparisons on argument.
754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
755 Likewise.
756
757 2013-10-10 Will Newton <will.newton@linaro.org>
758
759 * malloc/hooks.c (memalign_check): Ensure the value of bytes
760 passed to _int_memalign does not overflow.
761
762 2013-10-10 Torvald Riegel <triegel@redhat.com>
763
764 * scripts/bench.pl: Add include-sources directive.
765 * benchtests/README: Update documentation.
766
767 2013-10-10 Joseph Myers <joseph@codesourcery.com>
768
769 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
770 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
771 instead of FP_INIT_ROUNDMODE.
772 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
773 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
774
775 [BZ #16034]
776 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
777 copy class of input value.
778 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
779 not handle exceptions.
780 * soft-fp/negsf2.c (__negsf2): Likewise.
781 * soft-fp/negtf2.c (__negtf2): Likewise.
782 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
783
784 2013-10-09 Joseph Myers <joseph@codesourcery.com>
785
786 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
787 semicolon. From Linux kernel.
788
789 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
790
791 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
792
793 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
794
795 [BZ #156]
796 * manual/socket.texi: Added statement about buffer
797 for gethostbyname2_r.
798
799 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
800
801 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
802 Use .p2align directive instead, throughout.
803 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
804 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
805 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
807 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
808 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
809 * sysdeps/x86_64/strchr.S: Likewise.
810 * sysdeps/x86_64/strrchr.S: Likewise.
811
812 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
813
814 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
815
816 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
817
818 * sysdeps/generic/math_private.h (__mpsin1): Remove
819 declaration.
820 (__mpcos1): Likewise.
821 (__mpsin): New argument __range_reduce.
822 (__mpcos): Likewise.
823 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
824 (slow): Use __mpsin and __mpcos.
825 (slow1): Likewise.
826 (slow2): Likewise.
827 (sloww): Likewise.
828 (sloww1): Likewise.
829 (sloww2): Likewise.
830 (bsloww): Likewise.
831 (bsloww1): Likewise.
832 (bsloww2): Likewise.
833 (cslow2): Likewise.
834 (csloww): Likewise.
835 (csloww1): Likewise.
836 (csloww2): Likewise.
837 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
838 range_reduce. Merge in __mpsin1.
839 (__mpcos): Likewise.
840 (__mpsin1): Remove.
841 (__mpcos1): Likewise.
842
843 2013-10-07 Joseph Myers <joseph@codesourcery.com>
844
845 * locale/loadlocale.c (_nl_intern_locale_data): Use
846 LOCFILE_ALIGNED_P.
847 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
848 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
849 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
850 obstack data is appropriately aligned.
851 (obstack_int32_grow_fast): Likewise.
852 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
853 * locale/programs/locfile.c (add_locale_uint32): Likewise.
854 (add_locale_uint32_array): Likewise.
855
856 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
857
858 * benchtests/Makefile: Remove ARGLIST and RET variables.
859 ($(objpfx)bench-%.c): Pass only function name to the script.
860 * benchtests/README: Update documentation.
861 * benchtests/acos-inputs: Add new directives.
862 * benchtests/acosh-inputs: Likewise.
863 * benchtests/asin-inputs: Likewise.
864 * benchtests/asinh-inputs: Likewise.
865 * benchtests/atan-inputs: Likewise.
866 * benchtests/atanh-inputs: Likewise.
867 * benchtests/cos-inputs: Likewise.
868 * benchtests/cosh-inputs: Likewise.
869 * benchtests/exp-inputs: Likewise.
870 * benchtests/log-inputs: Likewise.
871 * benchtests/pow-inputs: Likewise.
872 * benchtests/rint-inputs: Likewise.
873 * benchtests/sin-inputs: Likewise.
874 * benchtests/sinh-inputs: Likewise.
875 * benchtests/tan-inputs: Likewise.
876 * benchtests/tanh-inputs: Likewise.
877 * scripts/bench.pl: Add support for new directives.
878
879 2013-10-07 Alan Modra <amodra@gmail.com>
880
881 * README: Fix careless merge.
882
883 2013-10-05 Alan Modra <amodra@gmail.com>
884
885 * NEWS: Mention powerpc64le support and bugs fixed.
886 * README: Both big-endian and little-endian powerpc64 supported.
887
888 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
889
890 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
891 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
892 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
893 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
894
895 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
896
897 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
898 match prototype.
899
900 2013-10-04 Joseph Myers <joseph@codesourcery.com>
901
902 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
903 Move -mhard-float appending from
904 ports/sysdeps/powerpc/powerpc32/Makefile.
905 [$(with-fp) = yes] (ASFLAGS): Likewise.
906 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
907 * sysdeps/powerpc/nofpu: Move directory from
908 ports/sysdeps/powerpc/nofpu.
909 * sysdeps/powerpc/soft-fp: Move directory from
910 ports/sysdeps/powerpc/soft-fp.
911 * sysdeps/powerpc/powerpc32/405: Move directory from
912 ports/sysdeps/powerpc/powerpc32/405.
913 * sysdeps/powerpc/powerpc32/440: Move directory from
914 ports/sysdeps/powerpc/powerpc32/440.
915 * sysdeps/powerpc/powerpc32/464: Move directory from
916 ports/sysdeps/powerpc/powerpc32/464.
917 * sysdeps/powerpc/powerpc32/476: Move directory from
918 ports/sysdeps/powerpc/powerpc32/476.
919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
920 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
922 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
924 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
926 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
928 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
929 * README: Update for powerpc-*-linux-gnu software floating point
930 support in libc.
931
932 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
933 case to powerpc/powerpc32*.
934 * sysdeps/unix/sysv/linux/configure: Regenerated.
935
936 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
937 (_FPU_MASK_OM): Define as 0x04.
938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
940 0x00c10080.
941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
942 0x0000003c.
943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
944
945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
946 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
947 getcontext_e500.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
949 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
950 setcontext_e500.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
952 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
953 and setcontext_e500.
954
955 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
956
957 * locale/iso-3166.def: Update iso-1366.def and related occurrences
958
959 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
960
961 * manual/threads.texi (Default Thread Attributes): Fix typo.
962
963 2013-10-04 Will Newton <will.newton@linaro.org>
964
965 * malloc/Makefile: Add tst-memalign.
966 * malloc/tst-memalign.c: New file.
967
968 * malloc/tst-posix_memalign.c: Add comments.
969 (do_test): Add comments and call free on all potentially
970 allocated pointers. Add space after cast.
971
972 * malloc/tst-pvalloc.c: Add comments.
973 (do_test): Add comments and call free on all potentially
974 allocated pointers. Remove duplicate check for NULL pointer.
975 Add space after cast.
976
977 * malloc/tst-valloc.c: Add comments.
978 (do_test): Add comments and call free on all potentially
979 allocated pointers. Remove duplicate check for NULL pointer.
980 Add space after cast.
981
982 2013-10-04 Alan Modra <amodra@gmail.com>
983
984 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
985 Use stdint types in rather than __attribute__((mode())).
986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
987
988 2013-10-04 Alan Modra <amodra@gmail.com>
989
990 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
991 Correct handling of unaligned relocs for little-endian.
992 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
993
994 2013-10-04 Alan Modra <amodra@gmail.com>
995
996 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
997 * configure: Regenerate.
998 * nptl/shlib-versions: Powerpc*le starts at 2.18.
999 * shlib-versions: Likewise.
1000
1001 2013-10-04 Alan Modra <amodra@gmail.com>
1002
1003 * string/tester.c (test_memrchr): Increment reported test cycle.
1004
1005 2013-10-04 Alan Modra <amodra@gmail.com>
1006
1007 * string/test-memcpy.c (do_one_test): When reporting errors, print
1008 string address and don't overrun end of string.
1009
1010 2013-10-04 Alan Modra <amodra@gmail.com>
1011
1012 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1013 insrdi. Make better use of reg selection to speed exit slightly.
1014 Schedule entry path a little better. Remove useless "are we done"
1015 checks on entry to main loop. Handle wrapping around zero address.
1016 Correct main loop count. Handle single left-over word from main
1017 loop inline rather than by using loop_small. Remove extra word
1018 case in loop_small caused by wrong loop count. Add little-endian
1019 support.
1020 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1021 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1022 cache hint.
1023 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1024 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1025 support. Avoid rlwimi.
1026 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1027
1028 2013-10-04 Alan Modra <amodra@gmail.com>
1029
1030 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1031 insrdi. Formatting.
1032 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1033 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1034 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1035 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1036 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1037 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1038
1039 2013-10-04 Alan Modra <amodra@gmail.com>
1040
1041 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1042 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1043 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1044 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1045 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1046 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1047 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1048 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1049 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1050 use of regs. Use power7 mtocrf. Tidy function tails.
1051
1052 2013-10-04 Alan Modra <amodra@gmail.com>
1053
1054 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1055 Formatting. Consistently use rXXX register defines or rN defines.
1056 Use early exit labels that avoid restoring unused non-volatile regs.
1057 Make cr field use more consistent with rWORDn compares. Rename
1058 regs used as shift registers for unaligned loop, using rN defines
1059 for short lifetime/multiple use regs.
1060 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1061 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1062 addi 1,1,64 to pop stack frame. Simplify return value code.
1063 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1064
1065 2013-10-04 Alan Modra <amodra@gmail.com>
1066
1067 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1068 support. Correct typos, formatting. Optimize tail. Use insrdi
1069 rather than rlwimi.
1070 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1071 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1072 little-endian support. Correct typos.
1073 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1074 rather than rlwimi.
1075 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1076 in loop and entry code to keep "and." results.
1077 (strchr): Add little-endian support. Comment. Move cntlzd
1078 earlier in tail.
1079 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1080
1081 2013-10-04 Alan Modra <amodra@gmail.com>
1082
1083 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1084 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1085 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1086 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1087
1088 2013-10-04 Alan Modra <amodra@gmail.com>
1089
1090 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1091 (rTMP): Define as r11.
1092 (strcmp): Add little-endian support. Optimise tail.
1093 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1094 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1095 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1096 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1097 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1098 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1100
1101 2013-10-04 Alan Modra <amodra@gmail.com>
1102
1103 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1104 little-endian support. Remove unnecessary "are we done" tests.
1105 Handle "s" wrapping around zero and extremely large "size".
1106 Correct main loop count. Handle single left-over word from main
1107 loop inline rather than by using small_loop. Correct comments.
1108 Delete "zero" tail, use "end_max" instead.
1109 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1110
1111 2013-10-04 Alan Modra <amodra@gmail.com>
1112
1113 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1114 support. Don't branch over align.
1115 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1116 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1117 support. Rearrange tmp reg use to suit. Comment.
1118 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1119
1120 2013-10-04 Alan Modra <amodra@gmail.com>
1121
1122 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1123
1124 2013-10-04 Alan Modra <amodra@gmail.com>
1125
1126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1127 conditional form of branch and link when obtaining pc.
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1129
1130 2013-10-04 Alan Modra <amodra@gmail.com>
1131
1132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1133 HIWORD/LOWORD.
1134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1136
1137 2013-10-04 Alan Modra <amodra@gmail.com>
1138
1139 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1140 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1141 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1142 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1143 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1144 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1145 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1146 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1147 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1148 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1149
1150 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1151 Alistair Popple <alistair@ozlabs.au.ibm.com>
1152 Alan Modra <amodra@gmail.com>
1153
1154 [BZ #15723]
1155 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1156 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1157 _dl_hwcap access for little-endian.
1158 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1159 destroy vmx regs when saving unaligned.
1160 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1161 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1162 destroy vmx regs when saving unaligned.
1163
1164 2013-10-04 Alan Modra <amodra@gmail.com>
1165
1166 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1167 Don't use a union to pack hi/low value.
1168
1169 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1170
1171 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1172 for little-endian.
1173 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1174 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1175 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1176 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1177 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1178
1179 2013-10-04 Alan Modra <amodra@gmail.com>
1180
1181 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1182 constants to usual value for .cst8 section, and remove redundant
1183 high address load.
1184 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1185 constant for 0x1p52. Load little-endian words of double from
1186 correct stack offsets.
1187
1188 2013-10-04 Alan Modra <amodra@gmail.com>
1189
1190 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1191 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1192 words of double from correct stack offsets.
1193 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1194 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1195 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1196 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1197 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1198 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1199 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1200 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1201 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1202 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1203 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1204 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1205 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1206 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1207 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1208 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1209 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1210
1211 2013-10-04 Alan Modra <amodra@gmail.com>
1212
1213 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1214 64-bit int/double union.
1215 (_FPU_SETCW): Likewise.
1216 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1217 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1218
1219 2013-10-04 Alan Modra <amodra@gmail.com>
1220
1221 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1222 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1223
1224 2013-10-04 Alan Modra <amodra@gmail.com>
1225
1226 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1227 use vector int constants.
1228 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1229
1230 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1231
1232 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1233 array with long long.
1234 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1235 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1236 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1237 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1238 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1239 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1240 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1241 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1242 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1243 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1244 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1245 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1246 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1247
1248 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1249
1250 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1251 (__signbit): Likewise. Correct for little-endian.
1252 (__signbitl): Call __signbit.
1253 (lrint): Correct for little-endian.
1254 (lrintf): Call lrint.
1255
1256 2013-10-04 Alan Modra <amodra@gmail.com>
1257
1258 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1259 union 32-bit int array member with 64-bit int array.
1260 (t515, tm256): Double rather than long double.
1261 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1262
1263 2013-10-04 Alan Modra <amodra@gmail.com>
1264
1265 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1266 Delete.
1267 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1269 version of math_ldbl.h.
1270
1271 2013-10-04 Alan Modra <amodra@gmail.com>
1272
1273 [BZ #15734], [BZ #15735]
1274 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1275 all uses of ieee875 long double macros and unions. Simplify test
1276 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1277 ldbl_extract_mantissa value for ix,iy exponents. Properly
1278 normalize after ldbl_extract_mantissa, and don't add hidden bit
1279 already handled. Don't treat low word of ieee854 mantissa like
1280 low word of IBM long double and mask off bit when testing for
1281 zero.
1282 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1283 all uses of ieee875 long double macros and unions. Simplify tests
1284 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1285 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1286 two1022, instead use their values. Recognise that tests for large
1287 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1288 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1289 Rewrite all uses of ieee875 long double macros and unions. Simplify
1290 test for 0.0L and nan. Correct negation.
1291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1292 ieee875 long double macros and unions. Correct output for large
1293 magnitude x. Correct absolute value calculation.
1294 (__erfcl): Likewise.
1295 * math/libm-test.inc: Add tests for errors discovered in IBM long
1296 double versions of fmodl, remainderl, erfl and erfcl.
1297
1298 2013-10-04 Alan Modra <amodra@gmail.com>
1299
1300 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1301 all uses of ieee854 long double macros and unions. Simplify tests
1302 for long doubles that are fully specified by the high double.
1303 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1304 Likewise.
1305 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1306 Remove dead code too.
1307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1308 (__ieee754_ynl): Likewise.
1309 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1310 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1311 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1312 Remove dead code too.
1313 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1314 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1316 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1317 Simplify.
1318 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1319 Simplify.
1320 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1321 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1323 Comment on variable precision.
1324 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1325 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1326 Likewise.
1327 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1330 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1331 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1332
1333 2013-10-04 Alan Modra <amodra@gmail.com>
1334
1335 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1336 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1337 all uses of ieee854 long double macros and unions.
1338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1340 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1341 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1342 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1343 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1344 Likewise.
1345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1346 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1347 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1348 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1351 Simplify sign and nan test too.
1352 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1353 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1354 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1355 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1356 Likewise.
1357 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1358 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1359 Likewise.
1360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1361 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1362 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1364 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1366
1367 2013-10-04 Alan Modra <amodra@gmail.com>
1368
1369 * stdio-common/printf_size.c (__printf_size): Don't use
1370 union ieee854_long_double in fpnum union.
1371 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1372 signbit macro to retrieve sign from long double.
1373 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1374 retrieve sign from long double.
1375 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1376 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1377 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1378 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1379 * math/test-misc.c (main): Don't use union ieee854_long_double.
1380
1381 2013-10-04 Alan Modra <amodra@gmail.com>
1382
1383 [BZ #15680]
1384 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1385 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1386 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1387 calculation. Remove unnecessary test for denormal exponent.
1388 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1389 Correct handling of denormals. Avoid undefined shift behaviour.
1390 Correct normalisation of low mantissa when low double is denormal.
1391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1392 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1393 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1394 Correct normalisation of low mantissa. Test for overflow of high
1395 mantissa and normalise.
1396 (ldbl_nearbyint): Use more readable constant for two52.
1397 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1398 (__mpn_construct_long_double): Fix test for overflow of high
1399 mantissa and correct normalisation. Avoid undefined shift.
1400
1401 2013-10-04 Alan Modra <amodra@gmail.com>
1402
1403 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1404 (union ibm_extended_long_double): Define as an array of ieee754_double.
1405 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1406 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1407 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1408 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1409 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1410 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1412 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1414 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1415 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1416
1417 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1418
1419 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1420 page size instead of calling getpagesize.
1421
1422 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1423 (LOCFILE_ALIGN_MASK): Likewise.
1424 (LOCFILE_ALIGN_UP): Likewise.
1425 (LOCFILE_ALIGNED_P): Likewise.
1426 * locale/programs/ld-collate.c (collate_output): Use the new
1427 macros instead of __alignof__ (int32_t).
1428 * locale/weight.h (findidx): Likewise.
1429
1430 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1431
1432 [BZ #431]
1433 * manual/string.texi: Fix strncat and wcsncat.
1434
1435 2013-10-03 Brooks Moses <bmoses@google.com>
1436
1437 [BZ #15915]
1438 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1439 * Makerules: ...here, and adjust associated comments.
1440
1441 2013-10-02 Will Newton <will.newton@linaro.org>
1442
1443 * malloc/Makefile: Add tst-pvalloc.
1444 * malloc/tst-pvalloc.c: New file.
1445
1446 2013-10-02 Will Newton <will.newton@linaro.org>
1447
1448 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1449 improve test coverage.
1450
1451 2013-10-02 Will Newton <will.newton@linaro.org>
1452
1453 * malloc/Makefile: Add tst-posix_memalign.
1454 * malloc/tst-posix_memalign.c: New file.
1455
1456 2013-10-01 Eric Blake <eblake@redhat.com>
1457
1458 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1459 Use __THROWNL rather than __THROW on static functions.
1460
1461 2013-09-30 Petr Machata <pmachata@redhat.com>
1462
1463 * elf/elf.h (R_AARCH64_ABS16): New macro.
1464 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1465 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1466 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1467 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1468 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1469 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1470 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1471 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1472 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1473 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1474 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1475 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1476 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1477 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1478 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1479 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1480 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1481 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1482 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1483 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1484 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1485 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1486 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1487 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1488 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1489 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1490 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1491 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1492 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1493 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1494 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1495 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1496 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1497 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1498 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1499 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1500 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1501 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1502 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1503 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1504 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1505 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1506 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1507 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1508 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1509 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1510 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1511 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1512 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1513 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1514 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1515 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1516 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1517 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1518 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1519 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1520 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1521 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1522 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1523 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1524 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1525 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1526 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1527 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1528 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1529 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1530 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1531 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1532 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1533 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1534 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1535 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1536 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1537 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1538 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1539 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1540 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1541 (R_AARCH64_TLSDESC_LDR): Likewise.
1542 (R_AARCH64_TLSDESC_ADD): Likewise.
1543 (R_AARCH64_TLSDESC_CALL): Likewise.
1544
1545 2013-09-30 Andreas Schwab <schwab@suse.de>
1546
1547 [BZ #15048]
1548 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1549 the nss database lookup.
1550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1552
1553 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1554
1555 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1556
1557 2013-09-28 P. J. McDermott <pj@pehjota.net>
1558
1559 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1560 ${Bash-specific parameter/pattern/string} parameter expansion.
1561 * sysdeps/unix/make-syscalls.sh: Likewise.
1562
1563 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1564
1565 * sysdeps/sh/stackguard-macros.h: New file.
1566
1567 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1568
1569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1571 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1572 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1573 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1574 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1575
1576 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1577
1578 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1579 Fix thread ID register.
1580
1581 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1582
1583 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1584 [POSIX || UNIX98]: Require rather than permitting all symbols from
1585 <time.h>.
1586 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1587 element of struct sched_param.
1588 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1589 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1590 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1591 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1592 constant.
1593
1594 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1595
1596 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1597 argument calculation.
1598
1599 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1600
1601 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1602 Expect macro.
1603 [POSIX] (pthread_attr_t): Do not require type.
1604 [POSIX] (pthread_cond_t): Likewise.
1605 [POSIX] (pthread_condattr_t): Likewise.
1606 [POSIX] (pthread_key_t): Likewise.
1607 [POSIX] (pthread_mutex_t): Likewise.
1608 [POSIX] (pthread_mutexattr_t): Likewise.
1609 [POSIX] (pthread_once_t): Likewise.
1610 [POSIX] (pthread_t): Likewise.
1611 [POSIX-based standards] (pthread_atfork): Expect function.
1612
1613 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1614 Richard Sandiford <richard@codesourcery.com>
1615
1616 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1617 (swap_endianness_p): New extern variable.
1618 (set_big_endian): New inline function.
1619 (maybe_swap_uint32): Likewise.
1620 (maybe_swap_uint32_array): Likewise.
1621 (maybe_swap_uint32_obstack): Likewise.
1622 * locale/programs/locfile.c: Include <stdbool.h>.
1623 (swap_endianness_p): New variable.
1624 (add_locale_uint32): Call maybe_swap_uint32.
1625 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1626 (write_locale_data): Call maybe_swap_uint32_array.
1627 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1628 maybe_swap_uint32.
1629 (obstack_int32_grow_fast): Likewise.
1630 (output_weightwc): Call maybe_swap_uint32_obstack.
1631 (collate_output): Likewise.
1632 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1633 (OPT_LITTLE_ENDIAN): Likewise.
1634 (options): Add --little-endian and --big-endian options.
1635 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1636 * locale/programs/locarchive.c: Include "locfile.h".
1637 (GET): New macro.
1638 (SET): Likewise.
1639 (INC): Likewise.
1640 (create_archive): Use the new macros to access fields of
1641 structures directly mapped from or written to locale archives.
1642 (oldlocrecentcmp): Likewise.
1643 (enlarge_archive): Likewise.
1644 (insert_name): Likewise.
1645 (add_alias): Likewise.
1646 (add_locale): Likewise.
1647 (delete_locales_from_archive): Likewise.
1648 (show_archive_content): Likewise.
1649 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1650 locale data.
1651
1652 2013-09-24 Roland McGrath <roland@hack.frob.com>
1653
1654 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1655 http://www.gnu.org/doc/freemanuals.texi.
1656 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1657
1658 2013-09-24 Will Newton <will.newton@linaro.org>
1659
1660 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1661 macro.
1662
1663 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1664
1665 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1666 unsigned char.
1667
1668 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1669
1670 * manual/threads.texi (POSIX Threads): Fix a typo.
1671
1672 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1673
1674 [BZ #14547]
1675 * string/tst-strcoll-overflow.c: New test case.
1676 * string/Makefile (xtests): Add tst-strcoll-overflow.
1677 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1678 cache if string sizes may cause integer overflow.
1679
1680 [BZ #14547]
1681 * string/strcoll_l.c (coll_seq): New members rule, idx,
1682 save_idx and back_us.
1683 (get_next_seq_nocache): New function.
1684 (do_compare_nocache): New function.
1685 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1686 when malloc fails.
1687
1688 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1689
1690 [BZ #15754]
1691 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1692 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1693 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1694
1695 [BZ #15754]
1696 * elf/Makefile (tests): Add tst-ptrguard1.
1697 (tests-static): Add tst-ptrguard1-static.
1698 (tst-ptrguard1-ARGS): Define.
1699 (tst-ptrguard1-static-ARGS): Define.
1700 * elf/tst-ptrguard1.c: New file.
1701 * elf/tst-ptrguard1-static.c: New file.
1702 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1703 * sysdeps/i386/stackguard-macros.h: Likewise.
1704 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1705 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1706 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1707 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1708 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1709 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1710
1711 2013-09-23 Hector Marco <hecmargi@upv.es>
1712 Ismael Ripoll <iripoll@disca.upv.es>
1713 Carlos O'Donell <carlos@redhat.com>
1714
1715 [BZ #15754]
1716 * sysdeps/generic/stackguard-macros.h: Define
1717 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1718 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1719 Define __pointer_chk_guard_local.
1720 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1721 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1722
1723 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1724
1725 [BZ #15859]
1726 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1727
1728 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1729
1730 * include/string.h (__ffs): Declare as hidden.
1731 * string/ffs.c (__ffs): Define as hidden.
1732 * sysdeps/i386/ffs.c (__ffs): Likewise.
1733 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1734 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1735 * sysdeps/s390/ffs.c (__ffs): Likewise.
1736 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1737
1738 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1739
1740 * NEWS: Mention malloc probes.
1741
1742 * malloc/arena.c (new_heap): New memory_heap_new probe.
1743 (grow_heap): New memory_heap_more probe.
1744 (shrink_heap): New memory_heap_less probe.
1745 (heap_trim): New memory_heap_free probe.
1746 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1747 (systrim): New memory_sbrk_less probe.
1748 * manual/probes.texi: Document them.
1749
1750 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1751 * manual/probes.texi: Document it.
1752
1753 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1754 (__libc_realloc): Add memory_realloc_retry probe.
1755 (__libc_memalign): Add memory_memalign_retry probe.
1756 (__libc_valloc): Add memory_valloc_retry probe.
1757 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1758 (__libc_calloc): Add memory_calloc_retry probe.
1759 * manual/probes.texi: Document them.
1760
1761 * malloc/arena.c (get_free_list): Add probe
1762 memory_arena_reuse_free_list.
1763 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1764 and memory_arena_reuse.
1765 (arena_get2) [!PER_THREAD]: Likewise.
1766 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1767 memory_arena_reuse_realloc.
1768 * manual/probes.texi: Document them.
1769
1770 * malloc/malloc.c (__libc_free): Add
1771 memory_mallopt_free_dyn_thresholds probe.
1772 (__libc_mallopt): Add multiple memory_mallopt probes.
1773 * manual/probes.texi: Document them.
1774
1775 * malloc/malloc.c: Include stap-probe.h.
1776 (__libc_mallopt): Add memory_mallopt probe.
1777 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1778 * manual/probes.texi: New.
1779 * manual/Makefile (chapters): Add probes.
1780 * manual/threads.texi: Set next node.
1781
1782 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1783
1784 [BZ #15963, #13985]
1785 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1786 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1787 Add `Chinese' to `nan' entry name.
1788
1789 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1790
1791 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1792 (POLYNOMIAL): Likewise.
1793 (TAYLOR_SINCOS): Likewise.
1794 (TAYLOR_SLOW): Likewise.
1795 (__sin): Use TAYLOR_SINCOS.
1796 (__cos): Likewise.
1797 (slow): Use TAYLOR_SLOW.
1798 (sloww): Likewise.
1799 (bsloww): Likewise.
1800 (csloww): Likewise.
1801
1802 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1803
1804 * stdlib/strtod_l.c: Fix buffer overrun.
1805
1806 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1807
1808 * benchtests/Makefile (bench): Add sincos.
1809 * benchtests/bench-sincos.c: New file.
1810
1811 * math/libm-test.inc (cos_test_data): New test inputs.
1812 (sin_test_data): Likewise.
1813
1814 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1815 macro.
1816 (__sin): Use it.
1817 (__cos): Likewise.
1818 (slow1): Likewise.
1819 (slow2): Likewise.
1820 (sloww1): Likewise.
1821 (sloww2): Likewise.
1822 (bsloww1): Likewise.
1823 (bsloww2): Likewise.
1824 (cslow2): Likewise.
1825 (csloww1): Likewise.
1826 (csloww2): Likewise.
1827
1828 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1829 function.
1830 (__sin): Use it.
1831 (__cos): Likewise.
1832
1833 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1834 gotos.
1835 (__cos): Likewise.
1836
1837 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1838
1839 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1840 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1841 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1842 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1843 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1844 * elf/cache.c (print_entry): Handle the new cache flags.
1845
1846 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1847 Aldy Hernandez <aldyh@redhat.com>
1848
1849 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1850 Change condition to [_SOFT_FLOAT].
1851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1863 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1866 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1867 declaration.
1868
1869 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1870
1871 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1872 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1873 (__longjmp): Use LOAD_GP to load saved GPRs.
1874 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1875 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1876 (__sigsetjmp): Use SAVE_GP to save GPRs.
1877
1878 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1879 Do not append -msoft-float.
1880 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1881
1882 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1883
1884 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1885
1886 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1887
1888 [BZ #15966]
1889 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1890 (_FPU_GETCW): Use initial "__" on variable and field names but not
1891 on macro parameter name.
1892 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1893 parentheses around reference to macro parameter.
1894
1895 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1896
1897 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1898 prototype.
1899 (ctype_startup): Use uint32_t in cast and sizeof for
1900 ctype->charnames.
1901
1902 2013-09-11 Jia Liu <proljc@gmail.com>
1903
1904 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1905 __daddr_t_defined.
1906 [__FreeBSD__]: Likewise.
1907
1908 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1909
1910 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1911 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1912 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1913 (strchr): Remove __strchr_sse42 ifunc selection.
1914 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1915 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1916
1917 2013-09-11 Will Newton <will.newton@linaro.org>
1918
1919 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1920 parameter to RES. Remove hardcoded 1000 value.
1921 * benchtests/bench-skeleton.c (main): Pass RES parameter
1922 to TIMING_INIT and multiply result by 1000.
1923
1924 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925
1926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1927
1928 2013-09-11 Andreas Schwab <schwab@suse.de>
1929
1930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1931 if not defined.
1932 (O_TMPFILE) [__USE_GNU]: Define.
1933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1934 Define.
1935
1936 2013-09-11 Will Newton <will.newton@linaro.org>
1937
1938 [BZ #15857]
1939 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1940 does not overflow.
1941
1942 2013-09-11 Will Newton <will.newton@linaro.org>
1943
1944 [BZ #15856]
1945 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1946 does not overflow.
1947
1948 2013-09-11 Will Newton <will.newton@linaro.org>
1949
1950 [BZ #15855]
1951 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1952 does not overflow.
1953
1954 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1955
1956 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1959 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1961
1962 2013-09-10 Allan McRae <allan@archlinux.org>
1963
1964 [BZ #15748]
1965 * manual/arith.texi (Parsing of Floats): Clarify
1966 cross-reference.
1967
1968 [BZ #15849]
1969 * manual/install.texi (Running make install): Mention
1970 --enable-pt-chown.
1971 * INSTALL: Regenerated.
1972
1973 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1974
1975 * csu/init-first.c (_init): Remove the !SHARED condition around
1976 FPU control word initialization.
1977 * elf/dl-support.c (_dl_fpu_control): New variable.
1978 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1979 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1980 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1981 * math/test-fpucw-static.c: New file.
1982 * math/test-fpucw-ieee.c: New file.
1983 * math/test-fpucw-ieee-static.c: New file.
1984 * math/Makefile (tests): Add `test-fpucw-ieee' and
1985 `$(tests-static)'.
1986 (tests-static): New variable.
1987 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1988 dependency to...
1989 [($(build-shared),yes)]
1990 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1991 ... this.
1992 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1993 New dependency.
1994
1995 2013-09-09 Allan McRae <allan@archlinux.org>
1996
1997 [BZ #15939]
1998 * manual/string.texi (Collation Functions): Fix typo in
1999 strcoll example.
2000 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2001
2002 [BZ #15893]
2003 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2004
2005 [BZ #15892]
2006 * libio/memstream.c (open_memstream): Fix memory leak.
2007 * libio/wmemstream.c (open_wmemstream): Likewise.
2008
2009 [BZ #15895]
2010 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2011
2012 2013-09-09 Will Newton <will.newton@linaro.org>
2013
2014 * malloc/Makefile: Add tst-realloc to tests.
2015 * malloc/tst-realloc.c: New file.
2016
2017 2013-09-09 Allan McRae <allan@archlinux.org>
2018
2019 [BZ #15844]
2020 * COPYING: Update from GNU website to fix FSF address.
2021 * COPYING.LIB: Likewise.
2022
2023 2013-09-06 David S. Miller <davem@davemloft.net>
2024
2025 * po/zh_TW.po: Update Chinese (traditional) translation from
2026 translation project.
2027
2028 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2029 Joseph Myers <joseph@codesourcery.com>
2030
2031 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2032 "localeinfo.h".
2033 (obstack_chunk_alloc): New macro.
2034 (obstack_chunk_free): Likewise.
2035 (record_offset): New function.
2036 (init_locale_data): Likewise.
2037 (align_locale_data): Likewise.
2038 (add_locale_empty): Likewise.
2039 (add_locale_raw_data): Likewise.
2040 (add_locale_raw_obstack): Likewise.
2041 (add_locale_string): Likewise.
2042 (add_locale_wstring): Likewise.
2043 (add_locale_uint32): Likewise.
2044 (add_locale_uint32_array): Likewise.
2045 (add_locale_char): Likewise.
2046 (start_locale_structure): Likewise.
2047 (end_locale_structure): Likewise.
2048 (start_locale_prelude): Likewise.
2049 (end_locale_prelude): Likewise.
2050 (write_locale_data): Take locale_file structure rather than an
2051 iovec.
2052 * locale/programs/locfile.h: Include "obstack.h".
2053 (struct locale_file): Change to store locale file contents instead
2054 of header.
2055 (init_locale_data): New prototype.
2056 (align_locale_data): Likewise.
2057 (add_locale_empty): Likewise.
2058 (add_locale_raw_data): Likewise.
2059 (add_locale_raw_obstack): Likewise.
2060 (add_locale_string): Likewise.
2061 (add_locale_wstring): Likewise.
2062 (add_locale_uint32): Likewise.
2063 (add_locale_uint32_array): Likewise.
2064 (add_locale_char): Likewise.
2065 (start_locale_structure): Likewise.
2066 (end_locale_structure): Likewise.
2067 (start_locale_prelude): Likewise.
2068 (end_locale_prelude): Likewise.
2069 (write_locale_data): Update prototype.
2070 * locale/programs/3level.h (struct TABLE): Remove result field.
2071 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2072 Use new locale_file interface.
2073 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2074 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2075 * locale/programs/ld-address.c (address_output): Use new
2076 locale_file interface.
2077 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2078 NO_ADD_LOCALE.
2079 (collate_finish): Don't call collseq_table_finalize.
2080 (collate_output): Use new locale_file interface.
2081 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2082 in file.
2083 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2084 (TABLE): Move defines earlier in file.
2085 (ELEMENT): Likewise.
2086 (DEFAULT): Likewise.
2087 (wctrans_table_add): Move macro and inline function earlier in
2088 file.
2089 (struct wctype_table): Move type earlier in file.
2090 (add_locale_wctype_table): New static prototype.
2091 (struct locale_ctype_t): Use logical types instead of struct iovec
2092 pointers for members.
2093 (ctype_output): Use new locale_file interface.
2094 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2095 new locale_file interface.
2096 (allocate_arrays): Update for use of new locale_file interface.
2097 * locale/programs/ld-identification.c (identification_output): Use
2098 new locale_file interface.
2099 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2100 * locale/programs/ld-messages.c (messages_output): Likewise.
2101 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2102 * locale/programs/ld-name.c (name_output): Likewise.
2103 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2104 * locale/programs/ld-paper.c (paper_output): Likewise.
2105 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2106 * locale/programs/ld-time.c (time_output): Likewise.
2107
2108 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2109
2110 * benchtests/Makefile: Add memrchr benchmark.
2111 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2112 benchmark as memrchr.
2113 * benchtests/bench-memrchr-ifunc.c: New file.
2114 * benchtests/bench-memrchr.c: New file.
2115
2116 2013-09-06 Will Newton <will.newton@linaro.org>
2117
2118 * benchtests/Makefile (string-bench): Add memcpy.
2119
2120 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2121 Cong Wang <amwang@redhat.com>
2122
2123 * sysdeps/unix/sysv/linux/bits/in.h
2124 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2125 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2126 before __USE_KERNEL_IPV6_DEFS uses.
2127 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2128 IPPROTO_BEETPH.
2129 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2130 sockaddr_in6, or ipv6_mreq.
2131
2132 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2133
2134 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2135 memory access for final bytes in some large inputs.
2136 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2137
2138 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2139
2140 * string/test-memrchr.c: New file.
2141 * string/test-memrchr-ifunc.c: New file.
2142 * string/Makefile: Add new memrchr testcase.
2143
2144 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2145
2146 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2147 fanotify_init returns EPERM.
2148
2149 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2150
2151 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2152 errors.
2153 (top level): Treat second token from macro or constant entries for
2154 allowed headers as allowed.
2155 * include/complex.h: Condition internal declarations on
2156 [!_ISOMAC].
2157 * include/fenv.h: Condition include of <stdbool.h> and internal
2158 declarations on [!_ISOMAC].
2159
2160 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2161
2162 [BZ #15923]
2163 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2164
2165 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2166
2167 * configure.in (--enable-versioning): Remove configure option.
2168 (libc_cv_asm_symver_directive): Remove configure test.
2169 (libc_cv_ld_version_script_option): Likewise.
2170 (VERSIONING): Remove variable and AC_SUBST.
2171 (DO_VERSIONING): Remove AC_DEFINE.
2172 * configure: Regenerated.
2173 * config.h.in (DO_VERSIONING): Remove macro.
2174 * Makerules [$(versioning) = yes]: Change conditionals to
2175 [$(build-shared) = yes].
2176 * config.make.in (versioning): Remove variable.
2177 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2178 [$(build-shared) = yes].
2179 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2180 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2181 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2182 [$(build-shared) = yes].
2183 * extra-lib.mk [$(versioning) = yes]: Likewise.
2184 * hurd/Makefile [$(versioning) = yes]: Likewise.
2185 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2186 [SHARED].
2187 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2188 [SHARED].
2189 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2190 [SHARED && !NO_HIDDEN].
2191 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2192 [SHARED].
2193 [SHARED && DO_VERSIONING]: Likewise..
2194 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2195 [$(build-shared) = yes].
2196 * manual/install.texi (--disable-versioning): Remove
2197 documentation.
2198 * INSTALL: Regenerated.
2199 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2200 to [SHARED].
2201 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2202 [$(build-shared) = yes].
2203 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2204 * sysdeps/i386/i686/multiarch/strstr-c.c
2205 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2206 [SHARED && !NO_HIDDEN].
2207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2208 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2209 * sysdeps/powerpc/powerpc32/dl-machine.c
2210 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2211 * sysdeps/powerpc/powerpc32/sysdep.h
2212 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2213 to [SHARED && PIC && !NO_HIDDEN].
2214 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2215 conditional to [SHARED].
2216
2217 2013-09-04 Will Newton <will.newton@linaro.org>
2218
2219 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2220 * benchtests/bench-string.h: Include bench-timing.h instead
2221 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2222 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2223 call to HP_TIMING_DIFF_INIT.
2224 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2225 instead of hp-timing.h macros.
2226 * benchtests/bench-memchr.c: Likewise.
2227 * benchtests/bench-memcmp.c: Likewise.
2228 * benchtests/bench-memcpy.c: Likewise.
2229 * benchtests/bench-memmem.c: Likewise.
2230 * benchtests/bench-memmove.c: Likewise.
2231 * benchtests/bench-memset.c: Likewise.
2232 * benchtests/bench-rawmemchr.c: Likewise.
2233 * benchtests/bench-strcasecmp.c: Likewise.
2234 * benchtests/bench-strcasestr.c: Likewise.
2235 * benchtests/bench-strcat.c: Likewise.
2236 * benchtests/bench-strchr.c: Likewise.
2237 * benchtests/bench-strcmp.c: Likewise.
2238 * benchtests/bench-strcpy.c: Likewise.
2239 * benchtests/bench-strcpy_chk.c: Likewise.
2240 * benchtests/bench-strlen.c: Likewise.
2241 * benchtests/bench-strncasecmp.c: Likewise.
2242 * benchtests/bench-strncat.c: Likewise.
2243 * benchtests/bench-strncmp.c: Likewise.
2244 * benchtests/bench-strncpy.c: Likewise.
2245 * benchtests/bench-strnlen.c: Likewise.
2246 * benchtests/bench-strpbrk.c: Likewise.
2247 * benchtests/bench-strrchr.c: Likewise.
2248 * benchtests/bench-strspn.c: Likewise.
2249 * benchtests/bench-strstr.c: Likewise.
2250
2251 2013-09-04 Will Newton <will.newton@linaro.org>
2252
2253 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2254
2255 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2256
2257 [BZ #15427]
2258 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2259 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2260 * math/libm-test.inc (lgamma_test_data): Add more tests.
2261 * sysdeps/i386/fpu/libm-test-ulps: Update.
2262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2263
2264 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2265
2266 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2268 Add ifunc.
2269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2270 Add strcmp-sse2-unaligned
2271 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2272
2273 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2274
2275 * Versions.def (libc): Add GLIBC_2.19.
2276
2277 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2278
2279 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2280 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2281
2282 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2283
2284 [BZ #14155]
2285 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2286 intermediate calculations in recurrence.
2287 (__ieee754_ynf): Likewise.
2288 * math/libm-test.inc (jn_test_data): Do not allow spurious
2289 underflow exception. Add more tests.
2290 (yn_test_data): Add more tests.
2291 * sysdeps/i386/fpu/libm-test-ulps: Update.
2292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2293
2294 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2295
2296 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2297
2298 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2299
2300 * csu/init-first.c: Fix then/than typos.
2301 * locale/programs/ld-collate.c: Likewise.
2302 * locale/programs/linereader.h: Likewise.
2303 * manual/charset.texi: Likewise.
2304 * manual/filesys.texi: Likewise.
2305 * manual/stdio.texi: Likewise.
2306 * manual/string.texi: Likewise.
2307 * stdlib/fmtmsg.c: Likewise.
2308 * sysdeps/i386/stpncpy.S: Likewise.
2309 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2310 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2311 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2312 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2313
2314 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2315
2316 * elf/dl-open.c: Fix typos.
2317 * iconvdata/gbbig5.c: Likewise.
2318 * iconvdata/iso-2022-jp.c: Likewise.
2319 * iconv/gconv_int.h: Likewise.
2320 * iconv/loop.c: Likewise.
2321 * nis/rpcsvc/nis.h: Likewise.
2322 * resolv/ns_name.c: Likewise.
2323 * stdio-common/vfscanf.c: Likewise.
2324 * streams/stropts.h: Likewise.
2325 * sunrpc/rpc_thread.c: Likewise.
2326 * sysdeps/i386/strpbrk.S: Likewise.
2327 * sysdeps/ieee754/k_standard.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2330 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2331 * sysdeps/mach/hurd/profil.c: Likewise.
2332 * sysdeps/s390/dl-procinfo.h: Likewise.
2333 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2334 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2335 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2336 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2338
2339 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2340
2341 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2343
2344 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2345
2346 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2347 aix specific files.
2348 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2349 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2350 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2351 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2352 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2353 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2354 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2355 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2356
2357 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2358 Roland McGrath <roland@hack.frob.com>
2359
2360 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2361 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2362
2363 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2364
2365 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2366 __executable_start symbol instead of _start.
2367
2368 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2369
2370 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2371 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2372 Move macros to...
2373 * sysdeps/gnu/ldsodefs.h: ... this new file.
2374
2375 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2376 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2377 instead of ELFOSABI_LINUX.
2378
2379 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2380 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2381 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2382 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2383 Likewise.
2384 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2385 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2386 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2387 Likewise.
2388 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2389 (ibm_extended_long_double): Add ieee_nan member.
2390 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2391 (do_test): New function.
2392
2393 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2394 TEST_TRUNC.
2395 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2396 functions, renamed from truncdfsf_test, trunctfsf_test,
2397 trunctfdf_test.
2398 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2399 functions.
2400 (do_test): Run all these.
2401
2402 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2403
2404 * argp/argp-help.c: Fix typos.
2405 * argp/argp-parse.c: Likewise.
2406 * debug/backtracesyms.c: Likewise.
2407 * elf/elf.h: Likewise.
2408 * malloc/malloc.c: Likewise.
2409 * nis/nis_print.c: Likewise.
2410 * resolv/res_comp.c: Likewise.
2411 * stdlib/stdlib.h: Likewise.
2412 * sunrpc/clnt_tcp.c: Likewise.
2413 * sunrpc/clnt_udp.c: Likewise.
2414 * sunrpc/clnt_unix.c: Likewise.
2415 * sysdeps/unix/bsd/ptsname.c: Likewise.
2416 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2417 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2419 Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2421 Likewise.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2423 Likewise.
2424 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2425
2426 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2427
2428 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2430
2431 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2432
2433 [BZ #15897]
2434 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2435 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2436 ($(objpfx)bug-dl-leaf): New rule.
2437 ($(objpfx)bug-dl-leaf.so): Likewise.
2438 ($(objpfx)bug-dl-leaf.out): Likewise.
2439 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2440 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2441 * dlfcn/bug-dl-leaf.c: New test.
2442 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2443 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2444 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2445 (dlclose): Likewise.
2446 (dlmopen): Likewise.
2447
2448 2013-08-27 Roland McGrath <roland@hack.frob.com>
2449
2450 * include/netdb.h [!_ISOMAC]:
2451 Don't include <tls.h>.
2452 (h_errno, __libc_h_errno): Move declaration and macros out of
2453 [_LIBC_REENTRANT].
2454
2455 * include/resolv.h [_RESOLV_H_]:
2456 Don't include <tls.h>.
2457 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2458 * resolv/res_libc.c: Don't include <tls.h>.
2459 (_res): Use __attribute__ ((nocommon)) in place of
2460 __attribute__ ((section (".bss"))).
2461
2462 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2463 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2464
2465 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2466
2467 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2468 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2469
2470 * resolv/res_mkquery.c: Include <sys/time.h>.
2471
2472 * inet/ifreq.c: Moved to ...
2473 * sysdeps/unix/ifreq.c: ... here.
2474 * inet/ifreq.c: New file, true stub version.
2475
2476 * socket/sa_len.c: New file.
2477 * socket/Makefile (aux): Add it.
2478 * sysdeps/unix/sysv/linux/Makefile
2479 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2480 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2481 and #include <socket/sa_len.c>.
2482 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2483 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2484
2485 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2486 * bits/socket.h: ... here.
2487
2488 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2489 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2490 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2491
2492 2013-08-27 Andreas Schwab <schwab@suse.de>
2493
2494 [BZ #15736]
2495 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2496 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2497 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2498 * string/test-strcasecmp.c (test_main): Run tests in several
2499 locales.
2500 * string/test-strncasecmp.c (test_main): Likewise.
2501
2502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2503 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2504 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2506 (__strncasecmp_ssse3) [PIC]: Likewise.
2507
2508 2013-08-26 Roland McGrath <roland@hack.frob.com>
2509
2510 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2511
2512 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2513 instead of explicitly declaring xdecrypt.
2514 * nis/nss_nis/nis-publickey.c: Likewise.
2515
2516 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2517
2518 [BZ #15890]
2519 * nscd/aicache.c: Include res_hconf.h.
2520 (addhstaiX): Initialize res_hconf.
2521
2522 2013-08-26 Andreas Schwab <schwab@suse.de>
2523
2524 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2525 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2526
2527 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2528
2529 * nscd/aicache.c (addhstaiX): Fix indentation.
2530
2531 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2532
2533 * configure.ac: Quote $build_pt_chown test.
2534 * configure: Regenerated.
2535
2536 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2537
2538 [BZ #15532]
2539 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2540 * math/s_cexpf.c (__cexpf): Likewise.
2541 * math/s_cexpl.c (__cexpl): Likewise.
2542 * math/libm-test.inc (cexp_test_data): Correct expected return
2543 value for NaN + i0. Add another test.
2544
2545 2013-08-22 David S. Miller <davem@davemloft.net>
2546
2547 * po/ca.po: Update Catalan translation from translation project.
2548 * po/uk.po: Add Ukrainian translations from translation project.
2549
2550 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2551
2552 [BZ #15797]
2553 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2554 is infinite, not alongside NaN test.
2555 * math/s_fdimf.c (__fdimf): Likewise.
2556 * math/s_fdiml.c (__fdiml): Likewise.
2557 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2558 errno is unchanged.
2559
2560 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2561
2562 * argp/argp-help.c: Fix typos.
2563 * crypt/speeds.c: Likewise.
2564 * csu/check_fds.c: Likewise.
2565 * elf/dl-load.c: Likewise.
2566 * elf/dl-open.c: Likewise.
2567 * elf/reldep3.c: Likewise.
2568 * elf/reldep.c: Likewise.
2569 * elf/sprof.c: Likewise.
2570 * iconv/iconv_charmap.c: Likewise.
2571 * iconv/skeleton.c: Likewise.
2572 * iconv/strtab.c: Likewise.
2573 * io/lockf64.c: Likewise.
2574 * libio/libioP.h: Likewise.
2575 * resolv/gai_notify.c: Likewise.
2576 * resolv/ns_name.c: Likewise.
2577 * resolv/ns_samedomain.c: Likewise.
2578 * resolv/res_send.c: Likewise.
2579 * stdlib/random.c: Likewise.
2580 * sunrpc/rpc/xdr.h: Likewise.
2581 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2582 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2583 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2584 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2585 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2586 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2588 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2589 * sysdeps/mach/hurd/check_fds.c: Likewise.
2590 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2591 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2592 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2594 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2595 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2596 * sysdeps/pthread/aio_notify.c: Likewise.
2597 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2598 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2599 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2600 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2601 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2602
2603 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2604
2605 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2606 version if bit_Slow_SSE4_2 is set.
2607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2609
2610 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2611
2612 [BZ #15867]
2613 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2614 trampoline stack frame information.
2615 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2616 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2617 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2618 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2619 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2620 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2621 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2622 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2623 sa_flags value.
2624 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2625 interrupting a syscall and set with option SA_SIGINFO.
2626
2627 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2628
2629 [BZ #15531]
2630 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2631 argument is infinite.
2632 * math/s_cprojf.c (__cprojf): Likewise.
2633 * math/s_cprojl.c (__cprojl): Likewise.
2634 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2635 * math/libm-test.inc (cproj_test_data): Add more tests.
2636
2637 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2638
2639 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2640 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2641 size. Use __ffs to determine corresponding shift.
2642
2643 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2644 Roland McGrath <roland@hack.frob.com>
2645
2646 * Makefile (INSTALL): Remove trailing blank lines from output of
2647 makeinfo.
2648
2649 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2650
2651 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2652 Align 32 bit compat elf_greg to 8 bytes.
2653
2654 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2655
2656 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2657
2658 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2659
2660 * string/strcoll_l.c (coll_seq): New structure.
2661 (get_next_seq_cached): New function.
2662 (get_next_seq): New function.
2663 (do_compare): New function.
2664 (STRCOLL): Use GNU style definition. Simplify implementation
2665 by using get_next_seq, get_next_seq_cached and do_compare.
2666
2667 2013-08-16 Florian Weimer <fweimer@redhat.com>
2668
2669 [BZ #14699]
2670 CVE-2013-4237
2671 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2672 member.
2673 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2674 member.
2675 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2676 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2677 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2678 conditional.
2679 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2680 GETDENTS_64BIT_ALIGNED.
2681 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2682 * manual/filesys.texi (Reading/Closing Directory): Document
2683 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2684 strongly.
2685 * manual/conf.texi (Limits for Files): Add portability note to
2686 NAME_MAX, PATH_MAX.
2687 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2688
2689 2013-08-13 Andreas Schwab <schwab@suse.de>
2690
2691 [BZ #15749]
2692 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2693 of fabs.
2694 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2695 LDBL_MAX_EXP >= 16384]: Add tests for it.
2696
2697 2013-08-12 David S. Miller <davem@davemloft.net>
2698
2699 * version.h (RELEASE): Set to "development".
2700 (VERSION): Set to "2.18.90".
2701 * NEWS: Add 2.19 section.
2702
2703 2013-08-03 David S. Miller <davem@davemloft.net>
2704
2705 * po/ko.po: Update Korean translation from translation project.
2706
2707 2013-08-01 David S. Miller <davem@davemloft.net>
2708
2709 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2710 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2711 Bilka.
2712
2713 2013-07-30 David S. Miller <davem@davemloft.net>
2714
2715 * po/fr.po: Update French translation from translation project.
2716
2717 2013-07-28 David S. Miller <davem@davemloft.net>
2718
2719 * po/cs.po: Update Czech translation from translation project.
2720
2721 * po/sv.po: Update Swedish translation from translation project.
2722
2723 2013-07-27 David S. Miller <davem@davemloft.net>
2724
2725 * po/eo.po: Update Esperanto translation from translation project.
2726
2727 * po/vi.po: Update Vietnamese translation from translation project.
2728
2729 * po/de.po: Update German translation from translation project.
2730
2731 2013-07-26 David S. Miller <davem@davemloft.net>
2732
2733 * po/bg.po: Update Bulgarian translation from translation project.
2734
2735 * po/nl.po: Update Dutch translation from translation project.
2736 * po/pl.po: Update Polish translation from translation project.
2737 * po/ru.po: Update Russian translation from translation project.
2738
2739 2013-07-24 David S. Miller <davem@davemloft.net>
2740
2741 * po/libc.pot: Update.
2742
2743 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2744
2745 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2746 variable page size.
2747 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2748 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2749 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2750
2751 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2752
2753 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2754
2755 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2756 Andreas Schwab <schwab@suse.de>
2757 Roland McGrath <roland@hack.frob.com>
2758 Joseph Myers <joseph@codesourcery.com>
2759 Carlos O'Donell <carlos@redhat.com>
2760
2761 [BZ #15755]
2762 * config.h.in: Define HAVE_PT_CHOWN.
2763 * config.make.in (build-pt-chown): New variable.
2764 * configure.in (--enable-pt_chown): New configure option.
2765 * configure: Regenerate.
2766 * login/Makefile: Include Makeconfig. Build pt_chown only if
2767 build-pt-chown is enabled.
2768 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2769 pt_chown to fix pty ownership.
2770 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2771 CLOSE_ALL_FDS.
2772 * manual/install.texi (Configuring and compiling): Mention
2773 --enable-pt_chown. Add @findex for grantpt.
2774 * INSTALL: Regenerate.
2775
2776 2013-07-20 David S. Miller <davem@davemloft.net>
2777
2778 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2779 difference between 32-bit and 64-bit.
2780
2781 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2782
2783 [BZ #15711]
2784 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2785 Avoid system header dependency with -ffreestanding.
2786 ($(objpfx)bits/syscall%d): Likewise.
2787
2788 2013-07-13 David S. Miller <davem@davemloft.net>
2789
2790 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2791 underflows from atanl/atan2l due to bug 15319.
2792 (casinh_test_data): Likewise.
2793
2794 2013-07-07 David S. Miller <davem@davemloft.net>
2795
2796 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2797
2798 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2799
2800 * sysdeps/i386/fpu/libm-test-ulps: Update.
2801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2802
2803 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2804
2805 * configure.in (--enable-lock-elision): Fix message text.
2806 * INSTALL: Regenerate.
2807 * configure: Regenerate.
2808
2809 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2810
2811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2812
2813 2013-07-03 Andreas Jaeger <aj@suse.de>
2814
2815 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2816 define.
2817 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2818 (ptrace_peeksiginfo_args): Add.
2819 (__ptrace_peeksiginfo_flags): Add.
2820 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2822 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2823
2824 2013-07-03 Allan McRae <allan@archlinux.org>
2825
2826 * sysdeps/i386/fpu/libm-test-ulps: Update.
2827
2828 2013-07-02 David S. Miller <davem@davemloft.net>
2829
2830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2831
2832 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2833
2834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2835
2836 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2837
2838 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2840
2841 2013-07-02 Andi Kleen <ak@linux.intel.com>
2842
2843 * config.h.in (ENABLE_LOCK_ELISION): Add.
2844 * configure.in (--enable-lock-elision): Add option.
2845 * manual/install.texi: Document --enable lock elision.
2846 * configure: Regenerate
2847 * INSTALL: Regenerate.
2848
2849 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2850
2851 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2852 SSE4.2 strcasecmp for libc.a.
2853 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2854
2855 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2856
2857 [BZ #13304]
2858 * soft-fp/op-common.h (_FP_FMA): New macro.
2859 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2860 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2861 (_FP_MUL_MEAT_1_imm): ... here.
2862 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2863 (_FP_MUL_MEAT_1_wide): ... here.
2864 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2865 (_FP_MUL_MEAT_1_hard): ... here.
2866 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2867 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2868 (_FP_MUL_MEAT_2_wide): ... here.
2869 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2870 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2871 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2872 (_FP_MUL_MEAT_2_gmp): ... here.
2873 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2874 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2875 (_FP_MUL_MEAT_4_wide): ... here.
2876 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2877 (_FP_MUL_MEAT_4_gmp): ... here.
2878 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2879 (_FP_WFRACBITS_DW_S): Likewise.
2880 (_FP_WFRACXBITS_DW_S): Likewise.
2881 (_FP_HIGHBIT_DW_S): Likewise.
2882 (FP_FMA_S): Likewise.
2883 (_FP_FRAC_HIGH_DW_S): Likewise.
2884 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2885 (_FP_WFRACBITS_DW_D): Likewise.
2886 (_FP_WFRACXBITS_DW_D): Likewise.
2887 (_FP_HIGHBIT_DW_D): Likewise.
2888 (FP_FMA_D): Likewise.
2889 (_FP_FRAC_HIGH_DW_D): Likewise.
2890 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2891 (_FP_WFRACBITS_DW_E): Likewise.
2892 (_FP_WFRACXBITS_DW_E): Likewise.
2893 (_FP_HIGHBIT_DW_E): Likewise.
2894 (FP_FMA_E): Likewise.
2895 (_FP_FRAC_HIGH_DW_E): Likewise.
2896 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2897 (_FP_WFRACBITS_DW_Q): Likewise.
2898 (_FP_WFRACXBITS_DW_Q): Likewise.
2899 (_FP_HIGHBIT_DW_Q): Likewise.
2900 (FP_FMA_Q): Likewise.
2901 (_FP_FRAC_HIGH_DW_Q): Likewise.
2902 * soft-fp/fmasf4.c: New file.
2903 * soft-fp/fmadf4.c: Likewise.
2904 * soft-fp/fmatf4.c: Likewise.
2905
2906 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2907
2908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2909 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2910 Silvermont.
2911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2912 macro.
2913 (index_Slow_SSE4_2): Likewise.
2914 (index_Prefer_PMINUB_for_stringop): Likewise.
2915 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2916 bit_Slow_SSE4_2 is set.
2917 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2918 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2919
2920 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2921
2922 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2923 rtld_global._dl_hwcap2.
2924 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2925 POWER8.
2926 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2927 POWER8 feature descriptions defined in _dl_hwcap2.
2928 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2929 string handling for POWER8 feature bits.
2930 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2931 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2932 _dl_powerpc_cap_flags.
2933 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2934 * sysdeps/powerpc/rtld-global-offsets.sym
2935 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2936 _dl_hwcap2 in the rtld_global_ro structure.
2937
2938 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2939
2940 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2941 hardware capabilities in support of AT_HWCAP2.
2942 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2943 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2944 GLRO(dl_hwcap2).
2945 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2946 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2947 explicitly the unknown a_type display mechanism is used.
2948 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2949 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2950 struct member.
2951 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2952 to macro prototype for AT_HWCAP2 support.
2953 * sysdeps/i386/dl-procinfo.h: Likewise.
2954 * sysdeps/s390/dl-procinfo.h: Likewise.
2955 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2956 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2957 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2958 return -1 for unknown a_type display fallback.
2959 * sysdeps/sparc/dl-procinfo.h: Likewise.
2960 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2961 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2962
2963 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2964
2965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2966 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2967
2968 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2969
2970 [BZ #12492]
2971 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2972 mprotect making __stack_prot writable.
2973
2974 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2975 Joseph Myers <joseph@codesourcery.com>
2976
2977 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2978 as being properly aligned.
2979
2980 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2981
2982 * dlfcn/modstatic5.c: New file.
2983 * dlfcn/tststatic5.c: New file.
2984 * dlfcn/Makefile (tests): Add tststatic5.
2985 (tests-static): Likewise.
2986 (modules-names): Add modstatic5.
2987 (tststatic5-ENV): New variable.
2988 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2989
2990 [BZ #15022]
2991 * elf/dl-support.c (_dl_main_map): New variable.
2992 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2993 (_dl_nns, _dl_load_adds): Set to 1.
2994 (_dl_initial_searchlist): Refer to _dl_main_map.
2995 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2996 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2997 call to _dl_get_origin.
2998 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2999 around call_map.
3000 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3001 * dlfcn/modstatic3.c: New file.
3002 * dlfcn/tststatic3.c: New file.
3003 * dlfcn/tststatic4.c: New file.
3004 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3005 (tests-static): Likewise.
3006 (modules-names): Add modstatic3.
3007 (tststatic3-ENV, tststatic4-ENV): New variables.
3008 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3009 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3010
3011 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3012
3013 * configure.in (CC): Require GCC version 4.4 or later.
3014 * configure: Regenerated.
3015 * manual/install.texi (Tools for Compilation): Update GCC version
3016 requirement.
3017 * INSTALL: Regenerated.
3018
3019 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3020
3021 [BZ #15674]
3022 * string/test-memcmp.c (check2): New.
3023 (main): Call check2.
3024
3025 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3026
3027 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3028
3029 [BZ #15022]
3030 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3031 over to...
3032 (dl_open_worker) [!SHARED]: ... here.
3033
3034 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3035
3036 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3037
3038 2013-06-25 Richard Henderson <rth@redhat.com>
3039
3040 * locale/programs/locarchive.c: Include <libc-internal.h>
3041
3042 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3043
3044 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3045 trailing whitespace removed.
3046
3047 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3048
3049 [BZ #10283]
3050 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3051 * locale/programs/locarchive.c: Include libc-mmap.h.
3052 (prepare_address_space): Take two new outputs (the mmap base and len).
3053 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3054 values.
3055 (create_archive): Declare new mmap base and len values for
3056 prepare_address_space, and store the result in ah.
3057 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3058 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3059 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3060 Declare new mmap base and len values for
3061 prepare_address_space, and store the result in new_ah.
3062 (open_archive): Declare new mmap base and len values for
3063 prepare_address_space, and store the result in ah.
3064 (close_archive): If ah->mmap_base is not NULL, use that and
3065 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3066 * sysdeps/generic/libc-mmap.h: New file.
3067
3068 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3069
3070 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3071 (ALIGN_UP): Likewise.
3072 (PTR_ALIGN_DOWN): Likewise.
3073 (PTR_ALIGN_UP): Likewise.
3074
3075 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3076
3077 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3078 entry mapped to PPC_PLATFORM_POWER8.
3079 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3080 POWER8.
3081 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3082 (_dl_string_platform): Add case for exporting platform position for
3083 POWER8.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3085 search path to sysdeps/powerpc/powerpc32/power8 directory.
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3087 search path to sysdeps/powerpc/powerpc64/power8 directory.
3088 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3089 power7 directories.
3090 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3091 power7 directories.
3092
3093 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3094
3095 * INSTALL: Regenerate.
3096
3097 * nscd/connections.c (nscd_init): Fix comment.
3098
3099 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3100
3101 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3102
3103 [BZ #15667]
3104 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3105 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3106
3107 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3108
3109 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3110 DL_DST_REQ_STATIC.
3111 (DL_DST_REQ_STATIC): Remove macro.
3112
3113 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3114
3115 [BZ #7006]
3116 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3117 with a shift of 0 bits.
3118
3119 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3120
3121 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3122 $(tststatic-ENV).
3123
3124 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3125
3126 [BZ #15655]
3127 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3128
3129 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3130
3131 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3132 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3133 accepts -fno-tree-loop-distribute-patterns.
3134 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3135 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3136 recursive call.
3137 * string/memset.c (memset): Likewise.
3138 * string/test-memmove.c (simple_memmove): Disable loop transformation
3139 to library calls.
3140 * string/test-memset.c (simple_memset): Likewise.
3141 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3142 * benchtests/bench-memset.c (simple_memset): Likewise.
3143 * configure: Regenerated.
3144
3145 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3146
3147 * math/test-misc.c (main): Ignore fesetround failure when failures
3148 of subsequent rounding tests would be ignored.
3149
3150 [BZ #15654]
3151 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3152 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3153 * math/fegetenv.c (__fegetenv): Return 0.
3154 * math/fegetexcept.c (fegetexcept): Return 0.
3155 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3156 FE_TONEAREST.
3157 * math/feholdexcpt.c (feholdexcept): Return 0.
3158 * math/fesetenv.c (__fesetenv): Return 0.
3159 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3160 argument FE_TONEAREST.
3161 * math/feupdateenv.c (__feupdateenv): Return 0.
3162 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3163
3164 2013-06-18 Roland McGrath <roland@hack.frob.com>
3165
3166 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3167 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3168 ($(objpfx)rtld-%.os rules): Use them.
3169
3170 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3171
3172 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3173 fields.
3174
3175 2013-06-17 Roland McGrath <roland@hack.frob.com>
3176
3177 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3178 length of target pattern, then descending length of dependency pattern.
3179 * configure.in (AWK): Require gawk 3.1.2 or newer.
3180 * manual/install.texi (Tools for Compilation): Say that we do.
3181 * configure: Regenerated.
3182
3183 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3184 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3185 * scripts/sysd-rules.awk: ... this new script.
3186 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3187 than a glob-style pattern.
3188
3189 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3190
3191 * math/test-misc.c (main): Do not treat incorrectly rounded
3192 conversions as failure unless ROUNDING_TESTS passes.
3193
3194 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3195
3196 [BZ #15631]
3197 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3198 restore exception state around main square root computation, then
3199 check for inexactness explicitly.
3200
3201 * math/libm-test.inc (fma_test_data): Add another test.
3202
3203 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3204
3205 * manual/threads.texi (Non-POSIX Extensions): New document
3206 node. Document pthread_getattr_default_np and
3207 pthread_setattr_default_np.
3208
3209 * Versions.def (libpthread): Add GLIBC_2.18.
3210 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3212 Likewise.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3214 Likewise.
3215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3216 Likewise.
3217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3218 Likewise.
3219 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3220 Likewise.
3221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3222 Likewise.
3223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3224 Likewise.
3225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3226 Likewise.
3227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3228 Likewise.
3229
3230 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3231
3232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3233 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3234
3235 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3236 H.J. Lu <hjl.tools@gmail.com>
3237
3238 [BZ #15627]
3239 * sysdeps/x86_64/rtld-memset.c: Remove file.
3240 * sysdeps/x86_64/rtld-memset.S: New file.
3241
3242 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3243
3244 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3245 (test_in_one_mode): Take arguments for whether the rounding mode
3246 is supported for each floating-point type.
3247 (do_test): Pass new arguments to test_in_one_mode using
3248 ROUNDING_TESTS.
3249
3250 2013-06-13 Roland McGrath <roland@hack.frob.com>
3251
3252 * posix/tst-waitid.c (do_test): Distinguish different instances of
3253 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3254 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3255 before entering the kernel for waitpid.
3256
3257 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3258
3259 * NEWS: Fix note on clock function precision. Text by Roland
3260 McGrath.
3261
3262 2013-06-13 Roland McGrath <roland@hack.frob.com>
3263
3264 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3265 it into place only when and if the sanity check passes.
3266
3267 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3268
3269 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3270 output for whether conversion result is exact. Take argument
3271 indicating whether type is IBM long double.
3272 (round_for_all): Change need_exact field to ibm_ld.
3273 * stdlib/tst-strtod-round.c (struct exactness): New type.
3274 (struct test): Change bool ld_ok field to struct exactness exact.
3275 (TEST): Update all definitions for change to field.
3276 (tests): Regenerate array contents.
3277 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3278 field value. Check for IBM long double here.
3279 (do_test): Update calls to test_in_one_mode.
3280
3281 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3282
3283 [BZ #12515]
3284 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3285 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3286
3287 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3288
3289 [BZ #15605]
3290 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3291 generated by the compiler on loop optimizations.
3292 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3293 general definitions.
3294
3295 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3296
3297 * math/bug-nextafter.c: Include <math-tests.h>.
3298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3299 the relevant type.
3300 * math/bug-nexttoward.c: Include <math-tests.h>.
3301 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3302 the relevant type.
3303 * math/test-misc.c: Include <math-tests.h>.
3304 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3305 the relevant type.
3306
3307 2013-06-12 Andreas Jaeger <aj@suse.de>
3308
3309 * po/ia.po: Update Interlingua translation from translation
3310 project.
3311
3312 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3313
3314 * include/fenv.h: Include stdbool.h.
3315 (struct rm_ctx): New structure.
3316 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3317 Define macro.
3318 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3319 (SET_RESTORE_ROUNDF): Likewise.
3320 (SET_RESTORE_ROUNDL): Likewise.
3321 (SET_RESTORE_ROUND_NOEX): Likewise.
3322 (SET_RESTORE_ROUND_NOEXF): Likewise.
3323 (SET_RESTORE_ROUND_NOEXL): Likewise.
3324 (SET_RESTORE_ROUND_53BIT): Likewise.
3325 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3326 (libc_feresetround_noexf_ctx): Likewise.
3327 (libc_feresetround_noexl_ctx): Likewise.
3328 (libc_feholdsetround_53bit_ctx): Likewise.
3329 (libc_feresetround_53bit_ctx): Likewise.
3330 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3331 (libc_feholdexcept_setround_sse_ctx): New function.
3332 (libc_fesetenv_sse_ctx): Likewise.
3333 (libc_feupdateenv_sse_ctx): Likewise.
3334 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3335 (libc_feholdexcept_setround_387_ctx): Likewise.
3336 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3337 (libc_feholdsetround_387_prec_ctx): Likewise.
3338 (libc_feholdsetround_387_ctx): Likewise.
3339 (libc_feholdsetround_387_53bit_ctx): Likewise.
3340 (libc_feholdsetround_sse_ctx): Likewise.
3341 (libc_feresetround_sse_ctx): Likewise.
3342 (libc_feresetround_387_ctx): Likewise.
3343 (libc_feupdateenv_387_ctx): Likewise.
3344 (libc_feholdexcept_setroundf_ctx): Define macro.
3345 (libc_fesetenvf_ctx): Likewise.
3346 (libc_feupdateenvf_ctx): Likewise.
3347 (libc_feholdsetroundf_ctx): Likewise.
3348 (libc_feresetroundf_ctx): Likewise.
3349 (libc_feholdexcept_setround_ctx): Likewise.
3350 (libc_fesetenv_ctx): Likewise.
3351 (libc_feupdateenv_ctx): Likewise.
3352 (libc_feholdsetround_ctx): Likewise.
3353 (libc_feresetround_ctx): Likewise.
3354 (libc_feholdexcept_setroundl_ctx): Likewise.
3355 (libc_feupdateenvl_ctx): Likewise.
3356 (libc_feholdsetroundl_ctx): Likewise.
3357 (libc_feresetroundl_ctx): Likewise.
3358 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3359 (libc_feresetround_53bit_ctx): Likewise.
3360
3361 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3362
3363 * locale/iso-639.def: Convert to UTF-8.
3364
3365 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3366
3367 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3368 (EXCEPTION_TESTS_double): Likewise.
3369 (EXCEPTION_TESTS_long_double): Likewise.
3370 (EXCEPTION_TESTS): Likewise.
3371 * math/libm-test.inc (test_exceptions): Only test exceptions if
3372 EXCEPTION_TESTS (FLOAT).
3373
3374 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3375
3376 * benchtests/Makefile (string-bench): Add strcpy_chk and
3377 stpcpy_chk.
3378 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3379 * benchtests/bench-stpcpy_chk.c: New file.
3380 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3381 * benchtests/bench-strcpy_chk.c: New file.
3382 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3383 code.
3384 (do_test): Likewise.
3385
3386 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3387
3388 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3389 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3390 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3391 with tabs where appropriate.
3392 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3393 dl-procinfo.h.
3394 [PPC_PLATFORM_PPC440]: Likewise.
3395 [PPC_PLATFORM_PPC464]: Likewise.
3396 [PPC_PLATFORM_PPC476]: Likewise.
3397 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3398 ppc464, and ppc476 platform strings merging from ports/
3399 dl-procinfo.h.
3400
3401 2013-06-11 Andreas Schwab <schwab@suse.de>
3402
3403 [BZ #14991]
3404 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3405 (from_ucs4_idx): Regenerate.
3406 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3407 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3408 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3409 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3410 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3411 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3412 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3413 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3414 from FROM_LOOP and TO_LOOP specific macros.
3415 (BODY): Handle combining characters.
3416 * iconvdata/BIG5HKSCS.irreversible: Update.
3417 * iconvdata/BIG5HKSCS.precomposed: New file.
3418 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3419 characters.
3420 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3421
3422 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3423
3424 * include/sys/time.h: Fix indentation and add copyright header.
3425
3426 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3427 (do_test): Likewise.
3428 * string/test-memchr.c (do_one_test): Likewise.
3429 (do_test): Likewise.
3430 * string/test-memcmp.c (do_one_test): Likewise.
3431 (do_test): Likewise.
3432 * string/test-memcpy.c (do_one_test): Likewise.
3433 (do_test): Likewise.
3434 * string/test-memmem.c (do_one_test): Likewise.
3435 (do_test): Likewise.
3436 (do_random_tests): Likewise.
3437 * string/test-memmove.c (do_one_test): Likewise.
3438 (do_test): Likewise.
3439 * string/test-memset.c (do_one_test): Likewise.
3440 (do_test): Likewise.
3441 * string/test-rawmemchr.c (do_one_test): Likewise.
3442 (do_test): Likewise.
3443 * string/test-strcasecmp.c (do_one_test): Likewise.
3444 (do_test): Likewise.
3445 * string/test-strcasestr.c (do_one_test): Likewise.
3446 (do_test): Likewise.
3447 * string/test-strcat.c (do_one_test): Likewise.
3448 (do_test): Likewise.
3449 * string/test-strchr.c (do_one_test): Likewise.
3450 (do_test): Likewise.
3451 * string/test-strcmp.c (do_one_test): Likewise.
3452 (do_test): Likewise.
3453 * string/test-strcpy.c (do_one_test): Likewise.
3454 (do_test): Likewise.
3455 * string/test-string.h: Likewise.
3456 (test_init): Likewise.
3457 * string/test-strlen.c (do_one_test): Likewise.
3458 (do_test): Likewise.
3459 * string/test-strncasecmp.c (do_one_test): Likewise.
3460 (do_test): Likewise.
3461 * string/test-strncat.c (do_one_test): Likewise.
3462 (do_test): Likewise.
3463 * string/test-strncmp.c (do_one_test): Likewise.
3464 (do_test_limit): Likewise.
3465 (do_test): Likewise.
3466 * string/test-strncpy.c (do_one_test): Likewise.
3467 (do_test): Likewise.
3468 * string/test-strnlen.c (do_one_test): Likewise.
3469 (do_test): Likewise.
3470 * string/test-strpbrk.c (do_one_test): Likewise.
3471 (do_test): Likewise.
3472 * string/test-strrchr.c (do_one_test): Likewise.
3473 (do_test): Likewise.
3474 * string/test-strspn.c (do_one_test): Likewise.
3475 (do_test): Likewise.
3476 * string/test-strstr.c (do_one_test): Likewise.
3477 (do_test): Likewise.
3478
3479 * benchtests/Makefile (string-bench): Add string benchmarks.
3480 * benchtests/bench-bcopy-ifunc.c: New file.
3481 * benchtests/bench-bcopy.c: New file.
3482 * benchtests/bench-bzero-ifunc.c: New file.
3483 * benchtests/bench-bzero.c: New file.
3484 * benchtests/bench-memccpy-ifunc.c: New file.
3485 * benchtests/bench-memccpy.c: New file.
3486 * benchtests/bench-memchr-ifunc.c: New file.
3487 * benchtests/bench-memchr.c: New file.
3488 * benchtests/bench-memcmp-ifunc.c: New file.
3489 * benchtests/bench-memcmp.c: New file.
3490 * benchtests/bench-memmem-ifunc.c: New file.
3491 * benchtests/bench-memmem.c: New file.
3492 * benchtests/bench-memmove-ifunc.c: New file.
3493 * benchtests/bench-memmove.c: New file.
3494 * benchtests/bench-mempcpy-ifunc.c: New file.
3495 * benchtests/bench-mempcpy.c: New file.
3496 * benchtests/bench-memset-ifunc.c: New file.
3497 * benchtests/bench-memset.c: New file.
3498 * benchtests/bench-rawmemchr-ifunc.c: New file.
3499 * benchtests/bench-rawmemchr.c: New file.
3500 * benchtests/bench-stpcpy-ifunc.c: New file.
3501 * benchtests/bench-stpcpy.c: New file.
3502 * benchtests/bench-stpncpy-ifunc.c: New file.
3503 * benchtests/bench-stpncpy.c: New file.
3504 * benchtests/bench-strcasecmp-ifunc.c: New file.
3505 * benchtests/bench-strcasecmp.c: New file.
3506 * benchtests/bench-strcasestr-ifunc.c: New file.
3507 * benchtests/bench-strcasestr.c: New file.
3508 * benchtests/bench-strcat-ifunc.c: New file.
3509 * benchtests/bench-strcat.c: New file.
3510 * benchtests/bench-strchr-ifunc.c: New file.
3511 * benchtests/bench-strchr.c: New file.
3512 * benchtests/bench-strchrnul-ifunc.c: New file.
3513 * benchtests/bench-strchrnul.c: New file.
3514 * benchtests/bench-strcmp-ifunc.c: New file.
3515 * benchtests/bench-strcmp.c: New file.
3516 * benchtests/bench-strcpy-ifunc.c: New file.
3517 * benchtests/bench-strcpy.c: New file.
3518 * benchtests/bench-strcspn-ifunc.c: New file.
3519 * benchtests/bench-strcspn.c: New file.
3520 * benchtests/bench-strlen-ifunc.c: New file.
3521 * benchtests/bench-strlen.c: New file.
3522 * benchtests/bench-strncasecmp-ifunc.c: New file.
3523 * benchtests/bench-strncasecmp.c: New file.
3524 * benchtests/bench-strncat-ifunc.c: New file.
3525 * benchtests/bench-strncat.c: New file.
3526 * benchtests/bench-strncmp-ifunc.c: New file.
3527 * benchtests/bench-strncmp.c: New file.
3528 * benchtests/bench-strncpy-ifunc.c: New file.
3529 * benchtests/bench-strncpy.c: New file.
3530 * benchtests/bench-strnlen-ifunc.c: New file.
3531 * benchtests/bench-strnlen.c: New file.
3532 * benchtests/bench-strpbrk-ifunc.c: New file.
3533 * benchtests/bench-strpbrk.c: New file.
3534 * benchtests/bench-strrchr-ifunc.c: New file.
3535 * benchtests/bench-strrchr.c: New file.
3536 * benchtests/bench-strspn-ifunc.c: New file.
3537 * benchtests/bench-strspn.c: New file.
3538 * benchtests/bench-strstr-ifunc.c: New file.
3539 * benchtests/bench-strstr.c: New file.
3540
3541 * benchtests/Makefile: Disable parallel execution of targets.
3542 (string-bench): Add memcpy.
3543 (benchset): New variable to store a list of benchmark sets.
3544 (bench-func): Renamed from bench.
3545 (bench-set): New target.
3546 (bench): Depend on bench-func and bench-set.
3547 * benchtests/README: Add section on benchmark sets.
3548 * benchtests/bench-memcpy-ifunc.c: New file.
3549 * benchtests/bench-memcpy.c: New file.
3550 * benchtests/bench-string.h: New file.
3551
3552 2013-06-11 Andreas Schwab <schwab@suse.de>
3553
3554 [BZ #15577]
3555 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3556 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3557 values in the triple.
3558 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3559 terminator in the group key.
3560
3561 2013-06-11 Andreas Jaeger <aj@suse.de>
3562
3563 * po/zh_TW.po: Update Chinese (traditional) translation from
3564 translation project.
3565
3566 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3567
3568 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3569 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3570 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3572 (clock_getcpuclockid): Likewise.
3573 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3574 Add weak_alias and libc_hidden_def.
3575 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3576 * rt/clock_gettime.c (clock_gettime): Rename to
3577 __clock_gettime. Add weak_alias and libc_hidden_def.
3578 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3579 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3580 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3581 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3582 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3583 Likewise.
3584 * rt/clock_settime.c (clock_settime): Rename to
3585 __clock_settime. Add weak_alias and libc_hidden_def.
3586 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3587
3588 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3589
3590 * mach/err_boot.sub: Remove trailing whitespace.
3591 * mach/err_ipc.sub: Likewise.
3592 * mach/err_mach.sub: Likewise.
3593
3594 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3595 (ROUNDING_TESTS_double): Likewise.
3596 (ROUNDING_TESTS_long_double): Likewise.
3597 (ROUNDING_TESTS): Likewise.
3598 * math/libm-test.inc: Include <math-tests.h>.
3599 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3600 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3601 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3602 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3603
3604 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3605
3606 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3607 of assigning.
3608
3609 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3610
3611 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3612 otherwise empty TRANS lines.
3613 * sysdeps/gnu/errlist.c: Regenerated.
3614
3615 * catgets/gencat.c (error_print): Use (void) in function
3616 definition.
3617 * crypt/crypt_util.c (__init_des): Likewise.
3618 * crypt/speeds.c (Stop): Likewise.
3619 (main): Likewise.
3620 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3621 * inet/ruserpass.c (token): Likewise.
3622 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3623 * intl/localealias.c (extend_alias_table): Likewise.
3624 * intl/plural-exp.c (init_germanic_plural): Likewise.
3625 * libio/fcloseall.c (__fcloseall): Likewise.
3626 * libio/genops.c (_IO_flush_all): Likewise.
3627 (_IO_flush_all_linebuffered): Likewise.
3628 (_IO_cleanup): Likewise.
3629 (_IO_iter_begin): Likewise.
3630 (_IO_iter_end): Likewise.
3631 (_IO_list_lock): Likewise.
3632 (_IO_list_unlock): Likewise.
3633 (_IO_list_resetlock): Likewise.
3634 * libio/getchar.c (getchar): Likewise.
3635 * libio/getchar_u.c (getchar_unlocked): Likewise.
3636 * libio/getwchar.c (getwchar): Likewise.
3637 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3638 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3639 * login/getpt.c (__getpt): Likewise.
3640 * login/tst-utmp.c (main): Likewise.
3641 * malloc/hooks.c (__malloc_check_init): Likewise.
3642 * malloc/malloc.c (__malloc_stats): Likewise.
3643 * malloc/mtrace.c (tr_break): Likewise.
3644 (mtrace): Likewise.
3645 (muntrace): Likewise.
3646 * misc/fstab.c (endfsent): Likewise.
3647 * misc/getclktck.c (__getclktck): Likewise.
3648 * misc/getdtsz.c (__getdtablesize): Likewise.
3649 * misc/gethostid.c (gethostid): Likewise.
3650 * misc/getpagesize.c (__getpagesize): Likewise.
3651 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3652 (__get_nprocs): Likewise.
3653 (__get_phys_pages): Likewise.
3654 (__get_avphys_pages): Likewise.
3655 * misc/getttyent.c (getttyent): Likewise.
3656 (setttyent): Likewise.
3657 (endttyent): Likewise.
3658 * misc/getusershell.c (getusershell): Likewise.
3659 (endusershell): Likewise.
3660 (setusershell): Likewise.
3661 (initshells): Likewise.
3662 * misc/hsearch.c (__hdestroy): Likewise.
3663 * misc/sync.c (sync): Likewise.
3664 * misc/syslog.c (closelog_internal): Likewise.
3665 (closelog): Likewise.
3666 * misc/ttyslot.c (ttyslot): Likewise.
3667 * misc/vhangup.c (vhangup): Likewise.
3668 * posix/fork.c (__fork): Likewise.
3669 * posix/getegid.c (__getegid): Likewise.
3670 * posix/geteuid.c (__geteuid): Likewise.
3671 * posix/getgid.c (__getgid): Likewise.
3672 * posix/getpid.c (__getpid): Likewise.
3673 * posix/getppid.c (__getppid): Likewise.
3674 * posix/getuid.c (__getuid): Likewise.
3675 * posix/pause.c (pause): Likewise.
3676 * posix/setpgrp.c (setpgrp): Likewise.
3677 * posix/setsid.c (__setsid): Likewise.
3678 * posix/test-vfork.c (noop): Likewise.
3679 * resolv/gethnamaddr.c (_endhtent): Likewise.
3680 (_gethtent): Likewise.
3681 (ht_endhostent): Likewise.
3682 (gethostent): Likewise.
3683 (dns_service): Likewise.
3684 * stdlib/drand48.c (drand48): Likewise.
3685 * stdlib/lrand48.c (lrand48): Likewise.
3686 * stdlib/mrand48.c (mrand48): Likewise.
3687 * stdlib/rand.c (rand): Likewise.
3688 * stdlib/random.c (__random): Likewise.
3689 * stdlib/setenv.c (clearenv): Likewise.
3690 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3691 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3692 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3693 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3694 (__get_nprocs): Likewise.
3695 (__get_phys_pages): Likewise.
3696 (__get_avphys_pages): Likewise.
3697 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3698 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3699 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3700 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3701 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3702 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3703 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3704 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3705 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3706 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3707 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3708 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3709 * sysdeps/posix/clock.c (clock): Likewise.
3710 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3711 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3712 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3713 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3714 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3716 (__get_nprocs_conf): Likewise.
3717 (__get_phys_pages): Likewise.
3718 (__get_avphys_pages): Likewise.
3719 * time/clock.c (clock): Likewise.
3720 * time/tzset.c (__tzname_max): Likewise.
3721
3722 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3723
3724 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3725 (__bswap_32): Do not use "register".
3726 * crypt/crypt.c (_ufc_doit_r): Likewise.
3727 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3728 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3729 * gmon/gmon.c (__monstartup): Likewise.
3730 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3731 * hurd/hurdmalloc.c (more_memory): Likewise.
3732 (malloc): Likewise.
3733 (free): Likewise.
3734 (realloc): Likewise.
3735 (malloc_fork_prepare): Likewise.
3736 (malloc_fork_parent): Likewise.
3737 (malloc_fork_child): Likewise.
3738 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3739 (_svcauth_des): Likewise.
3740 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3741 * inet/inet_net.c (inet_network): Likewise.
3742 * inet/inet_netof.c (inet_netof): Likewise.
3743 * inet/rcmd.c (__validuser2_sa): Likewise.
3744 * io/fts.c (fts_open): Likewise.
3745 (fts_load): Likewise.
3746 (fts_close): Likewise.
3747 (fts_read): Likewise.
3748 (fts_children): Likewise.
3749 (fts_build): Likewise.
3750 (fts_stat): Likewise.
3751 (fts_sort): Likewise.
3752 (fts_alloc): Likewise.
3753 (fts_lfree): Likewise.
3754 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3755 (_IO_file_xsgetn): Likewise.
3756 (_IO_file_xsgetn_mmap): Likewise.
3757 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3758 (_IO_cookie_write): Likewise.
3759 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3760 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3761 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3762 * malloc/obstack.c (_obstack_begin): Likewise.
3763 (_obstack_begin_1): Likewise.
3764 (_obstack_newchunk): Likewise.
3765 (_obstack_allocated_p): Likewise.
3766 (obstack_free): Likewise.
3767 (_obstack_memory_used): Likewise.
3768 * misc/getttyent.c (getttynam): Likewise.
3769 (getttyent): Likewise.
3770 (skip): Likewise.
3771 (value): Likewise.
3772 * misc/getusershell.c (initshells): Likewise.
3773 * misc/syslog.c (__vsyslog_chk): Likewise.
3774 * misc/ttyslot.c (ttyslot): Likewise.
3775 * nis/nis_hash.c (__nis_hash): Likewise.
3776 * posix/fnmatch_loop.c (FCT): Likewise.
3777 * posix/getconf.c (print_all): Likewise.
3778 (main): Likewise.
3779 * posix/getopt.c (exchange): Likewise.
3780 * posix/glob.c (globfree): Likewise.
3781 (prefix_array): Likewise.
3782 (__glob_pattern_type): Likewise.
3783 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3784 (NS_GET32): Likewise.
3785 (NS_PUT16): Likewise.
3786 (NS_PUT32): Likewise.
3787 * resolv/gethnamaddr.c (getanswer): Likewise.
3788 (gethostbyname2): Likewise.
3789 (gethostbyaddr): Likewise.
3790 (_gethtent): Likewise.
3791 (_gethtbyname2): Likewise.
3792 (_gethtbyaddr): Likewise.
3793 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3794 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3795 * resolv/res_init.c (__res_vinit): Likewise.
3796 (net_mask): Likewise.
3797 * resolv/res_mkquery.c (outchar): Likewise.
3798 (PRINT): Likewise.
3799 * stdio-common/printf_fp.c (outchar): Likewise.
3800 (PRINT): Likewise.
3801 * stdio-common/printf_fphex.c (outchar): Likewise.
3802 (PRINT): Likewise.
3803 * stdio-common/printf_size.c (outchar): Likewise.
3804 (PRINT): Likewise.
3805 * stdio-common/test_rdwr.c (main): Likewise.
3806 * stdio-common/tfformat.c (matches): Likewise.
3807 * stdio-common/vfprintf.c (outchar): Likewise.
3808 (printf_unknown): Likewise.
3809 (buffered_vfprintf): Likewise.
3810 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3811 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3812 (ReadFile): Likewise.
3813 * stdlib/qsort.c (SWAP): Likewise.
3814 (_quicksort): Likewise.
3815 * stdlib/setenv.c (__add_to_environ): Likewise.
3816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3817 * stdlib/strtol_l.c (__strtol_l): Likewise.
3818 * stdlib/tst-strtod.c (main): Likewise.
3819 * stdlib/tst-strtol.c (main): Likewise.
3820 * stdlib/tst-strtoll.c (main): Likewise.
3821 * string/bits/string2.h (__strcmp_cc): Likewise.
3822 (__strcmp_cg): Likewise.
3823 (__strcspn_c1): Likewise.
3824 (__strcspn_c2): Likewise.
3825 (__strcspn_c3): Likewise.
3826 (__strspn_c1): Likewise.
3827 (__strspn_c2): Likewise.
3828 (__strspn_c3): Likewise.
3829 (__strsep_1c): Likewise.
3830 (__strsep_2c): Likewise.
3831 (__strsep_3c): Likewise.
3832 * string/memccpy.c (__memccpy): Likewise.
3833 * string/stpcpy.c (__stpcpy): Likewise.
3834 * string/strcmp.c (strcmp): Likewise.
3835 * string/strrchr.c (strrchr): Likewise.
3836 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3837 Likewise.
3838 * sysdeps/mach/hurd/getcwd.c
3839 (_hurd_canonicalize_directory_name_internal): Likewise.
3840 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3841 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3842 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3843 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3844 Likewise, in both definitions.
3845 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3846 definitions.
3847 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3848 64] (__bswap_64): Likewise.
3849 * time/test_time.c (main): Likewise.
3850 * time/tzfile.c (__tzfile_read): Likewise.
3851 (__tzfile_compute): Likewise.
3852 * time/tzset.c (__tzset_parse_tz): Likewise.
3853 (tzset_internal): Likewise.
3854 (compute_change): Likewise.
3855 * wcsmbs/wcscat.c (__wcscat): Likewise.
3856 * wcsmbs/wcschr.c (wcschr): Likewise.
3857 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3858 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3859 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3860 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3861 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3862 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3863 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3864 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3865 * wcsmbs/wmemset.c (wmemset): Likewise.
3866
3867 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3868
3869 * scripts/config.guess: Update to version 2013-05-16.
3870 * scripts/config.sub: Update to version 2013-04-24.
3871 * scripts/install-sh: Update to version 2011-11-20.07.
3872 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3873 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3874
3875 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3876
3877 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3878 * elf/sln.c: Likewise.
3879 * hurd/hurd/ioctl.h: Likewise.
3880 * hurd/hurdmalloc.c: Likewise.
3881 * hurd/xattr.c: Likewise.
3882 * include/shlib-compat.h: Likewise.
3883 * inet/ruserpass.c: Likewise.
3884 * libio/iofgets_u.c: Likewise.
3885 * libio/iofgetws_u.c: Likewise.
3886 * locale/programs/ld-identification.c: Likewise.
3887 * locale/programs/ld-time.c: Likewise.
3888 * mach/msg-destroy.c: Likewise.
3889 * nss/nss_files/files-netgrp.c: Likewise.
3890 * resolv/res_data.c: Likewise.
3891 * soft-fp/op-1.h: Likewise.
3892 * soft-fp/op-2.h: Likewise.
3893 * soft-fp/op-4.h: Likewise.
3894 * soft-fp/op-common.h: Likewise.
3895 * stdio-common/printf_fphex.c: Likewise.
3896 * stdlib/strtod_l.c: Likewise.
3897 * sunrpc/rpc/clnt.h: Likewise.
3898 * sysdeps/generic/framestate.c: Likewise.
3899 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3900 * sysdeps/i386/bsd-setjmp.S: Likewise.
3901 * sysdeps/i386/__longjmp.S: Likewise.
3902 * sysdeps/i386/setjmp.S: Likewise.
3903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3904 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3905 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3921 * sysdeps/ieee754/support.c: Likewise.
3922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3923 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3924 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3925 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3926 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3927 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3928 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3929 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3930 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3931 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3932 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3933 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3934 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3935 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3936 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3937 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3938 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3940
3941 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3942
3943 * posix/transbug.c: Remove executable mode.
3944
3945 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3946
3947 * crypt/speeds.c: Remove trailing whitespace.
3948 * dlfcn/default.c: Likewise.
3949 * elf/ifuncdep2.c: Likewise.
3950 * elf/ifuncmain1.c: Likewise.
3951 * elf/ifuncmain1vis.c: Likewise.
3952 * elf/testobj.h: Likewise.
3953 * elf/tst-stackguard1.c: Likewise.
3954 * gmon/sys/gmon.h: Likewise.
3955 * hurd/hurdmsg.c: Likewise.
3956 * hurd/new-fd.c: Likewise.
3957 * hurd/ports-get.c: Likewise.
3958 * iconvdata/ibm1008_420.c: Likewise.
3959 * inet/tst-getni1.c: Likewise.
3960 * inet/tst-getni2.c: Likewise.
3961 * libio/ioungetc.c: Likewise.
3962 * libio/wfiledoalloc.c: Likewise.
3963 * manual/libm-err-tab.pl: Likewise.
3964 * math/w_dremf.c: Likewise.
3965 * misc/ftruncate.c: Likewise.
3966 * posix/bug-glob2.c: Likewise.
3967 * posix/tst-pcre.c: Likewise.
3968 * posix/wait4.c: Likewise.
3969 * resolv/README: Likewise.
3970 * resolv/res_debug.h: Likewise.
3971 * resolv/tst-inet_ntop.c: Likewise.
3972 * setjmp/bug269-setjmp.c: Likewise.
3973 * soft-fp/extended.h: Likewise.
3974 * soft-fp/op-1.h: Likewise.
3975 * soft-fp/op-2.h: Likewise.
3976 * soft-fp/op-4.h: Likewise.
3977 * soft-fp/op-8.h: Likewise.
3978 * soft-fp/testit.c: Likewise.
3979 * stdio-common/bug16.c: Likewise.
3980 * stdlib/random.c: Likewise.
3981 * sunrpc/rpcsvc/rquota.x: Likewise.
3982 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3983 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3985 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3986 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3987 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3988 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3990 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3991 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3992 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3998 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4000 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4011 * sysdeps/ieee754/s_lib_version.c: Likewise.
4012 * sysdeps/mach/hurd/check_fds.c: Likewise.
4013 * sysdeps/mach/hurd/getsockname.c: Likewise.
4014 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4015 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4016 * sysdeps/powerpc/bits/link.h: Likewise.
4017 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4018 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4019 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4020 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4021 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4022 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4023 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4024 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4025 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4026 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4027 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4028 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4029 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4030 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4031 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4032 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4033 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4034 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4036 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4037 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4038 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4040 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4041 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4044 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4046 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4049 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4051 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4052 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4053 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4054 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4055 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4056 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4057 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4058 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4059 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4060 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4061 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4062 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4063 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4064 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4065 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4066 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4069 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4070 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4071 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4072 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4073 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4074 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4075 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4076 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4077 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4078 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4079 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4080 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4081 * sysdeps/powerpc/sysdep.h: Likewise.
4082 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4083 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4084 * sysdeps/sh/dl-trampoline.S: Likewise.
4085 * sysdeps/sh/memset.S: Likewise.
4086 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4087 * sysdeps/sh/strlen.S: Likewise.
4088 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4089 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4090 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4091 * sysdeps/sparc/sparc32/rem.S: Likewise.
4092 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4093 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4094 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4095 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4096 * sysdeps/sparc/sparc32/urem.S: Likewise.
4097 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4098 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4099 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4100 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4101 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4102 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4103 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4104 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4105 * sysdeps/unix/bsd/times.c: Likewise.
4106 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4107 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4111 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4112 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4113 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4114 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4115 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4116 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4117 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4118 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4119 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4120 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4121 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4122 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4123 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4124 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4125 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4126 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4127 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4128 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4129 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4130 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4131 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4132 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4133 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4134 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4135 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4136 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4137 * sysdeps/x86_64/strcspn.S: Likewise.
4138
4139 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4140
4141 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4142 generated file. Regenerate properly from gen-translit.pl.
4143 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4144 locale/C-translit.h.
4145
4146 2013-06-05 Andreas Schwab <schwab@suse.de>
4147
4148 [BZ #15100]
4149 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4150 week as 6 instead of -1.
4151 * time/tst-strptime.c (day_tests): Add test case.
4152
4153 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4154
4155 * sysdeps/generic/math_private.h
4156 (libc_feholdexcept_setround_53bit): Replace with
4157 libc_feholdsetround_53bit.
4158 (libc_feupdateenv_53bit): Replace with
4159 libc_feresetround_53bit.
4160 (SET_RESTORE_ROUND_53BIT): Adjust.
4161
4162 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4163
4164 * string/test-strchrnul.c: Add copyright header.
4165
4166 * posix/tst-getaddrinfo4.c: Increase test timeout.
4167
4168 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4169
4170 [BZ #15536]
4171 * math/libm-test.inc (MAX_EXP): Remove
4172 (MIN_EXP): Define.
4173 (ulp): Use MIN_EXP - MANT_DIG.
4174 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4175
4176 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4177
4178 * po/be.po: Revert last change.
4179 * po/zh_CN.po: Likewise.
4180 * po/header.pot: Likewise.
4181
4182 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4183
4184 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4185 link-libc-deps to empty as target-specific variable.
4186 * Makerules (link-libc-args): New variable.
4187 (libc-for-link): Likewise.
4188 (link-libc-deps): Likewise.
4189 (lib%.so): Depend on $(link-libc-deps). Link with
4190 $(link-libc-args).
4191 (build-module): Link with $(link-libc-args).
4192 (build-module-asneeded): Likewise.
4193 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4194 list of objects.
4195 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4196 target-specific variable.
4197 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4198 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4199 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4200 libc.
4201 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4202 libc and ld.so.
4203 ($(objpfx)libpcprofile.so): Likewise.
4204 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4205 libc_nonshared.a.
4206 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4207 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4208 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4209 $(link-libc-deps).
4210 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4211 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4212 * login/Makefile ($(objpfx)libutil.so): Likewise.
4213 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4214 * math/Makefile ($(objpfx)libm.so): Likewise.
4215 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4216 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4217 variable instead of depending directly on libc.
4218 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4219 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4220 $(link-libc-deps).
4221 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4222 libc.
4223 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4224 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4225 ($(objpfx)libanl.so): Likewise.
4226 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4227 ld.so.
4228 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4229 $(link-libc-deps).
4230 * sysdeps/i386/fpu/Makefile: Remove file.
4231 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4232 ($(objpfx)libm.so): Remove dependency on ld.so.
4233
4234 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4235
4236 [BZ # 15553]
4237 * nis/yp_xdr.c (XDRMAXNAME): Define.
4238 (XDRMAXRECORD): Define.
4239 (xdr_domainname): Use XDRMAXNAME.
4240 (xdr_mapname): Likewise.
4241 (xdr_peername): Likewise.
4242 (xdr_keydat): Use XDRMAXRECORD.
4243 (xdr_valdat): Likewise.
4244
4245 2013-05-30 Jeff Law <law@redhat.com>
4246
4247 [BZ #14256]
4248 * manual/errno.texi (ESTALE): Update to account for more than
4249 just NFS file systems.
4250 * sysdeps/gnu/errlist.c: Regenerated.
4251
4252 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4253
4254 [BZ #15465]
4255 * elf/Makefile (tests): Add tst-null-argv.
4256 (modules-names): Add tst-null-argv-lib.
4257 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4258 (tst-null-argv-ENV): Set environment for tst-null-argv.
4259 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4260 (RTLD_PROGNAME): New macro.
4261 * elf/tst-null-argv.c: New test case.
4262 * elf/tst-null-argv-lib.c: Library for test case.
4263 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4264 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4265 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4266 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4267 * elf/dl-init.c (call_init): Likewise.
4268 (_dl_init): Likewise.
4269 * elf/dl-load.c (print_search_path): Likewise.
4270 (_dl_map_object): Likewise.
4271 * elf/dl-lookup.c (do_lookup_x): Likewise.
4272 (add_dependency): Likewise.
4273 (_dl_lookup_symbol_x): Likewise.
4274 (_dl_debug_bindings): Likewise.
4275 * elf/dl-open.c (_dl_show_scope): Likewise.
4276 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4277 * elf/dl-version.c (match_symbol): Likewise.
4278 (_dl_check_map_versions): Likewise.
4279 * elf/rtld.c (dl_main): Likewise.
4280 (print_unresolved): Use RTLD_PROGNAME.
4281 (print_missing_version): Likewise.
4282 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4283 (elf_machine_rela): Likewise.
4284 * sysdeps/powerpc/powerpc32/dl-machine.c
4285 (__process_machine_rela): Likewise.
4286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4287 Likewise.
4288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4289 Likewise.
4290 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4291 Likewise.
4292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4294 Likewise.
4295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4296 Likewise.
4297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4298
4299 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4300
4301 * po/be.po: Add descriptive title.
4302 * po/zh_CN.po: Likewise.
4303 * po/header.pot: Likewise.
4304
4305 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4306
4307 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4308 error message.
4309 (enlarge_archive): Likewise.
4310
4311 2013-05-28 Ben North <ben@redfrontdoor.org>
4312
4313 * manual/arith.texi (frexp): It is the magnitude of the return
4314 value which lies in [0.5, 1), not the return value itself.
4315
4316 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4317
4318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4319
4320 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4321
4322 * stdio-common/bug26.c (main): Correct fscanf template.
4323
4324 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4325 declare _dl_skip_args.
4326
4327 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4328 Don't declare.
4329
4330 * manual/platform.texi: Add missing @end deftypefun.
4331
4332 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4333
4334 [BZ #15529]
4335 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4336 bit of mantissa of 2^16382.
4337 * math/libm-test.inc (hypot_test_data): Add more tests.
4338
4339 * math/libm-test.inc: Add drem and pow10 to list of tested
4340 functions.
4341 (pow10_test): New function.
4342 (drem_test): Likewise.
4343 (drem_test_tonearest): Likewise.
4344 (drem_test_towardzero): Likewise.
4345 (drem_test_downward): Likewise.
4346 (drem_test_upward): Likewise.
4347 (main): Call the new functions.
4348
4349 * math/libm-test.inc (finite_test_data): Remove.
4350 (finite_test): Run tests from isfinite_test_data.
4351 (gamma_test_data): Remove.
4352 (gamma_test): Run tests from lgamma_test_data.
4353 * sysdeps/i386/fpu/libm-test-ulps: Update.
4354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4355
4356 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4357
4358 * manual/platform.texi: Add PowerPC PPR function set documentation.
4359 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4360 implementation.
4361
4362 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4363
4364 * math/libm-test.inc (MAX_EXP): Define.
4365 (ULPDIFF): Define.
4366 (ulp): New function.
4367 (check_float_internal): Use ULPDIFF.
4368 (cpow_test): Disable failing test.
4369 (check_ulp): Test ulp() implemetnation.
4370 (main): Call check_ulp before starting tests.
4371
4372 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4373
4374 * math/gen-libm-test.pl (generate_testfile): Do not handle
4375 START_DATA and END_DATA.
4376 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4377 END_DATA.
4378 (acos_tonearest_test_data): Likewise.
4379 (acos_towardzero_test_data): Likewise.
4380 (acos_downward_test_data): Likewise.
4381 (acos_upward_test_data): Likewise.
4382 (acosh_test_data): Likewise.
4383 (asin_test_data): Likewise.
4384 (asin_tonearest_test_data): Likewise.
4385 (asin_towardzero_test_data): Likewise.
4386 (asin_downward_test_data): Likewise.
4387 (asin_upward_test_data): Likewise.
4388 (asinh_test_data): Likewise.
4389 (atan_test_data): Likewise.
4390 (atanh_test_data): Likewise.
4391 (atan2_test_data): Likewise.
4392 (cabs_test_data): Likewise.
4393 (cacos_test_data): Likewise.
4394 (cacosh_test_data): Likewise.
4395 (carg_test_data): Likewise.
4396 (casin_test_data): Likewise.
4397 (casinh_test_data): Likewise.
4398 (catan_test_data): Likewise.
4399 (catanh_test_data): Likewise.
4400 (cbrt_test_data): Likewise.
4401 (ccos_test_data): Likewise.
4402 (ccosh_test_data): Likewise.
4403 (ceil_test_data): Likewise.
4404 (cexp_test_data): Likewise.
4405 (cimag_test_data): Likewise.
4406 (clog_test_data): Likewise.
4407 (clog10_test_data): Likewise.
4408 (conj_test_data): Likewise.
4409 (copysign_test_data): Likewise.
4410 (cos_test_data): Likewise.
4411 (cos_tonearest_test_data): Likewise.
4412 (cos_towardzero_test_data): Likewise.
4413 (cos_downward_test_data): Likewise.
4414 (cos_upward_test_data): Likewise.
4415 (cosh_test_data): Likewise.
4416 (cosh_tonearest_test_data): Likewise.
4417 (cosh_towardzero_test_data): Likewise.
4418 (cosh_downward_test_data): Likewise.
4419 (cosh_upward_test_data): Likewise.
4420 (cpow_test_data): Likewise.
4421 (cproj_test_data): Likewise.
4422 (creal_test_data): Likewise.
4423 (csin_test_data): Likewise.
4424 (csinh_test_data): Likewise.
4425 (csqrt_test_data): Likewise.
4426 (ctan_test_data): Likewise.
4427 (ctan_tonearest_test_data): Likewise.
4428 (ctan_towardzero_test_data): Likewise.
4429 (ctan_downward_test_data): Likewise.
4430 (ctan_upward_test_data): Likewise.
4431 (ctanh_test_data): Likewise.
4432 (ctanh_tonearest_test_data): Likewise.
4433 (ctanh_towardzero_test_data): Likewise.
4434 (ctanh_downward_test_data): Likewise.
4435 (ctanh_upward_test_data): Likewise.
4436 (erf_test_data): Likewise.
4437 (erfc_test_data): Likewise.
4438 (exp_test_data): Likewise.
4439 (exp_tonearest_test_data): Likewise.
4440 (exp_towardzero_test_data): Likewise.
4441 (exp_downward_test_data): Likewise.
4442 (exp_upward_test_data): Likewise.
4443 (exp10_test_data): Likewise.
4444 (exp2_test_data): Likewise.
4445 (expm1_test_data): Likewise.
4446 (fabs_test_data): Likewise.
4447 (fdim_test_data): Likewise.
4448 (finite_test_data): Likewise.
4449 (floor_test_data): Likewise.
4450 (fma_test_data): Likewise.
4451 (fma_towardzero_test_data): Likewise.
4452 (fma_downward_test_data): Likewise.
4453 (fma_upward_test_data): Likewise.
4454 (fmax_test_data): Likewise.
4455 (fmin_test_data): Likewise.
4456 (fmod_test_data): Likewise.
4457 (fpclassify_test_data): Likewise.
4458 (frexp_test_data): Likewise.
4459 (gamma_test_data): Likewise.
4460 (hypot_test_data): Likewise.
4461 (ilogb_test_data): Likewise.
4462 (isfinite_test_data): Likewise.
4463 (isgreater_test_data): Likewise.
4464 (isgreaterequal_test_data): Likewise.
4465 (isinf_test_data): Likewise.
4466 (isless_test_data): Likewise.
4467 (islessequal_test_data): Likewise.
4468 (islessgreater_test_data): Likewise.
4469 (isnan_test_data): Likewise.
4470 (isnormal_test_data): Likewise.
4471 (issignaling_test_data): Likewise.
4472 (isunordered_test_data): Likewise.
4473 (j0_test_data): Likewise.
4474 (j1_test_data): Likewise.
4475 (jn_test_data): Likewise.
4476 (ldexp_test_data): Likewise.
4477 (lgamma_test_data): Likewise.
4478 (lrint_test_data): Likewise.
4479 (lrint_tonearest_test_data): Likewise.
4480 (lrint_towardzero_test_data): Likewise.
4481 (lrint_downward_test_data): Likewise.
4482 (lrint_upward_test_data): Likewise.
4483 (llrint_test_data): Likewise.
4484 (llrint_tonearest_test_data): Likewise.
4485 (llrint_towardzero_test_data): Likewise.
4486 (llrint_downward_test_data): Likewise.
4487 (llrint_upward_test_data): Likewise.
4488 (log_test_data): Likewise.
4489 (log10_test_data): Likewise.
4490 (log1p_test_data): Likewise.
4491 (log2_test_data): Likewise.
4492 (logb_test_data): Likewise.
4493 (logb_downward_test_data): Likewise.
4494 (lround_test_data): Likewise.
4495 (llround_test_data): Likewise.
4496 (modf_test_data): Likewise.
4497 (nearbyint_test_data): Likewise.
4498 (nextafter_test_data): Likewise.
4499 (nexttoward_test_data): Likewise.
4500 (pow_test_data): Likewise.
4501 (pow_tonearest_test_data): Likewise.
4502 (pow_towardzero_test_data): Likewise.
4503 (pow_downward_test_data): Likewise.
4504 (pow_upward_test_data): Likewise.
4505 (remainder_test_data): Likewise.
4506 (remainder_tonearest_test_data): Likewise.
4507 (remainder_towardzero_test_data): Likewise.
4508 (remainder_downward_test_data): Likewise.
4509 (remainder_upward_test_data): Likewise.
4510 (remquo_test_data): Likewise.
4511 (rint_test_data): Likewise.
4512 (rint_tonearest_test_data): Likewise.
4513 (rint_towardzero_test_data): Likewise.
4514 (rint_downward_test_data): Likewise.
4515 (rint_upward_test_data): Likewise.
4516 (round_test_data): Likewise.
4517 (scalb_test_data): Likewise.
4518 (scalbn_test_data): Likewise.
4519 (scalbln_test_data): Likewise.
4520 (signbit_test_data): Likewise.
4521 (sin_test_data): Likewise.
4522 (sin_tonearest_test_data): Likewise.
4523 (sin_towardzero_test_data): Likewise.
4524 (sin_downward_test_data): Likewise.
4525 (sin_upward_test_data): Likewise.
4526 (sincos_test_data): Likewise.
4527 (sinh_test_data): Likewise.
4528 (sinh_tonearest_test_data): Likewise.
4529 (sinh_towardzero_test_data): Likewise.
4530 (sinh_downward_test_data): Likewise.
4531 (sinh_upward_test_data): Likewise.
4532 (sqrt_test_data): Likewise.
4533 (tan_test_data): Likewise.
4534 (tan_tonearest_test_data): Likewise.
4535 (tan_towardzero_test_data): Likewise.
4536 (tan_downward_test_data): Likewise.
4537 (tan_upward_test_data): Likewise.
4538 (tanh_test_data): Likewise.
4539 (tgamma_test_data): Likewise.
4540 (trunc_test_data): Likewise.
4541 (y0_test_data): Likewise.
4542 (y1_test_data): Likewise.
4543 (yn_test_data): Likewise.
4544 (significand_test_data): Likewise.
4545
4546 * math/gen-libm-test.pl (@functions): Remove variable.
4547 (generate_testfile): Don't handle START and END lines.
4548 * math/libm-test.inc (START): New macro.
4549 (END): Likewise.
4550 (END_COMPLEX): Likewise.
4551 (acos_test): Use END macro without arguments.
4552 (acos_test_tonearest): Likewise.
4553 (acos_test_towardzero): Likewise.
4554 (acos_test_downward): Likewise.
4555 (acos_test_upward): Likewise.
4556 (acosh_test): Likewise.
4557 (asin_test): Likewise.
4558 (asin_test_tonearest): Likewise.
4559 (asin_test_towardzero): Likewise.
4560 (asin_test_downward): Likewise.
4561 (asin_test_upward): Likewise.
4562 (asinh_test): Likewise.
4563 (atan_test): Likewise.
4564 (atanh_test): Likewise.
4565 (atan2_test): Likewise.
4566 (cabs_test): Likewise.
4567 (cacos_test): Use END_COMPLEX macro without arguments.
4568 (cacosh_test): Likewise.
4569 (carg_test): Use END macro without arguments.
4570 (casin_test): Use END_COMPLEX macro without arguments.
4571 (casinh_test): Likewise.
4572 (catan_test): Likewise.
4573 (catanh_test): Likewise.
4574 (cbrt_test): Use END macro without arguments.
4575 (ccos_test): Use END_COMPLEX macro without arguments.
4576 (ccosh_test): Likewise.
4577 (ceil_test): Use END macro without arguments.
4578 (cexp_test): Use END_COMPLEX macro without arguments.
4579 (cimag_test): Use END macro without arguments.
4580 (clog_test): Use END_COMPLEX macro without arguments.
4581 (clog10_test): Likewise.
4582 (conj_test): Likewise.
4583 (copysign_test): Use END macro without arguments.
4584 (cos_test): Likewise.
4585 (cos_test_tonearest): Likewise.
4586 (cos_test_towardzero): Likewise.
4587 (cos_test_downward): Likewise.
4588 (cos_test_upward): Likewise.
4589 (cosh_test): Likewise.
4590 (cosh_test_tonearest): Likewise.
4591 (cosh_test_towardzero): Likewise.
4592 (cosh_test_downward): Likewise.
4593 (cosh_test_upward): Likewise.
4594 (cpow_test): Use END_COMPLEX macro without arguments.
4595 (cproj_test): Likewise.
4596 (creal_test): Use END macro without arguments.
4597 (csin_test): Use END_COMPLEX macro without arguments.
4598 (csinh_test): Likewise.
4599 (csqrt_test): Likewise.
4600 (ctan_test): Likewise.
4601 (ctan_test_tonearest): Likewise.
4602 (ctan_test_towardzero): Likewise.
4603 (ctan_test_downward): Likewise.
4604 (ctan_test_upward): Likewise.
4605 (ctanh_test): Likewise.
4606 (ctanh_test_tonearest): Likewise.
4607 (ctanh_test_towardzero): Likewise.
4608 (ctanh_test_downward): Likewise.
4609 (ctanh_test_upward): Likewise.
4610 (erf_test): Use END macro without arguments.
4611 (erfc_test): Likewise.
4612 (exp_test): Likewise.
4613 (exp_test_tonearest): Likewise.
4614 (exp_test_towardzero): Likewise.
4615 (exp_test_downward): Likewise.
4616 (exp_test_upward): Likewise.
4617 (exp10_test): Likewise.
4618 (exp2_test): Likewise.
4619 (expm1_test): Likewise.
4620 (fabs_test): Likewise.
4621 (fdim_test): Likewise.
4622 (finite_test): Likewise.
4623 (floor_test): Likewise.
4624 (fma_test): Likewise.
4625 (fma_test_towardzero): Likewise.
4626 (fma_test_downward): Likewise.
4627 (fma_test_upward): Likewise.
4628 (fmax_test): Likewise.
4629 (fmin_test): Likewise.
4630 (fmod_test): Likewise.
4631 (fpclassify_test): Likewise.
4632 (frexp_test): Likewise.
4633 (gamma_test): Likewise.
4634 (hypot_test): Likewise.
4635 (ilogb_test): Likewise.
4636 (isfinite_test): Likewise.
4637 (isgreater_test): Likewise.
4638 (isgreaterequal_test): Likewise.
4639 (isinf_test): Likewise.
4640 (isless_test): Likewise.
4641 (islessequal_test): Likewise.
4642 (islessgreater_test): Likewise.
4643 (isnan_test): Likewise.
4644 (isnormal_test): Likewise.
4645 (issignaling_test): Likewise.
4646 (isunordered_test): Likewise.
4647 (j0_test): Likewise.
4648 (j1_test): Likewise.
4649 (jn_test): Likewise.
4650 (ldexp_test): Likewise.
4651 (lgamma_test): Likewise.
4652 (lrint_test): Likewise.
4653 (lrint_test_tonearest): Likewise.
4654 (lrint_test_towardzero): Likewise.
4655 (lrint_test_downward): Likewise.
4656 (lrint_test_upward): Likewise.
4657 (llrint_test): Likewise.
4658 (llrint_test_tonearest): Likewise.
4659 (llrint_test_towardzero): Likewise.
4660 (llrint_test_downward): Likewise.
4661 (llrint_test_upward): Likewise.
4662 (log_test): Likewise.
4663 (log10_test): Likewise.
4664 (log1p_test): Likewise.
4665 (log2_test): Likewise.
4666 (logb_test): Likewise.
4667 (logb_test_downward): Likewise.
4668 (lround_test): Likewise.
4669 (llround_test): Likewise.
4670 (modf_test): Likewise.
4671 (nearbyint_test): Likewise.
4672 (nextafter_test): Likewise.
4673 (nexttoward_test): Likewise.
4674 (pow_test): Likewise.
4675 (pow_test_tonearest): Likewise.
4676 (pow_test_towardzero): Likewise.
4677 (pow_test_downward): Likewise.
4678 (pow_test_upward): Likewise.
4679 (remainder_test): Likewise.
4680 (remainder_test_tonearest): Likewise.
4681 (remainder_test_towardzero): Likewise.
4682 (remainder_test_downward): Likewise.
4683 (remainder_test_upward): Likewise.
4684 (remquo_test): Likewise.
4685 (rint_test): Likewise.
4686 (rint_test_tonearest): Likewise.
4687 (rint_test_towardzero): Likewise.
4688 (rint_test_downward): Likewise.
4689 (rint_test_upward): Likewise.
4690 (round_test): Likewise.
4691 (scalb_test): Likewise.
4692 (scalbn_test): Likewise.
4693 (scalbln_test): Likewise.
4694 (signbit_test): Likewise.
4695 (sin_test): Likewise.
4696 (sin_test_tonearest): Likewise.
4697 (sin_test_towardzero): Likewise.
4698 (sin_test_downward): Likewise.
4699 (sin_test_upward): Likewise.
4700 (sincos_test): Likewise.
4701 (sinh_test): Likewise.
4702 (sinh_test_tonearest): Likewise.
4703 (sinh_test_towardzero): Likewise.
4704 (sinh_test_downward): Likewise.
4705 (sinh_test_upward): Likewise.
4706 (sqrt_test): Likewise.
4707 (tan_test): Likewise.
4708 (tan_test_tonearest): Likewise.
4709 (tan_test_towardzero): Likewise.
4710 (tan_test_downward): Likewise.
4711 (tan_test_upward): Likewise.
4712 (tanh_test): Likewise.
4713 (tgamma_test): Likewise.
4714 (trunc_test): Likewise.
4715 (y0_test): Likewise.
4716 (y1_test): Likewise.
4717 (yn_test): Likewise.
4718 (significand_test): Likewise.
4719
4720 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4721
4722 [BZ #15381]
4723 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4724
4725 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4726
4727 [BZ #14894]
4728 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4729 __ppc_mdoio and __ppc_mdoom.
4730 * manual/platform.texi: Document new functions __ppc_yield,
4731 __ppc_mdoio and __ppc_mdoom.
4732
4733 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4734
4735 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4736 (main): Mention "tls" pseudo-hwcap is legacy.
4737 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4738
4739 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4740
4741 * math/gen-libm-test.pl (parse_args): Output only string of
4742 arguments as text for test name, not full call or descriptions of
4743 tests for extra outputs.
4744 (generate_testfile): Do not pass function name to parse_args.
4745 Generate this_func variable from START.
4746 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4747 field to arg_str.
4748 (struct test_ff_f_data): Likewise.
4749 (test_ff_f_data_nexttoward): Likewise.
4750 (struct test_fi_f_data): Likewise.
4751 (struct test_fl_f_data): Likewise.
4752 (struct test_if_f_data): Likewise.
4753 (struct test_fff_f_data): Likewise.
4754 (struct test_c_f_data): Likewise.
4755 (struct test_f_f1_data): Likewise. Remove field extra_name.
4756 (struct test_fF_f1_data): Likewise.
4757 (struct test_ffI_f1_data): Likewise.
4758 (struct test_c_c_data): Rename test_name field to arg_str.
4759 (struct test_cc_c_data): Likewise.
4760 (struct test_f_i_data): Likewise.
4761 (struct test_ff_i_data): Likewise.
4762 (struct test_f_l_data): Likewise.
4763 (struct test_f_L_data): Likewise.
4764 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4765 and extra2_name.
4766 (COMMON_TEST_SETUP): New macro.
4767 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4768 (COMMON_TEST_CLEANUP): Likewise.
4769 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4770 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4771 macros.
4772 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4773 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4774 macros.
4775 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4776 (RUN_TEST_fff_f): Take argument string. Call new setup and
4777 cleanup macros.
4778 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4779 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4780 macros.
4781 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4782 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4783 macros.
4784 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4785 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4786 cleanup macros.
4787 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4788 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4789 cleanup macros.
4790 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4791 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4792 cleanup macros.
4793 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4794 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4795 macros.
4796 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4797 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4798 macros.
4799 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4800 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4801 macros.
4802 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4803 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4804 cleanup macros.
4805 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4806 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4807 cleanup macros.
4808 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4809 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4810 macros.
4811 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4812 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4813 cleanup macros.
4814 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4815 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4816 macros.
4817 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4818 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4819 macros.
4820 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4821 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4822 cleanup macros.
4823 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4824
4825 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4826
4827 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4828 to _sifields.sigfault.
4829 (si_addr_lsb): Define new macro.
4830 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4831 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4832 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4833
4834 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4835
4836 [BZ #15441]
4837 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4838 returns -1.
4839 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4840 null return -1.
4841 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4842 loading the domain.
4843
4844 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4845
4846 * math/gen-libm-test.pl (parse_args): Do not include expected
4847 result in test name.
4848 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4850 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4851 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4852 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4854
4855 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4856
4857 * benchtests/Makefile: Sort function entries.
4858
4859 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4860 tanh, asinh, acosh, atanh.
4861 * benchtests/acos-inputs: New file.
4862 * benchtests/acosh-inputs: New file.
4863 * benchtests/asin-inputs: New file.
4864 * benchtests/asinh-inputs: New file.
4865 * benchtests/atanh-inputs: New file.
4866 * benchtests/cosh-inputs: New file.
4867 * benchtests/log-inputs: New file.
4868 * benchtests/sinh-inputs: New file.
4869 * benchtests/tanh-inputs: New file.
4870
4871 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4872
4873 [BZ #15339]
4874 * posix/tst-getaddrinfo4.c: New test.
4875 * posix/Makefile (tests): Add it.
4876
4877 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4878
4879 [BZ #15339]
4880 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4881 when no services were used.
4882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4883 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4884
4885 2013-05-21 Andreas Schwab <schwab@suse.de>
4886
4887 [BZ #15014]
4888 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4889 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4890 successful.
4891 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4892 redundant variable declarations and reallocation of buffer when
4893 parsing as IPv6 address. Always set NSS status when called from
4894 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4895 buffer too small. Correct computation of needed size.
4896 * nss/Makefile (tests): Add test-digits-dots.
4897 * nss/test-digits-dots.c: New test.
4898
4899 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4900
4901 * benchtests/Makefile: Remove instructions for adding
4902 benchmark tests.
4903 * benchtests/README: New file to explain how to execute and
4904 enhance the benchmark tests.
4905
4906 2013-05-21 Andreas Schwab <schwab@suse.de>
4907
4908 [BZ #15493]
4909 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4910 * setjmp/tst-sigsetjmp.c: New test.
4911
4912 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4913
4914 * sysdeps/x86_64/memset.S (memset): New implementation.
4915 (__bzero): Likewise.
4916 (__memset_tail): New function.
4917
4918 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4919
4920 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4921 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4922 __memcpy_sse2_unaligned ifunc selection.
4923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4924 Add memcpy-sse2-unaligned.S.
4925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4926 Add: __memcpy_sse2_unaligned.
4927
4928 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4929
4930 [BZ #15490]
4931 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4932 math_force_eval before restoring floating-point envrionment.
4933 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4934 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4935 Likewise.
4936 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4937 <math_private.h>.
4938 (__nearbyintl): Use math_force_eval before restoring
4939 floating-point environment.
4940 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4941
4942 * math/gen-libm-test.pl (special_functions): Remove.
4943 (parse_args): Don't handle TEST_extra. Handle functions with no
4944 return value.
4945 * math/libm-test.inc (struct test_sincos_data): Replace with
4946 struct test_fFF_11_data.
4947 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4948 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4949 (sincos_test_data): Change element type to struct
4950 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4951 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4952 RUN_TEST_LOOP_sincos.
4953 * math/README.libm-test: Don't mention special handling of
4954 individual functions.
4955 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4957 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4958 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4959 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4961
4962 * math/gen-libm-test.pl (get_variable): Remove function.
4963 (parse_args): Don't show pointer parameters to call in test
4964 names. Use "extra output N" in test names for extra outputs
4965 rather than naming variables.
4966
4967 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4968
4969 [BZ #15488]
4970 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4971 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4972 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4973 double tests.
4974 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4975 disable.
4976 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4977 check_long_double.
4978
4979 * math/gen-libm-test.pl (@tests): Remove variable.
4980 ($count): Likewise.
4981 (new_test): Remove function.
4982 (show_exceptions): New function.
4983 (special_functions): Use show_exceptions instead of new_test.
4984 (parse_args): Likewise.
4985 (generate_testfile): Pass only function name in generated call to
4986 print_max_error or print_complex_max_error.
4987 (get_ulps): Do not handle complex tests specially.
4988 (output_test): Rename to ...
4989 (get_all_ulps_for_test): ... this. Return a string rather than
4990 printing to a file. Require ulps to be present.
4991 (output_ulps): Generate arrays rather than #defines.
4992 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4993 (struct ulp_data): New type.
4994 (BUILD_COMPLEX_ULP): Remove macro.
4995 (compare_ulp_data): New function.
4996 (find_ulps): Likewise.
4997 (find_test_ulps): Likewise.
4998 (find_function_ulps): Likewise.
4999 (find_complex_function_ulps): Likewise.
5000 (print_max_error): Determine allowed ulps using
5001 find_function_ulps.
5002 (print_complex_max_error): Determine allowed ulps using
5003 find_complex_function_ulps.
5004 (check_float_internal): Determine max ulps using find_test_ulps.
5005 (check_float): Do not take max_ulp parameter. Update call to
5006 check_float_internal.
5007 (check_complex): Likewise.
5008 (check_int): Do not take max_ulp parameter.
5009 (check_long): Likewise.
5010 (check_bool): Likewise.
5011 (check_longlong): Likewise.
5012 (struct test_f_f_data): Remove max_ulp field.
5013 (struct test_ff_f_data): Likewise.
5014 (struct test_ff_f_data_nexttoward): Likewise.
5015 (struct test_fi_f_data): Likewise.
5016 (struct test_fl_f_data): Likewise.
5017 (struct test_if_f_data): Likewise.
5018 (struct test_fff_f_data): Likewise.
5019 (struct test_c_f_data): Likewise.
5020 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5021 (struct test_fF_f1_data): Likewise.
5022 (struct test_ffI_f1_data): Likewise.
5023 (struct test_c_c_data): Remove max_ulp field.
5024 (struct test_cc_c_data): Likewise.
5025 (struct test_f_i_data): Likewise.
5026 (struct test_ff_i_data): Likewise.
5027 (struct test_f_l_data): Likewise.
5028 (struct test_f_L_data): Likewise.
5029 (struct test_sincos_data): Likewise.
5030 (RUN_TEST_f_f): Do not handle ulps.
5031 (RUN_TEST_LOOP_f_f): Likewise.
5032 (RUN_TEST_2_f): Likewise.
5033 (RUN_TEST_LOOP_2_f): Likewise.
5034 (RUN_TEST_fff_f): Likewise.
5035 (RUN_TEST_LOOP_fff_f): Likewise.
5036 (RUN_TEST_c_f): Likewise.
5037 (RUN_TEST_LOOP_c_f): Likewise.
5038 (RUN_TEST_f_f1): Likewise.
5039 (RUN_TEST_LOOP_f_f1): Likewise.
5040 (RUN_TEST_fF_f1): Likewise.
5041 (RUN_TEST_LOOP_fF_f1): Likewise.
5042 (RUN_TEST_fI_f1): Likewise.
5043 (RUN_TEST_LOOP_fI_f1): Likewise.
5044 (RUN_TEST_ffI_f1): Likewise.
5045 (RUN_TEST_LOOP_ffI_f1): Likewise.
5046 (RUN_TEST_c_c): Likewise.
5047 (RUN_TEST_LOOP_c_c): Likewise.
5048 (RUN_TEST_cc_c): Likewise.
5049 (RUN_TEST_LOOP_cc_c): Likewise.
5050 (RUN_TEST_f_i): Likewise.
5051 (RUN_TEST_LOOP_f_i): Likewise.
5052 (RUN_TEST_f_i_tg): Likewise.
5053 (RUN_TEST_LOOP_f_i_tg): Likewise.
5054 (RUN_TEST_ff_i_tg): Likewise.
5055 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5056 (RUN_TEST_f_b): Likewise.
5057 (RUN_TEST_LOOP_f_b): Likewise.
5058 (RUN_TEST_f_b_tg): Likewise.
5059 (RUN_TEST_LOOP_f_b_tg): Likewise.
5060 (RUN_TEST_f_l): Likewise.
5061 (RUN_TEST_LOOP_f_l): Likewise.
5062 (RUN_TEST_f_L): Likewise.
5063 (RUN_TEST_LOOP_f_L): Likewise.
5064 (RUN_TEST_sincos): Likewise.
5065 (RUN_TEST_LOOP_sincos): Likewise.
5066
5067 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5068
5069 [BZ #15480]
5070 [BZ #15485]
5071 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5072 main case of finite arguments, set rounding mode to FE_TONEAREST
5073 and discard exceptions.
5074 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5075 exceptions.
5076 (remainder_tonearest_test_data): New variable.
5077 (remainder_test_tonearest): New function.
5078 (remainder_towardzero_test_data): New variable.
5079 (remainder_test_towardzero): New function.
5080 (remainder_downward_test_data): New variable.
5081 (remainder_test_downward): New function.
5082 (remainder_upward_test_data): New variable.
5083 (remainder_test_upward): New function.
5084 (main): Call the new test functions.
5085
5086 * math/libm-test.inc (struct test_f_f1_data): Remove field
5087 extra_init.
5088 (struct test_fF_f1_data): Likewise.
5089 (struct test_ffI_f1_data): Likewise.
5090 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5091 based on value of EXTRA_EXPECTED.
5092 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5093 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5094 EXTRA_VAR based on value of EXTRA_EXPECTED.
5095 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5096 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5097 EXTRA_VAR based on value of EXTRA_EXPECTED.
5098 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5099 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5100 EXTRA_VAR based on value of EXTRA_EXPECTED.
5101 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5102 * math/gen-libm-test.pl (parse_args): Don't output initializers
5103 for extra output values.
5104
5105 * math/libm-test.inc (check_int): Expect result to be exactly
5106 equal to expected value and do not handle ulps.
5107 (check_long): Likewise.
5108 (check_longlong): Likewise.
5109
5110 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5111 exceptions.
5112 (cimag_test_data): Likewise.
5113 (conj_test_data): Likewise.
5114 (copysign_test_data): Likewise.
5115 (cproj_test_data): Likewise.
5116 (creal_test_data): Likewise.
5117 (fabs_test_data): Likewise.
5118 (fdim_test_data): Likewise.
5119 (finite_test_data): Likewise.
5120 (floor_test_data): Likewise.
5121 (fmax_test_data): Likewise.
5122 (fmin_test_data): Likewise.
5123 (fmod_test_data): Likewise.
5124 (fpclassify_test_data): Likewise.
5125 (frexp_test_data): Likewise.
5126 (ilogb_test_data): Likewise.
5127 (isfinite_test_data): Likewise.
5128 (isgreater_test_data): Likewise.
5129 (isgreaterequal_test_data): Likewise.
5130 (isinf_test_data): Likewise.
5131 (isless_test_data): Likewise.
5132 (islessequal_test_data): Likewise.
5133 (islessgreater_test_data): Likewise.
5134 (isnan_test_data): Likewise.
5135 (isnormal_test_data): Likewise.
5136 (issignaling_test_data): Likewise.
5137 (isunordered_test_data): Likewise.
5138 (ldexp_test_data): Likewise.
5139 (lrint_test_data): Likewise.
5140 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5141 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5142 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5143 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5144 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5145 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5146 test input.
5147 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5148 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5149 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5150 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5151 that test input.
5152 (lrint_downward_test_data): Test for "inexact" exceptions.
5153 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5154 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5155 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5156 test input.
5157 (lrint_upward_test_data): Test for "inexact" exceptions.
5158 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5159 test input.
5160 (llrint_test_data): Test for "inexact" exceptions.
5161 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5162 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5163 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5164 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5165 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5166 (llrint_downward_test_data): Test for "inexact" exceptions.
5167 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5168 (llrint_upward_test_data): Test for "inexact" exceptions.
5169 (logb_test_data): Likewise.
5170 (logb_downward_test_data): Likewise.
5171 (nextafter_test_data): Likewise.
5172 (nexttoward_test_data): Likewise.
5173 (remainder_test_data): Likewise.
5174 (remquo_test_data): Likewise.
5175 (scalbn_test_data): Likewise.
5176 (scalbln_test_data): Likewise.
5177 (signbit_test_data): Likewise.
5178 (sqrt_test_data): Likewise.
5179 (significand_test_data): Likewise.
5180
5181 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5182
5183 [BZ #15424]
5184 * benchtests/bench-modf.c (struct args): Mark arg0 as
5185 volatile.
5186 * scripts/bench.pl: Mark members of struct args as volatile.
5187
5188 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5189
5190 [BZ # 15497]
5191 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5192 negative infinity on POWER6 or lower.
5193 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5194
5195 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5196
5197 [BZ #15442]
5198 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5199 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5200 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5201 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5202 (_FP_SETQNAN): New macro.
5203 (_FP_SETQNAN_SEMIRAW): Likewise.
5204 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5205 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5206 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5207 (FP_EXTEND): Use _FP_FRAC_SNANP.
5208 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5209 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5210 into account.
5211 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5212 New macro.
5213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5214 Likewise.
5215
5216 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5217
5218 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5219 with DIVIDE_BY_ZERO_EXCEPTION.
5220 (gamma_test_data): Likewise.
5221 (lgamma_test_data): Likewise.
5222 (log_test_data): Likewise.
5223 (log10_test_data): Likewise.
5224 (log2_test_data): Likewise.
5225 (tgamma_test_data): Likewise.
5226
5227 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5228 (acos_test_tonearest): Likewise.
5229 (acos_test_towardzero): Likewise.
5230 (acos_test_downward): Likewise.
5231 (acos_test_upward): Likewise.
5232 (acosh_test): Likewise.
5233 (asin_test): Likewise.
5234 (asin_test_tonearest): Likewise.
5235 (asin_test_towardzero): Likewise.
5236 (asin_test_downward): Likewise.
5237 (asin_test_upward): Likewise.
5238 (asinh_test): Likewise.
5239 (atan_test): Likewise.
5240 (atanh_test): Likewise.
5241 (atan2_test): Likewise.
5242 (cabs_test): Likewise.
5243 (cacos_test): Likewise.
5244 (cacosh_test): Likewise.
5245 (casin_test): Likewise.
5246 (casinh_test): Likewise.
5247 (catan_test): Likewise.
5248 (catanh_test): Likewise.
5249 (cbrt_test): Likewise.
5250 (ccos_test): Likewise.
5251 (ccosh_test): Likewise.
5252 (cexp_test): Likewise.
5253 (clog_test): Likewise.
5254 (clog10_test): Likewise.
5255 (cos_test): Likewise.
5256 (cos_test_tonearest): Likewise.
5257 (cos_test_towardzero): Likewise.
5258 (cos_test_downward): Likewise.
5259 (cos_test_upward): Likewise.
5260 (cosh_test): Likewise.
5261 (cosh_test_tonearest): Likewise.
5262 (cosh_test_towardzero): Likewise.
5263 (cosh_test_downward): Likewise.
5264 (cosh_test_upward): Likewise.
5265 (cpow_test): Likewise.
5266 (csin_test): Likewise.
5267 (csinh_test): Likewise.
5268 (csqrt_test): Likewise.
5269 (ctan_test): Likewise.
5270 (ctan_test_tonearest): Likewise.
5271 (ctan_test_towardzero): Likewise.
5272 (ctan_test_downward): Likewise.
5273 (ctan_test_upward): Likewise.
5274 (ctanh_test): Likewise.
5275 (ctanh_test_tonearest): Likewise.
5276 (ctanh_test_towardzero): Likewise.
5277 (ctanh_test_downward): Likewise.
5278 (ctanh_test_upward): Likewise.
5279 (erf_test): Likewise.
5280 (erfc_test): Likewise.
5281 (exp_test): Likewise.
5282 (exp_test_tonearest): Likewise.
5283 (exp_test_towardzero): Likewise.
5284 (exp_test_downward): Likewise.
5285 (exp_test_upward): Likewise.
5286 (exp10_test): Likewise.
5287 (exp2_test): Likewise.
5288 (expm1_test): Likewise.
5289 (fmod_test): Likewise.
5290 (gamma_test): Likewise.
5291 (hypot_test): Likewise.
5292 (j0_test): Likewise.
5293 (j1_test): Likewise.
5294 (jn_test): Likewise.
5295 (lgamma_test): Likewise.
5296 (log_test): Likewise.
5297 (log10_test): Likewise.
5298 (log1p_test): Likewise.
5299 (log2_test): Likewise.
5300 (logb_test_downward): Likewise.
5301 (pow_test): Likewise.
5302 (pow_test_tonearest): Likewise.
5303 (pow_test_towardzero): Likewise.
5304 (pow_test_downward): Likewise.
5305 (pow_test_upward): Likewise.
5306 (remainder_test): Likewise.
5307 (remquo_test): Likewise.
5308 (sin_test): Likewise.
5309 (sin_test_tonearest): Likewise.
5310 (sin_test_towardzero): Likewise.
5311 (sin_test_downward): Likewise.
5312 (sin_test_upward): Likewise.
5313 (sincos_test): Likewise.
5314 (sinh_test): Likewise.
5315 (sinh_test_tonearest): Likewise.
5316 (sinh_test_towardzero): Likewise.
5317 (sinh_test_downward): Likewise.
5318 (sinh_test_upward): Likewise.
5319 (sqrt_test): Likewise.
5320 (tan_test): Likewise.
5321 (tan_test_tonearest): Likewise.
5322 (tan_test_towardzero): Likewise.
5323 (tan_test_downward): Likewise.
5324 (tan_test_upward): Likewise.
5325 (tanh_test): Likewise.
5326 (tgamma_test): Likewise.
5327 (y0_test): Likewise.
5328 (y1_test): Likewise.
5329 (yn_test): Likewise.
5330
5331 * math/gen-libm-test.pl (adjust_arg): Remove function.
5332 (special_function): Remove argument $in_func. Only handle
5333 generating output for tables of tests, not inside functions.
5334 (parse_args): Likewise.
5335 (generate_testfile): Remove variable $in_func. Update call to
5336 parse_args.
5337 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5338 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5339 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5340 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5341 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5342 (MAX_VALUE_INIT): Rename macro to max_value.
5343 (MIN_VALUE_INIT): Rename macro to min_value.
5344 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5345 (plus_zero): Remove variable.
5346 (minus_zero): Likewise.
5347 (plus_infty): Likewise.
5348 (minus_infty): Likewise.
5349 (qnan_value): Likewise.
5350 (max_value): Likewise.
5351 (min_value): Likewise.
5352 (min_subnorm_value): Likewise.
5353
5354 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5355
5356 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5357 uint64_t or uint32_t usage.
5358 * crypt/sha256-block.c: Likewise.
5359 * crypt/sha256-crypt.c: Likewise.
5360 * crypt/sha256.c: Likewise.
5361 * crypt/sha512-block.c: Likewise.
5362 * crypt/sha512-crypt.c: Likewise.
5363 * crypt/sha512.c: Likewise.
5364 * debug/backtrace-tst.c: Likewise.
5365 * debug/pcprofiledump.c: Likewise.
5366 * elf/cache.c: Likewise.
5367 * elf/dl-cache.c: Likewise.
5368 * elf/dl-misc.c: Likewise.
5369 * elf/dl-profile.c: Likewise.
5370 * elf/dl-support.c: Likewise.
5371 * elf/ldconfig.c: Likewise.
5372 * elf/sprof.c: Likewise.
5373 * iconv/dummy-repertoire.c: Likewise.
5374 * iconv/iconv_charmap.c: Likewise.
5375 * iconv/skeleton.c: Likewise.
5376 * iconvdata/8bit-generic.c: Likewise.
5377 * iconvdata/cp737.h: Likewise.
5378 * iconvdata/cp775.h: Likewise.
5379 * iconvdata/ibm1008.h: Likewise.
5380 * iconvdata/ibm1025.h: Likewise.
5381 * iconvdata/ibm1046.h: Likewise.
5382 * iconvdata/ibm1097.h: Likewise.
5383 * iconvdata/ibm1112.h: Likewise.
5384 * iconvdata/ibm1122.h: Likewise.
5385 * iconvdata/ibm1123.h: Likewise.
5386 * iconvdata/ibm1124.h: Likewise.
5387 * iconvdata/ibm1129.h: Likewise.
5388 * iconvdata/ibm1130.h: Likewise.
5389 * iconvdata/ibm1132.h: Likewise.
5390 * iconvdata/ibm1133.h: Likewise.
5391 * iconvdata/ibm1137.h: Likewise.
5392 * iconvdata/ibm1140.h: Likewise.
5393 * iconvdata/ibm1141.h: Likewise.
5394 * iconvdata/ibm1142.h: Likewise.
5395 * iconvdata/ibm1143.h: Likewise.
5396 * iconvdata/ibm1144.h: Likewise.
5397 * iconvdata/ibm1145.h: Likewise.
5398 * iconvdata/ibm1146.h: Likewise.
5399 * iconvdata/ibm1147.h: Likewise.
5400 * iconvdata/ibm1148.h: Likewise.
5401 * iconvdata/ibm1149.h: Likewise.
5402 * iconvdata/ibm1153.h: Likewise.
5403 * iconvdata/ibm1154.h: Likewise.
5404 * iconvdata/ibm1155.h: Likewise.
5405 * iconvdata/ibm1156.h: Likewise.
5406 * iconvdata/ibm1157.h: Likewise.
5407 * iconvdata/ibm1158.h: Likewise.
5408 * iconvdata/ibm1160.h: Likewise.
5409 * iconvdata/ibm1161.h: Likewise.
5410 * iconvdata/ibm1162.h: Likewise.
5411 * iconvdata/ibm1163.h: Likewise.
5412 * iconvdata/ibm1164.h: Likewise.
5413 * iconvdata/ibm1166.h: Likewise.
5414 * iconvdata/ibm1167.h: Likewise.
5415 * iconvdata/ibm12712.h: Likewise.
5416 * iconvdata/ibm1390.h: Likewise.
5417 * iconvdata/ibm1399.h: Likewise.
5418 * iconvdata/ibm16804.h: Likewise.
5419 * iconvdata/ibm4517.h: Likewise.
5420 * iconvdata/ibm4899.h: Likewise.
5421 * iconvdata/ibm4909.h: Likewise.
5422 * iconvdata/ibm4971.h: Likewise.
5423 * iconvdata/ibm5347.h: Likewise.
5424 * iconvdata/ibm803.h: Likewise.
5425 * iconvdata/ibm856.h: Likewise.
5426 * iconvdata/ibm901.h: Likewise.
5427 * iconvdata/ibm902.h: Likewise.
5428 * iconvdata/ibm9030.h: Likewise.
5429 * iconvdata/ibm9066.h: Likewise.
5430 * iconvdata/ibm921.h: Likewise.
5431 * iconvdata/ibm922.h: Likewise.
5432 * iconvdata/ibm9448.h: Likewise.
5433 * iconvdata/isiri-3342.h: Likewise.
5434 * iconvdata/jis0201.h: Likewise.
5435 * include/link.h: Likewise.
5436 * include/netdb.h: Likewise.
5437 * inet/check_native.c: Likewise.
5438 * inet/check_pf.c: Likewise.
5439 * inet/getipv4sourcefilter.c: Likewise.
5440 * inet/getnameinfo.c: Likewise.
5441 * inet/getsourcefilter.c: Likewise.
5442 * inet/htonl.c: Likewise.
5443 * inet/setipv4sourcefilter.c: Likewise.
5444 * inet/setsourcefilter.c: Likewise.
5445 * inet/test-inet6_opt.c: Likewise.
5446 * inet/tst-network.c: Likewise.
5447 * locale/C-collate.c: Likewise.
5448 * locale/C-ctype.c: Likewise.
5449 * locale/C-time.c: Likewise.
5450 * locale/C-translit.h: Likewise.
5451 * locale/loadarchive.c: Likewise.
5452 * locale/programs/3level.h: Likewise.
5453 * locale/programs/charmap.c: Likewise.
5454 * locale/programs/charmap.h: Likewise.
5455 * locale/programs/ld-address.c: Likewise.
5456 * locale/programs/ld-collate.c: Likewise.
5457 * locale/programs/ld-ctype.c: Likewise.
5458 * locale/programs/ld-identification.c: Likewise.
5459 * locale/programs/ld-measurement.c: Likewise.
5460 * locale/programs/ld-messages.c: Likewise.
5461 * locale/programs/ld-monetary.c: Likewise.
5462 * locale/programs/ld-name.c: Likewise.
5463 * locale/programs/ld-numeric.c: Likewise.
5464 * locale/programs/ld-paper.c: Likewise.
5465 * locale/programs/ld-telephone.c: Likewise.
5466 * locale/programs/ld-time.c: Likewise.
5467 * locale/programs/linereader.c: Likewise.
5468 * locale/programs/locale.c: Likewise.
5469 * locale/programs/locarchive.c: Likewise.
5470 * locale/programs/locfile.h: Likewise.
5471 * locale/programs/repertoire.c: Likewise.
5472 * locale/programs/simple-hash.c: Likewise.
5473 * locale/programs/simple-hash.h: Likewise.
5474 * malloc/memusage.c: Likewise.
5475 * malloc/memusagestat.c: Likewise.
5476 * nis/nis_defaults.c: Likewise.
5477 * nis/nis_hash.c: Likewise.
5478 * nis/nis_print.c: Likewise.
5479 * nis/nis_xdr.c: Likewise.
5480 * nscd/connections.c: Likewise.
5481 * nscd/hstcache.c: Likewise.
5482 * nscd/nscd_gethst_r.c: Likewise.
5483 * nscd/nscd_getserv_r.c: Likewise.
5484 * nscd/nscd_helper.c: Likewise.
5485 * nscd/servicescache.c: Likewise.
5486 * nss/makedb.c: Likewise.
5487 * nss/nss_db/db-XXX.c: Likewise.
5488 * nss/nss_db/db-initgroups.c: Likewise.
5489 * nss/nss_db/db-netgrp.c: Likewise.
5490 * nss/nss_files/files-network.c: Likewise.
5491 * nss/nss_files/files-parse.c: Likewise.
5492 * posix/bug-regex5.c: Likewise.
5493 * posix/fnmatch_loop.c: Likewise.
5494 * posix/regcomp.c: Likewise.
5495 * posix/regexec.c: Likewise.
5496 * posix/tst-rfc3484-2.c: Likewise.
5497 * posix/tst-rfc3484-3.c: Likewise.
5498 * posix/tst-rfc3484.c: Likewise.
5499 * resolv/nss_dns/dns-canon.c: Likewise.
5500 * resolv/nss_dns/dns-network.c: Likewise.
5501 * resolv/res_init.c: Likewise.
5502 * resolv/res_mkquery.c: Likewise.
5503 * resolv/tst-aton.c: Likewise.
5504 * stdlib/cxa_atexit.c: Likewise.
5505 * stdlib/cxa_finalize.c: Likewise.
5506 * stdlib/gen-fpioconst.c: Likewise.
5507 * stdlib/strtol_l.c: Likewise.
5508 * string/tst-endian.c: Likewise.
5509 * sunrpc/auth_des.c: Likewise.
5510 * sunrpc/clnt_udp.c: Likewise.
5511 * sunrpc/rtime.c: Likewise.
5512 * sunrpc/svcauth_des.c: Likewise.
5513 * sunrpc/xdr.c: Likewise.
5514 * sunrpc/xdr_intXX_t.c: Likewise.
5515 * sunrpc/xdr_rec.c: Likewise.
5516 * sysdeps/generic/ldconfig.h: Likewise.
5517 * sysdeps/generic/ldsodefs.h: Likewise.
5518 * sysdeps/generic/memusage.h: Likewise.
5519 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5522 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5529 * sysdeps/posix/getaddrinfo.c: Likewise.
5530 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5531 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5532 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5533 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5534 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5535 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5536 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5537 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5538 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5539 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5540 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5541 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5542 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5543 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5544 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5545 * sysdeps/x86_64/dl-tls.h: Likewise.
5546 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5547 * time/alt_digit.c: Likewise.
5548 * time/era.c: Likewise.
5549 * wcsmbs/tst-c16c32-1.c: Likewise.
5550
5551 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5552
5553 * math/libm-test.inc (struct test_sincos_data): New type.
5554 (RUN_TEST_LOOP_sincos): New macro.
5555 (sincos_test_data): New variable.
5556 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5557
5558 2013-05-16 Richard Henderson <rth@redhat.com>
5559
5560 * math/atest-exp2.c (LIMB64): New macro.
5561 (CONSTSZ): New macro.
5562 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5563 (hexdig): Move ...
5564 (print_mpn_fp): ... to function scope.
5565 (read_mpn_hex): Remove.
5566 (get_log2): Remove.
5567 (exp2_mpn): Use mp_log2.
5568 (main): Use mp_exp1.
5569
5570 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5571
5572 * math/libm-test.inc: Remove comment about not testing "inexact"
5573 exceptions.
5574 (INEXACT_EXCEPTION): New macro.
5575 (NO_INEXACT_EXCEPTION): Likewise.
5576 (INVALID_EXCEPTION_OK): Update value.
5577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5578 (OVERFLOW_EXCEPTION_OK): Likewise.
5579 (UNDERFLOW_EXCEPTION_OK): Likewise.
5580 (IGNORE_ZERO_INF_SIGN): Likewise.
5581 (ERRNO_UNCHANGED): Likewise.
5582 (ERRNO_EDOM): Likewise.
5583 (ERRNO_ERANGE): Likewise.
5584 (test_exceptions): Handle testing "inexact" exceptions.
5585 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5586 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5587 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5588 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5589 INEXACT_EXCEPTION.
5590 (rint_towardzero_test_data): Likewise.
5591 (rint_downward_test_data): Likewise.
5592 (rint_upward_test_data): Likewise.
5593
5594 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5595 with OVERFLOW_EXCEPTION.
5596 (exp10_test_data): Likewise.
5597 (exp2_test_data): Likewise.
5598 (expm1_test_data): Likewise.
5599 (lgamma_test_data): Likewise.
5600 (pow_test_data): Likewise.
5601 (tgamma_test_data): Likewise.
5602 (yn_test_data): Remove duplicate test of overflow.
5603
5604 * math/libm-test.inc (struct test_cc_c_data): New type.
5605 (RUN_TEST_LOOP_cc_c): New macro.
5606 (cpow_test_data): New variable.
5607 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5608
5609 * math/libm-test.inc (struct test_f_L_data): New type.
5610 (RUN_TEST_LOOP_f_L): New macro.
5611 (llrint_test_data): New variable.
5612 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5613 (llrint_tonearest_test_data): New variable.
5614 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5615 (llrint_towardzero_test_data): New variable.
5616 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5617 (llrint_downward_test_data): New variable.
5618 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5619 (llrint_upward_test_data): New variable.
5620 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5621 (llround_test_data): New variable.
5622 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5623
5624 2013-05-13 Peter Collingbourne <pcc@google.com>
5625
5626 * math/atest-exp2.c (get_log2): Remove const attribute.
5627
5628 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5629
5630 * math/libm-test.inc (struct test_f_l_data): New type.
5631 (RUN_TEST_LOOP_f_l): New macro.
5632 (lrint_test_data): New variable.
5633 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5634 (lrint_tonearest_test_data): New variable.
5635 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5636 (lrint_towardzero_test_data): New variable.
5637 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5638 (lrint_downward_test_data): New variable.
5639 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5640 (lrint_upward_test_data): New variable.
5641 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5642 (lround_test_data): New variable.
5643 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5644
5645 2013-05-15 Peter Collingbourne <pcc@google.com>
5646
5647 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5648 (EXTRACT_WORDS64) Use where appropriate.
5649 (INSERT_WORDS64) Likewise.
5650
5651 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5652 constraints with x constraints.
5653 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5654
5655 * malloc/obstack.c (_obstack_compat): Add initializer.
5656
5657 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5658
5659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5660 si_trapno and add si_addr_lsb to _sifields.sigfault.
5661 (si_trapno): Remove macro.
5662 (si_addr_lsb): Define new macro.
5663 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5664
5665 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5666
5667 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5668 instead of TEST_f_l.
5669 (llrint_test_tonearest): Likewise.
5670 (llrint_test_towardzero): Likewise.
5671 (llrint_test_downward): Likewise.
5672 (llrint_test_upward): Likewise.
5673 (llround_test): Likewise.
5674
5675 * math/libm-test.inc (struct test_f_i_data): Add comment.
5676 (RUN_TEST_LOOP_f_b): New macro.
5677 (RUN_TEST_LOOP_f_b_tg): Likewise.
5678 (finite_test_data): New variable.
5679 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5680 (isfinite_test_data): New variable.
5681 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5682 (isinf_test_data): New variable.
5683 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5684 (isnan_test_data): New variable.
5685 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5686 (isnormal_test_data): New variable.
5687 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5688 (issignaling_test_data): New variable.
5689 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5690 (signbit_test_data): New variable.
5691 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5692
5693 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5694 with INVALID_EXCEPTION.
5695 (acosh_test_data): Likewise.
5696 (asin_test_data): Likewise.
5697 (atanh_test_data): Likewise.
5698 (fmod_test_data): Likewise.
5699 (log_test_data): Likewise.
5700 (log10_test_data): Likewise.
5701 (log2_test_data): Likewise.
5702 (pow_test_data): Likewise.
5703 (sqrt_test_data): Likewise.
5704 (y0_test_data): Likewise.
5705 (y1_test_data): Likewise.
5706 (yn_test_data): Likewise.
5707
5708 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5709 function contents.
5710
5711 * math/libm-test.inc (struct test_ff_i_data): New type.
5712 (RUN_TEST_LOOP_ff_i_tg): New macro.
5713 (isgreater_test_data): New variable.
5714 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5715 (isgreaterequal_test_data): New variable.
5716 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5717 (isless_test_data): New variable.
5718 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5719 (islessequal_test_data): New variable.
5720 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5721 (islessgreater_test_data): New variable.
5722 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5723 (isunordered_test_data): New variable.
5724 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5725
5726 2013-05-14 David S. Miller <davem@davemloft.net>
5727
5728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5729
5730 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5731
5732 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5733
5734 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5735 extra_test to int.
5736 (struct test_f_i_data): Change type of max_ulp to int.
5737
5738 * math/libm-test.inc (test_ffI_f1_data): New type.
5739 (RUN_TEST_LOOP_ffI_f1): New macro.
5740 (remquo_test_data): New variable.
5741 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5742
5743 * setjmp/tst-setjmp-fp.c: New file.
5744 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5745 (link-libm): New variable.
5746 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5747
5748 * math/libm-test.inc (struct test_f_i_data): New type.
5749 (RUN_TEST_LOOP_f_i): New macro.
5750 (RUN_TEST_LOOP_f_i_tg): Likewise.
5751 (fpclassify_test_data): New variable.
5752 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5753 (ilogb_test_data): New variable.
5754 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5755
5756 * math/libm-test.inc (scalbln_test): Correct function name in END
5757 call.
5758
5759 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5760 (RUN_TEST_LOOP_fI_f1): New macro.
5761 (frexp_test_data): New variable.
5762 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5763
5764 * math/libm-test.inc (struct test_fF_f1_data): New type.
5765 (RUN_TEST_LOOP_fF_f1): New macro.
5766 (modf_test_data): New variable.
5767 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5768
5769 * math/libm-test.inc (struct test_f_f1_data): New type.
5770 (RUN_TEST_LOOP_f_f1): New macro.
5771 (gamma_test_data): New variable.
5772 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5773 (lgamma_test_data): New variable.
5774 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5775
5776 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5777
5778 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5779 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5780 (main): Comment "tls" pseudo-hwcap.
5781
5782 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5783
5784 * math/libm-test.inc (struct test_fl_f_data): New type.
5785 (RUN_TEST_LOOP_fl_f): New variable.
5786 (scalbln_test_data): New variable.
5787 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5788
5789 * math/libm-test.inc (struct test_fi_f_data): New type.
5790 (RUN_TEST_LOOP_fi_f): New macro.
5791 (ldexp_test_data): New variable.
5792 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5793 (scalbn_test_data): New variable.
5794 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5795
5796 * math/libm-test.inc (struct test_c_f_data): New type.
5797 (RUN_TEST_LOOP_c_f): New macro.
5798 (cabs_test_data): New variable.
5799 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5800 (carg_test_data): New variable.
5801 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5802 (cimag_test_data): New variable.
5803 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5804 (creal_test_data): New variable.
5805 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5806
5807 * math/libm-test.inc (struct test_if_f_data): New type.
5808 (RUN_TEST_LOOP_if_f): New macro.
5809 (jn_test_data): New variable.
5810 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5811 (yn_test_data): New variable.
5812 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5813
5814 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5815
5816 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5817
5818 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5819 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5820
5821 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5822
5823 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5824 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5825 (bench-deps): Add bench-timing.h.
5826 * benchtests-bench-skeleton.c: Include bench-timing.h.
5827 (main): Use TIMING_* macros instead of clock_gettime.
5828 * benchtests/bench-timing.h: New file.
5829
5830 [BZ #14582]
5831 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5832 Renamed from _LIB_VERSION.
5833 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5834
5835 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5836
5837 * math/libm-test.inc (struct test_fff_f_data): New type.
5838 (RUN_TEST_LOOP_fff_f): New macro.
5839 (fma_test_data): New variable.
5840 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5841 (fma_towardzero_test_data): New variable.
5842 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5843 (fma_downward_test_data): New variable.
5844 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5845 (fma_upward_test_data): New variable.
5846 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5847
5848 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5849 (struct test_c_c_data): New type.
5850 (RUN_TEST_LOOP_c_c): New macro.
5851 (cacos_test_data): New variable.
5852 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5853 (cacosh_test_data): New variable.
5854 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5855 (casin_test_data): New variable.
5856 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5857 (casinh_test_data): New variable.
5858 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5859 (catan_test_data): New variable.
5860 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5861 (catanh_test_data): New variable.
5862 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5863 (ccos_test_data): New variable.
5864 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5865 (ccosh_test_data): New variable.
5866 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5867 (cexp_test_data): New variable.
5868 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5869 (clog_test_data): New variable.
5870 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5871 (clog10_test_data): New variable.
5872 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5873 (conj_test_data): New variable.
5874 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5875 (cproj_test_data): New variable.
5876 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5877 (csin_test_data): New variable.
5878 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5879 (csinh_test_data): New variable.
5880 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5881 (csqrt_test_data): New variable.
5882 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5883 (ctan_test_data): New variable.
5884 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5885 (ctan_tonearest_test_data): New variable.
5886 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5887 (ctan_towardzero_test_data): New variable.
5888 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5889 (ctan_downward_test_data): New variable.
5890 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5891 (ctan_upward_test_data): New variable.
5892 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5893 (ctanh_test_data): New variable.
5894 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5895 (ctanh_tonearest_test_data): New variable.
5896 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5897 (ctanh_towardzero_test_data): New variable.
5898 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5899 (ctanh_downward_test_data): New variable.
5900 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5901 (ctanh_upward_test_data): New variable.
5902 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5903 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5904 of BUILD_COMPLEX.
5905
5906 * math/libm-test.inc (struct test_ff_f_data): New type.
5907 (struct test_ff_f_data_nexttoward): Likewise.
5908 (RUN_TEST_LOOP_2_f): New macro.
5909 (RUN_TEST_LOOP_ff_f): Likewise.
5910 (atan2_test_data): New variable.
5911 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5912 (copysign_test_data): New variable.
5913 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5914 (fdim_test_data): New variable.
5915 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5916 (fmax_test_data): New variable.
5917 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5918 (fmin_test_data): New variable.
5919 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5920 (fmod_test_data): New variable.
5921 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5922 (hypot_test_data): New variable.
5923 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5924 (nextafter_test_data): New variable.
5925 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5926 (nexttoward_test_data): New variable.
5927 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5928 (pow_test_data): New variable.
5929 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5930 (pow_tonearest_test_data): New variable.
5931 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5932 (pow_towardzero_test_data): New variable.
5933 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5934 (pow_downward_test_data): New variable.
5935 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5936 (pow_upward_test_data): New variable.
5937 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5938 (remainder_test_data): New variable.
5939 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5940 (scalb_test_data): New variable.
5941 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5942 * sysdeps/i386/fpu/libm-test-ulps: Update.
5943
5944 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5945
5946 * math/libm-test.inc (fma_test): Use max_value instead of local
5947 variable fltmax.
5948 (nextafter_test): Likewise.
5949
5950 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5951 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5952 (acos_downward_test_data): New variable.
5953 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5954 (acos_upward_test_data): New variable.
5955 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5956 (acosh_test_data): New variable.
5957 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5958 (asin_test_data): New variable.
5959 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5960 (asin_tonearest_test_data): New variable.
5961 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5962 (asin_towardzero_test_data): New variable.
5963 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5964 (asin_downward_test_data): New variable.
5965 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5966 (asin_upward_test_data): New variable.
5967 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5968 (asinh_test_data): New variable.
5969 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5970 (atan_test_data): New variable.
5971 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5972 (atanh_test_data): New variable.
5973 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5974 (cbrt_test_data): New variable.
5975 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5976 (ceil_test_data): New variable.
5977 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5978 (cos_test_data): New variable.
5979 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5980 (cos_tonearest_test_data): New variable.
5981 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5982 (cos_towardzero_test_data): New variable.
5983 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5984 (cos_downward_test_data): New variable.
5985 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5986 (cos_upward_test_data): New variable.
5987 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5988 (cosh_test_data): New variable.
5989 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5990 (cosh_tonearest_test_data): New variable.
5991 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5992 (cosh_towardzero_test_data): New variable.
5993 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5994 (cosh_downward_test_data): New variable.
5995 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5996 (cosh_upward_test_data): New variable.
5997 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5998 (erf_test_data): New variable.
5999 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6000 (erfc_test_data): New variable.
6001 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6002 (exp_test_data): New variable.
6003 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6004 (exp_tonearest_test_data): New variable.
6005 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6006 (exp_towardzero_test_data): New variable.
6007 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6008 (exp_downward_test_data): New variable.
6009 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6010 (exp_upward_test_data): New variable.
6011 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6012 (exp10_test_data): New variable.
6013 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6014 (exp2_test_data): New variable.
6015 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6016 (expm1_test_data): New variable.
6017 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6018 (fabs_test_data): New variable.
6019 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6020 (floor_test_data): New variable.
6021 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6022 (j0_test_data): New variable.
6023 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6024 (j1_test_data): New variable.
6025 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6026 (log_test_data): New variable.
6027 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6028 (log10_test_data): New variable.
6029 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6030 (log1p_test_data): New variable.
6031 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6032 (log2_test_data): New variable.
6033 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6034 (logb_test_data): New variable.
6035 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6036 (logb_downward_test_data): New variable.
6037 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6038 (nearbyint_test_data): New variable.
6039 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6040 (rint_test_data): New variable.
6041 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6042 (rint_tonearest_test_data): New variable.
6043 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6044 (rint_towardzero_test_data): New variable.
6045 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6046 (rint_downward_test_data): New variable.
6047 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6048 (rint_upward_test_data): New variable.
6049 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6050 (round_test_data): New variable.
6051 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6052 (sin_test_data): New variable.
6053 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6054 (sin_tonearest_test_data): New variable.
6055 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6056 (sin_towardzero_test_data): New variable.
6057 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6058 (sin_downward_test_data): New variable.
6059 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6060 (sin_upward_test_data): New variable.
6061 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6062 (sinh_test_data): New variable.
6063 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6064 (sinh_tonearest_test_data): New variable.
6065 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6066 (sinh_towardzero_test_data): New variable.
6067 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6068 (sinh_downward_test_data): New variable.
6069 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6070 (sinh_upward_test_data): New variable.
6071 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6072 (sqrt_test_data): New variable.
6073 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6074 (tan_test_data): New variable.
6075 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6076 (tan_tonearest_test_data): New variable.
6077 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6078 (tan_towardzero_test_data): New variable.
6079 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6080 (tan_downward_test_data): New variable.
6081 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6082 (tan_upward_test_data): New variable.
6083 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6084 (tanh_test_data): New variable.
6085 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6086 (tgamma_test_data): New variable.
6087 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6088 (trunc_test_data): New variable.
6089 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6090 (y0_test_data): New variable.
6091 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6092 (y1_test_data): New variable.
6093 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6094 (significand_test_data): New variable.
6095 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6096
6097 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6098
6099 [BZ #12387]
6100 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6101
6102 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6103
6104 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6105
6106 2013-05-10 Andreas Jaeger <aj@suse.de>
6107
6108 [BZ #15448]
6109 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6110 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6111
6112 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6113
6114 * math/gen-libm-test.pl (adjust_arg): New function.
6115 (special_functions): Handle generating output in both functions
6116 and arrays.
6117 (parse_args): Likewise.
6118 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6119 $in_func argument to parse_args.
6120 * math/libm-test.inc (struct test_f_f_data): New type.
6121 (IF_ROUND_INIT_): New macro.
6122 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6123 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6124 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6125 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6126 (ROUND_RESTORE_): Likewise.
6127 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6128 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6129 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6130 (ROUND_RESTORE_FE_UPWARD): Likewise.
6131 (RUN_TEST_LOOP_f_f): New macro.
6132 (acos_test_data): New variable.
6133 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6134 (acos_tonearest_test_data): New variable.
6135 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6136
6137 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6138
6139 * benchtests/bench-skeleton.c (startup): Fix coding style.
6140
6141 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6142
6143 [BZ #6809]
6144 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6145 negative infinity argument.
6146 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6147 negative infinity argument.
6148 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6149 negative infinity argument.
6150 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6151 domain errors.
6152
6153 2013-05-10 Florian Weimer <fweimer@redhat.com>
6154
6155 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6156 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6157 * iconv/iconv_prog.c (main): Likewise.
6158 * locale/programs/charmap-dir.c (charmap_readdir)
6159 (fopen_uncompressed): Likewise.
6160 * locale/programs/locfile.c (siblings_uncached)
6161 (write_locale_data): Use lstat64 instead of lstat.
6162 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6163 stat.
6164
6165 2013-05-10 Andreas Jaeger <aj@suse.de>
6166
6167 [BZ #15395]
6168 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6169 localization.
6170 Include <locale.h>.
6171
6172 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6173
6174 * elf/dl-close.c (_dl_close_worker): Add comments.
6175
6176 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6177
6178 [BZ #15359]
6179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6180 high part of pi/2.
6181 (__ieee754_rem_pio2l): Update comments.
6182
6183 [BZ #15429]
6184 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6185 high part of pi/2.
6186 (__ieee754_rem_pio2l): Update comments.
6187
6188 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6189 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6190
6191 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6192 M_PI_4l.
6193
6194 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6195 (M_PI_34_LOG10El): Likewise.
6196 (M_PI2_LOG10El): Likewise.
6197 (M_PI4_LOG10El): Likewise.
6198 (M_PI_LOG10El): Likewise.
6199
6200 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6201
6202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6203
6204 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6205
6206 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6207 (MINUS_ZERO_INIT): Likewise.
6208 (PLUS_INFTY_INIT): Likewise.
6209 (MINUS_INFTY_INIT): Likewise.
6210 (QNAN_VALUE_INIT): Likewise.
6211 (MAX_VALUE_INIT): Likewise.
6212 (MIN_VALUE_INIT): Likewise.
6213 (MIN_SUBNORM_VALUE_INIT): Likewise.
6214 (plus_zero): Initialize with PLUS_ZERO_INIT.
6215 (minus_zero): Initialize with MINUS_ZERO_INIT.
6216 (plus_infty): Initialize with PLUS_INFTY_INIT.
6217 (minus_infty): Initialize with MINUS_INFTY_INIT.
6218 (qnan_value): Initialize with QNAN_VALUE_INIT.
6219 (max_value): Initialize with MAX_VALUE_INIT.
6220 (min_value): Initialize with MIN_VALUE_INIT.
6221 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6222
6223 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6224 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6225 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6226 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6227
6228 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6229 (RUN_TEST_2_f): Likewise.
6230 (RUN_TEST_ff_f): Likewise.
6231 (RUN_TEST_fi_f): Likewise.
6232 (RUN_TEST_fl_f): Likewise.
6233 (RUN_TEST_fff_f): Likewise.
6234 (RUN_TEST_c_f): Likewise.
6235 (RUN_TEST_f_f1): Likewise.
6236 (RUN_TEST_fF_f1): Likewise.
6237 (RUN_TEST_fI_f1): Likewise.
6238 (RUN_TEST_ffI_f1): Likewise.
6239 (RUN_TEST_c_c): Likewise.
6240 (RUN_TEST_cc_c): Likewise.
6241 (RUN_TEST_f_i): Likewise.
6242 (RUN_TEST_f_i_tg): Likewise.
6243 (RUN_TEST_ff_i_tg): Likewise.
6244 (RUN_TEST_f_b): Likewise.
6245 (RUN_TEST_f_b_tg): Likewise.
6246 (RUN_TEST_f_l): Likewise.
6247 (RUN_TEST_f_L): Likewise.
6248 (RUN_TEST_sincos): Likewise.
6249 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6250 whether to show exceptions. Do not include ");\n" in return
6251 value.
6252 (special_functions): Output call to RUN_TEST_sincos instead of
6253 check_float calls. Update calls to new_test.
6254 (parse_args): Output call to single RUN_TEST_* macro instead of
6255 check_* calls and other assignments. Update calls to new_test.
6256
6257 [BZ #2546]
6258 [BZ #2560]
6259 [BZ #5159]
6260 [BZ #15426]
6261 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6262 input to result for tgamma overflow.
6263 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6264 (gamma_coeff): New variable.
6265 (NCOEFF): New macro.
6266 (gamma_positive): New function.
6267 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6268 underflow here. Use gamma_positive instead of exp (lgamma) for
6269 other arguments.
6270 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6271 (gamma_coeff): New variable.
6272 (NCOEFF): New macro.
6273 (gammaf_positive): New function.
6274 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6275 underflow here. Use gamma_positive instead of exp (lgamma) for
6276 other arguments.
6277 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6278 (gamma_coeff): New variable.
6279 (NCOEFF): New macro.
6280 (gammal_positive): New function.
6281 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6282 underflow here. Use gamma_positive instead of exp (lgamma) for
6283 other arguments.
6284 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6285 (gamma_coeff): New variable.
6286 (NCOEFF): New macro.
6287 (gammal_positive): New function.
6288 (__ieee754_gammal_r): Handle positive infinity, overflow and
6289 underflow here. Handle NaN the same as positive infinity. Remove
6290 check x < 0xffffffff for negative integers. Use gamma_positive
6291 instead of exp (lgamma) for other arguments.
6292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6293 (gamma_coeff): New variable.
6294 (NCOEFF): New macro.
6295 (gammal_positive): New function.
6296 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6297 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6301 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6302 * sysdeps/generic/math_private.h (__gamma_productf): New
6303 prototype.
6304 (__gamma_product): Likewise.
6305 (__gamma_productl): Likewise.
6306 * math/Makefile (libm-calls): Add gamma_product.
6307 * math/libm-test.inc (tgamma_test): Add more tests.
6308 * sysdeps/i386/fpu/libm-test-ulps: Update.
6309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6310
6311 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6312
6313 * benchtests/bench-skeleton.c (main): Preheat CPU.
6314
6315 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6316
6317 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6318
6319 2013-05-07 Roland McGrath <roland@hack.frob.com>
6320
6321 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6322 and _dl_skip_args_internal.
6323
6324 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6325
6326 * manual/message.texi (Message Translation): Talk about users.
6327 Message to key mapping impacts design.
6328
6329 2013-05-06 Roland McGrath <roland@hack.frob.com>
6330
6331 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6332
6333 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6334
6335 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6336 * sysdeps/wordsize-64/glob64.c: ... here.
6337
6338 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6339 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6340 New macros.
6341
6342 * debug/getlogin_r_chk.c: Moved to ...
6343 * login/getlogin_r_chk.c: ... here.
6344 * debug/Makefile (routines): Move getlogin_r_chk to ...
6345 * login/Makefile (routines): ... here.
6346 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6347 * login/Versions (libc: GLIBC_2.4): ... here.
6348
6349 * io/poll.c (__poll): Renamed from poll.
6350 Add libc_hidden_def.
6351 (poll): Define as weak alias.
6352
6353 * debug/ptsname_r_chk.c: Moved to ...
6354 * login/ptsname_r_chk.c: ... here.
6355 * debug/Makefile (routines): Move ptsname_r_chk to ...
6356 * login/Makefile (routines): ... here.
6357 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6358 * login/Versions (libc: GLIBC_2.4): ... here.
6359
6360 * posix/getlogin.c: Moved to ...
6361 * login/getlogin.c: ... here.
6362 * posix/getlogin_r.c: Moved to ...
6363 * login/getlogin_r.c: ... here.
6364 * posix/getlogin_r.c: Moved to ...
6365 * login/getlogin_r.c: ... here.
6366 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6367 * login/Makefile (routines): ... here.
6368 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6369 * login/Versions (libc: GLIBC_2.0): ... here.
6370
6371 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6372 (setrlimit): Define as weak alias.
6373
6374 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6375 Call __ names for open, ftruncate, and close.
6376 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6377 (truncate): Define as weak alias.
6378
6379 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6380
6381 * math/gen-libm-test.pl (parse_args): Initialize x before each
6382 test of frexp, modf and remquo.
6383
6384 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6385 test signgam value.
6386
6387 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6388
6389 [BZ #15418]
6390 [BZ #15419]
6391 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6392 internal tests.
6393 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6394
6395 2013-05-06 Roland McGrath <roland@hack.frob.com>
6396
6397 * elf/dl-writev.h: New file.
6398 * elf/dl-misc.c: Include it.
6399 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6400 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6401
6402 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6403
6404 * math/libm-test.inc (noXFails): Remove variable.
6405 (noXPasses): Likewise.
6406 (BUILD_COMPLEX_INT): Remove macro.
6407 (print_screen): Remove xfail argument.
6408 (print_screen_max_error): Likewise.
6409 (update_stats): Likewise.
6410 (print_max_error): Likewise. Update calls to other affected
6411 functions.
6412 (print_complex_max_error): Likewise.
6413 (test_single_exception): Update calls to print_screen.
6414 (test_single_errno): Likewise.
6415 (check_float_internal): Remove xfail argument. Update calls to
6416 other affected functions.
6417 (check_float): Likewise.
6418 (check_complex): Likewise.
6419 (check_int): Likewise.
6420 (check_long): Likewise.
6421 (check_bool): Likewise.
6422 (check_longlong): Likewise.
6423 (main): Don't print noXFails and noXPasses.
6424 * math/gen-libm-test.pl (top level): Don't mention expected
6425 failure handling in comment.
6426 (new_test): Don't handle expected failures.
6427 (parse_args): Don't mention expected failure handling in comment.
6428 (generate_testfile): Don't handle expected failures.
6429 (parse_ulps): Likewise.
6430 (print_ulps_file): Likewise.
6431 (get_failure): Remove function.
6432 (output_test): Don't handle expected failures.
6433 * make/README.libm-test: Don't mention expected failure handling.
6434
6435 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6436 (minus_zero): Likewise.
6437 (plus_infty): Likewise.
6438 (minus_infty): Likewise.
6439 (qnan_value): Likewise.
6440 (max_value): Likewise.
6441 (min_value): Likewise.
6442 (min_subnorm_value): Likewise.
6443 (initialize): Do not initialize those variables dynamically.
6444
6445 2013-05-03 Roland McGrath <roland@hack.frob.com>
6446
6447 * io/open.c (__open_2): Moved to ...
6448 * io/open_2.c: ... this new file.
6449 * io/open64.c (__open64_2): Moved to ...
6450 * io/open64_2.c: ... this new file.
6451 * io/openat.c (__openat_2): Moved to ...
6452 * io/openat_2.c: ... this new file.
6453 * io/openat64.c (__openat64_2): Moved to ...
6454 * io/openat64_2.c: ... this new file.
6455 * io/Makefile (routines): Add them.
6456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6457 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6458 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6459 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6460 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6461 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6462 (__openat64): Add hidden_ver.
6463 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6464 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6465
6466 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6467 Separately conditionalize setting of GLRO(dl_sysinfo) so
6468 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6469 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6470
6471 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472
6473 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6474 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6475 definition.
6476 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6477 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6478 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6479 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6480 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6481
6482 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6483
6484 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6485 test signgam value.
6486
6487 * math/libm-test.inc (hypot_test): Do not use
6488 IGNORE_ZERO_INF_SIGN.
6489
6490 2013-05-03 Andreas Jaeger <aj@suse.de>
6491
6492 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6493 Linux 3.9.
6494 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6495 (PF_MAX): Adjust for VSOCK change.
6496
6497 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6498
6499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6500
6501 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6502
6503 [BZ #15264]
6504 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6505 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6506 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6507
6508 2013-05-02 David S. Miller <davem@davemloft.net>
6509
6510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6511
6512 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6513
6514 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6515
6516 2013-05-01 Roland McGrath <roland@hack.frob.com>
6517
6518 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6519
6520 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6521
6522 [BZ #14952]
6523 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6524 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6525 Use __attribute__ ((__gnu_inline__)).
6526 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6527 Don't use __attribute__ ((__gnu_inline__)).
6528
6529 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6530
6531 [BZ #15423]
6532 * math/s_catan.c (__catan): Handle small real or imaginary part of
6533 input specially to avoid spurious underflow.
6534 * math/s_catanf.c (__catanf): Likewise.
6535 * math/s_catanh.c (__catanh): Likewise.
6536 * math/s_catanhf.c (__catanhf): Likewise.
6537 * math/s_catanhl.c (__catanhl): Likewise.
6538 * math/s_catanl.c (__catanl): Likewise.
6539 * math/libm-test.inc (catan_test): Add more tests.
6540 (catanh_test): Likewise.
6541 * sysdeps/i386/fpu/libm-test-ulps: Update.
6542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6543
6544 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6545
6546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6547
6548 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6549
6550 [BZ #15416]
6551 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6552 accurately for denominator in atan2.
6553 * math/s_catanf.c (__catanf): Likewise.
6554 * math/s_catanh.c (__catanh): Likewise.
6555 * math/s_catanhf.c (__catanhf): Likewise.
6556 * math/s_catanhl.c (__catanhl): Likewise.
6557 * math/s_catanl.c (__catanl): Likewise.
6558 * math/libm-test.inc (catan_test): Add more tests.
6559 (catanh_test): Likewise.
6560 * sysdeps/i386/fpu/libm-test-ulps: Update.
6561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6562
6563 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6564
6565 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6566
6567 * benchtests/Makefile (bench): Remove slow benchmarks.
6568 * benchtests/atan-inputs: Add slow benchmark inputs.
6569 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6570 (BENCH_FUNC): Accept variant offset.
6571 (VARIANT): Define.
6572 * benchtests/bench-skeleton.c (main): Run benchmark for each
6573 variant.
6574 * benchtests/cos-inputs: Add slow benchmark inputs.
6575 * benchtests/exp-inputs: Likewise.
6576 * benchtests/pow-inputs: Likewise.
6577 * benchtests/sin-inputs: Likewise.
6578 * benchtests/slowatan-inputs: Remove.
6579 * benchtests/slowatan.c: Remove.
6580 * benchtests/slowcos-inputs: Remove.
6581 * benchtests/slowcos.c: Remove.
6582 * benchtests/slowexp-inputs: Remove.
6583 * benchtests/slowexp.c: Remove.
6584 * benchtests/slowpow-inputs: Remove.
6585 * benchtests/slowpow.c: Remove.
6586 * benchtests/slowsin-inputs: Remove.
6587 * benchtests/slowsin.c: Remove.
6588 * benchtests/slowtan-inputs: Remove.
6589 * benchtests/slowtan.c: Remove.
6590 * benchtests/tan-inputs: Add slow benchmark inputs.
6591 * scripts/bench.pl: Parse comments and directives.
6592
6593 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6594 in CPPFLAGS.
6595 ($(objpfx)bench-%.c): Remove *-ITER.
6596 * benchtests/bench-modf.c: Remove definition of ITER.
6597 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6598 (main): Loop for DURATION seconds instead of fixed number of
6599 iterations.
6600 * scripts/bench.pl: Don't expect iterations in parameters.
6601
6602 2013-04-29 Roland McGrath <roland@hack.frob.com>
6603
6604 * io/fchdir.c (__fchdir): Renamed from fchdir.
6605 (fchdir): Define as weak alias.
6606
6607 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6608
6609 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6610 (ERRNO_EDOM): Likewise.
6611 (ERRNO_ERANGE): Likewise.
6612 (noErrnoTests): New variable.
6613 (init_max_error): Set errno to 0.
6614 (test_single_errno): New function.
6615 (test_errno): Likewise.
6616 (check_float_internal): Call test_errno. Set errno to 0.
6617 (check_complex): Refer to errno tests in comment.
6618 (check_int): Call test_errno. Set errno to 0.
6619 (check_long): Likewise.
6620 (check_bool): Likewise.
6621 (check_longlong): Likewise.
6622 (cos_test): Use ERRNO_* flags for errno tests instead of
6623 check_int.
6624 (expm1_test): Likewise.
6625 (fmod_test): Likewise.
6626 (ilogb_test): Likewise.
6627 (lgamma_test): Likewise.
6628 (pow_test): Likewise.
6629 (remainder_test): Likewise.
6630 (sin_test): Likewise.
6631 (tan_test): Likewise.
6632 (yn_test): Likewise.
6633 (initialize): Set errno to 0.
6634 (main): Print number of errno tests.
6635 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6636
6637 2013-04-29 Andreas Jaeger <aj@suse.de>
6638
6639 [BZ #15084]
6640 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6641 and RES_USEVC.
6642
6643 [BZ #15085]
6644 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6645 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6646 unimplemented.
6647
6648 [BZ #15380]
6649 * stdlib/random.c (__initstate): Return NULL if
6650 __initstate fails.
6651
6652 [BZ #15086]
6653 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6654 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6655 RES_SNGLKUPREOP.
6656
6657 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6658
6659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6660
6661 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6662
6663 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6664 of individual tests.
6665 (casin_test): Likewise.
6666 (casinh_test): Likewise.
6667
6668 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6669
6670 [BZ #15409]
6671 * math/s_catan.c (__catan): Handle arguments with large real or
6672 imaginary part separately without squaring.
6673 * math/s_catanf.c (__catanf): Likewise.
6674 * math/s_catanh.c (__catanh): Likewise.
6675 * math/s_catanhf.c (__catanhf): Likewise.
6676 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6677 and redefine.
6678 (__catanhl): Handle arguments with large real or imaginary part
6679 separately without squaring.
6680 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6681 and redefine.
6682 (__catanl): Handle arguments with large real or imaginary part
6683 separately without squaring.
6684 * math/libm-test.inc (catan_test): Add more tests.
6685 (catanh_test): Likewise.
6686 * sysdeps/i386/fpu/libm-test-ulps: Update.
6687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6688
6689 2013-04-27 Andreas Jaeger <aj@suse.de>
6690
6691 [BZ #15007]
6692 * stdlib/stdlib.h: Update guards for qecvt.
6693 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6694 <stdlib.h>.
6695
6696 2013-04-27 Allan McRae <allan@archlinux.org>
6697
6698 * sysdeps/i386/fpu/libm-test-ulps: Update.
6699
6700 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6701
6702 [BZ #15406]
6703 * math/s_catan.c: Include <float.h>.
6704 (__catan): Ensure underflow exception occurs for underflowed
6705 result.
6706 * math/s_catanf.c: Include <float.h>.
6707 (__catanf): Ensure underflow exception occurs for underflowed
6708 result.
6709 * math/s_catanh.c: Include <float.h>.
6710 (__catanh): Ensure underflow exception occurs for underflowed
6711 result.
6712 * math/s_catanhf.c: Include <float.h>.
6713 (__catanhf): Ensure underflow exception occurs for underflowed
6714 result.
6715 * math/s_catanhl.c: Include <float.h>.
6716 (__catanhl): Ensure underflow exception occurs for underflowed
6717 result.
6718 * math/s_catanl.c: Include <float.h>.
6719 (__catanl): Ensure underflow exception occurs for underflowed
6720 result.
6721 * math/libm-test.inc (catan_test): Add more tests.
6722 (catanh_test): Likewise.
6723
6724 [BZ #15405]
6725 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6726 underflowed result.
6727 * math/s_ccoshf.c (__ccoshf): Likewise.
6728 * math/s_ccoshl.c (__ccoshl): Likewise.
6729 * math/s_csin.c (__csin): Likewise.
6730 * math/s_csinf.c (__csinf): Likewise.
6731 * math/s_csinh.c (__csinh): Likewise.
6732 * math/s_csinhf.c (__csinhf): Likewise.
6733 * math/s_csinhl.c (__csinhl): Likewise.
6734 * math/s_csinl.c (__csinl): Likewise.
6735 * math/libm-test.inc (ccos_test): Add more tests.
6736 (ccosh_test): Likewise.
6737 (csin_test): Likewise.
6738 (csinh_test): Likewise.
6739
6740 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6741
6742 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6743 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6744 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6745 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6746 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6747 powerpc/power5+/fpu folders.
6748 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6749
6750
6751 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6752
6753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6754
6755 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6756
6757 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6758 additions to variable.
6759 [$(config-machine) = x86_64] (modules-names): Likewise.
6760 ($(objpfx)tst-audit3): Remove dependency.
6761 ($(objpfx)tst-audit3.out): Likewise.
6762 ($(objpfx)tst-audit4): Likewise.
6763 ($(objpfx)tst-audit4.out): Likewise.
6764 ($(objpfx)tst-audit5): Likewise.
6765 ($(objpfx)tst-audit5.out): Likewise.
6766 ($(objpfx)tst-audit6): Likewise.
6767 ($(objpfx)tst-audit6.out): Likewise.
6768 ($(objpfx)tst-audit7): Likewise.
6769 ($(objpfx)tst-audit7.out): Likewise.
6770 (tst-audit3-ENV): Remove variable.
6771 (tst-audit4-ENV): Likewise.
6772 (tst-audit5-ENV): Likewise.
6773 (tst-audit6-ENV): Likewise.
6774 (tst-audit7-ENV): Likewise.
6775 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6776 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6777 addition to variable.
6778 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6779 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6780 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6781 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6782 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6783 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6784 tst-audit3, tst-audit4 and tst-audit5.
6785 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6786 tst-audit6 and tst-audit7.
6787 [$(subdir) = elf] (modules-names): Add audit modules for those
6788 tests.
6789 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6790 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6791 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6792 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6793 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6794 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6795 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6796 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6797 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6798 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6799 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6800 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6801 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6802 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6803 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6804 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6805 Likewise.
6806 [$(subdir) = elf && $(config-cflags-avx) = yes]
6807 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6808 [$(subdir) = elf && $(config-cflags-avx) = yes]
6809 (CFLAGS-tst-auditmod4a.c): Likewise.
6810 [$(subdir) = elf && $(config-cflags-avx) = yes]
6811 (CFLAGS-tst-auditmod4b.c): Likewise.
6812 [$(subdir) = elf && $(config-cflags-avx) = yes]
6813 (CFLAGS-tst-auditmod6b.c): Likewise.
6814 [$(subdir) = elf && $(config-cflags-avx) = yes]
6815 (CFLAGS-tst-auditmod6c.c): Likewise.
6816 [$(subdir) = elf && $(config-cflags-avx) = yes]
6817 (CFLAGS-tst-auditmod7b.c): Likewise.
6818 * elf/tst-audit3.c: Move to ...
6819 * sysdeps/x86_64/tst-audit3.c: ... here.
6820 * elf/tst-audit4.c: Move to ...
6821 * sysdeps/x86_64/tst-audit4.c: ... here.
6822 * elf/tst-audit5.c: Move to ...
6823 * sysdeps/x86_64/tst-audit5.c: ... here.
6824 * elf/tst-audit6.c: Move to ...
6825 * sysdeps/x86_64/tst-audit6.c: ... here.
6826 * elf/tst-audit7.c: Move to ...
6827 * sysdeps/x86_64/tst-audit7.c: ... here.
6828 * elf/tst-auditmod3a.c: Move to ...
6829 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6830 * elf/tst-auditmod3b.c: Move to ...
6831 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6832 * elf/tst-auditmod4a.c: Move to ...
6833 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6834 * elf/tst-auditmod4b.c: Move to ...
6835 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6836 * elf/tst-auditmod5a.c: Move to ...
6837 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6838 * elf/tst-auditmod5b.c: Move to ...
6839 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6840 * elf/tst-auditmod6a.c: Move to ...
6841 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6842 * elf/tst-auditmod6b.c: Move to ...
6843 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6844 * elf/tst-auditmod6c.c: Move to ...
6845 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6846 * elf/tst-auditmod7a.c: Move to ...
6847 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6848 * elf/tst-auditmod7b.c: Move to ...
6849 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6850
6851 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6852
6853 [BZ #15366]
6854 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6855 define unconditionally.
6856 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6857 define unconditionally.
6858 (INT8_C, INT16_C, etc.): Likewise.
6859
6860 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6861
6862 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6863 __ehdr_start with hidden visibility.
6864
6865 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6866
6867 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6868
6869 * math/libm-test.inc (cos_test): Use accurate hex constants.
6870 (sincost_test): Likewise.
6871
6872 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6873
6874 * math/libm-test.inc (catan_test): Add more tests.
6875 (catanh_test): Likewise.
6876
6877 * math/s_catanf.c (__catanf): Use suffixed floating-point
6878 constants.
6879 * math/s_catanhf.c (__catanhf): Likewise.
6880 * math/s_catanhl.c (__catanhl): Likewise.
6881 * math/s_catanl.c (__catanl): Likewise.
6882
6883 [BZ #15394]
6884 * math/s_catan.c (__catan): Calculate imaginary part of result
6885 with log1p not log unless computing log of number close to 0.
6886 * math/s_catanf.c (__catanf): Likewise.
6887 * math/s_catanl.c (__catanl): Likewise.
6888 * math/s_catanh.c (__catanh): Calculate real part of result with
6889 log1p not log unless computing log of number close to 0.
6890 * math/s_catanhf.c (__catanhf): Likewise.
6891 * math/s_catanhl.c (__catanhl): Likewise.
6892 * math/libm-test.inc (catan_test): Add more tests.
6893 (catanh_test): Likewise.
6894 * sysdeps/i386/fpu/libm-test-ulps: Update.
6895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6896
6897 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6898
6899 * benchtests/Makefile: Mention files in which fast and slow
6900 paths of math functions are implemented.
6901
6902 2013-04-23 Roland McGrath <roland@hack.frob.com>
6903
6904 * sysdeps/posix/timespec_get.c: New file.
6905
6906 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6907
6908 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6909 POWER.
6910 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6911 for POWER.
6912 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6913 powerpc/power5/fpu folders.
6914 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6915 * benchtests/Makefile: Add modf testcase.
6916 * benchtests/bench-modf.c: New file: Benchmark test for mo
6917
6918 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6919
6920 [BZ #14888]
6921 * time/Makefile (tests): Add tst-strptime-whitespace.
6922 * time/strptime_l.c (get_number): Use ISSPACE.
6923 (__strptime_internal): Likewise.
6924 * time/tst-strptime-whitespace.c: New test case.
6925
6926 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6927
6928 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6929 member.
6930 (_nss_files_init): Set it here.
6931
6932 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6933
6934 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6935 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6936 unsigned.
6937
6938 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6939
6940 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6941
6942 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6943
6944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6945 size just once.
6946
6947 2013-04-21 David S. Miller <davem@davemloft.net>
6948
6949 * po/ru.po: Update Russion translation from translation project.
6950
6951 2013-04-17 Adam Conrad <adconrad@0c3.net>
6952
6953 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6954 and setfsgid.
6955
6956 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6957
6958 * configure.in: Remove i386 configure warning. Remove i386 case.
6959 * configure: Regenerate.
6960 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6961 Add example to error message.
6962 * sysdeps/i386/configure: Regenerate.
6963
6964 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6965
6966 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6967 slowtan.
6968 * benchtests/cos-inputs: New file.
6969 * benchtests/slowcos-inputs: New file.
6970 * benchtests/slowcos.c: New file.
6971 * benchtests/slowtan-inputs: New file.
6972 * benchtests/slowtan.c: New file.
6973 * benchtests/tan-inputs: New file.
6974
6975 2013-04-16 Roland McGrath <roland@hack.frob.com>
6976
6977 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6978 considered kosher.
6979
6980 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6981
6982 * benchtests/Makefile: Include cppflags-iterator.mk to add
6983 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6984
6985 * Makefile.in (bench-clean): New target.
6986 * benchtests/Makefile (bench-clean): Likewise.
6987
6988 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6989
6990 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6991
6992 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6993
6994 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6995
6996 2013-04-15 Andreas Schwab <schwab@suse.de>
6997
6998 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7000 * nscd/pwdcache.c (cache_addpw): Likewise.
7001 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7002 more than recsize.
7003
7004 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7005
7006 * benchtests/Makefile (bench): Write all output to
7007 bench-out.tmp together.
7008
7009 2013-04-15 Andreas Schwab <schwab@suse.de>
7010
7011 * nscd/nscd.c (main): Don't fork again after closing files.
7012
7013 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7014
7015 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7016
7017 * benchtests/Rules (bench-deps): Collect dependencies into a
7018 single variable. Add Makefile to dependencies.
7019 ($(objpfx)bench-%.c): Depend on bench-deps.
7020
7021 2013-04-12 Roland McGrath <roland@hack.frob.com>
7022 Xavier Roche <roche+kml2@exalead.com>
7023
7024 [BZ #15361]
7025 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7026 just that it's a file descriptor.
7027 * manual/llio.texi (Synchronizing AIO Operations): Update description
7028 for EBADF error from aio_fsync.
7029
7030 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7031
7032 * Rules (bench): Move target definition...
7033 * benchtests/Makefile: ... here.
7034
7035 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7036
7037 * math/libm-test.inc (cos_test): Fix PI/2 test.
7038 (sincos_test): Likewise.
7039 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7040 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7041
7042 2013-04-11 Andreas Schwab <schwab@suse.de>
7043
7044 [BZ #13988]
7045 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7046 accept exponent character only when digits were seen.
7047 * stdio-common/Makefile (tests): Add bug26.
7048 * stdio-common/bug26.c: New file.
7049
7050 [BZ #14293]
7051 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7052 non-freeable.
7053
7054 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7055
7056 * Makeconfig (rtld-prefix): Define built linker prefix.
7057 * Rules (run-bench): Use it.
7058 * math/Makefile (run-regen-ulps): Likewise.
7059
7060 * Rules (bench): Remove eval.
7061
7062 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7063 Roland McGrath <roland@hack.frob.com>
7064 Ondrej Bilka <neleai@seznam.cz>
7065
7066 [BZ #15346]
7067 * time/getdate.c: Include ctype.h and alloca.h.
7068 (__getdate_r): Trim leading and trailing spaces of input.
7069 * time/tst-getdate.c (tests): Add tests with leading and
7070 trailing spaces.
7071
7072 2013-04-08 Roland McGrath <roland@hack.frob.com>
7073
7074 [BZ #14280]
7075 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7076 when computing value.
7077
7078 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7079
7080 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7081 Use testrun.sh to run libm tests.
7082
7083 [BZ #15309]
7084 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7085
7086 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7087
7088 [BZ #15264]
7089 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7090
7091 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7092
7093 * Makefile.in (regen-ulps): New target.
7094 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7095 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7096 [ifneq (no,$(PERL)] (regen-ulps): New target.
7097 [ifeq (no,$(PERL)] (regen-ulps): New target.
7098 * math/libm-test.inc (ulps_file_name): Define.
7099 (output_dir): New variable.
7100 (options): Add "output-dir" option.
7101 (parse_opt): Handle 'o' case.
7102 (main): If output_dir is non-NULL use it as a prefix
7103 otherwise use "".
7104 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7105
7106 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7107
7108 [BZ #10060, #10062]
7109 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7110 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7111 fail configure if __sync_val_compare_and_swap is not inlined.
7112 * sysdeps/i386/configure: Regenerate.
7113 * configure.in: Build for i686 when configured for i386.
7114 * configure: Regenerate.
7115 * README: Remove i386 reference.
7116
7117 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7118
7119 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7121
7122 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7123
7124 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7125 (lmsnanval): New variables.
7126 (F): Add conversion tests.
7127 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7128 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7129
7130 * stdio-common/tstdiomisc.c (F): Properly collect individual
7131 tests' results.
7132
7133 [BZ #14686, #15336]
7134 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7135 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7136 Instead, use input NaN values or generate a qNaN by arithmetic
7137 operation. Also fix bugs to comply with the standard.
7138 * math/libm-test.inc (remainder_test): Add more tests.
7139
7140 [BZ #15335, #15342]
7141 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7143 input NaN values or generate a qNaN by arithmetic operation.
7144
7145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7146 unreachable code.
7147
7148 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7149 definitions.
7150
7151 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7152
7153 [BZ #14478]
7154 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7155 underflowed result.
7156 * math/s_cexpf.c (__cexpf): Likewise.
7157 * math/s_cexpl.c (__cexpl): Likewise.
7158 * math/libm-test.inc (cexp_test): Add more tests.
7159
7160 2013-04-03 Andreas Schwab <schwab@suse.de>
7161
7162 [BZ #15330]
7163 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7164 order arrays from heap if bigger than alloca cutoff.
7165
7166 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7167
7168 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7169 (SNAN_TESTS_double): Refer to GCC PR56831.
7170 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7171 GCC PR56828.
7172
7173 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7174
7175 * Rules (bench): Move bench.out after the run is complete.
7176
7177 * Rules (bench): Echo currently running benchmark.
7178
7179 * benchtests/Makefile (bench): Add atan and slowatan.
7180 * benchtests/atan-inputs: New file.
7181 * benchtests/slowatan-inputs: New file.
7182 * benchtests/slowatan.c: New file.
7183
7184 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7185 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7186 its value.
7187
7188 [BZ #15305]
7189 * sysdeps/unix/sysv/linux/kernel-features.h
7190 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7191 __ASSUME_XFS_RESTRICTED_CHOWN.
7192 * sysdeps/unix/sysv/linux/pathconf.c
7193 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7194 Save and restore errno.
7195
7196 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7197
7198 [BZ #15327]
7199 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7200 arguments using __kernel_casinh.
7201 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7202 arguments using __kernel_casinhf.
7203 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7204 arguments using __kernel_casinhl.
7205 * math/libm-test.inc (cacosh_test): Add more tests.
7206 * sysdeps/i386/fpu/libm-test-ulps: Update.
7207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7208
7209 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7210
7211 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7213
7214 * bench/Makefile (bench): Add sin and slowsin.
7215 * benchtests/sin-inputs: New file.
7216 * benchtests/slowsin-inputs: New file.
7217 * benchtests/slowsin.c: New file.
7218
7219 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7220 (bench): Add slowexp and slowpow.
7221 (exp-ITER): Increase iterations.
7222 (pow-ITER): Likewise.
7223 * benchtests/exp-inputs: Change input.
7224 * benchtests/pow-inputs: Likewise.
7225 * benchtests/slowexp-inputs: New file.
7226 * benchtests/slowexp.c: New file.
7227 * benchtests/slowpow-inputs: New file.
7228 * benchtests/slowpow.c: New file.
7229
7230 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7231
7232 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7233 instructions.
7234 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7235 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7236 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7237 * benchtests/Makefile: Add rint benchtest.
7238 * benchtests/rint-inputs: Input for rint benchtest.
7239
7240 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7241
7242 * Versions.def (libm): Add GLIBC_2.18.
7243 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7244 hidden libm prototypes.
7245 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7246 * math/Makefile (libm-calls): Add s_issignaling.
7247 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7248 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7249 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7250 declaration.
7251 * math/math.h [__USE_GNU] (issignaling): New macro.
7252 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7253 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7254 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7255 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7258 * manual/arith.texi (issignaling): New section.
7259 * manual/libm-err-tab.pl (@all_functions): Update comment.
7260 * math/gen-libm-test.pl (parse_args): Apply special handling for
7261 issignaling.
7262 * math/libm-test.inc (print_float, issignaling_test): New
7263 functions.
7264 (check_float_internal): Add issignaling checks.
7265 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7266 default definition.
7267 * sysdeps/powerpc/math-tests.h: New file.
7268 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7269 tests.
7270 * math/test-snan.c (TEST_FUNC): Likewise.
7271
7272 2013-03-30 David S. Miller <davem@davemloft.net>
7273
7274 * po/de.po: Update from translation team.
7275
7276 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7277
7278 [BZ #10357]
7279 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7280 imaginary part less than 1.0 and real part less than 0.5
7281 specially.
7282 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7283 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7284 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7285 (cacos_test): Add more tests.
7286 (casin_test): Likewise.
7287 (casinh_test): Likewise.
7288 * sysdeps/i386/fpu/libm-test-ulps: Update.
7289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7290
7291 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7292
7293 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7294 ONE with its value.
7295
7296 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7297 (__pow_mp): Replace ONE and MONE with their values.
7298 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7300 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7301 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7302 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7303 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7304
7305 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7306
7307 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7308 (__pow_mp): Replace ZERO and MZERO with their values.
7309 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7311 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7314 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7315 (__sqr): Likewise.
7316
7317 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7318
7319 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7320
7321 2013-03-28 Roland McGrath <roland@hack.frob.com>
7322
7323 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7324 Declare with __attribute__ ((weak)).
7325 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7326 Call __call_tls_dtors only if it's not NULL.
7327
7328 2013-03-28 Roland McGrath <roland@hack.frob.com>
7329
7330 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7331 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7332 magic __ehdr_start linker symbol if it's defined.
7333 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7334 them up here if it was already done.
7335
7336 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7337 (_dl_aux_init): Use const in cast when setting it.
7338 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7339 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7340 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7341
7342 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7343 Declare them here.
7344 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7345 * csu/libc-tls.c: Nor here.
7346 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7347
7348 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7349 (__libc_message): Never call vsyslog.
7350
7351 2013-03-28 Alan Modra <amodra@gmail.com>
7352
7353 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7354 Define as empty.
7355 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7356 Likewise.
7357
7358 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7359
7360 [BZ #15214]
7361 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7362 underflow.
7363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7364
7365 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7366
7367 [BZ #15304]
7368 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7369 Don't add gid passed as argument.
7370
7371 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7372
7373 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7374
7375 [BZ #15307]
7376 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7377 imaginary part between 1.0 and 1.5 and real part less than 0.5
7378 specially.
7379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7381 * math/libm-test.inc (cacos_test): Add more tests.
7382 (casin_test): Likewise.
7383 (casinh_test): Likewise.
7384 * sysdeps/i386/fpu/libm-test-ulps: Update.
7385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7386
7387 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7388
7389 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7390 constants.
7391 (norm): Likewise.
7392 (denorm): Likewise.
7393 (__dbl_mp): Likewise.
7394 (add_magnitudes): Likewise.
7395 (sub_magnitudes): Likewise.
7396 (__add): Likewise.
7397 (__sub): Likewise.
7398 (__mul): Likewise.
7399 (__sqr): Likewise.
7400 (__inv): Likewise.
7401 (__dvd): Likewise.
7402
7403 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7404 commented code.
7405 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7406 (__dubcos): Likewise.
7407 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7408 (__ieee754_acos): Likewise.
7409 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7410 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7411 (__exp1): Likewise.
7412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7414 (log1): Likewise.
7415 (my_log2): Likewise.
7416 (checkint): Likewise.
7417 * sysdeps/ieee754/dbl-64/e_remainder.c
7418 (__ieee754_remainder): Likewise.
7419 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7421 (bsloww): Likewise.
7422 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7423
7424 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7425 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7426 MANTISSA_STORE_T to store computations on mantissa. Use
7427 macros for rounding and division.
7428 (denorm): Likewise.
7429 (__dbl_mp): Likewise.
7430 (add_magnitudes): Likewise.
7431 (sub_magnitudes): Likewise.
7432 (__mul): Likewise.
7433 (__sqr): Likewise.
7434 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7435 powers of two in terms of TWOPOW macro.
7436 (mp_no): Make type of mantissa as MANTISSA_T.
7437 [!RADIXI]: Define RADIXI.
7438 [!TWO52]: Define TWO52.
7439 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7440
7441 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7442
7443 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7444 llroundl symbol when building for PPC32.
7445
7446 2013-03-24 Mark H Weaver <mhw@netris.org>
7447
7448 * manual/arith.texi (Normalization Functions): Fix prototypes for
7449 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7450
7451 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7452
7453 [BZ #13889]
7454 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7455 high value to check if expl overflow.
7456 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7457 to check for underflow and overflow.
7458 * math/libm-test.inc: Add exp test.
7459
7460 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7461
7462 [BZ #11120]
7463 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7464 with NOT_IN_libc.
7465
7466 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7467
7468 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7469 symbol.
7470
7471 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7472
7473 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7474 wrap blocks consisting of several statements.
7475
7476 * sysdeps/generic/math-tests.h: New file.
7477 * sysdeps/i386/fpu/math-tests.h: Likewise.
7478 * math/test-snan.c: Include it.
7479 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7480
7481 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7482
7483 [BZ #15285]
7484 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7485 (__ieee754_j0l): Do not improve calculations using cos of twice
7486 input for inputs above LDBL_MAX / 2.0L.
7487 (__ieee754_y0l): Likewise.
7488 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7489 (__ieee754_j1l): Do not improve calculations using cos of twice
7490 input for inputs above LDBL_MAX / 2.0L.
7491 (__ieee754_y1l): Likewise.
7492 * math/libm-test.inc (j0_test): Add another test.
7493 (j1_test): Likewise.
7494 (y0_test): Likewise.
7495 (y1_test): Likewise.
7496 * sysdeps/i386/fpu/libm-test-ulps: Update.
7497
7498 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7499
7500 * Rules ($(objpfx)bench-%.c): Include code from a C source
7501 file.
7502
7503 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7504
7505 [BZ #15287]
7506 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7507 imaginary part 1.0 and real part less than 0.5 specially.
7508 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7509 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7510 * math/libm-test.inc (cacos_test): Add more tests.
7511 (casin_test): Likewise.
7512 (casinh_test): Likewise.
7513 * sysdeps/i386/fpu/libm-test-ulps: Update.
7514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7515
7516 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7517
7518 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7519 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7520
7521 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7522
7523 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7524 * config.make.in (config-cflags-sse4): Remove variable.
7525 (config-cflags-avx): Likewise.
7526 (config-cflags-sse2avx): Likewise.
7527 (config-cflags-novzeroupper): Likewise.
7528 (config-asflags-i686): Likewise.
7529 (have-mfma4): Likewise.
7530 (have-as-vis3): Likewise.
7531 (MIG): Likewise.
7532 * configure.in (MIG): Do not AC_SUBST.
7533 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7534 (libc_cv_cc_sse4): Do not AC_SUBST.
7535 (libc_cv_cc_avx): Likewise.
7536 (libc_cv_cc_sse2avx): Likewise.
7537 (libc_cv_cc_novzeroupper): Likewise.
7538 (libc_cv_cc_fma4): Likewise.
7539 (libc_cv_as_i686): Likewise.
7540 (libc_cv_sparc_as_vis3): Likewise.
7541 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7542 LIBC_CONFIG_VAR.
7543 (config-asflags-i686): Likewise.
7544 (config-cflags-avx): Likewise.
7545 (config-cflags-sse2avx): Likewise.
7546 (have-mfma4): Likewise.
7547 (config-cflags-novzeroupper): Likewise.
7548 * sysdeps/mach/configure.in (MIG): Likewise.
7549 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7550 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7551 LIBC_CONFIG_VAR.
7552 (config-cflags-avx): Likewise.
7553 (config-cflags-sse2avx): Likewise.
7554 (have-mfma4): Likewise.
7555 (config-cflags-novzeroupper): Likewise.
7556 * configure: Regenerated.
7557 * sysdeps/i386/configure: Likewise.
7558 * sysdeps/mach/configure: Likewise.
7559 * sysdeps/sparc/configure: Likewise.
7560 * sysdeps/x86_64/configure: Likewise.
7561
7562 2013-03-20 Roland McGrath <roland@hack.frob.com>
7563
7564 [BZ #14812]
7565 * locale/programs/localedef.c (options): Put N_ translation marker
7566 on argument names, not just descriptions.
7567
7568 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7569
7570 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7571
7572 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7573
7574 [BZ #14176]
7575 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7576
7577 2013-03-19 Roland McGrath <roland@hack.frob.com>
7578
7579 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7580 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7581 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7582 [!BEFORE_ABORT] (before_abort): New function.
7583 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7584 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7585 (writev_for_fatal): New function.
7586 (WRITEV_FOR_FATAL): New macro; call that.
7587 (backtrace_and_maps): New function.
7588 (BEFORE_ABORT): New macro; call that.
7589 (struct str_list): Type removed.
7590 (__libc_message, __libc_fatal): Functions removed.
7591 Include <sysdeps/posix/libc_fatal.c> instead.
7592
7593 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7594
7595 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7596 constants.
7597 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7598 double constants.
7599
7600 2013-03-19 Andreas Schwab <schwab@suse.de>
7601
7602 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7603 * sysdeps/gnu/configure: Regenerate.
7604
7605 * configure.in: Substitute libc_cv_rtlddir.
7606 * configure: Regenerate.
7607 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7608 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7609 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7610 * elf/Makefile (install-others, CFLAGS-interp.c)
7611 (ldso_install, common-ldd-rewrite): Likewise.
7612 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7613 $(inst_slibdir)/$(rtld-installed-name).
7614 * scripts/rellns-sh: Add -p option.
7615 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7616 for source.
7617
7618 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7619
7620 * manual/nptl.texi: Renamed to ...
7621 * manual/threads.texi: ... this.
7622 * manual/Makefile (chapters): Update.
7623
7624 2013-03-18 Roland McGrath <roland@hack.frob.com>
7625
7626 [BZ #14812]
7627 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7628 on argument names, not just descriptions.
7629 * malloc/memusagestat.c (options): Likewise.
7630 * nss/getent.c (options): Likewise.
7631
7632 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7633
7634 [BZ #14812]
7635 * iconv/iconv_prog.c (options): Put N_ translation marker
7636 on argument names, not just descriptions.
7637 * iconv/iconvconfig.c (options): Likewise.
7638
7639 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7640
7641 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7642 implementation which is faster on all x86_64 architectures.
7643 Tested on AMD, Intel Nehalem, SNB, IVB.
7644 * sysdeps/x86_64/strnlen.S: Likewise.
7645
7646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7647 Remove all multiarch strlen and strnlen versions.
7648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7649 Remove strlen and strnlen related parts.
7650
7651 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7652 Inline strlen part.
7653 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7654
7655 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7656 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7657 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7658 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7659 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7660 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7661
7662 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7663
7664 * manual/memory.texi (Malloc Tunable Parameters):
7665 Sort parameters alphabetically. Add comments for missing entries.
7666
7667 2013-03-17 David S. Miller <davem@davemloft.net>
7668
7669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7670
7671 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7672
7673 [BZ #15283]
7674 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7675 for arguments at most half maximum finite value.
7676 * math/libm-test.inc (j0_test): Add more tests.
7677 (j1_test): Likewise.
7678 (y0_test): Likewise.
7679 (y1_test): Likewise.
7680 * sysdeps/i386/fpu/libm-test-ulps: Update.
7681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7682
7683 [BZ #14155]
7684 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7685 1 / x and functions P and Q for arguments above 0x1p256L.
7686 (__ieee754_y0l): Likewise.
7687 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7688 (__ieee754_y1l): Likewise.
7689 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7690 (j1_test): Likewise.
7691 (y0_test): Likewise.
7692 (y1_test): Likewise.
7693
7694 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7695
7696 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7697 variable.
7698
7699 2013-03-15 Roland McGrath <roland@hack.frob.com>
7700
7701 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7702 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7703 zero since it's initialized to EXEC_PAGESIZE.
7704
7705 * sysdeps/unix/sysv/linux/ldsodefs.h
7706 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7707 * sysdeps/generic/ldsodefs.h: ... here.
7708
7709 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7710
7711 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7712
7713 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7714 math/test-snan.c.
7715 * math/test-snan.c: Renamed from
7716 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7717 * math/Makefile (tests): Add test-snan.
7718 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7719 test-powerpc-snan.
7720
7721 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7722 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7723 functions.
7724 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7725 __builtin_nan family of functions.
7726 * math/libm-test.inc (initialize): Initialize qnan_value with
7727 __builtin_nan family of functions.
7728 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7729 Remove variables.
7730 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7731 Remove functions.
7732 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7733 storage class. Initialize qNaN_var and sNaN_var with
7734 __builtin_nan and __builtin_nans families of functions,
7735 respectively.
7736
7737 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7738 (sqrt_test): Remove duplicate test with qNaN input.
7739 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7740 (round_test, signbit_test, significand_test): Note missing +/-Inf
7741 as well as qNaN tests.
7742
7743 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7744 qNaN_var. Fix a few strings, too.
7745 * math/libm-test.inc (nan_value): Rename to qnan_value.
7746 * math/gen-libm-test.pl (%beautify): Adjust to that.
7747 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7748 * math/test-misc.c (main): Likewise.
7749 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7750 to __qnan_bytes, and __qnan_union, respectively.
7751 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7752 Likewise.
7753 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7754 and lqnanval, respectively.
7755 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7756 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7757 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7758 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7759
7760 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7761 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7762 doubles.
7763
7764 * math/test-misc.c (main): Fix copy'n'pastos.
7765 * misc/tst-efgcvt.c (special): Likewise.
7766
7767 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7768 Remove declarations.
7769
7770 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7771
7772 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7773 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7774 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7775 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7776
7777 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7778
7779 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7780 macro to return vdso values correctly in IFUNC implementations.
7781 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7782 Optimization by using IFUNC.
7783
7784 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7785 Richard Henderson <rth@redhat.com>
7786 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7787
7788 * Makefile.in (bench): New target.
7789 * NEWS: Mention the benchmark framework.
7790 * Rules (bench): Likewise.
7791 (binaries-bench): Generate binaries for functions to
7792 benchmark.
7793 * benchtests/Makefile: New makefile for benchmark tests.
7794 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7795 programs.
7796 * benchtests/exp-inputs: New input file for EXP function.
7797 * benchtests/pow-inputs: New input file for POW function.
7798 * scripts/bench.pl: New script to generate source files for
7799 benchmark programs.
7800
7801 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7802
7803 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7804 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7805 computations on mantissa. Use macros for rounding and
7806 division.
7807 (denorm): Likewise.
7808 (__dbl_mp): Likewise.
7809 (add_magnitudes): Likewise.
7810 (sub_magnitudes): Likewise.
7811 (__mul): Likewise.
7812 (__sqr): Likewise.
7813 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7814 powers of two in terms of TWOPOW macro.
7815 (mp_no): Make type of mantissa as MANTISSA_T.
7816 [!RADIXI]: Define RADIXI.
7817 [!TWO52]: Define TWO52.
7818 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7819
7820 * manual/nptl.texi (cindex): Modify threads to pthreads.
7821
7822 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7823
7824 * sysdeps/x86_64/preconfigure: Regenerated.
7825
7826 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7827
7828 [BZ #14155]
7829 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7830 0x1p28 and above.
7831 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7832 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7833 0x1p28 and above.
7834 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7835 * math/libm-test.inc (j0_test): Do not allow one spurious
7836 underflow exception.
7837 (y1_test): Likewise.
7838
7839 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7840
7841 * manual/Makefile (chapters): Add nptl.
7842 * manual/debug.texi (Debugging Support): Add link to Threads
7843 chapter.
7844 * manual/nptl.texi: New file.
7845
7846 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7847
7848 2013-03-14 Petr Baudis <pasky@ucw.cz>
7849
7850 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7851 for non-NULL pointer before the memory validity test. Pointed
7852 out by Holger Brunck <holger.brunck@keymile.com>.
7853
7854 2013-03-13 Andreas Schwab <schwab@suse.de>
7855
7856 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7857 instead of .os.
7858
7859 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7860
7861 * timezone/zic.c: Update from tzcode 2013b.
7862
7863 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7864
7865 * manual/install.texi (Configuring and compiling):
7866 Mention i686 and i586.
7867 * INSTALL: Regenerate.
7868
7869 2013-03-12 Roland McGrath <roland@hack.frob.com>
7870
7871 * sysdeps/init_array/elf-init.c: New file.
7872 * csu/elf-init.c
7873 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7874 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7875
7876 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7877 __gmon_start__ as global, but as static with a .preinit_array pointer.
7878 * sysdeps/init_array/gmon-start.c: New file. Use that.
7879 * sysdeps/init_array/crti.S: New file, empty except for comments.
7880 * sysdeps/init_array/crtn.S: Likewise.
7881
7882 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7883
7884 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7885 definining bcopy.
7886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7887 Remove Prefer_SSE_for_memop.
7888 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7889 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7890 HAS_PREFER_SSE_FOR_MEMOP.
7891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7892 memset-x86-64.
7893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7894 Remove bzero, memset ifunc support.
7895 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7896 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7897 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7898 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7899
7900 2013-03-11 Andreas Schwab <schwab@suse.de>
7901
7902 [BZ #15234]
7903 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7904 by SHLIB_COMPAT.
7905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7906 (GLIBC_2.16): Remove pthread_atfork.
7907
7908 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7909
7910 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7911 (ptestcases.h): Likewise.
7912
7913 2013-03-08 Roland McGrath <roland@hack.frob.com>
7914
7915 * Makeconfig ($(common-objpfx)config.status): Depend on
7916 sysdeps/*/preconfigure{,.in} too.
7917
7918 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7919
7920 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7921 (__free_hook): Use void * instead of __malloc_ptr_t.
7922 (__malloc_hook): Likewise.
7923 (__realloc_hook): Likewise.
7924 (__memalign_hook): Likewise.
7925 (__after_morecore_hook): Likewise.
7926 * malloc/arena.c (save_malloc_hook): Likewise.
7927 (save_free_hook): Likewise.
7928 * malloc/hooks.c (malloc_hook_ini): Likewise.
7929 (realloc_hook_ini): Likewise.
7930 (memalign_hook_ini): Likewise.
7931 * malloc/malloc.c (malloc_hook_ini): Likewise.
7932 (realloc_hook_ini): Likewise.
7933 (memalign_hook_ini): Likewise.
7934 (__free_hook): Likewise.
7935 (__malloc_hook): Likewise.
7936 (__realloc_hook): Likewise.
7937 (__memalign_hook): Likewise.
7938 (__libc_malloc): Likewise.
7939 (__libc_free): Likewise.
7940 (__libc_realloc): Likewise.
7941 (__libc_memalign): Likewise.
7942 (__libc_valloc): Likewise.
7943 (__libc_pvalloc): Likewise.
7944 (__libc_calloc): Likewise.
7945 (__posix_memalign): Likewise.
7946 * malloc/morecore.c (__sbrk): Likewise.
7947 (__default_morecore): Likewise.
7948
7949 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7950
7951 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7952 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7953 __malloc_ptrdiff_t.
7954
7955 * malloc/malloc.h (__malloc_size_t): Remove macro.
7956 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7957 __malloc_size_t.
7958 (old_memalign_hook): Likewise.
7959 (old_realloc_hook): Likewise.
7960 (struct hdr): Likewise.
7961 (flood): Likewise.
7962 (mallochook): Likewise.
7963 (memalignhook): Likewise.
7964 (reallochook): Likewise.
7965 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7966 (tr_old_realloc_hook): Likewise.
7967 (tr_old_memalign_hook): Likewise.
7968 (tr_mallochook): Likewise.
7969 (tr_reallochook): Likewise.
7970 (tr_memalignhook): Likewise.
7971
7972 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7973
7974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7975 default_ldbl_pack and using as default implementation.
7976 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7977 implementation.
7978 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7979 redundant definition.
7980 (ldbl_insert_mantissa): Likewise.
7981 (ldbl_canonicalize): Likewise.
7982 (ldbl_nearbyint): Likewise.
7983 (ldbl_pack): Rename to ldbl_pack_ppc.
7984 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7985 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7986 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7987
7988 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7989
7990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7991 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7992 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7993 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7995 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7996 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7997 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7998
7999 2013-03-07 Andreas Jaeger <aj@suse.de>
8000
8001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8002 bits/mman-linux.h.
8003
8004 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8005
8006 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8007 Include mpa.h and declare __MPEXP.
8008 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8009 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8010 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8011 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8012 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8013 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8014 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8015
8016 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8017 (__slowpow): Use long double EXPL and LOGL functions to
8018 compute POW.
8019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8020 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8022 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8023 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8024 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8025
8026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8027 intermediate variable to calculate exponent.
8028 (__sqr): Likewise.
8029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8030 Likewise.
8031 (__sqr): Likewise.
8032
8033 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8034 [!NO__SQR]: Define __sqr.
8035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8036 and NO__SQR. Remove all code except __mul and __sqr. Include
8037 sysdeps/ieee754/dbl-64/mpa.c.
8038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8039
8040 [BZ #12723]
8041 * posix/Makefile (tests): Add tst-pathconf.
8042 * posix/tst-pathconf.c: New test case.
8043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8044 _PC_PIPE_BUF.
8045 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8046
8047 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8048
8049 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8050
8051 2013-03-06 Andreas Jaeger <aj@suse.de>
8052
8053 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8054 definition via __MAP_ANONYMOUS.
8055
8056 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8057 it's not part of Linux headers.
8058
8059 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8060 (MAP_HUGE_MASK): Define.
8061
8062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8063 Define.
8064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8066 Define.
8067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8068 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8069 Define.
8070 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8071 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8072 Define.
8073 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8074
8075 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8076 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8077 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8078 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8079 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8080 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8081
8082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8083 Handle f2fs.
8084
8085 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8086 Handle f2fs and efivarfs.
8087
8088 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8089 f2fs.
8090
8091 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8092 (EFIVARFS_MAGIC): Add.
8093 (F2FS_LINK_MAX): Add.
8094
8095 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8096
8097 * stdio-common/vfprintf.c: Replace __builtin_expect with
8098 __glibc_unlikely.
8099
8100 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8101
8102 [BZ #13550]
8103 * sysdeps/generic/bp-sym.h: Remove file.
8104 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8105 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8106 <bp-sym.h> and <bp-asm.h>.
8107 (__longjmp): Don't use BP_SYM.
8108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8109 and <bp-asm.h>.
8110 (memcpy): Don't use BP_SYM.
8111 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8112 <bp-sym.h> and <bp-asm.h>.
8113 (memcpy): Don't use BP_SYM.
8114 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8115 <bp-asm.h>.
8116 (memcpy): Don't use BP_SYM.
8117 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8118 <bp-asm.h>.
8119 (memset): Don't use BP_SYM.
8120 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8121 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8122 (__bzero): Don't use BP_SYM.
8123 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8124 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8125 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8126 <bp-sym.h> and <bp-asm.h>.
8127 (memcmp): Don't use BP_SYM. Remove comment about bounded
8128 pointers.
8129 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8130 <bp-sym.h> and <bp-asm.h>.
8131 (memcpy): Don't use BP_SYM.
8132 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8133 <bp-sym.h> and <bp-asm.h>.
8134 (memset): Don't use BP_SYM.
8135 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8136 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8137 (__bzero): Don't use BP_SYM.
8138 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8139 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8140 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8141 <bp-sym.h> and <bp-asm.h>.
8142 (strncmp): Don't use BP_SYM. Remove comment about bounded
8143 pointers.
8144 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8145 <bp-sym.h> and <bp-asm.h>.
8146 (memcpy): Don't use BP_SYM.
8147 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8148 <bp-sym.h> and <bp-asm.h>.
8149 (memset): Don't use BP_SYM.
8150 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8151 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8152 (__bzero): Don't use BP_SYM.
8153 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8154 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8155 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8156 <bp-sym.h> and <bp-asm.h>.
8157 (__memchr): Don't use BP_SYM.
8158 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8159 <bp-sym.h> and <bp-asm.h>.
8160 (memcmp): Don't use BP_SYM. Remove comment about bounded
8161 pointers.
8162 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8163 <bp-sym.h> and <bp-asm.h>.
8164 (memcpy): Don't use BP_SYM.
8165 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8166 <bp-sym.h> and <bp-asm.h>.
8167 (__mempcpy): Don't use BP_SYM.
8168 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8169 <bp-sym.h> and <bp-asm.h>.
8170 (__memrchr): Don't use BP_SYM.
8171 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8172 <bp-sym.h> and <bp-asm.h>.
8173 (memset): Don't use BP_SYM.
8174 (__bzero): Likewise.
8175 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8176 <bp-sym.h> and <bp-asm.h>.
8177 (__rawmemchr): Don't use BP_SYM.
8178 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8179 <bp-sym.h> and <bp-asm.h>.
8180 (__STRCMP): Don't use BP_SYM.
8181 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8182 <bp-sym.h> and <bp-asm.h>.
8183 (strchr): Don't use BP_SYM.
8184 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8185 <bp-sym.h> and <bp-asm.h>.
8186 (__strchrnul): Don't use BP_SYM.
8187 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8188 <bp-sym.h> and <bp-asm.h>.
8189 (strlen): Don't use BP_SYM.
8190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8191 <bp-sym.h> and <bp-asm.h>.
8192 (strncmp): Don't use BP_SYM. Remove comment about bounded
8193 pointers.
8194 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8195 <bp-sym.h> and <bp-asm.h>.
8196 (__strnlen): Don't use BP_SYM.
8197 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8198 <bp-sym.h> and <bp-asm.h>.
8199 (__GI__setjmp): Don't use BP_SYM.
8200 (_setjmp): Likewise.
8201 (__sigsetjmp): Likewise.
8202 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8203 (L(start_addresses)): Don't use BP_SYM.
8204 (_start): Likewise.
8205 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8206 <bp-asm.h>.
8207 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8208 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8209 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8210 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8211 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8212 <bp-asm.h>.
8213 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8214 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8215 about bounded pointers.
8216 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8217 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8218 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8219 <bp-asm.h>.
8220 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8221 about bounded pointers. Remove GKM FIXME comments.
8222 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8223 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8224 <bp-asm.h>.
8225 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8226 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8227 Remove GKM FIXME comments.
8228 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8229 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8230 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8231 <bp-asm.h>.
8232 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8233 about bounded pointers. Remove GKM FIXME comment.
8234 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8235 and <bp-asm.h>.
8236 (strncmp): Don't use BP_SYM. Remove comment about bounded
8237 pointers.
8238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8239 <bp-sym.h> and <bp-asm.h>.
8240 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8242 <bp-sym.h> and <bp-asm.h>.
8243 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8244 comment.
8245
8246 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8247
8248 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8249 call free(NULL).
8250
8251 2013-03-05 David S. Miller <davem@davemloft.net>
8252
8253 * po/es.po: Update from translation team.
8254
8255 2013-03-05 Andreas Jaeger <aj@suse.de>
8256
8257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8258 <bits/mman-linux.h>.
8259 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8260 is fine.
8261 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8262 <bits/mman-linux.h> to end of file.
8263 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8264 is fine.
8265 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8266 <bits/mman-linux.h> to end of file.
8267 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8268 is fine.
8269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8270 <bits/mman-linux.h> to end of file.
8271
8272 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8273 (MCL_CURRENT, MCL_FUTURE): Define here.
8274
8275 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8276
8277 [BZ #15232]
8278 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8279 attribute_hidden.
8280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8281
8282 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8283
8284 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8285 fourth parameter needed for rt_sigprocmask syscall.
8286 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8287 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8288 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8289 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8290 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8291 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8292
8293 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8294
8295 [BZ #13550]
8296 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8297 comment about bounded pointers.
8298 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8299 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8300
8301 2013-03-04 Andreas Jaeger <aj@suse.de>
8302
8303 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8304 common definitions.
8305
8306 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8307 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8308 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8309 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8310 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8311 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8312
8313 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8314
8315 [BZ #15055]
8316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8317 __ieee754_sqrl instead of __sqrl.
8318
8319 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8320
8321 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8322 * sysdeps/powerpc/fpu_control.h: ... here.
8323 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8324 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8325 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8326 * sysdeps/powerpc/bits/mathinline.h: ... here.
8327
8328 2013-03-01 Roland McGrath <roland@hack.frob.com>
8329
8330 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8331 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8332 to just [NEED_DL_SYSINFO_DSO].
8333 * elf/dl-support.c: Likewise.
8334 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8335 * elf/rtld.c (dl_main): Likewise.
8336 * elf/setup-vdso.h (setup_vdso): Likewise.
8337 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8338 * sysdeps/unix/sysv/linux/dl-sysdep.c
8339 (_dl_discover_osversion): Likewise.
8340
8341 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8342
8343 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8344 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8345
8346 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8347
8348 * NEWS: Mention libm performance improvements and non-x86 PI
8349 futex support.
8350
8351 * csu/libc-start.c (__pthread_initialize_minimal): Change
8352 function arguments.
8353 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8354
8355 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8356
8357 [BZ #13550]
8358 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8359 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8360 <bp-sym.h> and <bp-asm.h>.
8361 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8362 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8363 and <bp-asm.h>.
8364 (memcpy): Don't use BP_SYM.
8365 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8366 <bp-asm.h>.
8367 (__mpn_add_n): Don't use BP_SYM.
8368 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8369 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8370 and <bp-asm.h>.
8371 (__mpn_addmul_1): Don't use BP_SYM.
8372 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8373 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8374 <bp-sym.h>.
8375 (_setjmp): Don't use BP_SYM.
8376 (__novmx_setjmp): Likewise.
8377 (__GI__setjmp): Likewise.
8378 (__vmx_setjmp): Likewise.
8379 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8380 <bp-sym.h>.
8381 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8382 (__bzero): Don't use BP_SYM.
8383 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8384 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8385 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8386 <bp-sym.h> and <bp-asm.h>.
8387 (memcpy): Don't use BP_SYM.
8388 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8389 <bp-sym.h> and <bp-asm.h>.
8390 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8391 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8392 <bp-sym.h> and <bp-asm.h>.
8393 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8394 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8395 <bp-asm.h>.
8396 (__mpn_lshift): Don't use BP_SYM.
8397 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8398 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8399 <bp-asm.h>.
8400 (memset): Don't use BP_SYM.
8401 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8402 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8403 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8404 <bp-asm.h>.
8405 (__mpn_mul_1): Don't use BP_SYM.
8406 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8407 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8408 <bp-sym.h> and <bp-asm.h>.
8409 (memcmp): Don't use BP_SYM.
8410 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8411 <bp-sym.h> and <bp-asm.h>.
8412 (memcpy): Don't use BP_SYM.
8413 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8414 <bp-sym.h> and <bp-asm.h>.
8415 (memset): Don't use BP_SYM.
8416 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8417 <bp-sym.h> and <bp-asm.h>.
8418 (strncmp): Don't use BP_SYM.
8419 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8420 <bp-sym.h> and <bp-asm.h>.
8421 (memcpy): Don't use BP_SYM.
8422 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8423 <bp-sym.h> and <bp-asm.h>.
8424 (memset): Don't use BP_SYM.
8425 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8426 <bp-sym.h> and <bp-asm.h>.
8427 (__memchr): Don't use BP_SYM.
8428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8429 <bp-sym.h> and <bp-asm.h>.
8430 (memcmp): Don't use BP_SYM.
8431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8432 <bp-sym.h> and <bp-asm.h>.
8433 (memcpy): Don't use BP_SYM.
8434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8435 <bp-sym.h> and <bp-asm.h>.
8436 (__mempcpy): Don't use BP_SYM.
8437 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8438 <bp-sym.h> and <bp-asm.h>.
8439 (__memrchr): Don't use BP_SYM.
8440 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8441 <bp-sym.h> and <bp-asm.h>.
8442 (memset): Don't use BP_SYM.
8443 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8444 <bp-sym.h> and <bp-asm.h>.
8445 (__rawmemchr): Don't use BP_SYM.
8446 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8447 <bp-sym.h> and <bp-asm.h>.
8448 (__STRCMP): Don't use BP_SYM.
8449 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8450 <bp-sym.h> and <bp-asm.h>.
8451 (strchr): Don't use BP_SYM.
8452 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8453 <bp-sym.h> and <bp-asm.h>.
8454 (__strchrnul): Don't use BP_SYM.
8455 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8456 <bp-sym.h> and <bp-asm.h>.
8457 (strlen): Don't use BP_SYM.
8458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8459 <bp-sym.h> and <bp-asm.h>.
8460 (strncmp): Don't use BP_SYM.
8461 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8462 <bp-sym.h> and <bp-asm.h>.
8463 (__strnlen): Don't use BP_SYM.
8464 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8465 <bp-asm.h>.
8466 (__mpn_rshift): Don't use BP_SYM.
8467 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8468 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8469 <bp-sym.h> and <bp-asm.h>.
8470 (__sigsetjmp): Don't use BP_SYM.
8471 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8472 (L(start_addresses)): Don't use BP_SYM.
8473 (_start): Likewise.
8474 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8475 <bp-asm.h>.
8476 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8477 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8478 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8479 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8480 <bp-asm.h>.
8481 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8482 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8483 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8484 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8485 <bp-asm.h>.
8486 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8487 comments.
8488 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8489 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8490 <bp-asm.h>.
8491 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8492 FIXME comments.
8493 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8494 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8495 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8496 <bp-asm.h>.
8497 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8498 comment.
8499 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8500 and <bp-asm.h>.
8501 (strncmp): Don't use BP_SYM,
8502 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8503 <bp-asm.h>.
8504 (__mpn_sub_n): Don't use BP_SYM.
8505 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8506 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8507 and <bp-asm.h>.
8508 (__mpn_submul_1): Don't use BP_SYM.
8509 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8511 <bp-sym.h> and <bp-asm.h>.
8512 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8514 <bp-sym.h> and <bp-asm.h>.
8515 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8516 comment.
8517
8518 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8519
8520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8521 Use ZK to minimize writes to Z.
8522 (sub_magnitudes): Simplify code a bit.
8523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8524 Use ZK to minimize writes to Z.
8525 (sub_magnitudes): Simplify code a bit.
8526
8527 2013-02-27 Roland McGrath <roland@hack.frob.com>
8528
8529 * csu/gmon-start.c: Add special exception to license text.
8530
8531 2013-02-27 Richard Henderson <rth@redhat.com>
8532
8533 * scripts/config.guess: Update from config.git.
8534 * scripts/config.sub: Likewise.
8535
8536 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8537
8538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8539
8540 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8541
8542 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8543
8544 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8545
8546 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8547
8548 2013-02-26 Roland McGrath <roland@hack.frob.com>
8549
8550 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8551 [$(build-shared = yes].
8552
8553 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8554
8555 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8556 (__mul): Reduce iterations for calculating mantissa.
8557
8558 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8559 MPTWO.
8560 (__mpranred): Likewise.
8561
8562 [BZ #15160]
8563 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8564 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8565
8566 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8567
8568 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8569 Define __attribute__.
8570
8571 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8572
8573 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8574 unused.
8575 * posix/regex_internal.h (__attribute): Remove.
8576 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8577 (re_string_context_at): Likewise.
8578 (bitset_not): Use __attribute__ and mark function as possibly
8579 unused.
8580 (bitset_merge): Likewise.
8581 (bitset_mask): Likewise.
8582 (re_string_char_size_at): Likewise.
8583 (re_string_wchar_at): Likewise.
8584 (re_string_elem_size_at): Likewise.
8585
8586 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8587
8588 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8589 code.
8590 (cc32): Likewise.
8591
8592 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8593 (__acr): Likewise.
8594 (__cpy): Likewise.
8595 (norm): Likewise.
8596 (denorm): Likewise.
8597 (__dbl_mp): Likewise.
8598 (add_magnitudes): Likewise.
8599 (sub_magnitudes): Likewise.
8600 (__mul): Likewise.
8601 (__inv): Likewise.
8602
8603 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8604 style.
8605
8606 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8607 style.
8608
8609 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8610 code.
8611
8612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8613 up changes with default code.
8614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8615 Likewise.
8616
8617 2013-02-24 Allan McRae <allan@archlinux.org>
8618
8619 * manual/socket.texi (The Internet Namespace): Order menu items
8620 to match that in the file.
8621
8622 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8623 node listing of the info page menu.
8624
8625 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8626
8627 [BZ #13550]
8628 * sysdeps/i386/bp-asm.h: Remove file.
8629 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8630 (PARMS): Do not use macros from bp-asm.h.
8631 (S1): Likewise.
8632 (S2): Likewise.
8633 (SIZE): Likewise.
8634 (__mpn_add_n): Do not use BP_SYM
8635 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8636 "bp-asm.h".
8637 (PARMS): Do not use macros from bp-asm.h.
8638 (S1): Likewise.
8639 (SIZE): Likewise.
8640 (__mpn_addmul_1): Do not use BP_SYM
8641 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8642 "bp-asm.h".
8643 (PARMS): Do not use macros from bp-asm.h.
8644 (SIGMSK): Likewise.
8645 (_setjmp): Likewise. Do not use BP_SYM.
8646 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8647 "bp-asm.h".
8648 (PARMS): Do not use macros from bp-asm.h.
8649 (SIGMSK): Likewise.
8650 (setjmp): Likewise. Do not use BP_SYM.
8651 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8652 "bp-asm.h".
8653 (PARMS): Do not use macros from bp-asm.h.
8654 (__frexp): Do not use BP_SYM.
8655 (frexp): Likewise.
8656 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8657 "bp-asm.h".
8658 (PARMS): Do not use macros from bp-asm.h.
8659 (__frexpf): Do not use BP_SYM.
8660 (frexpf): Likewise.
8661 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8662 "bp-asm.h".
8663 (PARMS): Do not use macros from bp-asm.h.
8664 (__frexpl): Do not use BP_SYM.
8665 (frexpl): Likewise.
8666 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8667 "bp-asm.h".
8668 (PARMS): Do not use macros from bp-asm.h.
8669 (__remquo): Do not use BP_SYM.
8670 (remquo): Likewise.
8671 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8672 "bp-asm.h".
8673 (PARMS): Do not use macros from bp-asm.h.
8674 (__remquof): Do not use BP_SYM.
8675 (remquof): Likewise.
8676 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8677 "bp-asm.h".
8678 (PARMS): Do not use macros from bp-asm.h.
8679 (__remquol): Do not use BP_SYM.
8680 (remquol): Likewise.
8681 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8682 "bp-asm.h".
8683 (PARMS): Do not use macros from bp-asm.h.
8684 (DEST): Likewise.
8685 (SRC): Likewise.
8686 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8687 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8688 "bp-asm.h".
8689 (PARMS): Do not use macros from bp-asm.h.
8690 (strlen): Do not use BP_SYM.
8691 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8692 "bp-asm.h".
8693 (PARMS): Do not use macros from bp-asm.h.
8694 (S1): Likewise.
8695 (S2): Likewise.
8696 (SIZE): Likewise.
8697 (__mpn_add_n): Do not use BP_SYM.
8698 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8699 "bp-asm.h".
8700 (PARMS): Do not use macros from bp-asm.h.
8701 (S1): Likewise.
8702 (SIZE): Likewise.
8703 (__mpn_addmul_1): Do not use BP_SYM.
8704 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8705 weak_alias.
8706 (bzero): Likewise.
8707 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8708 "bp-asm.h".
8709 (PARMS): Do not use macros from bp-asm.h.
8710 (S): Likewise.
8711 (SIZE): Likewise.
8712 (__mpn_lshift): Do not use BP_SYM.
8713 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8714 "bp-asm.h".
8715 (PARMS): Do not use macros from bp-asm.h.
8716 (DEST): Likewise.
8717 (SRC): Likewise.
8718 (LEN): Likewise.
8719 (memcpy): Likewise. Do not use BP_SYM.
8720 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8721 libc_hidden_def and weak_alias.
8722 (mempcpy): Do not use BP_SYM in weak_alias.
8723 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8724 "bp-asm.h".
8725 (PARMS): Do not use macros from bp-asm.h.
8726 (DEST): Likewise.
8727 (LEN): Likewise.
8728 [!BZERO_P] (CHR): Likewise.
8729 (memset): Likewise. Do not use BP_SYM.
8730 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8731 "bp-asm.h".
8732 (PARMS): Do not use macros from bp-asm.h.
8733 (S1): Likewise.
8734 (SIZE): Likewise.
8735 (__mpn_mul_1): Do not use BP_SYM.
8736 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8737 "bp-asm.h".
8738 (PARMS): Do not use macros from bp-asm.h.
8739 (S): Likewise.
8740 (SIZE): Likewise.
8741 (__mpn_rshift): Do not use BP_SYM.
8742 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8743 "bp-asm.h".
8744 (PARMS): Do not use macros from bp-asm.h.
8745 (STR): Likewise.
8746 (CHR): Likewise.
8747 (strchr): Likewise. Do not use BP_SYM.
8748 (index): Do not use BP_SYM in weak_alias.
8749 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8750 "bp-asm.h".
8751 (PARMS): Do not use macros from bp-asm.h.
8752 (DEST): Likewise.
8753 (SRC): Likewise.
8754 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8755 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8756 "bp-asm.h".
8757 (PARMS): Do not use macros from bp-asm.h.
8758 (strlen): Do not use BP_SYM.
8759 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8760 "bp-asm.h".
8761 (PARMS): Do not use macros from bp-asm.h.
8762 (S1): Likewise.
8763 (S2): Likewise.
8764 (SIZE): Likewise.
8765 (__mpn_sub_n): Do not use BP_SYM.
8766 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8767 "bp-asm.h".
8768 (PARMS): Do not use macros from bp-asm.h.
8769 (S1): Likewise.
8770 (SIZE): Likewise.
8771 (__mpn_submul_1): Do not use BP_SYM.
8772 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8773 "bp-asm.h".
8774 (PARMS): Do not use macros from bp-asm.h.
8775 (S1): Likewise.
8776 (S2): Likewise.
8777 (SIZE): Likewise.
8778 (__mpn_add_n): Do not use BP_SYM.
8779 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8780 weak_alias.
8781 (bzero): Likewise.
8782 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8783 "bp-asm.h".
8784 (PARMS): Do not use macros from bp-asm.h.
8785 (BLK2): Likewise.
8786 (LEN): Likewise.
8787 (memcmp): Do not use BP_SYM.
8788 (bcmp): Do not use BP_SYM in weak_alias.
8789 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8790 "bp-asm.h".
8791 (PARMS): Do not use macros from bp-asm.h.
8792 (DEST): Likewise.
8793 (SRC): Likewise.
8794 (LEN): Likewise.
8795 (memcpy): Likewise. Do not use BP_SYM.
8796 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8797 "bp-asm.h".
8798 (PARMS): Do not use macros from bp-asm.h.
8799 (DEST): Likewise.
8800 (SRC): Likewise.
8801 (LEN): Likewise.
8802 (memmove): Likewise. Do not use BP_SYM.
8803 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8804 "bp-asm.h".
8805 (PARMS): Do not use macros from bp-asm.h.
8806 (DEST): Likewise.
8807 (SRC): Likewise.
8808 (LEN): Likewise.
8809 (__mempcpy): Likewise. Do not use BP_SYM.
8810 (mempcpy): Do not use BP_SYM in weak_alias.
8811 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8812 "bp-asm.h".
8813 (PARMS): Do not use macros from bp-asm.h.
8814 (DEST): Likewise.
8815 (LEN): Likewise.
8816 [!BZERO_P] (CHR): Likewise.
8817 (memset): Likewise. Do not use BP_SYM.
8818 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8819 "bp-asm.h".
8820 (PARMS): Do not use macros from bp-asm.h.
8821 (STR2): Likewise.
8822 (strcmp): Do not use BP_SYM.
8823 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8824 "bp-asm.h".
8825 (PARMS): Do not use macros from bp-asm.h.
8826 (STR): Likewise.
8827 (DELIM): Likewise.
8828 [USE_AS_STRTOK_R] (SAVE): Likewise.
8829 (FUNCTION): Likewise. Do not use BP_SYM.
8830 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8831 aliases.
8832 (strtok_r): Likewise.
8833 (__GI___strtok_r): Likewise.
8834 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8835 (PARMS): Do not use macros from bp-asm.h.
8836 (S): Likewise.
8837 (SIZE): Likewise.
8838 (__mpn_lshift): Do not use BP_SYM.
8839 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8840 (PARMS): Do not use macros from bp-asm.h.
8841 (STR): Likewise.
8842 (CHR): Likewise.
8843 (__memchr): Do not use BP_SYM.
8844 (memchr): Do not use BP_SYM in weak_alias.
8845 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8846 (PARMS): Do not use macros from bp-asm.h.
8847 (BLK2): Likewise.
8848 (LEN): Likewise.
8849 (memcmp): Do not use BP_SYM.
8850 (bcmp): Do not use BP_SYM in weak_alias.
8851 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8852 (PARMS): Do not use macros from bp-asm.h.
8853 (S1): Likewise.
8854 (SIZE): Likewise.
8855 (__mpn_mul_1): Do not use BP_SYM.
8856 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8857 "bp-asm.h".
8858 (PARMS): Do not use macros from bp-asm.h.
8859 (STR): Likewise.
8860 (CHR): Likewise.
8861 (__rawmemchr): Do not use BP_SYM.
8862 (rawmemchr): Do not use BP_SYM in weak_alias.
8863 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8864 (PARMS): Do not use macros from bp-asm.h.
8865 (S): Likewise.
8866 (SIZE): Likewise.
8867 (__mpn_rshift): Do not use BP_SYM.
8868 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8869 (PARMS): Do not use macros from bp-asm.h.
8870 (SIGMSK): Likewise.
8871 (__sigsetjmp): Likewise. Do not use BP_SYM.
8872 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8873 (_start): Do not use BP_SYM.
8874 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8875 (PARMS): Do not use macros from bp-asm.h.
8876 (DEST): Likewise.
8877 (SRC): Likewise.
8878 (__stpcpy): Likewise. Do not use BP_SYM.
8879 (stpcpy): Do not use BP_SYM in weak_alias.
8880 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8881 "bp-asm.h".
8882 (PARMS): Do not use macros from bp-asm.h.
8883 (DEST): Likewise.
8884 (SRC): Likewise.
8885 (LEN): Likewise.
8886 (__stpncpy): Likewise. Do not use BP_SYM.
8887 (stpncpy): Do not use BP_SYM in weak_alias.
8888 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8889 (PARMS): Do not use macros from bp-asm.h.
8890 (STR): Likewise.
8891 (CHR): Likewise.
8892 (strchr): Likewise. Do not use BP_SYM.
8893 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8894 "bp-asm.h".
8895 (PARMS): Do not use macros from bp-asm.h.
8896 (STR): Likewise.
8897 (CHR): Likewise.
8898 (__strchrnul): Likewise. Do not use BP_SYM.
8899 (strchrnul): Do not use BP_SYM in weak_alias.
8900 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8901 "bp-asm.h".
8902 (PARMS): Do not use macros from bp-asm.h.
8903 (STOP): Likewise.
8904 (strcspn): Do not use BP_SYM.
8905 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8906 "bp-asm.h".
8907 (PARMS): Do not use macros from bp-asm.h.
8908 (STR): Likewise.
8909 (STOP): Likewise.
8910 (strpbrk): Likewise. Do not use BP_SYM.
8911 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8912 "bp-asm.h".
8913 (PARMS): Do not use macros from bp-asm.h.
8914 (STR): Likewise.
8915 (CHR): Likewise.
8916 (strrchr): Likewise. Do not use BP_SYM.
8917 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8918 (PARMS): Do not use macros from bp-asm.h.
8919 (SKIP): Likewise.
8920 (strspn): Do not use BP_SYM.
8921 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8922 (PARMS): Do not use macros from bp-asm.h.
8923 (STR): Likewise.
8924 (DELIM): Likewise.
8925 (SAVE): Likewise.
8926 (FUNCTION): Likewise. Do not use BP_SYM.
8927 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8928 aliases.
8929 (strtok_r): Likewise.
8930 (__GI___strtok_r): Likewise.
8931 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8932 (PARMS): Do not use macros from bp-asm.h.
8933 (S1): Likewise.
8934 (S2): Likewise.
8935 (SIZE): Likewise.
8936 (__mpn_sub_n): Do not use BP_SYM.
8937 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8938 "bp-asm.h".
8939 (PARMS): Do not use macros from bp-asm.h.
8940 (S1): Likewise.
8941 (SIZE): Likewise.
8942 (__mpn_submul_1): Do not use BP_SYM.
8943 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8944 <bp-sym.h>.
8945 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8946 and <bp-asm.h>.
8947 (PARMS): Do not use macros from bp-asm.h.
8948 (FLAGS): Likewise.
8949 (PTID): Likewise.
8950 (TLS): Likewise.
8951 (CTID): Likewise.
8952 (__clone): Do not use BP_SYM.
8953 (clone): Do not use BP_SYM in weak_alias.
8954 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8955 and <bp-asm.h>.
8956 (PARMS): Do not use macros from bp-asm.h.
8957 (LEN): Likewise.
8958 (__mmap64): Do not use BP_SYM.
8959 (mmap64): Do not use BP_SYM in weak_alias.
8960 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8961 <bp-sym.h> and <bp-asm.h>.
8962 (PARMS): Do not use macros from bp-asm.h.
8963 (__posix_fadvise64_l64): Do not use BP_SYM.
8964 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8965 (PARMS): Do not use macros from bp-asm.h.
8966 (NSOPS): Likewise.
8967 (semtimedop): Do not use BP_SYM.
8968 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8969 and <bp-asm.h>.
8970
8971 2013-02-21 Allan McRae <allan@archlinux.org>
8972
8973 * manual/message.texi (Charset conversion in gettext):
8974 Move @end statement to beginning of line.
8975
8976 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8977
8978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8979 static.
8980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8981 Likewise.
8982
8983 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8984 (denorm): Likewise.
8985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8987
8988 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8989
8990 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8991 tail-call to the resolved function if pltexit isn't needed.
8992
8993 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8994
8995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8996 or Y being zero as being unlikely.
8997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8998 Likewise.
8999
9000 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9001
9002 * manual/nss.texi (System Databases and Name Service Switch):
9003 Remove frobnicate @pxref.
9004
9005 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9006
9007 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9008 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9009
9010 2013-02-20 Petr Machata <pmachata@redhat.com>
9011
9012 * elf/elf.h (R_ARM_TARGET1): New macro.
9013 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9014 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9015 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9016 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9017 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9018 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9019 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9020 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9021 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9022 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9023 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9024 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9025 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9026 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9027 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9028 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9029 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9030 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9031 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9032 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9033 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9034 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9035 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9036 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9037 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9038 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9039 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9040 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9041 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9042 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9043 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9044 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9045 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9046 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9047 (R_ARM_THM_GOT_BREL12): Likewise.
9048 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9049 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9050 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9051 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9052 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9053 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9054 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9055 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9056 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9057
9058 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9059
9060 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9061 __attribute_used__ to __attribute__ ((unused)).
9062
9063 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9064
9065 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9066 powerpc mpa.c.
9067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9068 comment formatting.
9069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9070
9071 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9072
9073 [BZ #13550]
9074 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9075 Remove macro.
9076 (ENTER): Remove both macro definitions.
9077 (LEAVE): Likewise.
9078 (CHECK_BOUNDS_LOW): Likewise.
9079 (CHECK_BOUNDS_HIGH): Likewise.
9080 (CHECK_BOUNDS_BOTH): Likewise.
9081 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9082 (RETURN_BOUNDED_POINTER): Likewise.
9083 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9084 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9085 (POP_ERRNO_LOCATION_RETURN): Likewise.
9086 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9087 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9088 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9089 macros.
9090 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9091 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9092 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9093 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9094 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9095 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9096 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9097 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9098 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9099 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9100 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9101 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9102 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9103 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9104 removed macros.
9105 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9106 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9107 macros.
9108 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9109 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9110 * sysdeps/i386/i586/memset.S (memset): Likewise.
9111 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9112 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9113 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9114 macros.
9115 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9116 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9117 Change uses of L(2) to L(out).
9118 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9119 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9120 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9121 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9122 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9123 removed macros.
9124 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9125 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9126 macros.
9127 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9128 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9129 (RETURN): Do not use macro LEAVE.
9130 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9131 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9132 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9133 * sysdeps/i386/i686/memset.S (memset): Likewise.
9134 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9135 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9136 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9137 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9138 Likewise.
9139 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9140 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9141 L(1_2) and L(1_3) into L(1).
9142 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9143 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9144 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9145 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9146 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9147 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9148 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9149 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9150 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9151 macros.
9152 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9153 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9154 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9155 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9156 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9157 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9158 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9159 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9160 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9161 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9162 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9163 * sysdeps/i386/strspn.S (strspn): Likewise.
9164 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9165 conditional code.
9166 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9167 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9168 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9169 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9170 L(1_3) into L(1_1).
9171 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9172 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9173 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9174 macros.
9175 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9176
9177 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9178
9179 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9180 macro.
9181
9182 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9183
9184 * math/atest-exp.c (exp_mpn): Remove ROUND.
9185 * math/atest-exp2.c (exp_mpn): Likewise.
9186 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9187
9188 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9189 * stdlib/tst-tls-atexit-lib.c: Likewise.
9190 * stdlib/tst-tls-atexit.c: Likewise.
9191
9192 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9193
9194 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9195 and __attribute_alloc_size__.
9196
9197 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9198
9199 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9200 __attribute_alloc_size__.
9201 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9202 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9203
9204 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9205
9206 * include/programs/xmalloc.h: New file.
9207 * catgets/gencat.c: Include it.
9208 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9209 * elf/pldd.c: Likewise.
9210 * iconv/iconv_charmap.c: Likewise.
9211 * iconv/iconvconfig.c: Likewise.
9212 * iconv/strtab.c: Likewise.
9213 * locale/programs/locale.c: Likewise.
9214 * locale/programs/localedef.h: Likewise.
9215 * locale/programs/simple-hash.c: Likewise.
9216 * nscd/nscd.h: Likewise.
9217 * nss/makedb.c: Likewise.
9218 * sysdeps/generic/ldconfig.h: Likewise.
9219
9220 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9221
9222 * Versions.def: Add GLIBC_2.18.
9223 * include/link.h (struct link_map): New member l_tls_dtor_count.
9224 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9225 (__call_tls_dtors): Likewise.
9226 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9227 __cxa_thread_atexit_impl.
9228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9229 Likewise.
9230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9231 Likewise.
9232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9233 Likewise.
9234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9235 Likewise.
9236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9238 Likewise.
9239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9240 Likewise.
9241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9243 Likewise.
9244 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9245 (tests): Add test case tst-tls-atexit.
9246 (modules-names): Add shared library for tst-tls-atexit.
9247 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9248 (GLIBC_PRIVATE): Add __call_tls_dtors.
9249 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9250 for libstdc++.
9251 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9252 * stdlib/tst-tls-atexit.c: New test case.
9253 * stdlib/tst-tls-atexit-lib.c: New test case.
9254
9255 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9256
9257 * elf/Versions (ld): Add _dl_find_dso_for_object.
9258 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9259 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9260 (dl_open_worker): Use _dl_find_dso_for_object.
9261 * elf/dl-sym.c (do_sym): Likewise.
9262 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9263
9264 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9265
9266 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9267 Syntactic changes only.
9268 (_dl_runtime_profile): Do a tail-call to the resolved function.
9269
9270 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9271
9272 [BZ #13550]
9273 * sysdeps/x86_64/bp-asm.h: Remove file.
9274 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9275 <bp-sym.h> and <bp-asm.h>.
9276 (__clone): Do not use BP_SYM.
9277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9278 <bp-sym.h> and <bp-asm.h>.
9279 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9280 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9281 "bp-asm.h".
9282 (_setjmp): Do not use BP_SYM.
9283 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9284 "bp-asm.h".
9285 (setjmp): Do not use BP_SYM.
9286 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9287 libc_hidden_def.
9288 (mempcpy): Do not use BP_SYM in weak_alias.
9289 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9290 "bp-asm.h".
9291 (strchr): Do not use BP_SYM.
9292 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9293 "bp-asm.h".
9294 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9295 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9296 (_start): Do not use BP_SYM.
9297 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9298 "bp-asm.h".
9299 (strcat): Do not use BP_SYM.
9300 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9301 "bp-asm.h".
9302 (STRCMP): Do not use BP_SYM.
9303 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9304 "bp-asm.h".
9305 (STRCPY): Do not use BP_SYM.
9306 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9307 "bp-asm.h".
9308 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9309 "bp-asm.h".
9310 (FUNCTION): Do not use BP_SYM.
9311 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9312 weak_alias.
9313 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9314
9315 2013-02-17 Andreas Jaeger <aj@suse.de>
9316
9317 * time/Versions: Sort entries.
9318 * string/Versions: Likewise.
9319 * resolv/Versions: Likewise.
9320 * posix/Versions: Likewise.
9321 * iconv/Versions: Likewise.
9322 * elf/Versions: Likewise.
9323 * wcsmbs/Versions: Likewise.
9324
9325 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9326
9327 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9328 loop termination condition.
9329
9330 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9331 variable to calculate EZ.
9332 (__sqr): Likewise.
9333
9334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9335 the lower precision input.
9336
9337 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9338
9339 [BZ #13550]
9340 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9341 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9342 (run-via-rtld-prefix): Do not handle %-bp tests.
9343 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9344 (all-object-suffixes): Remove .ob.
9345 (bppfx): Remove variable.
9346 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9347 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9348 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9349 [$(build-bounded) = yes] (libtype.ob): Likewise.
9350 * Makerules (elide-routines.ob): Remove variable.
9351 (do-tests-clean): Do not handle *-bp.out.
9352 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9353 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9354 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9355 (tests): Do not include $(tests-bp.out).
9356 (xtests): Do not include $(xtests-bp.out).
9357 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9358 [$(build-bounded) = yes] ($(addprefix
9359 $(objpfx),$(binaries-bounded))): Remove rule.
9360 ($(objpfx)%-bp.out): Remove rule.
9361 * config.make.in (build-bounded): Remove variable.
9362 * crypt/Makefile [$(build-bounded) = yes]
9363 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9364 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9365 append to variable.
9366 [$(build-bounded) = yes] (install-lib): Likewise.
9367 [$(build-bounded) = yes] (generated): Likewise.
9368 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9369 Remove rule.
9370 * intl/Makefile [$(build-bounded) = yes]
9371 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9372 * math/Makefile [$(build-bounded) = yes]
9373 ($(tests:%=$(objpfx)%-bp): Likewise.
9374 * misc/Makefile [$(build-bounded) = yes]
9375 ($(objpfx)tst-tsearch-bp): Likewise.
9376 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9377 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9378 Remove dependency.
9379 * string/Makefile (o-objects.ob): Remove variable.
9380 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9381 (CFLAGS-.ob): Remove variable.
9382 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9383 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9384 both definitions of variable.
9385 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9386 (ASFLAGS-.ob): Remove variable.
9387
9388 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9389
9390 [BZ #13550]
9391 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9392 Remove __BOUNDED_POINTERS__ from condition.
9393 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9394 * string/bits/string2.h [!__NO_STRING_INLINES &&
9395 !__BOUNDED_POINTERS__]: Likewise.
9396 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9397 Likewise.
9398 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9399 Remove conditional code.
9400 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9401 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9402 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9403 condition.
9404
9405 [BZ #13550]
9406 * csu/libc-start.c: Do not include <bp-sym.h>.
9407 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9408 * elf/dl-open.c: Do not include <bp-sym.h>.
9409 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9410 * math/fegetenv.c: Do not include <bp-sym.h>.
9411 (fegetenv): Do not use BP_SYM in versioned symbols.
9412 * nptl/sysdeps/pthread/bits/libc-lockP.h
9413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9414 <bp-sym.h>.
9415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9416 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9418 (__pthread_mutex_destroy): Likewise.
9419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9420 (__pthread_mutex_lock): Likewise.
9421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9422 (__pthread_mutex_trylock): Likewise.
9423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9424 (__pthread_mutex_unlock): Likewise.
9425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9426 (__pthread_mutexattr_init): Likewise.
9427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9428 (__pthread_mutexattr_destroy): Likewise.
9429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9430 (__pthread_mutexattr_settype): Likewise.
9431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9432 (__pthread_rwlock_init): Likewise.
9433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9434 (__pthread_rwlock_destroy): Likewise.
9435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9436 (__pthread_rwlock_rdlock): Likewise.
9437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9438 (__pthread_rwlock_tryrdlock): Likewise.
9439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9440 (__pthread_rwlock_wrlock): Likewise.
9441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9442 (__pthread_rwlock_trywrlock): Likewise.
9443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9444 (__pthread_rwlock_unlock): Likewise.
9445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9446 (__pthread_key_create): Likewise.
9447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9448 (__pthread_setspecific): Likewise.
9449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9450 (__pthread_getspecific): Likewise.
9451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9452 Likewise.
9453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9454 (_pthread_cleanup_push_defer): Likewise.
9455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9456 (_pthread_cleanup_pop_restore): Likewise.
9457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9458 (pthread_setcancelstate): Likewise.
9459 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9460 <bp-sym.h>.
9461 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9462 (memchr): Do not use BP_SYM in weak_alias.
9463 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9464 (fegetenv): Do not use BP_SYM in versioned symbols.
9465 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9466 (fesetenv): Do not use BP_SYM in versioned symbols.
9467 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9468 (feupdateenv): Do not use BP_SYM in versioned symbols.
9469 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9470 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9471 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9472 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9473 (open64): Do not use BP_SYM in weak_alias.
9474 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9475 (fegetenv): Do not use BP_SYM in versioned symbols.
9476 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9477 (fesetenv): Do not use BP_SYM in versioned symbols.
9478 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9479 (feupdateenv): Do not use BP_SYM in versioned symbols.
9480 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9481 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9482 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9483 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9484 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9485 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9486 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9487 <bp-sym.h>.
9488 (__libc_start_main): Do not use BP_SYM.
9489
9490 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9491
9492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9493 redundant return line.
9494 (norm): Likewise.
9495 (denorm): Likewise.
9496 (dbl_mp): Likewise.
9497 (sub_magnitudes): Likewise.
9498 (__add): Likewise.
9499 (__sub): Likewise.
9500 (__mul): Likewise.
9501 (__inv): Likewise.
9502 (__dvd): Likewise.
9503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9504 (norm): Likewise.
9505 (denorm): Likewise.
9506 (dbl_mp): Likewise.
9507 (sub_magnitudes): Likewise.
9508 (__add): Likewise.
9509 (__sub): Likewise.
9510 (__mul): Likewise.
9511 (__inv): Likewise.
9512 (__dvd): Likewise.
9513
9514 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9515 instead of __mul.
9516 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9517 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9518 (cc32): Likewise.
9519
9520 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9521 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9523 of __mul for squares.
9524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9525 function
9526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9527 Likewise.
9528 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9529 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9530
9531 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9532
9533 [BZ #13550]
9534 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9535 code.
9536 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9537 prototype or function definition. Rename ubp_* variables and
9538 parameters. Remove argv definitions conditional on
9539 [__BOUNDED_POINTERS__].
9540 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9541 * elf/dl-runtime.c (_dl_fixup): Likewise.
9542 * include/set-hooks.h (RUN_HOOK): Likewise.
9543 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9544 definition.
9545 * string/strcpy.c (strcpy): Do not use __unbounded.
9546 * sysdeps/generic/frame.h (struct layout): Likewise.
9547 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9548 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9549 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9550 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9551 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9552 (__backtrace): Likewise.
9553 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9554 use __ptrvalue.
9555 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9556 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9557 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9558 Likewise.
9559 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9560 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9561 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9562 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9563 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9564 Do not use __unbounded.
9565 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9566 Rename __unboundedrlimits parameter to rlimits in prototype.
9567 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9568 Do not use __unbounded.
9569 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9570 not use __ptrvalue.
9571 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9572 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9573 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9574 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9575 __ptrvalue or __unbounded.
9576 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9577 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9578 use __unbounded.
9579 (__new_msgctl): Do not use __ptrvalue.
9580 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9581 __unbounded.
9582 (__libc_msgrcv): Do not use __ptrvalue.
9583 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9584 startup_info): Do not use __unbounded.
9585 (__libc_start_main): Likewise. Rename ubp_* variables and
9586 parameters. Remove argv definitions conditional on
9587 [__BOUNDED_POINTERS__].
9588 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9589 __ptrvalue.
9590 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9591 use __unbounded.
9592 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9593 or __ptrvalue.
9594 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9595 use __unbounded.
9596 (__new_shmctl): Do not use __ptrvalue.
9597 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9598 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9599 Likewise.
9600 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9602 (__libc_sigaction): Likewise.
9603 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9604 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9605 Likewise.
9606 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9607
9608 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9609
9610 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9611
9612 * string/mempcpy.c: Implement by calling memcpy.
9613
9614 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9615
9616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9617
9618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9619 evaluation.
9620
9621 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9622 values in the mantissa.
9623
9624 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9625 minimize writes to Z.
9626 (sub_magnitudes): Simplify code a bit.
9627
9628 2013-02-12 Roland McGrath <roland@hack.frob.com>
9629
9630 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9631 from the message. The linker prefixes all warnings with that already.
9632
9633 2013-02-12 Andreas Schwab <schwab@suse.de>
9634
9635 [BZ #15078]
9636 * posix/regexec.c (extend_buffers): Add parameter min_len.
9637 (check_matching): Pass minimum needed length.
9638 (clean_state_log_if_needed): Likewise.
9639 (get_subexp): Likewise.
9640 * posix/Makefile (tests): Add bug-regex34.
9641 (bug-regex34-ENV): Define.
9642 * posix/bug-regex34.c: New file.
9643
9644 [BZ #11561]
9645 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9646 elements compare against the byte sequence of it, not its name.
9647 * posix/Makefile (tests): Add bug-regex35.
9648 (bug-regex35-ENV): Define.
9649 * posix/bug-regex35.c: New file.
9650
9651 2013-02-11 Tom de Vries <tom@codesourcery.com>
9652
9653 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9654 comment.
9655 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9656 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9657 (CHECK_EOL): Add undef.
9658
9659 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9660
9661 * bits/stdlib-bsearch.h: New file.
9662 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9663 * stdlib/stdlib.h: Likewise.
9664
9665 2013-02-11 Roland McGrath <roland@hack.frob.com>
9666
9667 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9668 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9669 declaration.
9670 * manual/search.texi (Array Search Function): Add missing const in
9671 lfind prototype.
9672 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9673 declaration to use rlim_t.
9674 (Basic Scheduling Functions): Remove erroneous const from
9675 sched_getparam prototype. Remove erroneous * from
9676 sched_get_priority_max and sched_get_priority_min prototypes.
9677 (Resource Usage): Fix summary @comment on vtimes to refer to
9678 sys/vtimes.h rather than vtimes.h.
9679 Add missing *s in vtimes prototype.
9680 (Limits on Resources): Fix ulimit prototype to return long int.
9681 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9682 prototypes to use long int rather than double.
9683 (BSD Random): Fix initstate and setstate to use char *, not void *.
9684 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9685 prototype to make second argument 'struct aiocb64 *const[]'.
9686 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9687 (Status of AIO Operations): Remove erroneous const in aio_return and
9688 aio_return64 prototypes.
9689 (Synchronizing I/O): Fix sync prototype to return void.
9690 * manual/startup.texi (Suboptions): Remove an erroneous const in
9691 getsubopt prototype.
9692 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9693 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9694 use size_t rather than int.
9695 (Scanning All Users): Likewise for getpwent_r.
9696 (Setting Groups): Add missing const to setgroups prototype.
9697 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9698 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9699 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9700 'const void *' rather than 'const char *'.
9701 (Host Address Functions): Likewise for inet_ntop.
9702 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9703 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9704 ssize_t for return value.
9705 (Sending Data): Likewise for send, sendto, sendmsg.
9706 (Socket Option Functions): Add a missing const in setsockopt prototype.
9707 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9708 use wchar_t for the argument.
9709 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9710 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9711 take no arguments.
9712 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9713 double/float/long double for second argument.
9714 Fix return types of significand, significandf, significandl.
9715 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9716 argument in fchmod prototype.
9717 (File Owner): Use uid_t and gid_t in fchown prototype.
9718 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9719 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9720 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9721 use 'const struct dirent **' as argument types to CMP function pointer
9722 argument.
9723 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9724 (File Times): Fix summary magic @comment for struct utimbuf and utime
9725 to refer to utime.h, not time.h.
9726 * manual/string.texi (Argz Functions): Add missing const in
9727 argz_extract and argz_next prototypes.
9728 (Finding Tokens in a String): Likewise for basename.
9729 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9730 (Copying and Concatenation): Fix typo in wmemmove prototype.
9731 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9732 (Signal Stack): Remove erroneous const in sigstack prototype.
9733 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9734 prototype.
9735 (Simple Calendar Time): Likewise for stime.
9736 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9737 prototype.
9738 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9739 say sys/sysctl.h instead.
9740 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9741 and vsyslog prototypes.
9742
9743 2013-02-11 Tom de Vries <tom@codesourcery.com>
9744
9745 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9746 Remove.
9747
9748 2013-02-11 Roland McGrath <roland@hack.frob.com>
9749
9750 * misc/sys/mman.h: Fix typo in mremap comment.
9751
9752 2013-02-08 Roland McGrath <roland@hack.frob.com>
9753
9754 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9755 the '\0' terminator.
9756
9757 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9758
9759 [BZ #13550]
9760 * debug/segfault.c: Don't include <bp-checks.h>.
9761 * sysdeps/generic/bp-checks.h: Remove file.
9762 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9763 (__GETDENTS): Don't use CHECK_N.
9764 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9765 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9766 (__getgroups): Don't use CHECK_N.
9767 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9768 (setgroups): Don't use CHECK_N.
9769 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9770 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9771 (__libc_msgrcv): Don't use CHECK_N.
9772 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9773 (__libc_msgsnd): Don't use CHECK_N.
9774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9775 <bp-checks.h>.
9776 (__libc_pread): Don't use CHECK_N.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9778 include <bp-checks.h>.
9779 (__libc_pread64): Don't use CHECK_N.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9781 include <bp-checks.h>.
9782 (__libc_pwrite): Don't use CHECK_N.
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9784 include <bp-checks.h>.
9785 (__libc_pwrite64): Don't use CHECK_N.
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9787 <bp-checks.h>.
9788 (__libc_pread): Don't use CHECK_N.
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9790 include <bp-checks.h>.
9791 (__libc_pread64): Don't use CHECK_N.
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9793 include <bp-checks.h>.
9794 (__libc_pwrite): Don't use CHECK_N.
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9796 include <bp-checks.h>.
9797 (__libc_pwrite64): Don't use CHECK_N.
9798 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9799 (do_pread): Don't use CHECK_N.
9800 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9801 (do_pread64): Don't use CHECK_N.
9802 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9803 (do_pwrite): Don't use CHECK_N.
9804 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9805 (do_pwrite64): Don't use CHECK_N.
9806 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9807 (__libc_readv): Don't use CHECK_N.
9808 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9809 (semop): Don't use CHECK_N.
9810 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9811 <bp-checks.h>.
9812 (semtimedop): Don't use CHECK_N.
9813 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9814 (__libc_pread): Don't use CHECK_N.
9815 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9816 <bp-checks.h>.
9817 (__libc_pread64): Don't use CHECK_N.
9818 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9819 <bp-checks.h>.
9820 (__libc_pwrite): Don't use CHECK_N.
9821 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9822 <bp-checks.h>.
9823 (__libc_pwrite64): Don't use CHECK_N.
9824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9825 <bp-checks.h>.
9826 (__libc_msgrcv): Don't use CHECK_N.
9827 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9828 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9829 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9830 (__libc_writev): Don't use CHECK_N.
9831
9832 2013-02-08 Roland McGrath <roland@hack.frob.com>
9833
9834 * string/strcpy.c: Removed unused variable.
9835
9836 * Makeconfig (+sysdep-includes): Define with := rather than =.
9837 Use an existing include/ subdir of each sysdeps dir before it.
9838
9839 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9840
9841 * nscd/connection.c (register_traced_file): Comment function.
9842 [HAVE_INOTIFY] (union __inev): Define.
9843 [HAVE_INOTIFY] (inotify_check_files): New function.
9844 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9845 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9846 clear_db_cache.
9847 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9848
9849 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9850
9851 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9852 loaded if not already and that a failure is permanent.
9853
9854 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9855
9856 [BZ #15006]
9857 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9858 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9859
9860 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9861
9862 [BZ #13550]
9863 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9864 (CHECK_1_NULL_OK): Likewise.
9865 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9866 (__fxstat): Do not use CHECK_1.
9867 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9868 <bp-checks.h>.
9869 (___fxstat64): Do not use CHECK_1.
9870 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9871 <bp-checks.h>.
9872 (__fxstatat): Do not use CHECK_1.
9873 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9874 <bp-checks.h>.
9875 (__fxstatat64): Do not use CHECK_1.
9876 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9877 <bp-checks.h>.
9878 (__fxstat): Do not use CHECK_1.
9879 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9880 <bp-checks.h>.
9881 (__fxstatat): Do not use CHECK_1.
9882 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9883 <bp-checks.h>.
9884 (__getresgid): Do not use CHECK_1.
9885 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9886 <bp-checks.h>.
9887 (__getresuid): Do not use CHECK_1.
9888 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9889 <bp-checks.h>.
9890 (__lxstat): Do not use CHECK_1.
9891 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9892 <bp-checks.h>.
9893 (__old_msgctl): Do not use CHECK_1.
9894 (__new_msgctl): Likewise.
9895 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9896 <bp-checks.h>.
9897 (__new_setrlimit): Do not use CHECK_1.
9898 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9899 <bp-checks.h>.
9900 (__old_shmctl): Do not use CHECK_1.
9901 (__new_shmctl): Likewise.
9902 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9903 <bp-checks.h>.
9904 (__xstat): Do not use CHECK_1.
9905 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9906 (__lxstat): Do not use CHECK_1.
9907 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9908 <bp-checks.h>.
9909 (___lxstat64): Do not use CHECK_1.
9910 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9911 (__old_msgctl): Do not use CHECK_1.
9912 (__new_msgctl): Likewise.
9913 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9914 <bp-checks.h>.
9915 (__gettimeofday): Do not use CHECK_1.
9916 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9917 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9918 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9919 <bp-checks.h>.
9920 (__gettimeofday): Do not use CHECK_1.
9921 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9922 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9923 (__new_shmctl): Do not use CHECK_1.
9924 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9925 <bp-checks.h>.
9926 (do_sigtimedwait): Do not use CHECK_1.
9927 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9928 <bp-checks.h>.
9929 (do_sigwaitinfo): Do not use CHECK_1.
9930 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9931 <bp-checks.h>.
9932 (msgctl): Do not use CHECK_1.
9933 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9934 <bp-checks.h>.
9935 (shmctl): Do not use CHECK_1.
9936 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9937 (ustat): Do not use CHECK_1.
9938 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9939 <bp-checks.h>.
9940 (__fxstat): Do not use CHECK_1.
9941 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9942 <bp-checks.h>.
9943 (__fxstatat): Do not use CHECK_1.
9944 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9945 <bp-checks.h>.
9946 (__lxstat): Do not use CHECK_1.
9947 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9948 <bp-checks.h>.
9949 (__xstat): Do not use CHECK_1.
9950 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9951 (__xstat): Do not use CHECK_1.
9952 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9953 (___xstat64): Do not use CHECK_1.
9954
9955 [BZ #13550]
9956 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9957 definitions.
9958 (CHECK_BOUNDS_HIGH): Likewise.
9959 * string/strcpy.c: Do not include <bp-checks.h>.
9960 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9961
9962 2013-02-07 Roland McGrath <roland@hack.frob.com>
9963
9964 * nscd/nscd-client.h (__nscd_drop_map_ref):
9965 Add __attribute__ ((unused)).
9966 * nis/nss-nisplus.h (niserr2nss): Likewise.
9967
9968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9969 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9970
9971 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9972 Remove inline keyword.
9973 * include/rounding-mode.h (round_away): Likewise.
9974 * libio/wfileops.c (adjust_wide_data): Likewise.
9975 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9976 (__m128i_strloadu_tolower): Likewise.
9977 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9978 (__m128i_strloadu_tolower): Likewise.
9979 * time/mktime.c (ydhms_diff): Likewise.
9980 * locale/elem-hash.h (elem_hash): Likewise.
9981 * locale/setlocale.c (setdata): Likewise.
9982 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9983 (re_string_wchar_at): Likewise.
9984 (bitset_not, bitset_merge, bitset_mask): Likewise.
9985 [!(__GNUC__ > 3)] (inline): Remove macro.
9986 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9987 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9988 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9989 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9990 * string/memcmp.c (memcmp_bytes): Likewise.
9991 * locale/programs/locarchive.c (compute_hashval): Likewise.
9992 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9993 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9994 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9995 * nss/getent.c (print_rpc, print_protocols): Likewise.
9996 (print_passwd, print_group, print_aliases): Likewise.
9997 * nis/nss-nisplus.h (niserr2nss): Likewise.
9998 * nscd/connections.c (restart_p): Likewise.
9999 Change return type to bool.
10000
10001 2013-02-05 Roland McGrath <roland@hack.frob.com>
10002
10003 * Makeconfig (all-Depend-files): Add existing
10004 $(sorted-subdirs:=/Depend) files.
10005 (all-subdirs): Remove nss.
10006 * sysdeps/unix/inet/Subdirs: Add it here instead.
10007 * hesiod/Depend: New file.
10008
10009 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10010 instead of calling alloca.
10011
10012 * io/lseek.c (__lseek): Rename to __libc_lseek.
10013 Define __lseek as an alias.
10014
10015 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10016
10017 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10018
10019 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10020 else clause and remove check for non-standard endianness.
10021
10022 2013-02-04 David S. Miller <davem@davemloft.net>
10023
10024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10025
10026 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10027
10028 [BZ #13550]
10029 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10030 (__ubp_memchr): Remove prototype.
10031 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10032 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10033 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10034 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10035 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10036 Remove alias.
10037 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10038 (__ubp_memchr): Likewise.
10039 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10040 (__ubp_memchr): Likewise.
10041 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10042 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10043 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10044 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10045 CHECK_STRING.
10046 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10047 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10048 (__getcwd): Do not use CHECK_STRING.
10049 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10050 <bp-checks.h>.
10051 (__real_chown): Do not use CHECK_STRING.
10052 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10053 <bp-checks.h>.
10054 (fchownat): Do not use CHECK_STRING.
10055 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10056 CHECK_STRING.
10057 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10058 <bp-checks.h>.
10059 (__lchown): Do not use CHECK_STRING.
10060 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10061 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10062 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10063 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10065 include <bp-checks.h>.
10066 (truncate64): Do not use CHECK_STRING.
10067 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10068 <bp-checks.h>.
10069 (__real_chown): Do not use CHECK_STRING.
10070 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10071 <bp-checks.h>.
10072 (__lchown): Do not use CHECK_STRING.
10073 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10074 <bp-checks.h>.
10075 (__chown): Do not use CHECK_STRING.
10076 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10077 <bp-checks.h>.
10078 (truncate64): Do not use CHECK_STRING.
10079 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10080 Likewise.
10081 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10082 (__xmknod): Do not use CHECK_STRING.
10083 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10084 <bp-checks.h>.
10085 (__xmknodat): Do not use CHECK_STRING.
10086 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10087 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10088
10089 2013-02-04 Andreas Schwab <schwab@suse.de>
10090
10091 [BZ #14142]
10092 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10093 * include/netdb.h: Likewise for h_errno.
10094 * elf/tst-stackguard1.c: Include <tls.h>.
10095
10096 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10097
10098 * elf/link.h (struct link_map): Extend the l_addr comment.
10099 * include/link.h (struct link_map): Likewise.
10100
10101 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10102
10103 [BZ #13550]
10104 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10105 (BOUNDED_1): Remove macro.
10106 * debug/backtrace.c: Don't include <bp-checks.h>.
10107 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10108 (__backtrace): Likewise.
10109 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10110 <bp-checks.h>.
10111 (__backtrace): Don't use BOUNDED_1.
10112 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10113 <bp-checks.h>.
10114 (__backtrace): Don't use BOUNDED_1.
10115 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10116 (__backtrace): Don't use BOUNDED_1.
10117 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10118 (shmat): Don't use BOUNDED_N.
10119
10120 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10121
10122 [BZ #13550]
10123 * sysdeps/generic/bp-start.h: Remove file.
10124 * csu/libc-start.c: Don't include <bp-start.h>.
10125 (LIBC_START_MAIN): Set up __environ directly instead of using
10126 INIT_ARGV_and_ENVIRON.
10127 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10128 <bp-start.h>.
10129
10130 [BZ #13550]
10131 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10132 definitions.
10133 (CHECK_FCNTL): Likewise.
10134 (CHECK_N_PAGES): Likewise.
10135
10136 [BZ #13550]
10137 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10138 definitions.
10139 (CHECK_SIGSET_NULL_OK): Likewise.
10140 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10141 <bp-checks.h>.
10142 (sigpending): Don't use CHECK_SIGSET.
10143 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10144 <bp-checks.h>.
10145 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10146 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10147 <bp-checks.h>.
10148 (do_sigsuspend): Don't use CHECK_SIGSET.
10149 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10150 use CHECK_SIGSET.
10151 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10152 (do_sigwait): Don't use CHECK_SIGSET.
10153 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10154 use CHECK_SIGSET.
10155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10156 include <bp-checks.h>.
10157 (sigpending): Don't use CHECK_SIGSET.
10158 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10159 include <bp-checks.h>.
10160 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10161 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10162 <bp-checks.h>.
10163 (sigpending): Don't use CHECK_SIGSET.
10164 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10165 <bp-checks.h>.
10166 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10167
10168 [BZ #13550]
10169 * sysdeps/generic/bp-semctl.h: Remove file.
10170 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10171 <bp-checks.h> and <bp-semctl.h>.
10172 (__old_semctl): Don't use CHECK_SEMCTL.
10173 (__new_semctl): Likewise.
10174 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10175 and <bp-semctl.h>.
10176 (__old_semctl): Don't use CHECK_SEMCTL.
10177 (__new_semctl): Likewise.
10178 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10179 <bp-checks.h> and <bp-semctl.h>.
10180 (__old_semctl): Don't use CHECK_SEMCTL.
10181 (__new_semctl): Likewise.
10182 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10183 <bp-checks.h> and <bp-semctl.h>.
10184 (semctl): Don't use CHECK_SEMCTL.
10185
10186 [BZ #13550]
10187 * Makerules (elide-bp-thunks): Remove variable.
10188 (elide-routines.oS): Don't use $(elide-bp-thunks).
10189 (elide-routines.os): Likewise.
10190 (elide-routines.o): Likewise.
10191 (elide-routines.op): Likewise.
10192 (elide-routines.og): Likewise.
10193 (objects): Don't use $(bp-thunks).
10194 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10195 include.
10196 (common-generated): Do not add s-proto-bp.d.
10197 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10198 (int): Likewise.
10199 (typ): Likewise.
10200 Do not generate makefile rules for bounded-pointer thunks.
10201 * sysdeps/generic/bp-thunks.h: Remove file.
10202 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10203 * sysdeps/unix/s-proto-bp.S: Likewise.
10204
10205 [BZ #15062]
10206 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10207 parts of result separately when argument is not close to line from
10208 -i to i and one part of argument is small.
10209 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10210 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10211 * math/libm-test.inc (cacos_test): Add more tests.
10212 (casin_test): Likewise.
10213 (casinh_test): Likewise.
10214 * sysdeps/i386/fpu/libm-test-ulps: Update.
10215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10216
10217 2013-01-31 David S. Miller <davem@davemloft.net>
10218
10219 * po/de.po: Update from translation team.
10220
10221 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10222
10223 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10224
10225 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10226
10227 * configure.in (_AC_PROG_CC_C89): New definition.
10228 * configure: Regenerate.
10229
10230 * configure.in (AC_PROG_CPP): New definition.
10231 * configure: Regenerate.
10232
10233 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10234
10235 * debug/tst-backtrace.h: New file.
10236 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10237 (ret): Remove variable.
10238 (x): Likewise.
10239 (FAIL): Remove macro.
10240 (NO_INLINE): Likewise.
10241 (fn1): Use match function instead of strstr.
10242 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10243 (ret): Remove variable.
10244 (x): Likewise.
10245 (FAIL): Remove macro.
10246 (NO_INLINE): Likewise.
10247 (fn): Use match function instead of strstr.
10248 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10249 (ret): Remove variable.
10250 (x): Likewise.
10251 (FAIL): Remove macro.
10252 (NO_INLINE): Likewise.
10253 (handle_signal): Use match function instead of strstr.
10254 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10255 (ret): Remove variable.
10256 (x): Likewise.
10257 (FAIL): Remove macro.
10258 (NO_INLINE): Likewise.
10259 (handle_signal): Use match function instead of strstr.
10260
10261 2013-01-23 Roland McGrath <roland@hack.frob.com>
10262
10263 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10264
10265 2013-01-23 David S. Miller <davem@davemloft.net>
10266
10267 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10268 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10269 argument of CAS if possible.
10270 * sysdeps/sparc/sparc64/bits/atomic.h
10271 (__arch_compare_and_exchange_val_32_acq): Likewise.
10272 (__arch_compare_and_exchange_val_64_acq): Likewise.
10273
10274 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10275
10276 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10277 * sysdeps/posix/ulimit.c: ... this.
10278 Include <limits.h>.
10279 * sysdeps/unix/bsd/ulimit.c: Remove file.
10280
10281 2013-01-23 Adam Conrad <adconrad@0c3.net>
10282
10283 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10284 (LDFLAGS-tst-array5): Likewise.
10285
10286 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10287
10288 [BZ #15036]
10289 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10290 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10291 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10292 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10293
10294 2013-01-21 David S. Miller <davem@davemloft.net>
10295
10296 * sysdeps/sparc/backtrace.c: New file.
10297 * sysdeps/sparc/sparc32/backtrace.h: New file.
10298 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10299 * sysdeps/sparc/sparc64/backtrace.h: New file.
10300 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10301 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10302 -funwind-tables.
10303
10304 2013-01-21 Andreas Schwab <schwab@suse.de>
10305
10306 [BZ #15020]
10307 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10308 closed its stdout.
10309
10310 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10311
10312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10313 "mpa2.h".
10314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10315
10316 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10317 Mark Mitchell <mark@codesourcery.com>
10318 Tom de Vries <tom@codesourcery.com>
10319 Paul Pluzhnikov <ppluzhnikov@google.com>
10320
10321 * debug/tst-backtrace2.c: New file.
10322 * debug/tst-backtrace3.c: Likewise.
10323 * debug/tst-backtrace4.c: Likewise.
10324 * debug/tst-backtrace5.c: Likewise.
10325 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10326 (CFLAGS-tst-backtrace3.c): Likewise.
10327 (CFLAGS-tst-backtrace4.c): Likewise.
10328 (CFLAGS-tst-backtrace5.c): Likewise.
10329 (LDFLAGS-tst-backtrace2): Likewise.
10330 (LDFLAGS-tst-backtrace3): Likewise.
10331 (LDFLAGS-tst-backtrace4): Likewise.
10332 (LDFLAGS-tst-backtrace5): Likewise.
10333 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10334 tst-backtrace4 and tst-backtrace5.
10335
10336 2013-01-18 Anton Blanchard <anton@samba.org>
10337 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10338
10339 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10340 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10341 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10342 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10344 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10345 "+r" and remove output regs list as redundant. Add explicit inline
10346 asm to specify register of return val to work around compiler codegen
10347 bug. Remove (int) cast on return value. Add return type parameter to
10348 use in macro so that this macro does not truncate return value for
10349 64-bit values.
10350 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10351 pass to INTERNAL_VSYSCALL_NCS.
10352 (INLINE_VSYSCALL): Add 'long int' as return type to
10353 INTERNAL_VSYSCALL_NCS macro invocation.
10354 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10355 INTERNAL_VSYSCALL_NCS macro invocation.
10356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10357
10358 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10359
10360 [BZ #14496]
10361 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10362 Fix application of SIMD FP exception mask.
10363
10364 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10365 mp_no from a power of two.
10366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10367 __mpexp_twomm1. Use __pow_mp.
10368
10369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10370 multiplication.
10371
10372 2013-01-17 David S. Miller <davem@davemloft.net>
10373
10374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10375
10376 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10377
10378 [BZ #15023]
10379 * include/complex.h: Condition contents on [!_COMPLEX_H].
10380 (__kernel_casinhf): New prototype.
10381 (__kernel_casinh): Likewise.
10382 (__kernel_casinhl): Likewise.
10383 * math/Makefile (libm_calls): Add k_casinh.
10384 * math/k_casinh.c: New file.
10385 * math/k_casinhf.c: Likewise.
10386 * math/k_casinhl.c: Likewise.
10387 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10388 finite nonzero arguments.
10389 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10390 finite nonzero arguments.
10391 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10392 finite nonzero arguments.
10393 * math/s_casinh.c: Do not include <float.h>.
10394 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10395 * math/s_casinhf.c: Do not include <float.h>.
10396 (__casinhf): Move code for finite nonzero arguments to
10397 k_casinhf.c.
10398 * math/s_casinhl.c: Do not include <float.h>.
10399 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10400 redefine.
10401 (__casinhl): Move code for finite nonzero arguments to
10402 k_casinhl.c.
10403 * math/libm-test.inc (cacos_test): Add more tests.
10404 * sysdeps/i386/fpu/libm-test-ulps: Update.
10405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10406
10407 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10408
10409 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10410 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10411 [!HAVE_MREMAP]: Remove [defined linux] case.
10412 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10413
10414 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10415
10416 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10417
10418 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10419
10420 * elf/elf.h (R_386_SIZE32): New relocation.
10421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10422 R_386_SIZE32.
10423 (elf_machine_rela): Likewise.
10424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10425 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10426
10427 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10428
10429 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10430 (FP_FAST_FMA): Do not define.
10431 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10432 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10433 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10434 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10435 !_SOFT_FLOAT]: Likewise.
10436 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10437 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10438 value.
10439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10440 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10441 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10442 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10443 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10444 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10445 file.
10446
10447 2013-01-16 Andreas Schwab <schwab@suse.de>
10448
10449 [BZ #14327]
10450 * include/stdlib.h (__mktemp): Add declaration.
10451 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10452 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10453
10454 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10455
10456 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10457 definitions.
10458 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10459 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10460 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10461 definitions here.
10462 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10463 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10464 definitions.
10465 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10466 and ONE.
10467 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10468 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10469 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10470 definitions.
10471 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10472 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10473 definitions.
10474 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10475
10476 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10477
10478 2013-01-15 David S. Miller <davem@davemloft.net>
10479
10480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10481 trunc{,f} to libm-sysdep_routes.
10482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10484 file.
10485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10487 file.
10488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10489 file.
10490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10492 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10493 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10494 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10495 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10496 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10497 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10498
10499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10500 nearbyint{,f} to libm-sysdep_routes.
10501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10503 New file.
10504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10505 file.
10506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10507 New file.
10508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10509 file.
10510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10513 file.
10514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10515 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10516 file.
10517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10518 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10519 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10520
10521 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10522 libc_feholdexcept and libc_fesetenv.
10523
10524 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10525
10526 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10527
10528 2013-01-14 David S. Miller <davem@davemloft.net>
10529
10530 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10531 (SPARC_ASM_VIS2_IFUNC): Likewise.
10532 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10534 use of 'siam' instruction.
10535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10536 Likewise.
10537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10538 Likewise.
10539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10540 Likewise.
10541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10546 file.
10547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10548 file.
10549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10550 file.
10551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10552 file.
10553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10558 new VIS2 routines.
10559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10562 Likewise.
10563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10568 routines to libm-sysdep_routines.
10569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10570
10571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10572 fdim/fdimf to libm-sysdep_routines.
10573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10574 file.
10575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10577 file.
10578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10581 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10582 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10583 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10584 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10585
10586 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10587
10588 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10589 to optimize copies.
10590
10591 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10594
10595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10596 local variable MPTWO.
10597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10598 Likewise.
10599
10600 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10601
10602 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10603 GLOB_NOESCAPE.
10604
10605 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10606
10607 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10608
10609 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10610
10611 * manual/pattern.texi (glob_t): Document gl_flags.
10612 (glob64_t): Likewise.
10613
10614 2013-01-11 David S. Miller <davem@davemloft.net>
10615
10616 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10617 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10618 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10619 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10620 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10621 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10622 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10623 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10624 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10625 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10626 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10627 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10628 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10629
10630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10631 sparc V9 rather than using V8 code.
10632 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10633 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10634
10635 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10636 Move to...
10637 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10638 Here.
10639
10640 2013-01-11 Roland McGrath <roland@hack.frob.com>
10641
10642 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10643 not in the main loop.
10644 * configure: Regenerated.
10645
10646 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10647
10648 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10649 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10650 to just #else.
10651 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10652 [!__GLIBC_HAVE_LONG_LONG] case.
10653 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10654 condition to just #else.
10655 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10656 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10657 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10658 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10659 unconditional.
10660 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10661 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10662 #elif condition to just #else.
10663 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10664 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10665 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10666 #elif condition to just #else.
10667
10668 2013-01-11 Steve Ellcey <sellcey@mips.com>
10669
10670 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10671 (EF_MIPS_ARCH_64): Fix value.
10672 (EF_MIPS_ARCH_32R2): New.
10673 (EF_MIPS_ARCH_64R2): New.
10674
10675 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10676
10677 * Makeconfig (+link-pie-before-libc): New.
10678 (+link-pie-after-libc): Likewise.
10679 (+link-pie-tests): Likewise.
10680 (+link-pie): Rewritten.
10681 (link-before-libc): Remove $(config-LDFLAGS).
10682 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10683 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10684 (config-LDFLAGS): Renamed to ...
10685 (rtld-LDFLAGS): This.
10686 (rtld-tests-LDFLAGS): New macro.
10687 (link-libc-rpath-link): Likewise.
10688 (link-libc-tests-rpath-link): Likewise.
10689 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10690 (link-libc): Prepand $(link-libc-rpath-link).
10691 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10692 (test-program-prefix): New macro.
10693 (test-via-rtld-prefix): Likewise.
10694 (test-program-cmd): Likewise.
10695 (host-test-program-cmd): Likewise.
10696 * Makefile ($(common-objpfx)testrun.sh): Replace
10697 $(run-program-prefix) with $(test-program-prefix).
10698 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10699 $(rtld-LDFLAGS).
10700 ($(common-objpfx)shlib.lds): Likewise.
10701 (build-module-helper): Likewise.
10702 ($(common-objpfx)format.lds): Likewise.
10703 * Rules (binaries-pie-tests): New.
10704 (binaries-pie-notests): Likewise.
10705 (binaries-pie): Rewritten.
10706 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10707 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10708 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10709 (make-test-out): Replace $(host-built-program-cmd) with
10710 $(host-test-program-cmd).
10711 * config.make.in (build-hardcoded-path-in-tests): New variable.
10712 * configure.in (--enable-hardcoded-path-in-tests): New configure
10713 option.
10714 (hardcoded_path_in_tests): New AC_SUBST.
10715 * configure: Regenerated.
10716 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10717 $(built-program-cmd) with $(test-program-cmd).
10718 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10719 (test_program_cmd): This.
10720 * elf/Makefile ($(objpfx)order.out): Run test with
10721 $(test-program-prefix).
10722 ($(objpfx)order2.out): Likewise.
10723 ($(objpfx)tst-initorder.out): Likewise.
10724 ($(objpfx)tst-initorder2.out): Likewise.
10725 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10726 $(test-program-cmd).
10727 ($(objpfx)tst-array1-static.out): Likewise.
10728 ($(objpfx)tst-array2.out): Likewise.
10729 ($(objpfx)tst-array3.out): Likewise.
10730 ($(objpfx)tst-array4.out): Likewise.
10731 ($(objpfx)tst-array5.out): Likewise.
10732 ($(objpfx)tst-array5-static.out): Likewise.
10733 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10734 $(test-program-cmd).
10735 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10736 $(run-program-prefix) with $(test-program-prefix).
10737 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10738 (test_program_prefix): This.
10739 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10740 $(run-program-prefix) with $(test-program-prefix).
10741 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10742 (test_program_prefix): This.
10743 * iconvdata/tst-tables.sh: Likewise.
10744 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10745 $(run-program-prefix) with $(test-program-prefix).
10746 ($(objpfx)tst-translit.out): Likewise.
10747 ($(objpfx)tst-gettext2.out): Likewise.
10748 ($(objpfx)tst-gettext4.out): Likewise.
10749 ($(objpfx)tst-gettext6.out): Likewise.
10750 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10751 (test_program_prefix): This.
10752 * intl/tst-gettext2.sh: Likewise.
10753 * intl/tst-gettext4.sh Likewise.
10754 * intl/tst-gettext6.sh: Likewise.
10755 * intl/tst-translit.sh: Likewise.
10756 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10757 with $(test-program-cmd).
10758 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10759 $(run-program-prefix) with $(test-program-prefix).
10760 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10761 (test_program_prefix): This.
10762 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10763 $(run-program-prefix) with $(test-program-prefix).
10764 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10765 (test_program_prefix): This.
10766 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10767 * posix/Makefile ($(objpfx)globtest.out): Replace
10768 $(run-via-rtld-prefix) and $(test-wrapper) with
10769 $(test-program-prefix) and $(test-via-rtld-prefix).
10770 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10771 $(test-program-prefix).
10772 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10773 $(host-test-program-cmd).
10774 (tst-spawn-ARGS): Likewise.
10775 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10776 $(test-program-prefix).
10777 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10778 (test_via_rtld_prefix): This.
10779 (test_wrapper): Renamed to ...
10780 (test_program_prefix): This.
10781 (run_program_prefix): Replaced by test_program_prefix.
10782 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10783 (test_program_prefix): This.
10784 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10785 with $(host-test-program-cmd).
10786 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10787 $(run-program-prefix) with $(test-program-prefix).
10788 ($(objpfx)tst-printf.out): Likewise.
10789 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10790 $(test-program-cmd).
10791 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10792 (test_program_prefix): This.
10793 * stdio-common/tst-unbputc.sh: Likewise.
10794 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10795 $(run-program-prefix) with $(test-program-prefix).
10796 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10797 (test_program_prefix): This.
10798 * string/Makefile ($(objpfx)tst-svc.out): Replace
10799 $(built-program-cmd) with $(test-program-cmd).
10800
10801 2013-01-11 Andreas Jaeger <aj@suse.de>
10802
10803 [BZ #15003]
10804 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10805 value. Sync with Linux 3.7.
10806
10807 2013-01-10 David S. Miller <davem@davemloft.net>
10808
10809 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10810 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10811 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10812
10813 2013-01-10 Roland McGrath <roland@hack.frob.com>
10814
10815 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10816 never set.
10817 * configure: Regenerated.
10818
10819 2013-01-10 David S. Miller <davem@davemloft.net>
10820
10821 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10822 sparc V9 rather than using V8 code.
10823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10825
10826 2013-01-10 Roland McGrath <roland@hack.frob.com>
10827
10828 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10829 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10830 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10831 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10832 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10833 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10834 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10835 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10836 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10837 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10838 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10839 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10840 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10841 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10842 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10843 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10844 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10845 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10846 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10847 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10848 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10849 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10850 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10851 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10852 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10853 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10854 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10855
10856 2013-01-10 David S. Miller <davem@davemloft.net>
10857
10858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10859
10860 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10861
10862 * posix/Makefile (tests-static): New variable.
10863 (tests): Add $(tests-static).
10864 (tst-exec-static-ARGS): New variable.
10865 (tst-spawn-static-ARGS): Likewise.
10866 * posix/tst-exec-static.c: New file.
10867 * posix/tst-spawn-static.c: Likewise.
10868 * posix/tst-exec.c: Support run directly.
10869 * posix/tst-spawn.c: Likewise.
10870
10871 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10872
10873 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10874 long.
10875 * math/bits/mathcalls.h (llrint): Likewise.
10876 (llround): Likewise.
10877 * stdlib/stdlib.h (struct drand48_data): Likewise.
10878 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10879 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10880 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10881 Likewise.
10882 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10883 Likewise.
10884 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10885 (elf_greg_t): Likewise.
10886 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10887 (__jmp_buf): Likewise.
10888 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10889 definitions.
10890 (llrint): Likewise, for all definitions.
10891 (llrintl): Likewise.
10892
10893 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10894 Remove [__GNUC__] condition.
10895 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10896 condition to just [__USE_ISOC99].
10897 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10898
10899 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10900
10901 [BZ #14200]
10902 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10903 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10904 defined.
10905 (_POSIX_V6_ILP32_OFF32): Likewise.
10906 (_XBS5_ILP32_OFF32): Likewise.
10907 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10908 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10909
10910 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10911
10912 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10913
10914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10915 doubles __mpexp_twomm1. Adjust usage.
10916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10917 Remove.
10918
10919 2013-01-10 Andreas Schwab <schwab@suse.de>
10920
10921 [BZ #14964]
10922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10923 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10924
10925 2013-01-09 David S. Miller <davem@davemloft.net>
10926
10927 [BZ #15003]
10928 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10929 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10930 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10931 TCP_FASTOPEN): Define.
10932 (tcp_repair_opt): New structure.
10933 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10934 enum values.
10935 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10936 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10937 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10938 (tcp_cookie_transactions): New structure.
10939
10940 2013-01-09 Anton Blanchard <anton@samba.org>
10941
10942 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10943 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10944 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10946
10947 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10948
10949 * include/features.h (__USE_ANSI): Remove.
10950
10951 2013-01-09 Roland McGrath <roland@hack.frob.com>
10952
10953 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10954
10955 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10956
10957 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10958
10959 * sysdeps/s390/fpu/libm-test-ulps: Update.
10960
10961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10962
10963 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10964 (__acr): Likewise.
10965 (__cpy): Likewise.
10966 (norm): Likewise.
10967 (denorm): Likewise.
10968 (__mp_dbl): Likewise.
10969 (__dbl_mp): Likewise.
10970 (add_magnitudes): Likewise.
10971 (sub_magnitudes): Likewise.
10972 (__add): Likewise.
10973 (__sub): Likewise.
10974 (__mul): Likewise.
10975 (__inv): Likewise.
10976 (__dvd): Likewise.
10977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10978 (__acr): Likewise.
10979 (__cpy): Likewise.
10980 (norm): Likewise.
10981 (denorm): Likewise.
10982 (__mp_dbl): Likewise.
10983 (__dbl_mp): Likewise.
10984 (add_magnitudes): Likewise.
10985 (sub_magnitudes): Likewise.
10986 (__add): Likewise.
10987 (__sub): Likewise.
10988 (__mul): Likewise.
10989 (__inv): Likewise.
10990 (__dvd): Likewise.
10991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10992 (__acr): Likewise.
10993 (__cpy): Likewise.
10994 (norm): Likewise.
10995 (denorm): Likewise.
10996 (__mp_dbl): Likewise.
10997 (__dbl_mp): Likewise.
10998 (add_magnitudes): Likewise.
10999 (sub_magnitudes): Likewise.
11000 (__add): Likewise.
11001 (__sub): Likewise.
11002 (__mul): Likewise.
11003 (__inv): Likewise.
11004 (__dvd): Likewise.
11005
11006 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11007
11008 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11009 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11010 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11011 2 && __USE_EXTERN_INLINES]: Likewise.
11012
11013 2013-01-08 Andreas Jaeger <aj@suse.de>
11014
11015 [BZ# 14985]
11016 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11017 Remove.
11018 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11019 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11020
11021 2013-01-07 Anton Blanchard <anton@samba.org>
11022
11023 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11024 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11025 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11026 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11027 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11028 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11029 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11030 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11033 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11035 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11037 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11041 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11042 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11043 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11044 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11046 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11047 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11048 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11049 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11050 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11052 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11053 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11056 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11057 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11059 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11061 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11063 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11065 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11066
11067 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11068
11069 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11070 (__MALLOC_PMT): Likewise.
11071 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11072 [__GNUC__], only on [_LIBC].
11073 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11074 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11075 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11076 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11077 forward declaration.
11078 (realloc_hook_ini): Likewise.
11079 (memalign_hook_ini): Likewise.
11080 (__libc_memalign): Do not use __MALLOC_PMT in variable
11081 declaration.
11082 (__libc_valloc): Likewise.
11083 (__libc_pvalloc): Likewise.
11084 (__libc_calloc): Likewise.
11085 (__posix_memalign): Likewise.
11086
11087 [BZ #14996]
11088 * math/s_casinh.c: Include <float.h>.
11089 (__casinh): Do not do computation with squaring and square root
11090 for large arguments.
11091 * math/s_casinhf.c: Include <float.h>.
11092 (__casinhf): Do not do computation with squaring and square root
11093 for large arguments.
11094 * math/s_casinhl.c: Include <float.h>.
11095 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11096 (__casinhl): Do not do computation with squaring and square root
11097 for large arguments.
11098 * math/libm-test.inc (casin_test): Add more tests.
11099 (casinh_test): Likewise.
11100 * sysdeps/i386/fpu/libm-test-ulps: Update.
11101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11102
11103 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11104
11105 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11106 (__x86_64_raw_data_cache_size): Likewise.
11107 (__x86_64_data_cache_size_half): Likewise.
11108 (__x86_64_raw_data_cache_size_half): Likewise.
11109 (__x86_64_shared_cache_size): Likewise.
11110 (__x86_64_raw_shared_cache_size): Likewise.
11111 (__x86_64_shared_cache_size_half): Likewise.
11112 (__x86_64_raw_shared_cache_size_half): Likewise.
11113 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11114 to ...
11115 (__x86_data_cache_size): This.
11116 (__x86_64_raw_data_cache_size): Renamed to ...
11117 (__x86_raw_data_cache_size): This.
11118 (__x86_64_data_cache_size_half): Renamed to ...
11119 (__x86_data_cache_size_half): This.
11120 (__x86_64_raw_data_cache_size_half): Renamed to ...
11121 (__x86_raw_data_cache_size_half): This.
11122 (__x86_64_shared_cache_size): Renamed to ...
11123 (__x86_shared_cache_size): This.
11124 (__x86_64_raw_shared_cache_size): Renamed to ...
11125 (__x86_raw_shared_cache_size): This.
11126 (__x86_64_shared_cache_size_half): Renamed to ...
11127 (__x86_shared_cache_size_half): This.
11128 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11129 (__x86_raw_shared_cache_size_half): This.
11130 * sysdeps/x86_64/memcpy.S: Updated.
11131 * sysdeps/x86_64/memset.S: Likewise.
11132 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11134 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11135
11136 2013-01-04 David S. Miller <davem@davemloft.net>
11137
11138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11139
11140 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11141
11142 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11143 1 to avoid redefinition warning.
11144 (__USE_GNU): Don't define.
11145 (init_signaling_nan): Protoize.
11146
11147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11148
11149 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11150
11151 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11153 (__cpymn): Likewise.
11154 (norm): Remove commented code.
11155 (denorm): Likewise.
11156 (__mp_dbl): Likewise.
11157 (__inv): Likewise.
11158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11159 (__cpymn): Likewise.
11160 (norm): Remove commented code.
11161 (denorm): Likewise.
11162 (__mp_dbl): Likewise.
11163 (__inv): Likewise.
11164
11165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11166 mp_no value for 1.0 and 2.0.
11167 (norm): Use RADIXI instead of radixi.d.
11168 (denorm): Likewise.
11169 (__mul): Use 0.0 instead of zero.d.
11170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11171 mp_no value for 1.0 and 2.0.
11172 (norm): Use RADIXI instead of radixi.d.
11173 (denorm): Likewise.
11174 (__mul): Use 0.0 instead of zero.d.
11175
11176 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11177
11178 [BZ #14994]
11179 * math/s_casinh.c (__casinh): Reduce finite argument to first
11180 quadrant then set signs of results at the end.
11181 * math/s_casinhf.c (__casinhf): Likewise.
11182 * math/s_casinhl.c (__casinhl): Likewise.
11183 * math/libm-test.inc (casin_test): Add more tests.
11184 (casinh_test): Likewise.
11185 * sysdeps/i386/fpu/libm-test-ulps: Update.
11186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11187
11188 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11189
11190 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11191
11192 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11193
11194 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11195 declarations.
11196 (denorm): Likewise.
11197 (__mp_dbl): Likewise.
11198 (__inv): Likewise.
11199
11200 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11201 and adjust the header comment.
11202
11203 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11204 variable name from declaration.
11205
11206 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11207
11208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11209 Initialize COMMON_CPUID_INDEX_7 element.
11210 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11211 (CPUID_RTM): Likewise.
11212 (HAS_RTM): Likewise.
11213 (COMMON_CPUID_INDEX_7): New enum.
11214
11215 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11216
11217 [BZ #14981]
11218 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11219 size is zero, record memory as freed.
11220
11221 2013-01-03 Andreas Jaeger <aj@suse.de>
11222
11223 * po/ia.po: Add new Interlingua translation.
11224
11225 2012-01-03 Allan McRae <allan@archlinux.org>
11226
11227 * locale/programs/localedef.c: Fix description of '--posix' flag.
11228
11229 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11230
11231 * NEWS: Update dates in second copyright notice.
11232 * README: Update copyright dates in example.
11233 * manual/libc.texinfo: Update copyright dates.
11234 * scripts/test-installation.pl: Update copyright date in --version
11235 output.
11236
11237 * hurd/ctty-input.c: Fix copyright notice formatting.
11238 * hurd/ctty-output.c: Likewise.
11239 * hurd/dtable.c: Likewise.
11240 * hurd/hurd-raise.c: Likewise.
11241 * hurd/hurdprio.c: Likewise.
11242 * hurd/msgportdemux.c: Likewise.
11243 * misc/sys/file.h: Likewise.
11244 * misc/sys/ioctl.h: Likewise.
11245 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11246 * sysdeps/mach/hurd/chdir.c: Likewise.
11247 * sysdeps/mach/hurd/fchdir.c: Likewise.
11248 * sysdeps/mach/hurd/rename.c: Likewise.
11249 * sysdeps/mach/hurd/rmdir.c: Likewise.
11250 * sysdeps/mach/hurd/seekdir.c: Likewise.
11251 * sysdeps/mach/hurd/setsid.c: Likewise.
11252 * sysdeps/posix/wait3.c: Likewise.
11253
11254 * All files with FSF copyright notices: Update copyright dates
11255 using scripts/update-copyrights.
11256 * intl/plural.c: Regenerated.
11257 * locale/programs/charmap-kw.h: Likewise.
11258 * locale/programs/locfile-kw.h: Likewise.
11259
11260 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11261
11262 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11263 four values.
11264
11265 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11266 calculation loop and add branch prediction.
11267
11268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11269 check access beyond bounds of m1np.
11270
11271 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11272 MPTWO.
11273 (__inv): Remove local variable MPTWO to use the global
11274 constant.
11275 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11276 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11277 variable MPTWO.
11278 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11279 MP3HALFS static const.
11280
11281 2013-01-01 David S. Miller <davem@davemloft.net>
11282
11283 * po/ca.po: Update from translation team.
11284
11285 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11286
11287 * scripts/update-copyrights: New file.
11288 * Makeconfig: Reformat copyright notice.
11289 * ctype/ctype.h: Likewise.
11290 * debug/swprintf_chk.c: Likewise.
11291 * elf/dl-cache.c: Likewise.
11292 * elf/dl-debug.c: Likewise.
11293 * elf/dl-object.c: Likewise.
11294 * grp/initgroups.c: Likewise.
11295 * hurd/Makefile: Likewise.
11296 * hurd/hurd/signal.h: Likewise.
11297 * hurd/hurdfault.c: Likewise.
11298 * hurd/hurdioctl.c: Likewise.
11299 * hurd/hurdlookup.c: Likewise.
11300 * hurd/intr-msg.c: Likewise.
11301 * iconv/gconv_open.c: Likewise.
11302 * libio/swprintf.c: Likewise.
11303 * locale/lc-ctype.c: Likewise.
11304 * locale/nl_langinfo.c: Likewise.
11305 * mach/Machrules: Likewise.
11306 * mach/Makefile: Likewise.
11307 * malloc/obstack.h: Likewise.
11308 * manual/Makefile: Likewise.
11309 * manual/tsort.awk: Likewise.
11310 * misc/bits/stab.def: Likewise.
11311 * nis/nis_print_group_entry.c: Likewise.
11312 * nis/nis_table.c: Likewise.
11313 * nis/nss_compat/compat-pwd.c: Likewise.
11314 * nis/nss_compat/compat-spwd.c: Likewise.
11315 * po/Makefile: Likewise.
11316 * posix/fnmatch.c: Likewise.
11317 * posix/regex.h: Likewise.
11318 * resolv/Makefile: Likewise.
11319 * resolv/nss_dns/dns-network.c: Likewise.
11320 * resolv/res_hconf.c: Likewise.
11321 * scripts/gen-sorted.awk: Likewise.
11322 * soft-fp/soft-fp.h: Likewise.
11323 * stdio-common/printf.h: Likewise.
11324 * stdlib/monetary.h: Likewise.
11325 * stdlib/random.c: Likewise.
11326 * stdlib/random_r.c: Likewise.
11327 * sysdeps/generic/Makefile: Likewise.
11328 * sysdeps/gnu/Makefile: Likewise.
11329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11336 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11357 * sysdeps/mach/hurd/errnos.awk: Likewise.
11358 * sysdeps/mach/hurd/fork.c: Likewise.
11359 * sysdeps/mach/hurd/getcwd.c: Likewise.
11360 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11361 * sysdeps/mach/hurd/mmap.c: Likewise.
11362 * sysdeps/mach/hurd/utimes.c: Likewise.
11363 * sysdeps/mach/hurd/xmknod.c: Likewise.
11364 * sysdeps/posix/profil.c: Likewise.
11365 * sysdeps/posix/readdir_r.c: Likewise.
11366 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11367 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11368 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11369 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11371 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11372 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11373 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11375 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11377 * sysdeps/pthread/lio_listio.c: Likewise.
11378 * sysdeps/sparc/dl-procinfo.h: Likewise.
11379 * sysdeps/unix/i386/sysdep.S: Likewise.
11380 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11381 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11382 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11383 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11385 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11386 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11387 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11388 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11389 * sysdeps/wordsize-32/divdi3.c: Likewise.
11390 * time/sys/time.h: Likewise.
11391 * wcsmbs/Makefile: Likewise.
11392
11393 2013-01-01 David S. Miller <davem@davemloft.net>
11394
11395 * po/fr.po: Update from translation team.
11396
11397 * catgets/gencat.c: Update copyright year.
11398 * csu/version.c: Likewise.
11399 * debug/catchsegv.sh: Likewise.
11400 * debug/pcprofiledump.c: Likewise.
11401 * debug/xtrace.sh: Likewise.
11402 * elf/ldconfig.c: Likewise.
11403 * elf/ldd.bash.in: Likewise.
11404 * elf/pldd.c: Likewise.
11405 * elf/sotruss.ksh: Likewise.
11406 * elf/sprof.c: Likewise.
11407 * iconv/iconv_prog.c: Likewise.
11408 * iconv/iconvconfig.c: Likewise.
11409 * locale/programs/locale.c: Likewise.
11410 * locale/programs/localedef.c: Likewise.
11411 * login/programs/pt_chown.c: Likewise.
11412 * malloc/memusage.sh: Likewise.
11413 * malloc/memusagestat.c: Likewise.
11414 * malloc/mtrace.pl: Likewise.
11415 * nscd/nscd.c: Likewise.
11416 * nss/getent.c: Likewise.
11417 * nss/makedb.c: Likewise.
11418 * posix/getconf.c: Likewise.
11419
11420 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11421
11422 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11423 numbers.
11424
11425 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11426
11427 * math/bits/mathcalls.h (modf): Use __nonnull.
11428
11429 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11430
11431 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11432 (split): Use macro CN instead of the bare value.
11433 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11434 could be used.
11435 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11436 instead of the bare value.
11437 (power1): Likewise.
11438
11439 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11440
11441 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11442 __ATAN_TWOM.
11443 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11444
11445 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11446 their values.
11447 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11448 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11449 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11450 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11451
11452 2012-12-28 Andreas Jaeger <aj@suse.de>
11453
11454 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11455 values are from Linux 3.7.
11456
11457 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11458 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11459
11460 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11461
11462 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11463 TRUE case.
11464
11465 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11466 (norm): Likewise.
11467 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11468 variables with preprocessor constants.
11469 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11470 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11472
11473 2012-12-27 Bruno Haible <bruno@clisp.org>
11474
11475 [BZ #14317]
11476 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11477 only if needed.
11478
11479 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11480
11481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11482 and use variable directly.
11483 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11484
11485 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11486 MPONE.
11487 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11489 variable MPONE.
11490 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11492 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11493 include directive. Remove local variable MPONE.
11494 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11495 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11496 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11497
11498 2012-12-25 David S. Miller <davem@davemloft.net>
11499
11500 * version.h (RELEASE): Set to "development".
11501 (VERSION): Set to "2.17.90".
11502 * NEWS: Add 2.18 section.
11503
11504 2012-12-21 David S. Miller <davem@davemloft.net>
11505
11506 * po/hr.po: Update from translation team.
11507
11508 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11509
11510 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11511
11512 2012-12-19 Steve Ellcey <sellcey@mips.com>
11513
11514 * NEWS: Mention new memcpy for MIPS.
11515
11516 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11517
11518 * manual/contrib.texi (Contributors): Spelling correction.
11519
11520 2012-12-15 David S. Miller <davem@davemloft.net>
11521
11522 * po/ru.po: Update from translation team.
11523
11524 2012-12-13 David S. Miller <davem@davemloft.net>
11525
11526 * NEWS: Mention IFUNC testsuite enhancements.
11527
11528 * po/pl.po: Update from translation team.
11529 * po/bg.po: Likewise.
11530
11531 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11532 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11533
11534 2012-12-11 David S. Miller <davem@davemloft.net>
11535
11536 * po/sv.po: Update from translation team.
11537
11538 * po/vi.po: Update from translation team.
11539
11540 * po/cs.po: Update from translation team.
11541
11542 * po/de.po: Update from translation team.
11543 * po/eo.po: Likewise.
11544 * po/nl.po: Likewise.
11545
11546 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11547
11548 [BZ #14246]
11549 * manual/argp.texi (Argp Helper Functions): Move node to follow
11550 Argp Parsing State.
11551
11552 [BZ #14872]
11553 * manual/conf.texi (Limits on File System Capacity): Mention if
11554 terminating null is included in the max size.
11555
11556 2012-12-10 Andreas Jaeger <aj@suse.de>
11557
11558 * po/cs.po: Update from translation team.
11559
11560 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11561
11562 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11563 void pointer and cast to uintptr_t.
11564 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11565 path.
11566 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11567 * sysdeps/s390/s390-64/memset.S: Likewise.
11568
11569 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11570
11571 [BZ #14833]
11572 * menual/message.texi (Message Translation): Fix typos.
11573 (Helper programs for gettext): Likewise.
11574
11575 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11576
11577 [BZ #14898]
11578 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11579 Change to -1.
11580
11581 2012-12-07 David S. Miller <davem@davemloft.net>
11582
11583 * po/libc.pot: Update.
11584
11585 2012-12-07 Richard Henderson <rth@redhat.com>
11586
11587 [BZ #10114]
11588 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11589 normal/normal case to before the switch.
11590 (_FP_DIV): Likewise.
11591
11592 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11593 Mike Frysinger <vapier@gentoo.org>
11594
11595 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11596 check for __NR_fadvise64_64.
11597
11598 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11599
11600 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11601 0, not just to plain "0" as a statement.
11602 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11603 with cw.
11604
11605 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11606
11607 * NEWS: Use sourceware.org in Bugzilla URL.
11608
11609 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11610
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11612 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11613
11614 * stdio-common/tst-put-error.c (do_test): Add newline to the
11615 padded test to ensure flush.
11616
11617 2012-12-05 Jeff Law <law@redhat.com>
11618
11619 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11620
11621 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11622
11623 * README: Don't refer to ports add-on as distributed separately.
11624 Mention AArch64 in list of systems supported in the ports add-on.
11625
11626 * LICENSES: Add more non-FSF copyright and license notices.
11627
11628 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11629 ((unused)).
11630
11631 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11632
11633 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11634 10000 as width of padded output.
11635
11636 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11637
11638 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11639
11640 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11641 variable LX with __attribute__ ((unused)).
11642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11643 Likewise.
11644 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11647 with __attribute__ ((unused)).
11648
11649 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11650
11651 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11652
11653 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11654
11655 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11656 (CFLAGS-nldbl-acos.c): New variable.
11657 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11658 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11659 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11660 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11661 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11662 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11663 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11664 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11665 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11666 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11667 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11668 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11669 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11670 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11671 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11672 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11673 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11674 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11675 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11676 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11677 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11678 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11679 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11680 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11681 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11682 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11683 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11684 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11685 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11686 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11687 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11688 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11689 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11690 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11691 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11692 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11693 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11694 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11695 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11696 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11697 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11698 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11699 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11700 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11701 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11702 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11703 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11704 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11705 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11706 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11707 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11708 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11709 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11710 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11711 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11712 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11713 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11714 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11715 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11716 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11717 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11718 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11719 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11720 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11721 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11722 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11723 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11724 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11725 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11726 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11727 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11728 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11729 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11730 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11731 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11732 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11733 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11734 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11735 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11736 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11737 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11738 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11739 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11740 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11741 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11742 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11743 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11744 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11745 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11746 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11747 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11748 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11749 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11750 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11751 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11752 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11753 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11754
11755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11756 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11757
11758 [BZ #14914]
11759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11760 whole low double instead of just low 47 bits when splitting values
11761 into two parts.
11762
11763 2012-12-03 Allan McRae <allan@archlinux.org>
11764
11765 * manual/stdio.texi (Predefined Printf Handlers): Remove
11766 @hsep and @vsep usage.
11767
11768 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11769
11770 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11771 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11772
11773 2012-12-03 Jeff Law <law@redhat.com>
11774
11775 * time/sys/time.h (settimeofday): Do not mark TV argument
11776 as __nonnull.
11777
11778 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11779
11780 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11781 when currently writing and seek to current position when not.
11782 * libio/Makefile (tests): Remove bug-fclose1.
11783 * libio/bug-fclose1.c: Delete.
11784
11785 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11786
11787 * manual/arith.texi (feenableexcept): Fix typo.
11788 (fedisableexcept): Likewise.
11789
11790 2012-11-30 Roland McGrath <roland@hack.frob.com>
11791
11792 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11793 second, differently-typed declaration, rather than a cast.
11794
11795 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11796
11797 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11798 * include/rpc/svc.h: ... here.
11799
11800 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11801
11802 [BZ #13013]
11803 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11804 depending n and resplen2 to catch cases where answer
11805 equals answerp2.
11806
11807 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11808
11809 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11810 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11811
11812 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11813
11814 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11815
11816 2012-11-29 Roland McGrath <roland@hack.frob.com>
11817
11818 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11819
11820 2012-11-28 Jeff Law <law@redhat.com>
11821
11822 [BZ #13761]
11823 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11824 dataset_temporary. Track alloca usage into alloca_used.
11825 If dataset is large allocate and release it via malloc/free.
11826
11827 2012-06-04 Florian Weimer <fweimer@redhat.com>
11828
11829 [BZ #14197]
11830 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11831
11832 2012-11-28 David S. Miller <davem@davemloft.net>
11833
11834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11835
11836 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11837
11838 [BZ #14803]
11839 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11840 of pi/2 rounded to nearest to 64 bits.
11841 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11842 nearest to 64 bits.
11843 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11844 bits.
11845
11846 2012-11-28 Jeff Law <law@redhat.com>
11847 Martin Osvald <mosvald@redhat.com>
11848
11849 [BZ #14889]
11850 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11851 * sunrpc/svc.c: Include time.h.
11852 (__svc_accept_failed): New function.
11853 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11854 any reason other than EINTR, call __svc_accept_failed.
11855 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11856 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11857
11858 2012-11-28 Andreas Schwab <schwab@suse.de>
11859
11860 * scripts/abilist.awk: Also handle indirect functions in .opd
11861 section.
11862
11863 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11864
11865 [BZ #13881]
11866 * sysdeps/x86/fpu/powl_helper.c: New file.
11867 * sysdeps/x86/fpu/Makefile: Likewise.
11868 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11869 (p3): New object.
11870 (__ieee754_powl): Use __powl_helper for finite arguments except
11871 integer exponents below 8.
11872 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11873 (p3): New object.
11874 (__ieee754_powl): Use __powl_helper for finite arguments except
11875 integer exponents below 8.
11876 * math/libm-test.inc (pow_test): Add more tests and enable some
11877 previously disabled tests.
11878 * sysdeps/i386/fpu/libm-test-ulps: Update.
11879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11880
11881 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11882 Carlos O'Donell <carlos_odonell@mentor.com>
11883
11884 * nss/makedb.c (is_prime): Assert that input is odd and greater
11885 than 4. Note that fact in a comment too.
11886 (next_prime): Add 4 to input.
11887
11888 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11889
11890 [BZ #11741]
11891 * libio/Makefile (tests): Add test case tst-fwrite-error.
11892 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11893 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11894 * libio/tst-fwrite-error.c: New test case.
11895
11896 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11897
11898 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11899 before casting to void *.
11900 * include/libc-internal.h (__pointer_type): New macro.
11901 (__integer_if_pointer_type_sub): Likewise.
11902 (__integer_if_pointer_type): Likewise.
11903 (cast_to_integer): Likewise.
11904 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11905 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11906 before casting to atomic64_t.
11907 (atomic_exchange_acq): Likewise.
11908 (__arch_exchange_and_add_body): Likewise.
11909 (__arch_add_body): Likewise.
11910 (atomic_add_negative): Likewise.
11911 (atomic_add_zero): Likewise.
11912
11913 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11914
11915 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11916 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11917 (add_fdes): Likewise.
11918 (linear_search_fdes): Likewise.
11919 (binary_search_unencoded_fdes): Likewise.
11920
11921 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11922
11923 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11924
11925 2012-11-24 Adam Conrad <adconrad@0c3.net>
11926
11927 * configure.in: Autodetect C++ header directories.
11928 * configure: Regenerated.
11929
11930 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11931
11932 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11933
11934 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11935
11936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11937
11938 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11939
11940 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11941 LDBL_MANT_DIG == 106]: Disable some tests.
11942 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11943 Likewise.
11944 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11945 Likewise.
11946
11947 [BZ #14871]
11948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11949 input for small inputs. Return +/- pi/2 for large inputs.
11950 * math/libm-test.inc (atan_test): Add more tests.
11951
11952 * sysdeps/generic/unwind-dw2-fde-glibc.c
11953 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11954 __attribute__ ((unused)).
11955
11956 [BZ #14645]
11957 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11958 x * y if x and y are nonzero and z is zero.
11959
11960 [BZ #14811]
11961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11962 nonzero exponents with absolute value below 0x1p-117 to +/-
11963 0x1p-117.
11964
11965 [BZ #14869]
11966 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11967 up arguments below 2**-450, not just those below 2**-500.
11968 * math/libm-test.inc (hypot_test): Add another test.
11969
11970 [BZ #14868]
11971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11972 Return a+b for ratio over 2**120, not 2**60.
11973 * math/libm-test.inc (hypot_test): Add another test.
11974
11975 * math/libm-test.inc (clog_test): Use
11976 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11977 (clog10_test): Likewise.
11978
11979 [BZ #6778]
11980 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11981
11982 2012-11-22 Andreas Schwab <schwab@suse.de>
11983
11984 * sysdeps/i386/fpu/libm-test-ulps: Update.
11985
11986 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11987
11988 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11989 printf output with newline.
11990
11991 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11992
11993 [BZ #14865]
11994 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11995 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11996 -z nodlopen, -z initfirst and -z execstack support.
11997 * configure: Regenerated.
11998
11999 * elf/elf.h (DF_1_NODIRECT): New macro.
12000 (DF_1_IGNMULDEF): Likewise.
12001 (DF_1_NOKSYMS): Likewise.
12002 (DF_1_NOHDR): Likewise.
12003 (DF_1_EDITED): Likewise.
12004 (DF_1_NORELOC): Likewise.
12005 (DF_1_SYMINTPOSE): Likewise.
12006 (DF_1_GLOBAUDIT): Likewise.
12007 (DF_1_SINGLETON): Likewise.
12008 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12009 DT_1_SUPPORTED_MASK bits.
12010 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12011
12012 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12013
12014 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12015
12016 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12017
12018 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12019 macro.
12020
12021 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12022 (sendmmsg): Move declarations...
12023 * socket/sys/socket.h: ... here.
12024 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12025 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12026 include it from...
12027 * socket/recvmmsg.c: ... this new file.
12028 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12029 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12030 definition of __sendmmsg hidden.
12031 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12032 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12033 Move ENOSYS stub into and include it from...
12034 * socket/sendmmsg.c: ... this new file.
12035 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12036 (sysdep_routines): Move recvmmsg and sendmmsg...
12037 * socket/Makefile (routines): ... here.
12038 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12039 (GLIBC_PRIVATE): Add __sendmmsg.
12040 * include/sys/socket.h (__sendmmsg): Add declarations.
12041 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12042 sendmmsg.
12043
12044 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12045
12046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12047 variable I1 with __attribute__ ((unused)).
12048 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12049
12050 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12051
12052 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12053 DUMMY variables with __attribute__ ((unused)).
12054
12055 * bits/byteswap.h: Include <bits/types.h>.
12056 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12057
12058 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12059
12060 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12061 string_t. Do not manually set errno.
12062 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12063 length with __strnlen. Make sure to both set errno and return it on
12064 failure.
12065
12066 2012-11-19 David S. Miller <davem@davemloft.net>
12067
12068 With help from Joseph Myers.
12069 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12070 very large arguments properly.
12071 * math/libm-test.inc (atan_test): New tests.
12072 (atan2_test): New tests.
12073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12075
12076 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12077
12078 [BZ #14856]
12079 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12080 Define to 3.
12081
12082 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12083 [POSIX] (EADDRNOTAVAIL): Likewise.
12084 [POSIX] (EAFNOSUPPORT): Likewise.
12085 [POSIX] (EALREADY): Likewise.
12086 [POSIX] (ECONNABORTED): Likewise.
12087 [POSIX] (ECONNREFUSED): Likewise.
12088 [POSIX] (ECONNRESET): Likewise.
12089 [POSIX] (EDESTADDRREQ): Likewise.
12090 [POSIX] (EDQUOT): Likewise.
12091 [POSIX] (EHOSTUNREACH): Likewise.
12092 [POSIX] (EIDRM): Likewise.
12093 [POSIX] (EISCONN): Likewise.
12094 [POSIX] (ELOOP): Likewise.
12095 [POSIX] (EMULTIHOP): Likewise.
12096 [POSIX] (ENETDOWN): Likewise.
12097 [POSIX] (ENETUNREACH): Likewise.
12098 [POSIX] (ENOBUFS): Likewise.
12099 [POSIX] (ENODATA): Likewise.
12100 [POSIX] (ENOLINK): Likewise.
12101 [POSIX] (ENOMSG): Likewise.
12102 [POSIX] (ENOPROTOOPT): Likewise.
12103 [POSIX] (ENOSR): Likewise.
12104 [POSIX] (ENOSTR): Likewise.
12105 [POSIX] (ENOTCONN): Likewise.
12106 [POSIX] (ENOTSOCK): Likewise.
12107 [POSIX] (EOPNOTSUPP): Likewise.
12108 [POSIX] (EOVERFLOW): Likewise.
12109 [POSIX] (EPROTO): Likewise.
12110 [POSIX] (EPROTONOSUPPORT): Likewise.
12111 [POSIX] (EPROTOTYPE): Likewise.
12112 [POSIX] (ESTALE): Likewise.
12113 [POSIX] (ETIME): Likewise.
12114 [POSIX] (ETXTBSY): Likewise.
12115 [POSIX] (EWOULDBLOCK): Likewise.
12116 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12117 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12118 [POSIX] (SEEK_CUR): Likewise.
12119 [POSIX] (SEEK_END): Likewise.
12120 [POSIX || UNIX98] (mode_t): Do not require.
12121 [POSIX] (off_t): Likewise.
12122 [POSIX] (pid_t): Likewise.
12123 [POSIX] (sys/stat.h): Do not allow header.
12124 [POSIX] (unistd.h): Likewise.
12125 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12126 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12127 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12128 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12129 require.
12130 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12131 sigevent): Specify elements.
12132 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12133 entry.
12134 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12135 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12136
12137 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12138 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12139 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12140 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12141 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12142 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12143 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12144 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12145 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12146 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12147 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12148 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12149 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12151 Likewise.
12152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12153 Likewise.
12154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12155 Likewise.
12156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12157 Likewise.
12158 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12159 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12160 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12162 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12163 Specify lower bound on value.
12164 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12165 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12166 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12167 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12168 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12169 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12170 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12171 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12172 value.
12173 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12174 as optional.
12175 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12176 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12177 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12178 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12179 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12180 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12181 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12182 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12183 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12184 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12185 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12186 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12187 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12188 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12189 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12190 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12191 entry.
12192 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12193 optional.
12194 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12195 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12196 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12197 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12198 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12199 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12200 Likewise.
12201 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12202 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12203 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12204 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12205 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12206 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12208 as optional.
12209 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12210 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12212 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12213 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12214 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12215 specify as optional.
12216 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12217 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12218 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12219 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12220 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12221 [XPG3] (NL_LANGMAX): Likewise.
12222 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12223 [POSIX || XPG3] (NL_NMAX): Likewise.
12224 [POSIX || XPG3] (NL_SETMAX): Likewise.
12225 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12226 [XPG3] (NZERO): Likewise.
12227 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12228 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12229 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12230 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12231 (REG_ERANGE): Expect.
12232 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12233 optional-constant.
12234 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12235 Use (void) in prototype.
12236 [POSIX] (*_t): Allow.
12237 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12238 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12239 (WRDE_BADVAL): Expect.
12240
12241 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12242 expect.
12243 [XPG3 || XPG4] (O_RSYNC): Likewise.
12244 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12245 Likewise.
12246 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12247 [XPG3 || XPG4] (sigqueue): Likewise.
12248 [XPG3 || XPG4] (sigtimedwait): Likewise.
12249 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12250 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12251 [XPG3 || XPG4] (vsnprintf): Likewise.
12252 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12253 Likewise.
12254 [XPG3 || XPG4] (blksize_t): Likewise.
12255 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12256 Likewise.
12257 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12258 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12259 [XPG3 || XPG4] (struct itimerspec): Likewise.
12260 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12261 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12262 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12263 [XPG3 || XPG4] (clockid_t): Likewise.
12264 [XPG3 || XPG4] (timer_t): Likewise.
12265 [XPG3 || XPG4] (clock_getres): Likewise.
12266 [XPG3 || XPG4] (clock_gettime): Likewise.
12267 [XPG3 || XPG4] (clock_settime): Likewise.
12268 [XPG3 || XPG4] (nanosleep): Likewise.
12269 [XPG3 || XPG4] (timer_create): Likewise.
12270 [XPG3 || XPG4] (timer_delete): Likewise.
12271 [XPG3 || XPG4] (timer_gettime): Likewise.
12272 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12273 [XPG3 || XPG4] (timer_settime): Likewise.
12274 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12275 [XPG3 || XPG4] (getlogin_r): Likewise.
12276 [XPG3 || XPG4] (pread): Likewise.
12277 [XPG3 || XPG4] (pthread_atfork): Likewise.
12278 [XPG3 || XPG4] (pwrite): Likewise.
12279
12280 [BZ #14835]
12281 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12282 <bits/siginfo.h>.
12283
12284 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12285
12286 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12287 finalizing MALLSTREAM.
12288
12289 * sysdeps/mach/hurd/syncfs.c: New file.
12290
12291 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12292
12293 [BZ #14719]
12294 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12295 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12296 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12297 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12298 (_nss_dns_gethostbyname4_r): Likewise.
12299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12300 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12301
12302 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12303
12304 [BZ #13763]
12305 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12306
12307 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12308
12309 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12310 * elf/cache.c (print_entry): Print ",AArch64" for
12311 FLAG_AARCH64_LIB64
12312
12313 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12314 * elf/cache.c (print_entry): Print ",hard-float" for
12315 FLAG_ARM_LIBHF.
12316
12317 2012-11-18 David S. Miller <davem@davemloft.net>
12318
12319 With help from Joseph Myers.
12320 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12321 cutoff to 2**-13.
12322 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12323 cutoff to 2**-25.
12324 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12325 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12326 small.
12327 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12328 * math/libm-test.inc (y0_test): New tests.
12329 (y1_test): New tests.
12330 * sysdeps/i386/fpu/libm-test-ulps: Update.
12331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12333
12334 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12335
12336 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12337 64-bit targets.
12338 * configure: Regenerated.
12339
12340 2012-11-17 David S. Miller <davem@davemloft.net>
12341
12342 [BZ #14811]
12343 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12344 nonzero exponents with absolute value below 0x1p-128 to +/-
12345 0x1p-128.
12346
12347 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12348
12349 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12350
12351 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12352
12353 * posix/getconf-speclist.c: New file.
12354 * posix/posix-envs.def: Likewise.
12355 * posix/confstr.c (START_ENV_GROUP): New macro.
12356 (END_ENV_GROUP): Likewise.
12357 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12358 (KNOWN_PRESENT_ENV_STRING): Likewise.
12359 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12360 (UNKNOWN_ENVIRONMENT): Likewise.
12361 (confstr): Include posix-envs.def instead of handling
12362 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12363 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12364 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12365 (END_ENV_GROUP): Likewise.
12366 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12367 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12368 (UNKNOWN_ENVIRONMENT): Likewise.
12369 (__sysconf): Include posix-envs.def instead of handling associated
12370 cases directly here.
12371 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12372 preprocessing getconf-speclist.c rather than running getconf or
12373 generating empty file.
12374
12375 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12376
12377 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12378
12379 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12380
12381 [BZ #14672]
12382 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12383
12384 2012-11-16 David S. Miller <davem@davemloft.net>
12385
12386 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12387 smaller than LDBL_EPSILON/2.0L, just return xm1.
12388
12389 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12390
12391 * elf/tst-array1.c (init): Set constructor priority to 1000.
12392 (fini): Set destructor priority to 1000.
12393 * elf/tst-array2dep.c: Likewise.
12394
12395 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12396
12397 [BZ #11741]
12398 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12399 (_IO_new_file_xsputn): Also return EOF if none of the input
12400 data was written when overflow failed.
12401 * libio/iopadn.c (_IO_padn): Likewise.
12402 * libio/iowpadn.c (_IO_wpadn): Likewise.
12403 * stdio-common/tst-put-error.c: Add copyright notice.
12404 (do_test): Add case for printing padded string.
12405 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12406 _IO_padn returned error.
12407 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12408 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12409 return EOF.
12410
12411 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12412
12413 * libio/libioP.h: Add comment note that the references to C++
12414 bits are now obsolete.
12415
12416 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12417
12418 * math/libm-test.inc (check_complex): Use asprintf.
12419
12420 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12421
12422 * debug/pcprofiledump.c (print_version): Update copyright year.
12423 * malloc/memusagestat.c (print_version): Likewise.
12424
12425 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12426
12427 [BZ #14831]
12428 * elf/Makefile (tests): Add tst-audit8.
12429 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12430 ($(objpfx)tst-audit8.out): New target.
12431 (tst-audit8-ENV): New variable.
12432 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12433 audit if l_reloc_result is NULL.
12434 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12435 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12436 * elf/tst-audit8.c: New file.
12437
12438 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12439
12440 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12441 * misc/Makefile (CFLAGS-select.c): Define.
12442 * posix/Makefile (CFLAGS-pause.c): Define.
12443
12444 2012-11-13 David S. Miller <davem@davemloft.net>
12445
12446 * crypt/Makefile: Move test targets after toplevel Rules
12447 inclusion. Grab any necessary sysdep routines when linking.
12448 * crypt/md5.c (md5_process_block): Remove define, we will always
12449 name it __md5_process_block.
12450 (md5_finish_ctx): Update md5_process_block call.
12451 (md5_stream): Likewise.
12452 (md5_process_bytes): Likewise.
12453 (md5_process_block): Rename to __md5_process_block and move to ...
12454 * crypt/md5-block.c: ... here.
12455 * crypt/sha256.c (sha256_process_block): Move to ...
12456 * crypt/sha256-block.c: ... here.
12457 * crypt/sha512.c (sha512_process_block): Move to ...
12458 * crypt/sha512-block.c: ... here.
12459 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12460 path.
12461 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12462 * sysdeps/sparc/sparc64/multiarch/Makefile
12463 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12464 crypt subdir.
12465 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12466 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12467 multiarch changes.
12468 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12469 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12470 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12471 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12472 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12473 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12474 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12475 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12477 file.
12478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12479 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12480 file.
12481 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12482
12483 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12484
12485 * timezone/tzselect.ksh: Update from tzcode git revision
12486 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12487 * timezone/zdump.c: Likewise.
12488 * timezone/zic.c: Likewise.
12489 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12490 in TZVERSION setting, not $(PKGVERSION).
12491 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12492 REPORT_BUGS_TO settings.
12493
12494 [BZ #14838]
12495 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12496 macro.
12497
12498 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12499
12500 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12501 detection to immediately after _FP_ROUND().
12502 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12503 bits are 0.
12504
12505 2012-11-11 David S. Miller <davem@davemloft.net>
12506
12507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12508 inttypes.h
12509 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12510 __close rather than their public counterparts.
12511
12512 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12513
12514 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12515 file.
12516 [UNIX98] (sem_timedwait): Do not expect.
12517 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12518 [XPG4 || UNIX98] (sockatmark): Do not expect.
12519 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12520 (clock_getcpuclockid): Do not expect.
12521 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12522 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12523 Do not expect.
12524 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12525 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12526 [UNIX98] (vwscanf): Likewise.
12527 [UNIX98] (vswscanf): Likewise.
12528
12529 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12530
12531 * timezone/version.h: Remove file.
12532 * timezone/README: Do not refer to version.h.
12533 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12534 $(objpfx)version.h.
12535 ($(objpfx)zdump.o): Likewise.
12536 ($(objpfx)version.h): New target.
12537
12538 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12539 2012i.
12540 * timezone/README: Don't mention modification to tzselect.ksh.
12541 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12542 work on unmodified tzselect.ksh. Substitute version numbers in
12543 tzselect.ksh.
12544
12545 * Makefile (format-me): Remove.
12546 (INSTALL): Adjust indentation. Use commands directly instead of
12547 using $(format-me).
12548
12549 * aclocal.m4 (ACX_PKGVERSION): New macro.
12550 (ACX_BUGURL): Likewise.
12551 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12552 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12553 (REPORT_BUGS_TO): Likewise.
12554 * configure: Regenerated.
12555 * config.h.in (PKGVERSION): New macro.
12556 (REPORT_BUGS_TO): Likewise.
12557 * config.make.in (PKGVERSION): New variable.
12558 (PKGVERSION_TEXI): Likewise.
12559 (REPORT_BUGS_TO): Likewise.
12560 (REPORT_BUGS_TEXI): Likewise.
12561 * Makefile (format-me): Use -I$(common-objpfx)manual.
12562 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12563 ($(common-objpfx)manual/%): New target.
12564 (manual/%): Remove target.
12565 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12566 (print_version): Use PKGVERSION.
12567 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12568 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12569 and REPORT_BUGS_TO.
12570 ($(objpfx)xtrace): Likewise.
12571 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12572 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12573 (print_version): Use PKGVERSION.
12574 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12575 (do_version): Use PKGVERSION.
12576 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12577 REPORT_BUGS_TO.
12578 (common-ldd-rewrite): Likewise.
12579 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12580 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12581 (print_version): Use PKGVERSION.
12582 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12583 * elf/pldd.c (argp_program_bug_address): Remove variable.
12584 (more_help): New function.
12585 (argp): Use more_help.
12586 (print_version): Use PKGVERSION.
12587 * elf/sln.c (main): Use PKGVERSION.
12588 (usage): Use REPORT_BUGS_TO.
12589 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12590 (top level): Use PKGVERSION.
12591 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12592 (print_version): Use PKGVERSION.
12593 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12594 (print_version): Use PKGVERSION.
12595 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12596 (print_version): Use PKGVERSION.
12597 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12598 (print_version): Use PKGVERSION.
12599 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12600 (print_version): Use PKGVERSION.
12601 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12602 (print_version): Use PKGVERSION.
12603 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12604 and BUGURL.
12605 ($(objpfx)memusage): Likewise.
12606 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12607 (do_version): Use PKGVERSION.
12608 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12609 (print_version): Use PKGVERSION.
12610 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12611 ($PKGVERSION): New variable.
12612 ($REPORT_BUGS_TO): Likewise.
12613 (usage): Use $REPORT_BUGS_TO.
12614 (top level): Use $PKGVERSION.
12615 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12616 ($(objpfx)pkgvers.texi): New rule.
12617 ($(objpfx)stamp-pkgvers): Likewise.
12618 * manual/install.texi: Include pkgvers.texi.
12619 (--with-pkgversion): Document new configure option.
12620 (--with-bugurl): Likewise.
12621 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12622 than necessarily for this particular distribution. Use
12623 REPORT_BUGS_TO for where to report bugs.
12624 * INSTALL: Regenerated.
12625 * manual/libc.texinfo: Include pkgvers.texi.
12626 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12627 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12628 (print_version): Use PKGVERSION.
12629 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12630 (print_version): Use PKGVERSION.
12631 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12632 (print_version): Use PKGVERSION.
12633 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12634 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12635 macro.
12636 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12637 (print_version): Use PKGVERSION.
12638 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12639 (print_version): Use PKGVERSION.
12640 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12641 and PKGVERSION.
12642
12643 * timezone/checktab.awk: Update from tzcode 2012i.
12644 * timezone/ialloc.c: Likewise.
12645 * timezone/private.h: Likewise.
12646 * timezone/scheck.c: Likewise.
12647 * timezone/tzfile.h: Likewise.
12648 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12649 (TZVERSION): Hardcode tzcode version number.
12650 * timezone/zdump.c: Update from tzcode 2012i.
12651 * timezone/zic.c: Likewise.
12652 * timezone/version.h: New file.
12653 * timezone/README: Describe version.h. Update upstream location.
12654
12655 [BZ #14824]
12656 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12657 (mktemp): Enable declaration.
12658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12662 Likewise.
12663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12664 Likewise.
12665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12666 Likewise.
12667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12668 Likewise.
12669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12670 Likewise.
12671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12672 Likewise.
12673
12674 [BZ #14821]
12675 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12676 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12677 for copies of such integer values.
12678 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12679 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12680
12681 2012-11-09 Andreas Jaeger <aj@suse.de>
12682
12683 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12684 definitions and declarations that are provided by
12685 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12686
12687 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12688
12689 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12690 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12691 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12692 definition.
12693
12694 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12695
12696 * elf/elf.h: Update comment before AArch64 relocations.
12697
12698 2012-11-07 David S. Miller <davem@davemloft.net>
12699
12700 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12701 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12702 (__start_context): Declare.
12703 (__makecontext_ret): Delete.
12704 (__makecontext): Hook up __start_context instead of
12705 __makecontext_ret.
12706 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12707 (sysdep_routines): Add __start_context when in stdlib.
12708
12709 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12710
12711 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12712 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12713 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12714 hardcoded "nm".
12715 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12716 (READELF): New variable. Use it instead of hardcoded "readelf".
12717
12718 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12719
12720 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12721 * sysdeps/x86/Makefile: Here.
12722 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12723 * sysdeps/x86/tst-xmmymm.sh: This.
12724
12725 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12726
12727 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12728 expectations.
12729 [UNIX98] (pthread_barrier_t): Do not expect.
12730 [UNIX98] (pthread_barrierattr_t): Likewise.
12731 [UNIX98] (pthread_spinlock_t): Likewise.
12732 [UNIX98] (pthread_barrier_destroy): Likewise.
12733 [UNIX98] (pthread_barrier_init): Likewise.
12734 [UNIX98] (pthread_barrier_wait): Likewise.
12735 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12736 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12737 [UNIX98] (pthread_barrierattr_init): Likewise.
12738 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12739 [UNIX98] (pthread_getcpuclockid): Likewise.
12740 [UNIX98] (pthread_mutex_timedlock): Likewise.
12741 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12742 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12743 [UNIX98] (pthread_sigmask): Likewise.
12744 [UNIX98] (pthread_spin_destroy): Likewise.
12745 [UNIX98] (pthread_spin_init): Likewise.
12746 [UNIX98] (pthread_spin_lock): Likewise.
12747 [UNIX98] (pthread_spin_trylock): Likewise.
12748 [UNIX98] (pthread_spin_unlock): Likewise.
12749 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12750 Do not expect.
12751 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12752 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12753 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12754 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12755 [XPG3 || XPG4] (pthread_key_t): Likewise.
12756 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12757 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12758 [XPG3 || XPG4] (pthread_once_t): Likewise.
12759 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12760 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12761 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12762 [XPG3 || XPG4] (pthread_t): Likewise.
12763
12764 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12765 not expect.
12766 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12767
12768 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12769 Change function return type to int.
12770
12771 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12772 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12773 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12774 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12775 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12776 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12777 [!POSIX] (posix_madvise): Likewise.
12778 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12779 && !UNIX98].
12780 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12781 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12782 (mode_t): Likewise.
12783 (posix_mem_offset): Likewise.
12784 (posix_typed_mem_get_info): Likewise.
12785 (posix_typed_mem_open): Likewise.
12786
12787 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12788 Change condition to [XOPEN2K8].
12789
12790 * conform/conformtest.pl: Preprocess allow-header data with -x c
12791 instead of from stdin.
12792 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12793 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12794 [C99-based standards] (cerfc): Likewise.
12795 [C99-based standards] (cexp2): Likewise.
12796 [C99-based standards] (cexpm1): Likewise.
12797 [C99-based standards] (clog10): Likewise.
12798 [C99-based standards] (clog1p): Likewise.
12799 [C99-based standards] (clog2): Likewise.
12800 [C99-based standards] (clgamma): Likewise.
12801 [C99-based standards] (ctgamma): Likewise.
12802 [C99-based standards] (cerff): Likewise.
12803 [C99-based standards] (cerfcf): Likewise.
12804 [C99-based standards] (cexp2f): Likewise.
12805 [C99-based standards] (cexpm1f): Likewise.
12806 [C99-based standards] (clog10f): Likewise.
12807 [C99-based standards] (clog1pf): Likewise.
12808 [C99-based standards] (clog2f): Likewise.
12809 [C99-based standards] (clgammaf): Likewise.
12810 [C99-based standards] (ctgammaf): Likewise.
12811 [C99-based standards] (cerfl): Likewise.
12812 [C99-based standards] (cerfcl): Likewise.
12813 [C99-based standards] (cexp2l): Likewise.
12814 [C99-based standards] (cexpm1l): Likewise.
12815 [C99-based standards] (clog10l): Likewise.
12816 [C99-based standards] (clog1pl): Likewise.
12817 [C99-based standards] (clog2l): Likewise.
12818 [C99-based standards] (clgammal): Likewise.
12819 [C99-based standards] (ctgammal): Likewise.
12820 * conform/data/inttypes.h-data [C99-based standards]: Include
12821 stdint.h-data. Remove all expectations for stdint.h contents.
12822 [C99-based standards] (PRI*): Do not allow.
12823 [C99-based standards] (SCN*): Likewise.
12824 [C99-based standards] (*_t): Likewise.
12825 [C99-based-standards] (PRId8): Expect macro.
12826 [C99-based-standards] (PRIi8): Likewise.
12827 [C99-based-standards] (PRIo8): Likewise.
12828 [C99-based-standards] (PRIu8): Likewise.
12829 [C99-based-standards] (PRIx8): Likewise.
12830 [C99-based-standards] (PRIX8): Likewise.
12831 [C99-based-standards] (SCNd8): Likewise.
12832 [C99-based-standards] (SCNi8): Likewise.
12833 [C99-based-standards] (SCNo8): Likewise.
12834 [C99-based-standards] (SCNu8): Likewise.
12835 [C99-based-standards] (SCNx8): Likewise.
12836 [C99-based-standards] (PRIdLEAST8): Likewise.
12837 [C99-based-standards] (PRIiLEAST8): Likewise.
12838 [C99-based-standards] (PRIoLEAST8): Likewise.
12839 [C99-based-standards] (PRIuLEAST8): Likewise.
12840 [C99-based-standards] (PRIxLEAST8): Likewise.
12841 [C99-based-standards] (PRIXLEAST8): Likewise.
12842 [C99-based-standards] (SCNdLEAST8): Likewise.
12843 [C99-based-standards] (SCNiLEAST8): Likewise.
12844 [C99-based-standards] (SCNoLEAST8): Likewise.
12845 [C99-based-standards] (SCNuLEAST8): Likewise.
12846 [C99-based-standards] (SCNxLEAST8): Likewise.
12847 [C99-based-standards] (PRIdFAST8): Likewise.
12848 [C99-based-standards] (PRIiFAST8): Likewise.
12849 [C99-based-standards] (PRIoFAST8): Likewise.
12850 [C99-based-standards] (PRIuFAST8): Likewise.
12851 [C99-based-standards] (PRIxFAST8): Likewise.
12852 [C99-based-standards] (PRIXFAST8): Likewise.
12853 [C99-based-standards] (SCNdFAST8): Likewise.
12854 [C99-based-standards] (SCNiFAST8): Likewise.
12855 [C99-based-standards] (SCNoFAST8): Likewise.
12856 [C99-based-standards] (SCNuFAST8): Likewise.
12857 [C99-based-standards] (SCNxFAST8): Likewise.
12858 [C99-based-standards] (PRId16): Likewise.
12859 [C99-based-standards] (PRIi16): Likewise.
12860 [C99-based-standards] (PRIo16): Likewise.
12861 [C99-based-standards] (PRIu16): Likewise.
12862 [C99-based-standards] (PRIx16): Likewise.
12863 [C99-based-standards] (PRIX16): Likewise.
12864 [C99-based-standards] (SCNd16): Likewise.
12865 [C99-based-standards] (SCNi16): Likewise.
12866 [C99-based-standards] (SCNo16): Likewise.
12867 [C99-based-standards] (SCNu16): Likewise.
12868 [C99-based-standards] (SCNx16): Likewise.
12869 [C99-based-standards] (PRIdLEAST16): Likewise.
12870 [C99-based-standards] (PRIiLEAST16): Likewise.
12871 [C99-based-standards] (PRIoLEAST16): Likewise.
12872 [C99-based-standards] (PRIuLEAST16): Likewise.
12873 [C99-based-standards] (PRIxLEAST16): Likewise.
12874 [C99-based-standards] (PRIXLEAST16): Likewise.
12875 [C99-based-standards] (SCNdLEAST16): Likewise.
12876 [C99-based-standards] (SCNiLEAST16): Likewise.
12877 [C99-based-standards] (SCNoLEAST16): Likewise.
12878 [C99-based-standards] (SCNuLEAST16): Likewise.
12879 [C99-based-standards] (SCNxLEAST16): Likewise.
12880 [C99-based-standards] (PRIdFAST16): Likewise.
12881 [C99-based-standards] (PRIiFAST16): Likewise.
12882 [C99-based-standards] (PRIoFAST16): Likewise.
12883 [C99-based-standards] (PRIuFAST16): Likewise.
12884 [C99-based-standards] (PRIxFAST16): Likewise.
12885 [C99-based-standards] (PRIXFAST16): Likewise.
12886 [C99-based-standards] (SCNdFAST16): Likewise.
12887 [C99-based-standards] (SCNiFAST16): Likewise.
12888 [C99-based-standards] (SCNoFAST16): Likewise.
12889 [C99-based-standards] (SCNuFAST16): Likewise.
12890 [C99-based-standards] (SCNxFAST16): Likewise.
12891 [C99-based-standards] (PRId32): Likewise.
12892 [C99-based-standards] (PRIi32): Likewise.
12893 [C99-based-standards] (PRIo32): Likewise.
12894 [C99-based-standards] (PRIu32): Likewise.
12895 [C99-based-standards] (PRIx32): Likewise.
12896 [C99-based-standards] (PRIX32): Likewise.
12897 [C99-based-standards] (SCNd32): Likewise.
12898 [C99-based-standards] (SCNi32): Likewise.
12899 [C99-based-standards] (SCNo32): Likewise.
12900 [C99-based-standards] (SCNu32): Likewise.
12901 [C99-based-standards] (SCNx32): Likewise.
12902 [C99-based-standards] (PRIdLEAST32): Likewise.
12903 [C99-based-standards] (PRIiLEAST32): Likewise.
12904 [C99-based-standards] (PRIoLEAST32): Likewise.
12905 [C99-based-standards] (PRIuLEAST32): Likewise.
12906 [C99-based-standards] (PRIxLEAST32): Likewise.
12907 [C99-based-standards] (PRIXLEAST32): Likewise.
12908 [C99-based-standards] (SCNdLEAST32): Likewise.
12909 [C99-based-standards] (SCNiLEAST32): Likewise.
12910 [C99-based-standards] (SCNoLEAST32): Likewise.
12911 [C99-based-standards] (SCNuLEAST32): Likewise.
12912 [C99-based-standards] (SCNxLEAST32): Likewise.
12913 [C99-based-standards] (PRIdFAST32): Likewise.
12914 [C99-based-standards] (PRIiFAST32): Likewise.
12915 [C99-based-standards] (PRIoFAST32): Likewise.
12916 [C99-based-standards] (PRIuFAST32): Likewise.
12917 [C99-based-standards] (PRIxFAST32): Likewise.
12918 [C99-based-standards] (PRIXFAST32): Likewise.
12919 [C99-based-standards] (SCNdFAST32): Likewise.
12920 [C99-based-standards] (SCNiFAST32): Likewise.
12921 [C99-based-standards] (SCNoFAST32): Likewise.
12922 [C99-based-standards] (SCNuFAST32): Likewise.
12923 [C99-based-standards] (SCNxFAST32): Likewise.
12924 [C99-based-standards] (PRId64): Likewise.
12925 [C99-based-standards] (PRIi64): Likewise.
12926 [C99-based-standards] (PRIo64): Likewise.
12927 [C99-based-standards] (PRIu64): Likewise.
12928 [C99-based-standards] (PRIx64): Likewise.
12929 [C99-based-standards] (PRIX64): Likewise.
12930 [C99-based-standards] (SCNd64): Likewise.
12931 [C99-based-standards] (SCNi64): Likewise.
12932 [C99-based-standards] (SCNo64): Likewise.
12933 [C99-based-standards] (SCNu64): Likewise.
12934 [C99-based-standards] (SCNx64): Likewise.
12935 [C99-based-standards] (PRIdLEAST64): Likewise.
12936 [C99-based-standards] (PRIiLEAST64): Likewise.
12937 [C99-based-standards] (PRIoLEAST64): Likewise.
12938 [C99-based-standards] (PRIuLEAST64): Likewise.
12939 [C99-based-standards] (PRIxLEAST64): Likewise.
12940 [C99-based-standards] (PRIXLEAST64): Likewise.
12941 [C99-based-standards] (SCNdLEAST64): Likewise.
12942 [C99-based-standards] (SCNiLEAST64): Likewise.
12943 [C99-based-standards] (SCNoLEAST64): Likewise.
12944 [C99-based-standards] (SCNuLEAST64): Likewise.
12945 [C99-based-standards] (SCNxLEAST64): Likewise.
12946 [C99-based-standards] (PRIdFAST64): Likewise.
12947 [C99-based-standards] (PRIiFAST64): Likewise.
12948 [C99-based-standards] (PRIoFAST64): Likewise.
12949 [C99-based-standards] (PRIuFAST64): Likewise.
12950 [C99-based-standards] (PRIxFAST64): Likewise.
12951 [C99-based-standards] (PRIXFAST64): Likewise.
12952 [C99-based-standards] (SCNdFAST64): Likewise.
12953 [C99-based-standards] (SCNiFAST64): Likewise.
12954 [C99-based-standards] (SCNoFAST64): Likewise.
12955 [C99-based-standards] (SCNuFAST64): Likewise.
12956 [C99-based-standards] (SCNxFAST64): Likewise.
12957 [C99-based-standards] (PRIdMAX): Likewise.
12958 [C99-based-standards] (PRIiMAX): Likewise.
12959 [C99-based-standards] (PRIoMAX): Likewise.
12960 [C99-based-standards] (PRIuMAX): Likewise.
12961 [C99-based-standards] (PRIxMAX): Likewise.
12962 [C99-based-standards] (PRIXMAX): Likewise.
12963 [C99-based-standards] (SCNdMAX): Likewise.
12964 [C99-based-standards] (SCNiMAX): Likewise.
12965 [C99-based-standards] (SCNoMAX): Likewise.
12966 [C99-based-standards] (SCNuMAX): Likewise.
12967 [C99-based-standards] (SCNxMAX): Likewise.
12968 [C99-based-standards] (PRIdPTR): Likewise.
12969 [C99-based-standards] (PRIiPTR): Likewise.
12970 [C99-based-standards] (PRIoPTR): Likewise.
12971 [C99-based-standards] (PRIuPTR): Likewise.
12972 [C99-based-standards] (PRIxPTR): Likewise.
12973 [C99-based-standards] (PRIXPTR): Likewise.
12974 [C99-based-standards] (SCNdPTR): Likewise.
12975 [C99-based-standards] (SCNiPTR): Likewise.
12976 [C99-based-standards] (SCNoPTR): Likewise.
12977 [C99-based-standards] (SCNuPTR): Likewise.
12978 [C99-based-standards] (SCNxPTR): Likewise.
12979 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12980 allow.
12981 * conform/data/stdint.h-data: Update comments to clarify
12982 requirements.
12983 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12984 type.
12985 [C99-based standards] (INT8_MAX): Likewise.
12986 [C99-based standards] (INT16_MIN): Likewise.
12987 [C99-based standards] (INT16_MAX): Likewise.
12988 [C99-based standards] (INT32_MIN): Likewise.
12989 [C99-based standards] (INT32_MAX): Likewise.
12990 [C99-based standards] (INT64_MIN): Likewise.
12991 [C99-based standards] (INT64_MAX): Likewise.
12992 [C99-based standards] (UINT8_MAX): Likewise.
12993 [C99-based standards] (UINT16_MAX): Likewise.
12994 [C99-based standards] (UINT32_MAX): Likewise.
12995 [C99-based standards] (UINT64_MAX): Likewise.
12996 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12997 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12998 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12999 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13000 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13001 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13002 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13003 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13004 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13005 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13006 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13007 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13008 [C99-based standards] (INT_FAST8_MIN): Likewise.
13009 [C99-based standards] (INT_FAST8_MAX): Likewise.
13010 [C99-based standards] (INT_FAST16_MIN): Likewise.
13011 [C99-based standards] (INT_FAST16_MAX): Likewise.
13012 [C99-based standards] (INT_FAST32_MIN): Likewise.
13013 [C99-based standards] (INT_FAST32_MAX): Likewise.
13014 [C99-based standards] (INT_FAST64_MIN): Likewise.
13015 [C99-based standards] (INT_FAST64_MAX): Likewise.
13016 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13017 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13018 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13019 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13020 [C99-based standards] (INTPTR_MIN): Likewise.
13021 [C99-based standards] (INTPTR_MAX): Likewise.
13022 [C99-based standards] (UINTPTR_MAX): Likewise.
13023 [C99-based standards] (INTMAX_MIN): Likewise.
13024 [C99-based standards] (INTMAX_MAX): Likewise.
13025 [C99-based standards] (UINTMAX_MAX): Likewise.
13026 [C99-based standards] (PTRDIFF_MIN): Likewise.
13027 [C99-based standards] (PTRDIFF_MAX): Likewise.
13028 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13029 [C99-based standards] (SIZE_MAX): Likewise.
13030 [C99-based standards] (WCHAR_MAX): Likewise.
13031 [C99-based standards] (WINT_MAX): Likewise.
13032 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13033 constraint on value.
13034 [C99-based standards] (WCHAR_MIN): Likewise.
13035 [C99-based standards] (WINT_MIN): Likewise.
13036 [C99-based standards] (*_t): Allow.
13037 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13038 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13039 Include math.h-data and complex.h-data. Remove all expectations
13040 of math.h and complex.h contents.
13041 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13042 at end of line.
13043 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13044 (struct tm): Expect tag.
13045 [C99-based-standards] (wcstof): Expect function.
13046 [C99-based-standards] (wcstold): Likewise.
13047 [C99-based-standards] (wcstoll): Likewise.
13048 [C99-based-standards] (wcstoull): Likewise.
13049 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13050 macro-int-constant. Specify type.
13051 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13052 constraint on value.
13053 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13054 Specify type.
13055 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13056 Specify value.
13057 [ISO C standards]: Do not allow headers.
13058 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13059 wcs[abcdefghijklmnopqrstuvwxyz]*.
13060 [ISO C standards] (*_t): Do not allow.
13061 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13062 Expect function.
13063 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13064 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13065 Specify type.
13066 [ISO C standards]: Do not allow headers.
13067 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13068 is[abcdefghijklmnopqrstuvwxyz]*.
13069 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13070 to[abcdefghijklmnopqrstuvwxyz]*.
13071 [ISO C standards] (*_t): Do not allow.
13072 * conform/data/stdalign.h-data: New file.
13073 * conform/data/stdbool.h-data: Likewise.
13074 * conform/data/stdnoreturn.h-data: Likewise.
13075
13076 2012-11-07 Roland McGrath <roland@hack.frob.com>
13077
13078 [BZ #14815]
13079 * manual/filesys.texi (Directory Entries): Typo fix.
13080 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13081
13082 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13083
13084 * elf/elf.h (EM_AARCH64): New macro.
13085 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13086 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13087 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13088 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13089 (R_AARCH64_TLSDESC): Likewise.
13090 (NT_ARM_TLS): Likewise.
13091 (NT_ARM_HW_BREAK): Likewise.
13092 (NT_ARM_HW_WATCH): Likewise.
13093
13094 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13095
13096 [BZ #14811]
13097 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13098 (__ieee754_powl): Saturate nonzero exponents with absolute value
13099 below 0x1p-79 to +/- 0x1p-79.
13100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13101 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13102 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13103 nonzero exponents with absolute value below 0x1p-32 to +/-
13104 0x1p-32.
13105 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13106 (__ieee754_powl): Saturate nonzero exponents with absolute value
13107 below 0x1p-79 to +/- 0x1p-79.
13108 * math/libm-test.inc (pow_test): Add more tests.
13109
13110 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13111
13112 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13113 _dl_s390_cap_flags with kernel. Increase string length.
13114 (_dl_s390_platforms): Add z196 and zEC12.
13115
13116 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13117
13118 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13119 Change XOPEN21K to XOPEN2K.
13120
13121 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13122
13123 * string/memmove.c: Use memcpy when possible.
13124
13125 2012-11-06 Andreas Jaeger <aj@suse.de>
13126
13127 * po/eo.po: Update from translation team.
13128
13129 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13130
13131 [BZ #14793]
13132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13133 exponent and small x and y exponents, scale x or y up. Increase
13134 by 2 the exponent used in scaling up.
13135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13137 * math/libm-test.inc (fma_test): Add more tests.
13138 (fma_test_towardzero): Likewise.
13139 (fma_test_downward): Likewise.
13140 (fma_test_upward): Likewise.
13141
13142 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13143
13144 [BZ #14805]
13145 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13146 fenv_t *.
13147
13148 [BZ #14801]
13149 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13150 namespace for names of struct fields.
13151 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13152 fenv_t fields.
13153 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13154 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13155
13156 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13157
13158 [BZ #3665]
13159 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13160
13161 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13162
13163 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13164 PTR_DEMANGLE.
13165
13166 [BZ #5246]
13167 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13168 PTR_DEMANGLE.
13169
13170 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13171
13172 [BZ #14797]
13173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13174 definitely overflow as x * y not x * y + z.
13175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13177 * math/libm-test.inc (fma_test): Add more tests.
13178 (fma_test_towardzero): Likewise.
13179 (fma_test_downward): Likewise.
13180 (fma_test_upward): Likewise.
13181
13182 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13183
13184 [BZ #157]
13185
13186 * include/stub-tag.h: Remove file.
13187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13188 '#include' of it.
13189 * manual/maint.texi (Porting): Don't reference it.
13190 * Makerules ($(objpfx)stubs): Likewise.
13191 * dirent/closedir.c: Don't include <stub-tag.h>.
13192 * dirent/dirfd.c: Likewise.
13193 * dirent/fdopendir.c: Likewise.
13194 * dirent/getdents.c: Likewise.
13195 * dirent/getdents64.c: Likewise.
13196 * dirent/opendir.c: Likewise.
13197 * dirent/readdir.c: Likewise.
13198 * dirent/readdir64.c: Likewise.
13199 * dirent/readdir64_r.c: Likewise.
13200 * dirent/readdir_r.c: Likewise.
13201 * dirent/rewinddir.c: Likewise.
13202 * dirent/seekdir.c: Likewise.
13203 * dirent/telldir.c: Likewise.
13204 * gmon/profil.c: Likewise.
13205 * grp/setgroups.c: Likewise.
13206 * inet/if_index.c: Likewise.
13207 * io/access.c: Likewise.
13208 * io/chdir.c: Likewise.
13209 * io/chmod.c: Likewise.
13210 * io/chown.c: Likewise.
13211 * io/close.c: Likewise.
13212 * io/dup.c: Likewise.
13213 * io/dup2.c: Likewise.
13214 * io/dup3.c: Likewise.
13215 * io/euidaccess.c: Likewise.
13216 * io/faccessat.c: Likewise.
13217 * io/fchdir.c: Likewise.
13218 * io/fchmod.c: Likewise.
13219 * io/fchmodat.c: Likewise.
13220 * io/fchown.c: Likewise.
13221 * io/fchownat.c: Likewise.
13222 * io/fcntl.c: Likewise.
13223 * io/flock.c: Likewise.
13224 * io/fstatfs.c: Likewise.
13225 * io/fstatfs64.c: Likewise.
13226 * io/fstatvfs.c: Likewise.
13227 * io/fstatvfs64.c: Likewise.
13228 * io/futimens.c: Likewise.
13229 * io/fxstat.c: Likewise.
13230 * io/fxstat64.c: Likewise.
13231 * io/fxstatat.c: Likewise.
13232 * io/fxstatat64.c: Likewise.
13233 * io/getcwd.c: Likewise.
13234 * io/isatty.c: Likewise.
13235 * io/lchmod.c: Likewise.
13236 * io/lchown.c: Likewise.
13237 * io/link.c: Likewise.
13238 * io/linkat.c: Likewise.
13239 * io/lseek.c: Likewise.
13240 * io/lseek64.c: Likewise.
13241 * io/lxstat64.c: Likewise.
13242 * io/mkdir.c: Likewise.
13243 * io/mkdirat.c: Likewise.
13244 * io/mkfifo.c: Likewise.
13245 * io/mkfifoat.c: Likewise.
13246 * io/open.c: Likewise.
13247 * io/open64.c: Likewise.
13248 * io/openat.c: Likewise.
13249 * io/openat64.c: Likewise.
13250 * io/pipe.c: Likewise.
13251 * io/pipe2.c: Likewise.
13252 * io/poll.c: Likewise.
13253 * io/posix_fadvise.c: Likewise.
13254 * io/posix_fadvise64.c: Likewise.
13255 * io/posix_fallocate.c: Likewise.
13256 * io/posix_fallocate64.c: Likewise.
13257 * io/read.c: Likewise.
13258 * io/readlink.c: Likewise.
13259 * io/readlinkat.c: Likewise.
13260 * io/rmdir.c: Likewise.
13261 * io/sendfile.c: Likewise.
13262 * io/sendfile64.c: Likewise.
13263 * io/statfs.c: Likewise.
13264 * io/statfs64.c: Likewise.
13265 * io/statvfs.c: Likewise.
13266 * io/statvfs64.c: Likewise.
13267 * io/symlink.c: Likewise.
13268 * io/symlinkat.c: Likewise.
13269 * io/ttyname.c: Likewise.
13270 * io/ttyname_r.c: Likewise.
13271 * io/umask.c: Likewise.
13272 * io/unlink.c: Likewise.
13273 * io/unlinkat.c: Likewise.
13274 * io/utime.c: Likewise.
13275 * io/utimensat.c: Likewise.
13276 * io/write.c: Likewise.
13277 * io/xmknod.c: Likewise.
13278 * io/xmknodat.c: Likewise.
13279 * io/xstat.c: Likewise.
13280 * io/xstat64.c: Likewise.
13281 * login/getpt.c: Likewise.
13282 * login/grantpt.c: Likewise.
13283 * login/unlockpt.c: Likewise.
13284 * math/e_acoshl.c: Likewise.
13285 * math/e_acosl.c: Likewise.
13286 * math/e_asinl.c: Likewise.
13287 * math/e_atan2l.c: Likewise.
13288 * math/e_atanhl.c: Likewise.
13289 * math/e_coshl.c: Likewise.
13290 * math/e_expl.c: Likewise.
13291 * math/e_fmodl.c: Likewise.
13292 * math/e_gammal_r.c: Likewise.
13293 * math/e_hypotl.c: Likewise.
13294 * math/e_j0l.c: Likewise.
13295 * math/e_j1l.c: Likewise.
13296 * math/e_jnl.c: Likewise.
13297 * math/e_lgammal_r.c: Likewise.
13298 * math/e_log10l.c: Likewise.
13299 * math/e_log2l.c: Likewise.
13300 * math/e_logl.c: Likewise.
13301 * math/e_powl.c: Likewise.
13302 * math/e_rem_pio2l.c: Likewise.
13303 * math/e_sinhl.c: Likewise.
13304 * math/e_sqrtl.c: Likewise.
13305 * math/fclrexcpt.c: Likewise.
13306 * math/fedisblxcpt.c: Likewise.
13307 * math/feenablxcpt.c: Likewise.
13308 * math/fegetenv.c: Likewise.
13309 * math/fegetexcept.c: Likewise.
13310 * math/fegetround.c: Likewise.
13311 * math/feholdexcpt.c: Likewise.
13312 * math/fesetenv.c: Likewise.
13313 * math/fesetround.c: Likewise.
13314 * math/feupdateenv.c: Likewise.
13315 * math/fgetexcptflg.c: Likewise.
13316 * math/fraiseexcpt.c: Likewise.
13317 * math/fsetexcptflg.c: Likewise.
13318 * math/ftestexcept.c: Likewise.
13319 * math/k_cosl.c: Likewise.
13320 * math/k_rem_pio2l.c: Likewise.
13321 * math/k_sinl.c: Likewise.
13322 * math/k_tanl.c: Likewise.
13323 * math/s_asinhl.c: Likewise.
13324 * math/s_atanl.c: Likewise.
13325 * math/s_cbrtl.c: Likewise.
13326 * math/s_erfl.c: Likewise.
13327 * math/s_expm1l.c: Likewise.
13328 * math/s_log1pl.c: Likewise.
13329 * math/s_tanhl.c: Likewise.
13330 * misc/acct.c: Likewise.
13331 * misc/brk.c: Likewise.
13332 * misc/chflags.c: Likewise.
13333 * misc/chroot.c: Likewise.
13334 * misc/fchflags.c: Likewise.
13335 * misc/fgetxattr.c: Likewise.
13336 * misc/flistxattr.c: Likewise.
13337 * misc/fremovexattr.c: Likewise.
13338 * misc/fsetxattr.c: Likewise.
13339 * misc/fsync.c: Likewise.
13340 * misc/ftruncate.c: Likewise.
13341 * misc/futimes.c: Likewise.
13342 * misc/futimesat.c: Likewise.
13343 * misc/getdomain.c: Likewise.
13344 * misc/getdtsz.c: Likewise.
13345 * misc/gethostid.c: Likewise.
13346 * misc/gethostname.c: Likewise.
13347 * misc/getloadavg.c: Likewise.
13348 * misc/getpagesize.c: Likewise.
13349 * misc/getsysstats.c: Likewise.
13350 * misc/getxattr.c: Likewise.
13351 * misc/gtty.c: Likewise.
13352 * misc/ioctl.c: Likewise.
13353 * misc/lgetxattr.c: Likewise.
13354 * misc/listxattr.c: Likewise.
13355 * misc/llistxattr.c: Likewise.
13356 * misc/lremovexattr.c: Likewise.
13357 * misc/lsetxattr.c: Likewise.
13358 * misc/lutimes.c: Likewise.
13359 * misc/madvise.c: Likewise.
13360 * misc/mincore.c: Likewise.
13361 * misc/mlock.c: Likewise.
13362 * misc/mlockall.c: Likewise.
13363 * misc/mmap.c: Likewise.
13364 * misc/mprotect.c: Likewise.
13365 * misc/msync.c: Likewise.
13366 * misc/munlock.c: Likewise.
13367 * misc/munlockall.c: Likewise.
13368 * misc/munmap.c: Likewise.
13369 * misc/preadv.c: Likewise.
13370 * misc/preadv64.c: Likewise.
13371 * misc/ptrace.c: Likewise.
13372 * misc/pwritev.c: Likewise.
13373 * misc/pwritev64.c: Likewise.
13374 * misc/readv.c: Likewise.
13375 * misc/reboot.c: Likewise.
13376 * misc/remap_file_pages.c: Likewise.
13377 * misc/removexattr.c: Likewise.
13378 * misc/revoke.c: Likewise.
13379 * misc/select.c: Likewise.
13380 * misc/setdomain.c: Likewise.
13381 * misc/setegid.c: Likewise.
13382 * misc/seteuid.c: Likewise.
13383 * misc/sethostid.c: Likewise.
13384 * misc/sethostname.c: Likewise.
13385 * misc/setregid.c: Likewise.
13386 * misc/setreuid.c: Likewise.
13387 * misc/setxattr.c: Likewise.
13388 * misc/sstk.c: Likewise.
13389 * misc/stty.c: Likewise.
13390 * misc/swapoff.c: Likewise.
13391 * misc/swapon.c: Likewise.
13392 * misc/sync.c: Likewise.
13393 * misc/syncfs.c: Likewise.
13394 * misc/syscall.c: Likewise.
13395 * misc/truncate.c: Likewise.
13396 * misc/ualarm.c: Likewise.
13397 * misc/usleep.c: Likewise.
13398 * misc/ustat.c: Likewise.
13399 * misc/utimes.c: Likewise.
13400 * misc/vhangup.c: Likewise.
13401 * misc/writev.c: Likewise.
13402 * posix/_exit.c: Likewise.
13403 * posix/alarm.c: Likewise.
13404 * posix/execve.c: Likewise.
13405 * posix/fexecve.c: Likewise.
13406 * posix/fork.c: Likewise.
13407 * posix/fpathconf.c: Likewise.
13408 * posix/getaddrinfo.c: Likewise.
13409 * posix/getegid.c: Likewise.
13410 * posix/geteuid.c: Likewise.
13411 * posix/getgid.c: Likewise.
13412 * posix/getgroups.c: Likewise.
13413 * posix/getlogin.c: Likewise.
13414 * posix/getlogin_r.c: Likewise.
13415 * posix/getpgid.c: Likewise.
13416 * posix/getpid.c: Likewise.
13417 * posix/getppid.c: Likewise.
13418 * posix/getresgid.c: Likewise.
13419 * posix/getresuid.c: Likewise.
13420 * posix/getsid.c: Likewise.
13421 * posix/getuid.c: Likewise.
13422 * posix/glob64.c: Likewise.
13423 * posix/nanosleep.c: Likewise.
13424 * posix/pathconf.c: Likewise.
13425 * posix/pause.c: Likewise.
13426 * posix/posix_madvise.c: Likewise.
13427 * posix/pread.c: Likewise.
13428 * posix/pread64.c: Likewise.
13429 * posix/pwrite.c: Likewise.
13430 * posix/pwrite64.c: Likewise.
13431 * posix/sched_getaffinity.c: Likewise.
13432 * posix/sched_getp.c: Likewise.
13433 * posix/sched_gets.c: Likewise.
13434 * posix/sched_primax.c: Likewise.
13435 * posix/sched_primin.c: Likewise.
13436 * posix/sched_rr_gi.c: Likewise.
13437 * posix/sched_setaffinity.c: Likewise.
13438 * posix/sched_setp.c: Likewise.
13439 * posix/sched_sets.c: Likewise.
13440 * posix/sched_yield.c: Likewise.
13441 * posix/setgid.c: Likewise.
13442 * posix/setlogin.c: Likewise.
13443 * posix/setpgid.c: Likewise.
13444 * posix/setresgid.c: Likewise.
13445 * posix/setresuid.c: Likewise.
13446 * posix/setsid.c: Likewise.
13447 * posix/setuid.c: Likewise.
13448 * posix/sleep.c: Likewise.
13449 * posix/spawni.c: Likewise.
13450 * posix/sysconf.c: Likewise.
13451 * posix/times.c: Likewise.
13452 * posix/wait.c: Likewise.
13453 * posix/wait3.c: Likewise.
13454 * posix/wait4.c: Likewise.
13455 * posix/waitpid.c: Likewise.
13456 * resolv/gai_sigqueue.c: Likewise.
13457 * resource/getpriority.c: Likewise.
13458 * resource/getrlimit.c: Likewise.
13459 * resource/getrusage.c: Likewise.
13460 * resource/nice.c: Likewise.
13461 * resource/setpriority.c: Likewise.
13462 * resource/setrlimit.c: Likewise.
13463 * resource/ulimit.c: Likewise.
13464 * rt/aio_cancel.c: Likewise.
13465 * rt/aio_fsync.c: Likewise.
13466 * rt/aio_read.c: Likewise.
13467 * rt/aio_sigqueue.c: Likewise.
13468 * rt/aio_suspend.c: Likewise.
13469 * rt/aio_write.c: Likewise.
13470 * rt/clock_getres.c: Likewise.
13471 * rt/clock_gettime.c: Likewise.
13472 * rt/clock_nanosleep.c: Likewise.
13473 * rt/clock_settime.c: Likewise.
13474 * rt/lio_listio.c: Likewise.
13475 * rt/mq_close.c: Likewise.
13476 * rt/mq_getattr.c: Likewise.
13477 * rt/mq_notify.c: Likewise.
13478 * rt/mq_open.c: Likewise.
13479 * rt/mq_receive.c: Likewise.
13480 * rt/mq_send.c: Likewise.
13481 * rt/mq_setattr.c: Likewise.
13482 * rt/mq_timedreceive.c: Likewise.
13483 * rt/mq_timedsend.c: Likewise.
13484 * rt/mq_unlink.c: Likewise.
13485 * rt/shm_open.c: Likewise.
13486 * rt/shm_unlink.c: Likewise.
13487 * rt/timer_create.c: Likewise.
13488 * rt/timer_delete.c: Likewise.
13489 * rt/timer_getoverr.c: Likewise.
13490 * rt/timer_gettime.c: Likewise.
13491 * rt/timer_settime.c: Likewise.
13492 * setjmp/__longjmp.c: Likewise.
13493 * setjmp/setjmp.c: Likewise.
13494 * signal/kill.c: Likewise.
13495 * signal/killpg.c: Likewise.
13496 * signal/raise.c: Likewise.
13497 * signal/sigaction.c: Likewise.
13498 * signal/sigaltstack.c: Likewise.
13499 * signal/sigblock.c: Likewise.
13500 * signal/sigignore.c: Likewise.
13501 * signal/sigintr.c: Likewise.
13502 * signal/signal.c: Likewise.
13503 * signal/sigpause.c: Likewise.
13504 * signal/sigpending.c: Likewise.
13505 * signal/sigqueue.c: Likewise.
13506 * signal/sigreturn.c: Likewise.
13507 * signal/sigset.c: Likewise.
13508 * signal/sigsetmask.c: Likewise.
13509 * signal/sigstack.c: Likewise.
13510 * signal/sigsuspend.c: Likewise.
13511 * signal/sigtimedwait.c: Likewise.
13512 * signal/sigvec.c: Likewise.
13513 * signal/sigwait.c: Likewise.
13514 * signal/sigwaitinfo.c: Likewise.
13515 * signal/sysv_signal.c: Likewise.
13516 * socket/accept.c: Likewise.
13517 * socket/accept4.c: Likewise.
13518 * socket/bind.c: Likewise.
13519 * socket/connect.c: Likewise.
13520 * socket/getpeername.c: Likewise.
13521 * socket/getsockname.c: Likewise.
13522 * socket/getsockopt.c: Likewise.
13523 * socket/isfdtype.c: Likewise.
13524 * socket/listen.c: Likewise.
13525 * socket/recv.c: Likewise.
13526 * socket/recvfrom.c: Likewise.
13527 * socket/recvmsg.c: Likewise.
13528 * socket/send.c: Likewise.
13529 * socket/sendmsg.c: Likewise.
13530 * socket/sendto.c: Likewise.
13531 * socket/setsockopt.c: Likewise.
13532 * socket/shutdown.c: Likewise.
13533 * socket/sockatmark.c: Likewise.
13534 * socket/socket.c: Likewise.
13535 * socket/socketpair.c: Likewise.
13536 * stdio-common/ctermid.c: Likewise.
13537 * stdio-common/cuserid.c: Likewise.
13538 * stdio-common/remove.c: Likewise.
13539 * stdio-common/rename.c: Likewise.
13540 * stdio-common/renameat.c: Likewise.
13541 * stdio-common/tempname.c: Likewise.
13542 * stdlib/getcontext.c: Likewise.
13543 * stdlib/makecontext.c: Likewise.
13544 * stdlib/setcontext.c: Likewise.
13545 * stdlib/swapcontext.c: Likewise.
13546 * stdlib/system.c: Likewise.
13547 * streams/fattach.c: Likewise.
13548 * streams/fdetach.c: Likewise.
13549 * streams/getmsg.c: Likewise.
13550 * streams/getpmsg.c: Likewise.
13551 * streams/putmsg.c: Likewise.
13552 * streams/putpmsg.c: Likewise.
13553 * sysdeps/unix/bsd/getpt.c: Likewise.
13554 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13555 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13556 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13558 Likewise.
13559 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13560 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13561 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13562 * sysvipc/msgctl.c: Likewise.
13563 * sysvipc/msgget.c: Likewise.
13564 * sysvipc/msgrcv.c: Likewise.
13565 * sysvipc/msgsnd.c: Likewise.
13566 * sysvipc/semctl.c: Likewise.
13567 * sysvipc/semget.c: Likewise.
13568 * sysvipc/semop.c: Likewise.
13569 * sysvipc/semtimedop.c: Likewise.
13570 * sysvipc/shmat.c: Likewise.
13571 * sysvipc/shmctl.c: Likewise.
13572 * sysvipc/shmdt.c: Likewise.
13573 * sysvipc/shmget.c: Likewise.
13574 * termios/tcdrain.c: Likewise.
13575 * termios/tcflow.c: Likewise.
13576 * termios/tcflush.c: Likewise.
13577 * termios/tcgetattr.c: Likewise.
13578 * termios/tcgetpgrp.c: Likewise.
13579 * termios/tcsendbrk.c: Likewise.
13580 * termios/tcsetattr.c: Likewise.
13581 * termios/tcsetpgrp.c: Likewise.
13582 * time/adjtime.c: Likewise.
13583 * time/clock.c: Likewise.
13584 * time/getitimer.c: Likewise.
13585 * time/gettimeofday.c: Likewise.
13586 * time/setitimer.c: Likewise.
13587 * time/settimeofday.c: Likewise.
13588 * time/stime.c: Likewise.
13589 * time/time.c: Likewise.
13590
13591 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13592
13593 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13594 /usr/old/bin.
13595
13596 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13597 instead of spaces.
13598 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13599
13600 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13601
13602 [BZ #14796]
13603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13604 FE_TONEAREST before applying Dekker multiplication and Knuth
13605 addition. Clear inexact exceptions and check for exact zero
13606 results afterwards.
13607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13608 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13610 * math/libm-test.inc (fma_test): Add more tests.
13611 (fma_test_towardzero): Likewise.
13612 (fma_test_downward): Likewise.
13613 (fma_test_upward): Likewise.
13614 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13615 function.
13616 (libc_fesetround): New macro.
13617 (libc_fesetroundf): Likewise.
13618 (libc_fesetroundl): Likewise.
13619 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13620 function.
13621 (libc_fesetround_387): Likewise.
13622 (libc_fesetroundf): New macro.
13623 (libc_fesetround): Likewise.
13624 (libc_fesetroundl): Likewise.
13625 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13626 function.
13627 (libc_fesetroundf): New macro.
13628 (libc_fesetround): Likewise.
13629 (libc_fesetroundl): Likewise.
13630 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13631 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13632 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13633 libm_hidden_ver.
13634 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13635 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13636 libm_hidden_def.
13637 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13638 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13639 libm_hidden_ver.
13640 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13641 libm_hidden_def.
13642
13643 [BZ #3439]
13644 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13645 integer constant usable in #if and use that to give value to enum
13646 constant.
13647 (FE_DIVBYZERO): Likewise.
13648 (FE_UNDERFLOW): Likewise.
13649 (FE_OVERFLOW): Likewise.
13650 (FE_INVALID): Likewise.
13651 (FE_INVALID_SNAN): Likewise.
13652 (FE_INVALID_ISI): Likewise.
13653 (FE_INVALID_IDI): Likewise.
13654 (FE_INVALID_ZDZ): Likewise.
13655 (FE_INVALID_IMZ): Likewise.
13656 (FE_INVALID_COMPARE): Likewise.
13657 (FE_INVALID_SOFTWARE): Likewise.
13658 (FE_INVALID_SQRT): Likewise.
13659 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13660 (FE_TONEAREST): Likewise.
13661 (FE_TOWARDZERO): Likewise.
13662 (FE_UPWARD): Likewise.
13663 (FE_DOWNWARD): Likewise.
13664 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13665 (FE_DIVBYZERO): Likewise.
13666 (FE_OVERFLOW): Likewise.
13667 (FE_UNDERFLOW): Likewise.
13668 (FE_INEXACT): Likewise.
13669 (FE_TONEAREST): Likewise.
13670 (FE_DOWNWARD): Likewise.
13671 (FE_UPWARD): Likewise.
13672 (FE_TOWARDZERO): Likewise.
13673 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13674 (FE_UNDERFLOW): Likewise.
13675 (FE_OVERFLOW): Likewise.
13676 (FE_DIVBYZERO): Likewise.
13677 (FE_INVALID): Likewise.
13678 (FE_TONEAREST): Likewise.
13679 (FE_TOWARDZERO): Likewise.
13680 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13681 (FE_OVERFLOW): Likewise.
13682 (FE_UNDERFLOW): Likewise.
13683 (FE_DIVBYZERO): Likewise.
13684 (FE_INEXACT): Likewise.
13685 (FE_TONEAREST): Likewise.
13686 (FE_TOWARDZERO): Likewise.
13687 (FE_UPWARD): Likewise.
13688 (FE_DOWNWARD): Likewise.
13689 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13690 (FE_DIVBYZERO): Likewise.
13691 (FE_OVERFLOW): Likewise.
13692 (FE_UNDERFLOW): Likewise.
13693 (FE_INEXACT): Likewise.
13694 (FE_TONEAREST): Likewise.
13695 (FE_DOWNWARD): Likewise.
13696 (FE_UPWARD): Likewise.
13697 (FE_TOWARDZERO): Likewise.
13698
13699 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13700
13701 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13702
13703 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13704
13705 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13706 commands. Quote $PWD.
13707 (blacklist_exports): Don't use remove_newlines. Replace "declare
13708 -x" by "export".
13709 (remove_newlines): Remove.
13710
13711 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13712
13713 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13714 * stdlib/stdlib.h (atof): Moved to ...
13715 * include/bits/stdlib-float.h: Here. New file.
13716 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13717 * stdlib/bits/stdlib-float.h: New file.
13718 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13719 -mno-sse -mno-mmx.
13720 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13721 <xmmintrin.h>.
13722
13723 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13724
13725 * conform/conformtest.pl (@headers): Add fenv.h.
13726 * conform/data/fenv.h-data: New file.
13727 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13728 include of <math/fenv.h>.
13729
13730 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13731 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13732 && !UNIX98]. Enables tests for XOPEN2K8.
13733 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13734 POSIX2008]: Likewise.
13735
13736 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13737 (struct rusage): Do not expect type or its members.
13738
13739 [BZ #3439]
13740 * math/math.h (FP_NAN): Define macro to integer constant usable in
13741 #if and use that to give value to enum constant.
13742 (FP_INFINITE): Likewise.
13743 (FP_ZERO): Likewise.
13744 (FP_SUBNORMAL): Likewise.
13745 (FP_NORMAL): Likewise.
13746
13747 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13748
13749 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13750 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13751 arguments.
13752
13753 2012-11-02 Roland McGrath <roland@hack.frob.com>
13754
13755 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13756 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13757 autoconf-time if not.
13758 * configure.in: Remove AC_PREREQ.
13759
13760 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13761
13762 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13763 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13764 of the internal implementation.
13765
13766 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13767
13768 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13769 except include of <misc/sys/syslog.h>.
13770
13771 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13772
13773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13774 function returns with a NULL context exit with zero.
13775
13776 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13777
13778 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13779
13780 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13781
13782 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13783 (run_program_cmd): This.
13784 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13785 (tst_langinfo): New variable. Use it.
13786
13787 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13788
13789 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13790 floating point opcodes.
13791
13792 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13793
13794 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13795 variable.
13796
13797 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13798
13799 * sysdeps/mach/hurd/powerpc: Remove directory.
13800 * sysdeps/mach/powerpc: Likewise.
13801
13802 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13803
13804 * scripts/check-local-headers.sh: Ignore c++ headers.
13805
13806 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13807
13808 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13809 __libc_cleanup_region_start argument.
13810
13811 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13812
13813 [BZ #14784]
13814 [BZ #14785]
13815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13816 x * y using scaling, not as x * y + z.
13817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13819 * math/libm-test.inc (fma_test): Add more tests.
13820 (fma_test_towardzero): Likewise.
13821 (fma_test_downward): Likewise.
13822 (fma_test_upward): Likewise.
13823
13824 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13825
13826 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13827
13828 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13829
13830 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13831 New variable.
13832
13833 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13834
13835 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13836
13837 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13838
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13840 Fix sort order.
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13842 Likewise.
13843
13844 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13845
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13847 Fix the order of the list for glibc 2.17.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13849 Likewise.
13850
13851 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13852
13853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13854
13855 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13856
13857 [BZ #14610]
13858 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13859 for low part of x being zero before using __atanl (y).
13860 * math/libm-test.inc (atan2_test): Add another test.
13861
13862 * manual/install.texi (Configuring and compiling): Document
13863 general use of test-wrapper and test-wrapper-env.
13864 * INSTALL: Regenerated.
13865
13866 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13867 (__fma): Do not extract and scale down low bits on after-rounding
13868 systems when result rounded to normal precision would have normal
13869 exponent.
13870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13871 (__fmal): Do not extract and scale down low bits on after-rounding
13872 systems when result rounded to normal precision would have normal
13873 exponent.
13874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13875 (__fmal): Do not extract and scale down low bits on after-rounding
13876 systems when result rounded to normal precision would have normal
13877 exponent.
13878 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13879 macro.
13880 (fma_test): Add more tests.
13881 (fma_test_towardzero): Likewise.
13882 (fma_test_downward): Likewise.
13883 (fma_test_upward): Likewise.
13884
13885 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13886
13887 * sysdeps/i386/tininess.h: Renamed to ...
13888 * sysdeps/x86/tininess.h: This.
13889 * sysdeps/x86_64/tininess.h: Removed.
13890
13891 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13892
13893 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13894 input. Use $(build-program-cmd).
13895 ($(objpfx)tst-array1-static.out): Likewise.
13896 ($(objpfx)tst-array2.out): Likewise.
13897 ($(objpfx)tst-array3.out): Likewise.
13898 ($(objpfx)tst-array4.out): Likewise.
13899 ($(objpfx)tst-array5.out): Likewise.
13900 ($(objpfx)tst-array5-static.out): Likewise.
13901
13902 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13903
13904 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13905 if defined.
13906
13907 * nss/nsswitch.h (nss_interface_function): Provide new
13908 macro for use with NSS functions.
13909 * grp/initgroups.c: Use new macro.
13910 * nss/getXXbyYY.c: Likewise.
13911 * nss/getXXbyYY_r.c: Likewise.
13912 * nss/getXXent.c: Likewise.
13913 * nss/getXXent_r.c: Likewise.
13914 * sysdeps/posix/getaddrinfo.c: Likewise.
13915
13916 2012-10-30 Andreas Jaeger <aj@suse.de>
13917
13918 * po/ru.po: Update Russion translation from translation project.
13919
13920 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13921
13922 [BZ #14152]
13923 [BZ #14783]
13924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13925 result and shift together with sticky bit instead of replicating
13926 round-to-nearest rounding.
13927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13928 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13929 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13930 missing underflow exceptions.
13931 (fma_test_towardzero): Add more tests.
13932 (fma_test_downward): Likewise.
13933 (fma_test_upward): Likewise.
13934
13935 [BZ #14047]
13936 * sysdeps/generic/tininess.h: New file.
13937 * sysdeps/i386/tininess.h: Likewise.
13938 * sysdeps/sh/tininess.h: Likewise.
13939 * sysdeps/x86_64/tininess.h: Likewise.
13940 * stdlib/tst-strtod-underflow.c: Likewise.
13941 * stdlib/tst-tininess.c: Likewise.
13942 * stdlib/strtod_l.c: Include <tininess.h>.
13943 (round_and_return): Do not set errno for exact underflow cases.
13944 Force an underflow exception when setting errno for underflow.
13945 Determine underflow based on rounding to normal precision if
13946 TININESS_AFTER_ROUNDING.
13947 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13948 ERANGE for exact underflow cases.
13949 * stdlib/Makefile (tests): Add tst-tininess and
13950 tst-strtod-underflow.
13951 ($(objpfx)tst-tininess): Use $(link-libm).
13952 ($(objpfx)tst-strtod-underflow): Likewise.
13953
13954 2012-10-30 Andreas Jaeger <aj@suse.de>
13955
13956 [BZ#14767]
13957 * elf/Makefile (tests): Remove conditional for have-initfini-array
13958 since this is now always required and the variable does not exist
13959 anymore.
13960 (tests-static): Likewise.
13961 (modules-names): Likewise.
13962
13963 * po/eo.po: Add Esperanto translation from translation project.
13964
13965 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13966 merged with constructor/destructor.
13967 (init_array): Likewise.
13968 * elf/tst-array2dep.c (fini_array): Likewise.
13969 (init_array): Likewise.
13970
13971 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13972
13973 * manual/message.texi: Delete @cartouche tags.
13974
13975 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13976
13977 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13978 EOPNOTSUPP.
13979 * sysdeps/mach/hurd/fsync.c: Likewise.
13980
13981 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13982 [_POSIX_REALTIME_SIGNALS]: Change condition to
13983 [_POSIX_REALTIME_SIGNALS > 0].
13984
13985 2012-10-27 Andreas Jaeger <aj@suse.de>
13986
13987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13988 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13990 [__WORDSIZE != 64]: Likewise.
13991
13992 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13993
13994 * iconvdata/tst-table.sh: Remove ${SHELL}.
13995 * iconvdata/tst-tables.sh: Likewise.
13996
13997 2012-10-25 David S. Miller <davem@davemloft.net>
13998
13999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14000 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14001 of strtoull.
14002
14003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14004 ifunc-impl-list.c
14005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14006 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14007 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14008 file.
14009
14010 2012-10-25 Roland McGrath <roland@hack.frob.com>
14011
14012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14013 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14014 __getdirentries.
14015
14016 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14017 Jim Blandy <jimb@codesourcery.com>
14018
14019 * scripts/cross-test-ssh.sh: New file.
14020 * manual/install.texi (Configuring and compiling): Document use of
14021 cross-test-ssh.sh.
14022 * INSTALL: Regenerated.
14023
14024 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14025
14026 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14027 EOPNOTSUPP.
14028
14029 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14030
14031 * Makeconfig (run-program-prefix): Fix comment.
14032
14033 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14034 Jim Blandy <jimb@codesourcery.com>
14035
14036 * Makeconfig (test-wrapper): New variable,
14037 (test-wrapper-env): Likewise.
14038 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14039 (run-built-tests): Define to yes.
14040 (run-program-prefix): Use $(test-wrapper).
14041 (built-program-cmd): Likewise.
14042 * Rules (make-test-out): Use $(test-wrapper-env) and
14043 $(host-built-program-cmd).
14044 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14045 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14046 tst-pathopt.sh.
14047 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14048 $(test-wrapper-env) to tst-rtld-load-self.sh.
14049 ($(objpfx)order2.out): Use $(test-wrapper).
14050 ($(objpfx)tst-initorder.out): Likewise.
14051 ($(objpfx)tst-initorder2.out): Likewise.
14052 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14053 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14054 (test_wrapper_env): New variable. Use it to run ld.so.
14055 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14056 Use it to run ld.so.
14057 (test_wrapper_env): Likewise.
14058 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14059 $(test-wrapper) to run-iconv-test.sh.
14060 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14061 (ICONV): Use $test_wrapper.
14062 * posix/Makefile ($(objpfx)globtest.out): Pass
14063 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14064 globtest.sh, not $(run-program-prefix).
14065 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14066 (test_wrapper): Likewise.
14067 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14068 set together with run_via_rtld_prefix.
14069 (run_program_prefix): Define in terms of test_wrapper and
14070 run_via_rtld_prefix.
14071
14072 2012-10-24 Roland McGrath <roland@hack.frob.com>
14073
14074 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14075 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14076 Targets removed.
14077
14078 [BZ #14743]
14079 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14080 Declare __clock_getres, __clock_gettime, __clock_settime,
14081 __clock_nanosleep, and __clock_getcpuclockid.
14082 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14083 Remove librt_hidden_def (clock_gettime).
14084 * sysdeps/unix/clock_gettime.c: Likewise.
14085 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14086 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14087 * rt/clock_getres.c: Define __clock_getres as an alias.
14088 * sysdeps/posix/clock_getres.c: Likewise.
14089 * rt/clock_settime.c: Define __clock_settime as an alias.
14090 * sysdeps/unix/clock_settime.c: Likewise.
14091 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14092 * sysdeps/unix/clock_nanosleep.c: Likewise.
14093 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14094 * rt/clock-compat.c: New file.
14095 * rt/Makefile (librt-routines): Add clock-compat and move
14096 $(clock-routines) to ...
14097 (routines): ... here, new variable.
14098 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14099 Don't add get_clockfreq here.
14100 * rt/Versions (libc: GLIBC_2.17): New version set.
14101 Add clock_* symbols here.
14102 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14104 (GLIBC_2.17): Add clock_* symbols.
14105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14109 Likewise.
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14111 Likewise.
14112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14116 * NEWS: Mention the move.
14117
14118 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14119 Use __open, __read, __close rather than their public counterparts.
14120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14121 (__get_clockfreq_via_cpuinfo): Likewise.
14122 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14123 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14124
14125 * config.h.in (HAVE_IFUNC): New #undef.
14126 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14127 was successful.
14128 * configure: Regenerated.
14129
14130 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14131
14132 * configure.in: Move READELF check to start of file.
14133 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14134 libc_cv_asm_gnu_indirect_function in the process.
14135 * configure: Regenerated.
14136
14137 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14138
14139 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14140 send the output to /dev/null.
14141 (libc_cv_cc_with_libunwind): Likewise.
14142 (libc_cv_as_noexecstack): Likewise.
14143 * configure: Regenerate.
14144
14145 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14146
14147 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14148
14149 * posix/globtest.sh (TMPDIR): Do not set.
14150 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14151 (testout): Likewise.
14152
14153 2012-10-24 Andreas Jaeger <aj@suse.de>
14154
14155 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14156 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14157 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14158 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14159 posix_fadvise64, posix_fallocate64.
14160
14161 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14162 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14163 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14164 Likewise.
14165 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14166 Likewise.
14167 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14168
14169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14170 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14171 <bits/fcntl-linux.h>.
14172 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14173
14174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14175 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14176 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14177 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14178 [__WORDSIZE != 64]: Likewise.
14179
14180 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14181
14182 * Makeconfig (run-built-tests): New variable.
14183 * Rules [$(cross-compiling) = yes]: Change condition to
14184 [$(run-built-tests) = no].
14185 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14186 to [$(run-built-tests) = yes].
14187 * elf/Makefile [$(cross-compiling) = no]: Likewise
14188 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14189 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14190 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14191 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14192 * io/Makefile [$(cross-compiling) = no]: Likewise.
14193 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14194 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14195 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14196 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14197 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14198 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14199 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14200 * string/Makefile [$(cross-compiling) = no]: Likewise.
14201
14202 * posix/Makefile ($(objpfx)globtest.out): Pass
14203 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14204 $(rtld-installed-name).
14205 * posix/globtest.sh (elf_objpfx): Remove variable.
14206 (rtld_installed_name): Likewise.
14207 (library_path): Likewise.
14208 (run_program_prefix): New variable. Use for running globtest
14209 binary.
14210
14211 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14212 Joseph Myers <joseph@codesourcery.com>
14213
14214 * Makeconfig (host-built-program-cmd): New variable.
14215 * elf/Makefile (tst-stackguard1-ARGS): Use
14216 $(host-built-program-cmd).
14217 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14218 (tst-spawn-ARGS): Likewise.
14219 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14220
14221 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14222 Jim Blandy <jimb@codesourcery.com>
14223
14224 * Makeconfig (run-via-rtld-prefix): New variable.
14225 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14226 (built-program-cmd): Likewise.
14227
14228 2012-10-22 Andreas Jaeger <aj@suse.de>
14229
14230 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14231 __O_RSYNC if it exists, otherwise to O_SYNC.
14232
14233 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14234 Joseph Myers <joseph@codesourcery.com>
14235
14236 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14237 /dev/null.
14238 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14239 from /dev/null
14240 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14241 /dev/null.
14242
14243 2012-10-22 Andreas Jaeger <aj@suse.de>
14244
14245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14246 Define always.
14247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14248
14249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14250 bits/fcntl-linux.h.
14251
14252 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14253 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14254
14255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14256 to __O_LARGEFILE.
14257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14258 to __O_LARGEFILE.
14259
14260 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14261 Joseph Myers <joseph@codesourcery.com>
14262
14263 * config.make.in (NM): New variable.
14264
14265 2012-10-21 Andreas Jaeger <aj@suse.de>
14266
14267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14268 definitions and declarations that are provided by
14269 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14270
14271 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14272
14273 [BZ #14683]
14274 * elf/Makefile (tests-static): Add tst-leaks1-static.
14275 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14276 ($(objpfx)tst-leaks1-static): New rule.
14277 ($(objpfx)tst-leaks1-static-mem): Likewise.
14278 (tst-leaks1-static-ENV): New macro.
14279 * elf/dl-open.c (dl_open_worker): Check the main application
14280 only if SHARED is defined.
14281 * elf/tst-leaks1-static.c: New file.
14282
14283 2012-10-20 Andreas Jaeger <aj@suse.de>
14284
14285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14286 generic values for Linux.
14287 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14288 and declarations that are provided by <bits/fcntl-linux.h> and
14289 include <bits/fcntl-linux.h>.
14290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14292
14293 2012-10-20 Roland McGrath <roland@hack.frob.com>
14294
14295 * io/fcntl.h: Move include of <bits/types.h> to the top and
14296 include it unconditionally.
14297
14298 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14299
14300 * wcsmbs/Makefile (tests-ifunc): New variable.
14301 (tests): Add $(tests-ifunc).
14302 * wcsmbs/test-wcschr-ifunc.c: New file.
14303 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14304 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14305 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14306 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14307 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14308
14309 * string/Makefile (tests-ifunc): New variable.
14310 (tests): Add $(tests-ifunc).
14311 * string/test-memccpy.c (TEST_NAME): New macro.
14312 * string/test-memchr.c (TEST_NAME): Likewise.
14313 * string/test-memcmp.c (TEST_NAME): Likewise.
14314 * string/test-memcpy.c (TEST_NAME): Likewise.
14315 * string/test-memmem.c (TEST_NAME): Likewise.
14316 * string/test-memmove.c (TEST_NAME): Likewise.
14317 * string/test-memset.c (TEST_NAME): Likewise.
14318 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14319 * string/test-stpcpy.c (TEST_NAME): Likewise.
14320 * string/test-stpncpy.c (TEST_NAME): Likewise.
14321 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14322 * string/test-strcasestr.c (TEST_NAME): Likewise.
14323 * string/test-strcat.c (TEST_NAME): Likewise.
14324 * string/test-strchr.c (TEST_NAME): Likewise.
14325 * string/test-strcmp.c(TEST_NAME): Likewise.
14326 * string/test-strcpy.c (TEST_NAME): Likewise.
14327 * string/test-strcspn.c (TEST_NAME): Likewise.
14328 * string/test-strlen.c (TEST_NAME): Likewise.
14329 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14330 * string/test-strncmp.c (TEST_NAME): Likewise.
14331 * string/test-strncpy.c (TEST_NAME): Likewise.
14332 * string/test-strnlen.c (TEST_NAME): Likewise.
14333 * string/test-strpbrk.c (TEST_NAME): Likewise.
14334 * string/test-strrchr.c (TEST_NAME): Likewise.
14335 * string/test-strspn.c (TEST_NAME): Likewise.
14336 * string/test-strstr.c (TEST_NAME): Likewise.
14337 * string/test-bcopy-ifunc.c: New file.
14338 * string/test-bzero-ifunc.c: Likewise.
14339 * string/test-memccpy-ifunc.c: Likewise.
14340 * string/test-memchr-ifunc.c: Likewise.
14341 * string/test-memcmp-ifunc.c: Likewise.
14342 * string/test-memcpy-ifunc.c: Likewise.
14343 * string/test-memmem-ifunc.c: Likewise.
14344 * string/test-memmove-ifunc.c: Likewise.
14345 * string/test-mempcpy-ifunc.c: Likewise.
14346 * string/test-memset-ifunc.c: Likewise.
14347 * string/test-rawmemchr-ifunc.c: Likewise.
14348 * string/test-stpcpy-ifunc.c: Likewise.
14349 * string/test-stpncpy-ifunc.c: Likewise.
14350 * string/test-strcasecmp-ifunc.c: Likewise.
14351 * string/test-strcasestr-ifunc.c: Likewise.
14352 * string/test-strcat-ifunc.c: Likewise.
14353 * string/test-strchr-ifunc.c: Likewise.
14354 * string/test-strchrnul-ifunc.c: Likewise.
14355 * string/test-strcmp-ifunc.c: Likewise.
14356 * string/test-strcpy-ifunc.c: Likewise.
14357 * string/test-strcspn-ifunc.c: Likewise.
14358 * string/test-strlen-ifunc.c: Likewise.
14359 * string/test-strncasecmp-ifunc.c: Likewise.
14360 * string/test-strncat-ifunc.c: Likewise.
14361 * string/test-strncmp-ifunc.c: Likewise.
14362 * string/test-strncpy-ifunc.c: Likewise.
14363 * string/test-strnlen-ifunc.c: Likewise.
14364 * string/test-strpbrk-ifunc.c: Likewise.
14365 * string/test-strrchr-ifunc.c: Likewise.
14366 * string/test-strspn-ifunc.c: Likewise.
14367 * string/test-strstr-ifunc.c: Likewise.
14368
14369 * debug/Makefile (tests-ifunc): New variable.
14370 (tests): Add $(tests-ifunc).
14371 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14372 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14373 * debug/test-stpcpy_chk-ifunc.c: New file.
14374 * debug/test-strcpy_chk-ifunc.c: Likewise.
14375
14376 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14377
14378 [BZ #13601]
14379 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14380 header is not read in.
14381
14382 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14383
14384 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14385 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14386 directly. Pass built executable to script as
14387 $(built-program-cmd).
14388 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14389 $testprogram without using LD_LIBRARY_PATH and $ldso.
14390
14391 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14392 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14393 $(rtld-installed-name).
14394 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14395 (rtld_installed_name): Likewise.
14396 (library_path): Likewise.
14397 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14398 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14399 $(run-program-prefix) to tst-tables.sh.
14400 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14401 it to run tst-table-from and tst-table-to.
14402 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14403 Pass it to tst-table.sh.
14404 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14405 $(run-program-prefix) to tst-gettext.sh.
14406 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14407 tst-translit.sh.
14408 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14409 tst-gettext2.sh.
14410 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14411 to run tst-gettext.
14412 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14413 to run tst-gettext2.
14414 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14415 to run tst-translit.
14416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14417 $(run-program-prefix) to tst-mtrace.sh.
14418 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14419 to run tst-mtrace.
14420 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14421 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14422 $(rtld-installed-name).
14423 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14424 (rtld_installed_name): Likewise.
14425 (run_program_prefix): New variable. Use it to run wordexp-test.
14426
14427 * Makeconfig (ARCH): Remove all definitions.
14428 (machine): Likewise.
14429 [ARCH]: Remove conditional code.
14430 [!objdir]: Give error.
14431 [!objdir] (objpfx): Remove.
14432 [!objdir] (common-objpfx): Likewise.
14433 [!objdir] (common-objdir): Likewise.
14434 * configure.in (config_makefile): Remove. Hardcode Makefile in
14435 AC_CONFIG_FILES call.
14436 * configure: Regenerated.
14437
14438 [BZ #13888]
14439 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14440 or TMPDIR.
14441 (testout): Likewise.
14442
14443 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14444 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14445 $(rtld-installed-name).
14446 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14447 (rtld_installed_name): Likwise.
14448 (runit): Remove function.
14449 (run_getconf): New variable, Use it for running getconf binary.
14450
14451 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14452
14453 [BZ #14716]
14454 * string/test-memmem.c (check_result): New function.
14455 (do_one_test): Use it.
14456 (check1): New function.
14457 (test_main): Use it.
14458
14459 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14460
14461 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14462
14463 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14464
14465 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14466 (_G_LSEEK64): Likewise.
14467 (_G_MMAP64): Likewise.
14468 (_G_FSTAT64): Likewise.
14469 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14470 (_G_LSEEK64): Likewise.
14471 (_G_MMAP64): Likewise.
14472 (_G_FSTAT64): Likewise.
14473 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14474 unconditional. Call __mmap64 directly.
14475 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14476 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14477 __lseek64 directly.
14478 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14479 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14480 __mmap64 directly.
14481 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14482 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14483 __lseek64 directly.
14484 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14485 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14486 __lseek64 directly.
14487 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14488 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14489 __lseek64 directly.
14490 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14491 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14492 __fxstat64 directly.
14493 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14494 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14495 unconditional.
14496 (freopen64) [!_G_OPEN64]: Remove conditional code.
14497 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14498 unconditional.
14499 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14500 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14501 unconditional.
14502 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14503 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14504 unconditional.
14505 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14506 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14507 unconditional.
14508 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14509 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14510 unconditional.
14511 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14512 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14513 unconditional.
14514 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14515 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14516 unconditional.
14517 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14518
14519 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14520
14521 [BZ #12140]
14522 * manual/memory.texi (Malloc Tunable Parameters): Add note
14523 about free list pointers overwriting some perturb bytes.
14524 Wording suggested by Roland McGrath.
14525
14526 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14527
14528 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14529 (lgamma_test): Likewise.
14530 (tgamma_test): Likewise.
14531
14532 2012-10-16 Florian Weimer <fweimer@redhat.com>
14533
14534 [BZ #14700]
14535 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14536 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14537
14538 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14539
14540 * NEWS: Mention BZ #14716.
14541 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14542 when removing AVAILABLE1_USES_J macro.
14543
14544 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14545
14546 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14547 (__bswap_64): __uint64_t for unsigned 64-bit int.
14548
14549 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14550
14551 * include/string.h (memmem): Declare libc hidden alias.
14552 * string/memmem.c (memmem): Define libc hidden alias.
14553 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14554 __read, __close instead of open, read, close.
14555
14556 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14557
14558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14559 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14560 global and hidden.
14561 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14562 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14563 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14564 Likewise.
14565 (__rawmemchr_sse2): Likewise.
14566 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14567 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14568 (__strchr_sse2): Likewise.
14569 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14570 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14571 (__strcasecmp_sse2): Likewise.
14572 (__strncasecmp_sse2): Likewise.
14573 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14574 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14575 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14576 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14577 (__strrchr_sse2): Likewise.
14578 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14579 ifunc-impl-list.c.
14580 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14581 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14582 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14583 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14584 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14585 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14586 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14587 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14588 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14589 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14590 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14591 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14592 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14593 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14594 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14595 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14596 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14597 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14598 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14599 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14600 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14601 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14602 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14603 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14604 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14605 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14606 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14607 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14608 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14609 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14610
14611 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14612 global and hidden.
14613 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14614 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14615 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14616 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14617 Likewise.
14618 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14619 Likewise.
14620 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14621 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14622 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14623 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14624 ifunc-impl-list.c.
14625 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14626 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14627 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14628 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14629 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14630 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14631 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14632 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14633 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14634 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14635 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14636 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14637 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14638 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14639 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14640 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14641 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14642 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14646 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14647 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14648 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14650 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14651 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14652 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14653 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14654 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14655 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14656 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14657 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14658 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14659 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14660 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14661 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14662 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14663 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14664 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14665 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14666
14667 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14668 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14669 * include/ifunc-impl-list.h: New file.
14670 * misc/ifunc-impl-list.c: Likewise.
14671 * misc/Makefile (routines): Add ifunc-impl-list.
14672 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14673 * string/test-string.h: Include <ifunc-impl-list.h>.
14674 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14675 impl_array): New variables.
14676 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14677 are defined.
14678 (test_init): Call __libc_ifunc_impl_list to initialize
14679 func_list if TEST_IFUNC and TEST_NAME are defined.
14680
14681 * string/Makefile (strop-tests): Add bcopy and bzero.
14682 * string/test-bcopy.c: New file.
14683 * string/test-bzero.c: Likewise.
14684 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14685 defined.
14686 * string/test-memset.c: Support bzero test if TEST_BZERO is
14687 defined.
14688 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14689 __libc_memmove.
14690 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14691 __libc_memset.
14692 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14693 of memset.
14694
14695 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14696
14697 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14698 * configure: Regenerated.
14699
14700 * Makeconfig (+link-static-before-libc): Don't include
14701 $(link-static-libc).
14702
14703 * libio/libio.h (_IO_pos_t): Remove.
14704
14705 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14706
14707 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14708 McGrath.
14709
14710 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14711
14712 * crypt/crypt-entry.c: Include fips-private.h.
14713 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14714 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14715 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14716 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14717
14718 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14719
14720 * crypt/crypt-private.h: Include stdbool.h.
14721 (_ufc_setup_salt_r): Return bool.
14722 * crypt/crypt-entry.c: Include errno.h.
14723 (__crypt_r): Return NULL with EINVAL for bad salt.
14724 * crypt/crypt_util.c (bad_for_salt): New.
14725 (_ufc_setup_salt_r): Check that salt is long enough and within
14726 the specified alphabet.
14727 * crypt/badsalttest.c: New file.
14728 * crypt/Makefile (tests): Add it.
14729 ($(objpfx)badsalttest): New.
14730
14731 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14732
14733 * NEWS: Add entry for BZ #14602.
14734
14735 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14736
14737 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14738 type-generic.
14739 * math/libm-test.inc: Update comment listing what functions and
14740 macros are tested.
14741 (isgreater_test): New function.
14742 (isgreaterequal_test): Likewise.
14743 (isless_test): Likewise.
14744 (islessequal_test): Likewise.
14745 (islessgreater_test): Likewise.
14746 (isunordered_test): Likewise.
14747 (main): Call the new functions.
14748
14749 2012-10-09 Roland McGrath <roland@hack.frob.com>
14750
14751 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14752 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14753 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14754 * sysdeps/i386/configure: Regenerated.
14755 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14756 * sysdeps/mach/configure: Regenerated.
14757 * sysdeps/mach/hurd/configure: Regenerated.
14758 * sysdeps/powerpc/configure: Regenerated.
14759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14761 * sysdeps/s390/s390-32/configure: Regenerated.
14762 * sysdeps/s390/s390-64/configure: Regenerated.
14763 * sysdeps/sh/configure: Regenerated.
14764 * sysdeps/sparc/configure: Regenerated.
14765 * sysdeps/unix/sysv/linux/configure: Regenerated.
14766 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14767 * sysdeps/x86_64/configure: Regenerated.
14768
14769 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14770 defined. Don't check if MAP is NULL.
14771
14772 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14773
14774 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14775 (_G_stat64): Likewise.
14776 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14777 (_G_stat64): Likewise.
14778 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14779 instead of struct _G_stat64.
14780 * libio/fileops.c (mmap_remap_check): Likewise.
14781 (decide_maybe_mmap): Likewise.
14782 (_IO_new_file_seekoff): Likewise.
14783 (_IO_file_stat): Likewise.
14784 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14785 _G_off64_t.
14786 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14787 instead of struct _G_stat64.
14788 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14789
14790 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14791
14792 [BZ #14602]
14793 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14794 Replace with ...
14795 (CHECK_EOL): New macro.
14796 (two_way_short_needle): Check beginning of haystack for EOL. Use
14797 CHECK_EOL.
14798 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14799 Replace with CHECK_EOL.
14800 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14801 Replace with CHECK_EOL.
14802
14803 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14804
14805 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14806 type-generic.
14807 * math/libm-test.inc: Update comment listing what functions and
14808 macros are tested.
14809 (finite_test): New function.
14810 (isinf_test): Likewise.
14811 (isnan_test): Likewise.
14812 (fpclassify_test): Test subnormal input.
14813 (isfinite_test): Likewise.
14814 (isnormal_test): Likewise.
14815 (main): Call the new functions.
14816
14817 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14818
14819 [BZ #14660]
14820 * Makerules (%.dynsym): Force C locale when running
14821 $(OBJDUMP) --dynamic-syms.
14822
14823 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14824
14825 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14826 <stdint.h>.
14827
14828 2012-10-06 David S. Miller <davem@davemloft.net>
14829
14830 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14831 upper 32-bits of the length value in %o2 since we use branch-on-register
14832 tests which consider the entire 64-bit register.
14833
14834 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14835
14836 * string/test-strstr.c (check2): Add a test for page boundary.
14837
14838 2012-10-05 David S. Miller <davem@davemloft.net>
14839
14840 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14842 file.
14843 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14844 sysdep_routines.
14845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14846 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14847 and bzero when HWCAP_SPARC_CRYPTO is present.
14848
14849 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14850
14851 [BZ #14602]
14852 * string/test-strstr.c (check2): New function.
14853 (test_main): Call check2.
14854
14855 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14856 and bug-strchr1.
14857 * string/bug-strcasestr1.c (do_test): Moved to ...
14858 * string/test-strcasestr.c (check1): Here. New function.
14859 (do_one_test): Break out result checking code into ...
14860 (check_result): This. New function.
14861 (do_one_test): Call check_result.
14862 (test_main): Call check1.
14863 * string/bug-strchr1.c (do_test): Moved to ...
14864 * string/test-strchr.c (check1): Here. New function.
14865 (do_one_test): Break out result checking code into ...
14866 (check_result): This. New function.
14867 (do_one_test): Call check_result.
14868 (test_main): Call check1.
14869 * string/bug-strstr1.c (main): Moved to ...
14870 * string/test-strstr.c (check1): Here. New function.
14871 (do_one_test): Break out result checking code into ...
14872 (check_result): This. New function.
14873 (do_one_test): Call check_result.
14874 (test_main): Call check1.
14875 * string/bug-strcasestr1.c: Removed.
14876 * string/bug-strchr1.c: Likewise.
14877 * string/bug-strstr1.c: Likewise.
14878
14879 * elf/Makefile (dl-routines): Add hwcaps.
14880 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14881 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14882 (_dl_important_hwcaps): Moved to ...
14883 * elf/dl-hwcaps.c: Here. New file.
14884 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14885
14886 [BZ #14557]
14887 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14888 if IS_IN_rtld isn't defined.
14889
14890 * elf/dl-support.c (_dl_sysinfo_map): New.
14891 Include "get-dynamic-info.h" and "setup-vdso.h".
14892 (_dl_non_dynamic_init): Call setup_vdso.
14893 * elf/dynamic-link.h: Don't include <assert.h>.
14894 (elf_get_dynamic_info): Moved to ...
14895 * elf/get-dynamic-info.h: Here. New file.
14896 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14897 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14898 * elf/setup-vdso.h: Here. New file.
14899 * elf/rtld.c: Include "setup-vdso.h".
14900 (dl_main): Call setup_vdso.
14901
14902 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14903
14904 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14905 creal in comment listing functions tested. List finite, isinf,
14906 isnan, isless, islessequal, isgreater, isgreaterequal,
14907 islessgreater, isunordered, lgamma_r and pow10 as functions and
14908 macros not tested. Mention which functions not tested are aliases
14909 for other functions. Fix typo. Note that signs of NaNs are not
14910 tested.
14911
14912 * scripts/config.guess: Update from config.git.
14913 * scripts/config.sub: Likewise.
14914
14915 2012-10-04 Roland McGrath <roland@hack.frob.com>
14916
14917 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14918 * misc/madvise.c (madvise): Renamed to __madvise.
14919 Make madvise a weak alias.
14920 * include/sys/mman.h: Declare __madvise.
14921 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14922 * sysdeps/unix/syscalls.list
14923 (madvise): Make __madvise the strong name, and madvise a weak alias.
14924 * sysdeps/unix/sysv/linux/syscalls.list
14925 (madvise, mmap): Remove redundant entries.
14926 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14927 * malloc/malloc.c (mtrim): Likewise.
14928 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14929
14930 2012-10-03 Roland McGrath <roland@hack.frob.com>
14931
14932 * sysdeps/mach/hurd/dl-cache.c: File removed.
14933 * config.h.in (USE_LDCONFIG): New #undef.
14934 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14935 * configure: Regenerated.
14936 * elf/Makefile (dl-routines): Add dl-cache only under
14937 [$(use-ldconfig) = yes].
14938 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14939 cache on [USE_LDCONFIG].
14940 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14941 [USE_LDCONFIG].
14942 * elf/rtld.c (dl_main): Likewise.
14943
14944 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14945
14946 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14947 _SC_LEVEL4_CACHE_LINESIZE.
14948
14949 2012-10-03 Roland McGrath <roland@hack.frob.com>
14950
14951 * sysdeps/unix/bsd/confstr.h: File removed.
14952
14953 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14954
14955 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14956 sys/sdt-config.h.
14957
14958 2012-10-02 Roland McGrath <roland@hack.frob.com>
14959
14960 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14961 Make 'mapoff' field ElfW(Off) rather than off_t.
14962
14963 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14964
14965 * nscd/Makefile: Remove nscd-cflags and all its users.
14966 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14967 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14968
14969 [BZ #10631]
14970 * malloc.c (malloc_printerr): Clarify error message.
14971
14972 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14973
14974 [BZ #14648]
14975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14976 Set bit_FMA_Usable if FMA is supported.
14977 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14978 macro.
14979 (bit_FMA4_Usable): Updated.
14980 (index_FMA_Usable): New macro.
14981 (CPUID_FMA): Likewise
14982 (HAS_FMA): Defined with bit_FMA_Usable.
14983
14984 2012-10-01 Roland McGrath <roland@hack.frob.com>
14985
14986 * bits/types.h (__swblk_t): Type removed.
14987 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14988 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14990 (__SWBLK_T_TYPE): Likewise.
14991 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14992 (__SWBLK_T_TYPE): Likewise.
14993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14994 (__SWBLK_T_TYPE): Likewise.
14995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14996 (__SWBLK_T_TYPE): Likewise.
14997
14998 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14999 Honza Horak <hhorak@redhat.com>
15000
15001 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15002 (xdr_mapname): Use YPMAXMAP as maxsize.
15003 (xdr_peername): Use YPMAXPEER as maxsize.
15004 (xdr_keydat): Use YPAXRECORD as maxsize.
15005 (xdr_valdat): Use YPMAXRECORD as maxsize.
15006
15007 2012-10-01 Roland McGrath <roland@hack.frob.com>
15008
15009 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15010
15011 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15012 * csu/init-first.c: ... here.
15013 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15014 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15015 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15016 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15017 * sysdeps/i386/init-first.c: File removed.
15018 * sysdeps/sh/init-first.c: File removed.
15019
15020 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15021
15022 [BZ #14645]
15023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15024 if x * y might underflow to zero and z is zero.
15025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15027 * math/libm-test.inc (min_subnorm_value): New variable.
15028 (fma_test): Add more tests.
15029 (fma_test_towardzero): Likewise.
15030 (fma_test_downward): Likewise
15031 (fma_test_upward): Likewise.
15032 (initialize): Set min_subnorm_value.
15033
15034 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15035
15036 [BZ #14638]
15037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15038 0 + 0.
15039 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15040 mode for addition resulting in exact zero.
15041 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15043 exact 0 + 0.
15044 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15046 * math/libm-test.inc (fma_test): Add more tests.
15047 (fma_test_towardzero): New function.
15048 (fma_test_downward): Likewise.
15049 (fma_test_upward): Likewise.
15050 (main): Call the new functions.
15051
15052 2012-09-28 David S. Miller <davem@davemloft.net>
15053
15054 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15055
15056 2012-09-28 Roland McGrath <roland@hack.frob.com>
15057
15058 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15059 instead of SIGALRM.
15060
15061 * sysdeps/gnu/_G_config.h: Moved to ...
15062 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15063 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15064 * sysdeps/generic/_G_config.h: ... here.
15065
15066 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15067
15068 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15069
15070 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15071 Conditionalize target on [libnss_test1.so-version].
15072
15073 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15074
15075 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15076 (elfobjdir): Move out of conditionals.
15077
15078 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15079 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15080 (__nss_lookup_function): Conditionalize label remove_from_tree on
15081 [!DO_STATIC_NSS || SHARED], matching its only use.
15082
15083 2012-09-28 David S. Miller <davem@davemloft.net>
15084
15085 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15086 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15087 file.
15088 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15089 sysdep_routines.
15090 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15092 when HWCAP_SPARC_CRYPTO is present.
15093
15094 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15095
15096 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15097
15098 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15099
15100 [BZ #6530]
15101 * stdio-common/vfprintf.c (process_string_arg): Revert
15102 2000-07-22 change.
15103
15104 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15105
15106 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15107 for testcase.
15108 * stdio-common/tst-sprintf.c: Include <locale.h>
15109 (main): Test sprintf's handling of incomplete multibyte
15110 characters.
15111
15112 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15113
15114 * elf/dl-runtime.c (VERSYMIDX): Removed.
15115 * elf/dl-version.c (VERSYMIDX): Likewise.
15116 * elf/do-rel.h (VERSYMIDX): Likewise.
15117 (VALIDX): Likewise.
15118 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15119 * elf/rtld.c (VALIDX): Likewise.
15120 (ADDRIDX): Likewise.
15121 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15122 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15123 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15124 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15125 (VALIDX): Likewise.
15126 (ADDRIDX): Likewise.
15127
15128 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15129
15130 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15131
15132 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15133
15134 [BZ #11438]
15135 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15136 to global scope.
15137 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15138 addresses are in the same scope as 192.0.2/24.
15139 * posix/gai.conf: Document new scope table defaults.
15140
15141 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15142
15143 [BZ #5298]
15144 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15145 for ftell. Compute offsets from write pointers instead.
15146 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15147
15148 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15149
15150 [BZ #14543]
15151 * libio/Makefile (tests): New test case tst-fseek.
15152 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15153 combination works in wide mode.
15154 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15155 state when the external buffer state changes.
15156
15157 2012-09-27 David S. Miller <davem@davemloft.net>
15158
15159 [BZ #14376]
15160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15161 pass reloc->r_addend in as the 'high' argument to
15162 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15163
15164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15165
15166 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15167
15168 * rt/tst-aio2.c: Include <pthread.h>.
15169 * rt/tst-aio3.c: Likewise.
15170
15171 2012-09-27 Steve Ellcey <sellcey@mips.com>
15172
15173 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15174
15175 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15176
15177 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15178 contents on [SHARED].
15179
15180 2012-09-26 Marek Polacek <polacek@redhat.com>
15181
15182 [BZ #14530]
15183 [BZ #13741]
15184 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15185 for C++ and GCC <4.3 as well as for non GCC compilers.
15186
15187 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15188
15189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15190
15191 2012-09-25 Roland McGrath <roland@hack.frob.com>
15192
15193 * Makefile.in (all, install): Declare with .PHONY.
15194 Reported by Michael Hope <michael.hope@linaro.org>.
15195
15196 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15197
15198 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15199 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15200 system header.
15201 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15202 Likewise.
15203 (sydep_routines): Add the new and the internal functions.
15204 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15205 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15207 (GLIBC_2.17): Add the new function.
15208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15209 (GLIBC_2.17): Likewise.
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15211 (GLIBC_2.17): Likewise.
15212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15213 (GLIBC_2.17): Likewise.
15214 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15215
15216 2012-09-25 Alan Modra <amodra@gmail.com>
15217
15218 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15219 Add release barrier before setting once_control to say
15220 initialisation is done. Add hints on lwarx. Use macro in
15221 place of isync.
15222 (clear_once_control): Add release barrier.
15223
15224 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15225
15226 [BZ #13629]
15227 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15228 specially.
15229 * math/s_clog10.c (__clog10): Likewise.
15230 * math/s_clog10f.c (__clog10f): Likewise.
15231 * math/s_clog10l.c (__clog10l): Likewise.
15232 * math/s_clogf.c (__clogf): Likewise.
15233 * math/s_clogl.c (__clogl): Likewise.
15234 * math/Makefile (libm-calls): Add x2y2m1.
15235 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15236 (__x2y2m1): Likewise.
15237 (__x2y2m1l): Likewise.
15238 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15239 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15240 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15241 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15242 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15243 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15244 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15245 * sysdeps/i386/fpu/libm-test-ulps: Update.
15246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15247
15248 [BZ #14621]
15249 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15250 int as type of variable DEPTH.
15251 (glob): Use size_t instead of int as type of variables NEWCOUNT
15252 and OLD_PATHC.
15253
15254 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15255
15256 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15257 Add s_sincosf-sse2.
15258 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15259 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15260 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15261 macros for using routine as __sincosf_ia32.
15262 Use macro for function declaration and weak_alias.
15263 * sysdeps/i386/fpu/libm-test-ulps: Update.
15264
15265 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15267
15268 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15269 subnormal argument.
15270 * math/s_cexpf.c (__cexpf): Likewise.
15271 * math/s_csinf.c (__csinf): Likewise.
15272 * math/s_csinhf.c (__csinhf): Likewise.
15273 * math/s_ctanf.c (__ctanf): Likewise.
15274 * math/s_ctanhf.c (__ctanhf): Likewise.
15275 * math/s_ccosh.c (__ccoshf): Likewise.
15276 * math/s_cexp.c (__cexpl): Likewise.
15277 * math/s_csin.c (__csin): Likewise.
15278 * math/s_csinh.c (__csinh): Likewise.
15279 * math/s_ctan.c (__ctan): Likewise.
15280 * math/s_ctanh.c (ctanh): Likewise.
15281 * math/s_ccoshl.c (__ccoshl): Likewise.
15282 * math/s_cexpl.c (__cexpl): Likewise.
15283 * math/s_csinl.c (__csinl): Likewise.
15284 * math/s_csinhl.c (__csinhl): Likewise.
15285 * math/s_ctanl.c (__ctanl): Likewise.
15286 * math/s_ctanhl.c (__ctanhl): Likewise.
15287
15288 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15289
15290 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15291 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15292 (_IO_off_t): Define to __off_t, not _G_off_t.
15293 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15294 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15295 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15296 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15297 type of __dummy and __dummy2 fields.
15298 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15299 (_G_ssize_t): Likewise.
15300 (_G_off_t): Likewise.
15301 (_G_pid_t): Likewise.
15302 (_G_uid_t): Likewise.
15303 (_G_wchar_t): Likewise.
15304 (_G_wint_t): Likewise.
15305 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15306 (_G_ssize_t): Likewise.
15307 (_G_off_t): Likewise.
15308 (_G_pid_t): Likewise.
15309 (_G_uid_t): Likewise.
15310 (_G_wchar_t): Likewise.
15311 (_G_wint_t): Likewise.
15312 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15313 (_G_ssize_t): Likewise.
15314 (_G_off_t): Likewise.
15315 (_G_pid_t): Likewise.
15316 (_G_uid_t): Likewise.
15317 (_G_wchar_t): Likewise.
15318 (_G_wint_t): Likewise.
15319
15320 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15321
15322 * malloc/arena.c: Include malloc-sysdep.h.
15323 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15324 is sufficient to shrink the heap or an unmap is needed.
15325 * sysdeps/generic/malloc-sysdep.h: New file. Define
15326 new function check_may_shrink_heap.
15327 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15328 new function check_may_shrink_heap.
15329
15330 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15331
15332 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15333 comments.
15334
15335 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15336
15337 * catgets/test-gencat.sh: Add "set -e".
15338 * elf/tst-pathopt.sh: Likewise.
15339 * grp/tst_fgetgrent.sh: Likewise.
15340 * iconvdata/run-iconv-test.sh: Likewise.
15341 * intl/tst-gettext.sh: Likewise.
15342 * intl/tst-gettext2.sh: Likewise.
15343 * intl/tst-gettext4.sh: Likewise.
15344 * intl/tst-gettext6.sh: Likewise.
15345 * intl/tst-translit.sh: Likewise.
15346 * io/ftwtest-sh: Likewise.
15347 * libio/test-freopen.sh: Likewise.
15348 * malloc/tst-mtrace.sh: Likewise.
15349 * posix/globtest.sh: Likewise.
15350 * posix/tst-getconf.sh: Likewise.
15351 * posix/wordexp-tst.sh: Likewise.
15352 * stdio-common/tst-printf.sh: Likewise.
15353 * stdio-common/tst-unbputc.sh: Likewise.
15354 * stdlib/tst-fmtmsg.sh: Likewise.
15355 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15356 * catgets/Makefile: Do not specify -e option when running
15357 testsuite shell scripts.
15358 * elf/Makefile: Likewise.
15359 * grp/Makefile: Likewise.
15360 * iconvdata/Makefile: Likewise.
15361 * intl/Makefile: Likewise.
15362 * io/Makefile: Likewise.
15363 * libio/Makefile: Likewise.
15364 * malloc/Makefile: Likewise.
15365 * posix/Makefile: Likewise.
15366 * stdio-common/Makefile: Likewise.
15367 * stdlib/Makefile: Likewise.
15368 * sysdeps/x86_64/Makefile: Likewise.
15369
15370 * io/ftwtest-sh: Add copyright header.
15371 * posix/globtest.sh: Likewise.
15372 * posix/tst-getconf.sh: Likewise.
15373 * posix/wordexp-tst.sh: Likewise.
15374 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15375
15376 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15377
15378 [BZ #13679]
15379 * Makeconfig (+link): Defined as $(+link-static) if
15380 $(build-shared) isn't yes.
15381 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15382 isn't yes.
15383 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15384
15385 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15386
15387 [BZ #14562]
15388 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15389 new chunk size with MALLOC_ALIGN_MASK.
15390
15391 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15392
15393 [BZ #5044]
15394 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15395 <rounding-mode.h>.
15396 (__printf_fphex): Determine rounding using get_rounding_mode and
15397 round_away.
15398 * stdio-common/tst-printf-round.c (struct hex_test): New
15399 structure.
15400 (hex_tests): New variable.
15401 (test_hex_in_one_mode): New function.
15402 (do_test): Also run tests for hex float output.
15403
15404 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15405
15406 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15407 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15408 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15409 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15410 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15411 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15412 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15414
15415 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15416
15417 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15418 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15419 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15420 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15421
15422 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15423
15424 [BZ #14579]
15425 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15426 mode only.
15427 * elf/tst-rtld-load-self.sh: New test.
15428 * elf/Makefile: Run it.
15429
15430 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15431
15432 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15433 (tst-writev-ENV): Remove.
15434 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15435
15436 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15437
15438 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15439
15440 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15441
15442 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15443 unconditional.
15444 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15445 Likewise.
15446 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15447 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15448 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15449 Likewise.
15450
15451 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15452
15453 [BZ #14587]
15454 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15455 * config.make.in (have-cpp-asm-debuginfo): Removed.
15456 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15457 * configure: Regenerated.
15458
15459 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15460
15461 [BZ #5044]
15462 * stdio-common/printf_fp.c: Include <stdbool.h> and
15463 <rounding-mode.h>.
15464 (___printf_fp): Determine rounding using get_rounding_mode and
15465 round_away.
15466 * stdio-common/tst-printf-round.c: New file.
15467 * stdio-common/Makefile (tests): Add tst-printf-round.
15468 (link-libm): New variable.
15469 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15470
15471 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15472
15473 [BZ #14576]
15474 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15475 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15476 Likewise.
15477 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15478 Likewise.
15479
15480 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15481
15482 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15483 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15484 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15485 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15486
15487 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15488
15489 [BZ #14518]
15490 * include/rounding-mode.h: New file.
15491 * sysdeps/generic/get-rounding-mode.h: Likewise.
15492 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15493 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15494 (MAX_VALUE): New macro.
15495 (MIN_VALUE): Likewise.
15496 (overflow_value): New function.
15497 (underflow_value): Likewise.
15498 (round_and_return): Use overflow_value and underflow_value to
15499 determine return values in overflow and underflow cases. Use
15500 round_away to determine rounding depending on rounding mode.
15501 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15502 determine return values in overflow and underflow cases.
15503 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15504 (struct test_results): New structure.
15505 (struct test): Use struct test_results to store expected results
15506 for all rounding modes.
15507 (TEST): Include expected results for all rounding modes.
15508 (test_in_one_mode): New function.
15509 (do_test): Use test_in_one_mode to compute and check results.
15510 Check results for all rounding modes.
15511 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15512 $(link-libm).
15513
15514 2012-12-09 Allan McRae <allan@archlinux.org>
15515
15516 * sysdeps/i386/fpu/libm-test-ulps: Update
15517
15518 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15519
15520 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15521 (_G_int32_t): Likewise.
15522 (_G_uint16_t): Likewise.
15523 (_G_uint32_t): Likewise.
15524 (_G_HAVE_BOOL): Likewise.
15525 (_G_HAVE_ATEXIT): Likewise.
15526 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15527 (_G_HAVE_IO_FILE_OPEN): Likewise.
15528 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15529 (_G_int32_t): Likewise.
15530 (_G_uint16_t): Likewise.
15531 (_G_uint32_t): Likewise.
15532 (_G_HAVE_BOOL): Likewise.
15533 (_G_HAVE_ATEXIT): Likewise.
15534 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15535 (_G_HAVE_IO_FILE_OPEN): Likewise.
15536 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15537 (_G_int32_t): Likewise.
15538 (_G_uint16_t): Likewise.
15539 (_G_uint32_t): Likewise.
15540 (_G_HAVE_BOOL): Likewise.
15541 (_G_HAVE_ATEXIT): Likewise.
15542 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15543 (_G_HAVE_IO_FILE_OPEN): Likewise.
15544
15545 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15546
15547 * csu/libc-tls.c: Update copyright years.
15548
15549 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15550
15551 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15552 [!_G_USING_THUNKS]: Remove conditional code.
15553 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15554 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15555
15556 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15557 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15558 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15559 (_G_VTABLE_LABEL_PREFIX): Likewise.
15560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15561 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15562 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15563 (_G_VTABLE_LABEL_PREFIX): Likewise.
15564 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15565 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15566 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15567 (_G_VTABLE_LABEL_PREFIX): Likewise.
15568 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15569
15570 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15571
15572 * libio/Makefile: Include ../Makeconfig before tests.
15573 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15574 only if $(build-shared) is yes.
15575
15576 * iconv/gconv_db.c: Update copyright years.
15577
15578 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15579
15580 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15581 unwind info if defined PIC. Fix special cases description.
15582 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15583
15584 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15585 DP_HI_MASK entry.
15586 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15587
15588 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15589
15590 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15591
15592 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15593 is NULL.
15594
15595 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15596 (LDLIBS-tst-chk4): This.
15597 (LDFLAGS-tst-chk5): Renamed to ...
15598 (LDLIBS-tst-chk5): This.
15599 (LDFLAGS-tst-chk6): Renamed to ...
15600 (LDLIBS-tst-chk6): This.
15601 (LDFLAGS-tst-lfschk4): Renamed to ...
15602 (LDLIBS-tst-lfschk4): This.
15603 (LDFLAGS-tst-lfschk5): Renamed to ...
15604 (LDLIBS-tst-lfschk5): This.
15605 (LDFLAGS-tst-lfschk6): Renamed to ...
15606 (LDLIBS-tst-lfschk6): This.
15607
15608 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15609 on $(common-objpfx)soversions.mk.
15610
15611 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15612
15613 [BZ #10014]
15614 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15615 example host name.
15616
15617 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15618
15619 * malloc/arena.c (arena_get_retry): New function that gets
15620 another arena for the caller to try its request on.
15621 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15622 current arena cannot fulfill the request.
15623 (__libc_memalign): Likewise.
15624 (__libc_memalign): Likewise.
15625 (__libc_pvalloc): Likewise.
15626 (__libc_calloc): Likewise.
15627
15628 2012-09-05 John Tobey <john.tobey@gmail.com>
15629
15630 [BZ #13542]
15631 * manual/arith.texi (Operations on Complex): Fix description
15632 of carg branch cut.
15633
15634 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15635
15636 [BZ #10014]
15637 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15638 host name.
15639
15640 [BZ #10038]
15641 * manual/memory.texi (Memory): Make order of menu items match
15642 order of sections.
15643
15644 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15645
15646 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15647 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15648 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15649
15650 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15651
15652 * csu/libc-tls.c (static_dtv): Renamed to ...
15653 (_dl_static_dtv): This. Make it global.
15654 (_dl_initial_dtv): Removed.
15655 (__libc_setup_tls): Updated.
15656 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15657 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15658 DL_INITIAL_DTV.
15659
15660 2012-09-06 Petr Machata <pmachata@redhat.com>
15661
15662 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15663 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15664 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15665 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15666
15667 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15668
15669 [BZ #14545]
15670 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15671 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15672 freeing dtv[-1].
15673
15674 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15675
15676 [BZ #14544]
15677 * Makeconfig (link-static-before-libc): Replace $(+prector)
15678 with $(+prectorT).
15679 (link-static-after-libc): Replace $(+postctor) with
15680 $(+postctorT).
15681 (link-bounded): Replace $(+prector)/$(+postctor) with
15682 $(+prectorT)/$(+postctorT).
15683 (+prectorT): New macro.
15684 (+postctorT): Likewise.
15685
15686 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15687
15688 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15689 (round_str): Handle values above the maximum for IBM long double
15690 as inexact.
15691 * stdlib/tst-strtod-round.c (tests): Regenerated.
15692
15693 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15694
15695 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15696 assembler flag.
15697 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15698 zarch_nohighgprs around the zarch optimized routines.
15699 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15700 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15702 for zarch.
15703
15704 2012-09-05 David S. Miller <davem@davemloft.net>
15705
15706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15707
15708 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15709 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15710 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15711 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15712 entries.
15713
15714 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15715
15716 * malloc/arena.c: Fold copyright years.
15717 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15718
15719 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15720
15721 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15722
15723 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15724
15725 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15726
15727 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15728
15729 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15730 change internal state upon failure.
15731
15732 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15733
15734 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15735 * malloc/memusage.c (mmap): Likewise.
15736 (mmap64, mremap): Likewise. Adjust name in comment.
15737
15738 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15739
15740 * libio/fileops.c: Fix typos in comments.
15741 * libio/oldfileops.c: Likewise.
15742 * libio/wfileops.c: Likewise.
15743
15744 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15745
15746 [BZ #1349]
15747 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15748 (tst-malloc-usable-ENV): Set environment for test case.
15749 * malloc/hooks.c (malloc_check_get_size): New function to get
15750 requested size.
15751 * malloc/malloc.c (musable): Use malloc_check_get_size.
15752 * malloc/tst-malloc-usable.c: New test case.
15753
15754 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15755
15756 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15757
15758 2012-09-05 Allan McRae <allan@archlinux.org>
15759
15760 [BZ #13966]
15761 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15762 determine header location.
15763 * configure: Regenerated.
15764
15765 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15766
15767 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15768 float format.
15769 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15770 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15771 format.
15772 (test): Regenerate.
15773
15774 2012-09-04 David S. Miller <davem@davemloft.net>
15775
15776 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15777 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15778 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15779
15780 2012-09-04 Florian Weimer <fweimer@redhat.com>
15781
15782 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15783 failures.
15784
15785 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15786
15787 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15788
15789 [BZ #9914]
15790 * libio/iogetdelim.c: Include <limits.h>.
15791 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15792 + len + 1 would overflow.
15793
15794 2012-09-03 Andreas Jaeger <aj@suse.de>
15795
15796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15797 * sysdeps/i386/fpu/libm-test-ulps: Update.
15798
15799 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15800
15801 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15802 Add s_sinf-sse2, s_conf-sse2.
15803
15804 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15805 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15806 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15807 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15808
15809 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15810 for using routine as __sinf_ia32.
15811 Use macro for function declaration and weak_alias.
15812 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15813 for using routine as __cosf_ia32.
15814 Use macro for function declaration and weak_alias.
15815
15816 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15817 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15818
15819 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15820 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15822
15823 * math/libm-test.inc (cos_test): Add more test cases.
15824 (sin_test): Likewise.
15825 (sincos_test): Likewise.
15826
15827 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15828
15829 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15830 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15831 hidden.
15832 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15833
15834 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15835
15836 [BZ #14538]
15837 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15838 first element of the GOT.
15839 (elf_machine_load_address): Return the difference between
15840 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15841
15842 2012-09-01 Allan McRae <allan@archlinux.org>
15843
15844 [BZ #13412]
15845 * configure.in (AWK): Require gawk version 3.0 or later.
15846 * configure: Regenerated.
15847
15848 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15849
15850 * sysdeps/unix/sysv/linux/kernel-features.h
15851 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15853 [__NR_clock_getres]: Make code unconditional.
15854 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15855 (clock_getcpuclockid): Remove code left unreachable by removal of
15856 conditionals.
15857 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15858 code unconditional.
15859 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15861 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15862 Make code unconditional.
15863 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15864 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15865 * sysdeps/unix/sysv/linux/clock_settime.c
15866 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15867 conditional code.
15868 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15869 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15870
15871 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15872
15873 [BZ #14476]
15874 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15875 scripts/test-installation.pl.
15876
15877 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15878 and $ld_so_version if it is set.
15879
15880 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15881
15882 [BZ #14516]
15883 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15884 failure if reading from procfs failed.
15885 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15886
15887 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15888
15889 * sysdeps/unix/sysv/linux/kernel-features.h
15890 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15891 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15892 Remove conditional code.
15893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15894 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15895 Remove conditional code.
15896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15897 * sysdeps/unix/sysv/linux/i386/fxstat.c
15898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15900 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15901 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15903 * sysdeps/unix/sysv/linux/i386/lxstat.c
15904 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15906 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15907 Remove conditional code.
15908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15909 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15910 Remove conditional code.
15911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15912 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15913 <kernel-features.h>.
15914 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15915 Remove.
15916 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15917 Remove conditional code.
15918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15919 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15920 Remove conditional.
15921
15922 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15923
15924 [BZ #5400]
15925 * NEWS: Add fixed bug number.
15926
15927 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15928
15929 [BZ #14519]
15930 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15931 underflowing exponent in case of negative sign.
15932 * stdlib/tst-strtod-round-data: Add more tests.
15933 * stdlib/tst-strtod-round.c (tests): Regenerated.
15934
15935 [BZ #3479]
15936 * stdlib/strtod_l.c (NDIG): Remove.
15937 (HEXNDIG): Likewise.
15938 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15939 smallest representable value.
15940 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15941 lie within an exact representation of 1/2 ulp of the result.
15942 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15943 unconditionally.
15944 (TENS_P9_IDX): Define unconditionally.
15945 (TENS_P9_SIZE): Likewise.
15946 (TENS_P10_IDX): Likewise.
15947 (TENS_P10_SIZE): Likewise.
15948 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15949 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15950 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15951 entries for 10^2^13 and 10^2^14.
15952 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15953 (TENS_P13_IDX): Define.
15954 (TENS_P13_SIZE): Likewise.
15955 (TENS_P14_IDX): Likewise.
15956 (TENS_P14_SIZE): Likewise.
15957 (_fpioconst_pow10): Change array size to
15958 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15959 unconditional.
15960 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15961 1024]: Add entries for 10^2^13 and 10^2^14.
15962 [LAST_POW10 > _LAST_POW10]: Remove #error.
15963 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15964 (_fpioconst_pow10): Change array size to
15965 FPIOCONST_POW10_ARRAY_SIZE.
15966 * stdlib/gen-fpioconst.c: New file.
15967 * stdlib/gen-tst-strtod-round.c: Likewise.
15968 * stdlib/tst-strtod-round-data: Likewise.
15969 * stdlib/tst-strtod-round.c: Likewise.
15970 * stdlib/Makefile (tests): Add tst-strtod-round.
15971
15972 [BZ #14459]
15973 * stdlib/strtod_l.c: Include <stdint.h>.
15974 (NDEBUG): Do not define.
15975 (round_and_return): Change EXPONENT parameter to type intmax_t.
15976 Rearrange calculations to avoid internal overflow possibilities.
15977 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15978 Rearrange calculations to avoid internal overflow possibilities.
15979 Assert that number fits inside MPNSIZE limbs.
15980 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15981 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15982 calculations and add assertions to avoid internal overflow
15983 possibilities. Add casts to avoid signed/unsigned operations.
15984 * stdlib/tst-strtod-overflow.c: New file.
15985 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15986
15987 2012-08-25 Marek Polacek <polacek@redhat.com>
15988
15989 * time/time.h: Fix some typos in comments.
15990
15991 2012-08-23 Roland McGrath <roland@hack.frob.com>
15992
15993 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15994 * posix/tst-rfc3484-2.c: Likewise.
15995 * posix/tst-rfc3484-3.c: Likewise.
15996
15997 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15998
15999 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16000 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16001
16002 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16003
16004 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16005 #include of fxstatat64.c.
16006
16007 2012-08-22 Roland McGrath <roland@hack.frob.com>
16008
16009 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16010 * shadow/getspent_r.c: Likewise.
16011 * shadow/getspnam.c: Likewise.
16012 * shadow/getspnam_r.c: Likewise.
16013 * gshadow/getsgent.c: Likewise.
16014 * gshadow/getsgent_r.c: Likewise.
16015 * gshadow/getsgnam.c: Likewise.
16016 * gshadow/getsgnam_r.c: Likewise.
16017 * inet/getnetbyad.c: Likewise.
16018 * inet/getnetbyad_r.c: Likewise.
16019 * inet/getnetbynm.c: Likewise.
16020 * inet/getnetbynm_r.c: Likewise.
16021 * inet/getnetent.c: Likewise.
16022 * inet/getnetent_r.c: Likewise.
16023 * inet/getproto.c: Likewise.
16024 * inet/getproto_r.c: Likewise.
16025 * inet/getprtent.c: Likewise.
16026 * inet/getprtent_r.c: Likewise.
16027 * inet/getprtname.c: Likewise.
16028 * inet/getprtname_r.c: Likewise.
16029 * inet/getrpcbyname.c: Likewise.
16030 * inet/getrpcbyname_r.c: Likewise.
16031 * inet/getrpcbynumber.c: Likewise.
16032 * inet/getrpcbynumber_r.c: Likewise.
16033 * inet/getrpcent.c: Likewise.
16034 * inet/getrpcent_r.c: Likewise.
16035 * inet/getaliasent.c: Likewise.
16036 * inet/getaliasent_r.c: Likewise.
16037 * inet/getaliasname.c: Likewise.
16038 * inet/getaliasname_r.c: Likewise.
16039 * nscd/getgrgid_r.c: Likewise.
16040 * nscd/getgrnam_r.c: Likewise.
16041 * nscd/gethstbyad_r.c: Likewise.
16042 * nscd/gethstbynm3_r.c: Likewise.
16043 * nscd/getpwnam_r.c: Likewise.
16044 * nscd/getpwuid_r.c: Likewise.
16045 * nscd/getsrvbynm_r.c: Likewise.
16046 * nscd/getsrvbypt_r.c: Likewise.
16047 * nscd/gai.c: Likewise.
16048
16049 * configure.in (build_nscd): New substituted variable, set
16050 by --disable-build-nscd and defaults to $use_nscd.
16051 * configure: Regenerated.
16052 * config.make.in (build-nscd): New substituted variable.
16053 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16054 Change conditional to require [$(build-nscd) = yes] as well.
16055 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16056
16057 [BZ# 13696]
16058 * configure.in (use_nscd): New substituted variable, set by
16059 --disable-nscd. If enabled, define USE_NSCD.
16060 * configure: Regenerated.
16061 * config.h.in: Add USE_NSCD.
16062 * config.make.in (use-nscd): New substituted variable.
16063 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16064 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16065 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16066 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16067 (CFLAGS-getgrnam_r.c): Likewise.
16068 (CFLAGS-initgroups.c): Likewise.
16069 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16070 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16071 Variables removed.
16072 * inet/getnetgrent_r.c
16073 (nscd_setnetgrent): New function, broken out of ...
16074 (setnetgrent): ... here. Call it.
16075 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16076 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16077 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16078 * nscd/Makefile (routines, aux): Move definitions after include of
16079 Makeconfig. Conditionalize on [$(use-nscd) != no].
16080 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16081 Conditionalize on [USE_NSCD].
16082 (is_nscd, nscd_init_cb): Likewise.
16083 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16084 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16085 * nss/nss_db/db-init.c: Likewise.
16086 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16087 [USE_NSCD].
16088 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16089 (make_request): Use it.
16090 (cache_valid_p): New function.
16091 (__check_pf): Use it.
16092 * NEWS: Add item for --disable-nscd.
16093
16094 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16095
16096 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16097 to support sed >= 4.2.1-20-ga9bf076.
16098 * configure: Regenerated.
16099
16100 2012-08-22 Roland McGrath <roland@hack.frob.com>
16101
16102 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16103 Conditionalize whole body on [IREL].
16104
16105 2012-08-22 Jeff Law <law@redhat.com>
16106
16107 [BZ #14505]
16108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16109 if the family is PF_UNSPEC.
16110
16111 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16112
16113 * Makerules (lib-version): Rename from V.
16114 (install-lib-nosubdir): Change V to lib-version.
16115
16116 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16117
16118 [BZ #14252]
16119 * powerpc32/power6/wcschr.c: New file.
16120 * powerpc32/power6/wcscpy.c: New file.
16121 * powerpc32/power6/wcsrchr.c: New file.
16122 * powerpc64/power6/wcschr.c: New file.
16123 * powerpc64/power6/wcscpy.c: New file.
16124 * powerpc64/power6/wcsrchr.c: New file.
16125
16126 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16127
16128 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16129 (two_way_short_needle): Use it.
16130 * string/strstr.c (AVAILABLE1_USES_J): Define.
16131 * string/strcasestr.c: Likewise.
16132
16133 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16134 array references.
16135 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16136
16137 [BZ #11607]
16138 * NEWS: Add an entry.
16139 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16140 define their defaults.
16141 (two_way_short_needle): Detect end-of-string on-the-fly.
16142 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16143 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16144 * string/bug-strcasestr1.c: New test.
16145 * string/Makefile: Run it.
16146
16147 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16148
16149 [BZ #11607]
16150 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16151 the first character.
16152
16153 2012-08-21 Roland McGrath <roland@hack.frob.com>
16154
16155 * csu/elf-init.c (__libc_csu_irel): Function removed.
16156 * csu/libc-start.c (apply_irel): New function.
16157 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16158
16159 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16160
16161 * sysdeps/unix/sysv/linux/kernel-features.h
16162 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16163 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16164 <kernel-features.h>.
16165 [__NR_fadvise64_64]: Make code unconditional.
16166 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16167 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16168 !__NR_fadvise64_64)]: Likewise.
16169 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16170 !__NR_fadvise64_64))]: Likewise.
16171 [__NR_fadvise64]: Make code unconditional.
16172 [!__NR_fadvise64]: Remove conditional code.
16173 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16174 <kernel-features.h>.
16175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16176 unconditional.
16177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16178 conditional code.
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16180 not include <kernel-features.h>.
16181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16182 unconditional.
16183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16184 conditional code.
16185 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16186 include <kernel-features.h>.
16187 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16188 unconditional.
16189 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16190 conditional code.
16191
16192 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16193
16194 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16195 slight instruction rearrangements per scrollpipe analysis.
16196 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16197
16198 2012-08-20 Roland McGrath <roland@hack.frob.com>
16199
16200 * manual/syslog.texi (syslog; vsyslog, closelog):
16201 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16202 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16203
16204 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16205 DSOCAPS to match condition on defining it.
16206
16207 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16208
16209 * sysdeps/unix/sysv/linux/kernel-features.h
16210 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16215 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16216 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16218 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16219 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16220
16221 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16222 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16223
16224 * sysdeps/unix/sysv/linux/kernel-features.h
16225 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16226 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16227 unconditional.
16228 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16229 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16230 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16231 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16232 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16233 Make code unconditional.
16234 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16235 (__mmap64) [!__NR_mmap2]: Likewise.
16236 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16237 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16238 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16239 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16240 [__NR_mmap2]: Make code unconditional.
16241 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16242 (__mmap64) [!__NR_mmap2]: Likewise.
16243
16244 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16245
16246 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16247
16248 2012-08-18 Andreas Jaeger <aj@suse.de>
16249
16250 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16251
16252 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16253
16254 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16255 * include/unistd.h (__have_sock_cloexec): Likewise.
16256 (__have_pipe2): Likewise.
16257 (__have_dup3): Likewise.
16258
16259 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16260
16261 [BZ #9685]
16262 * include/unistd.h (__have_pipe2): Change define into an extern int.
16263 (__have_dup3): Likewise.
16264 * socket/have_sock_cloexec.c: Include fcntl.h.
16265 (__have_pipe2): New variable.
16266 (__have_dup3): Likewise.
16267
16268 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16269
16270 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16271
16272 2012-08-17 Marek Polacek <polacek@redhat.com>
16273
16274 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16275 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16276
16277 2012-08-17 Roland McGrath <roland@hack.frob.com>
16278
16279 * configure.in: Add AC_SUBST for sysheaders.
16280 * configure: Regenerated.
16281 * config.make.in (sysheaders): New substituted variable.
16282
16283 * sysdeps/unix/mkfifo.c: Moved ...
16284 * sysdeps/posix/mkfifo.c: ... here.
16285 * sysdeps/unix/mkfifoat.c: Moved ...
16286 * sysdeps/posix/mkfifoat.c: ... here.
16287
16288 * sysdeps/unix/utime.c: Moved ...
16289 * sysdeps/posix/utime.c: ... here.
16290
16291 * sysdeps/unix/time.c: Moved ...
16292 * sysdeps/posix/time.c: ... here.
16293 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16294 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16295
16296 * sysdeps/unix/nice.c: Moved ...
16297 * sysdeps/posix/nice.c: ... here.
16298
16299 * sysdeps/unix/alarm.c: Moved ...
16300 * sysdeps/posix/alarm.c: ... here.
16301
16302 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16303
16304 2012-08-17 Jeff Law <law@redhat.com>
16305
16306 * intl/Makefile (codeset_mo): New variable.
16307 ($(codeset_mo)): New target.
16308 (tst-codeset.out): Depend on that. Remove explicit rule.
16309 (tst-gettext3.out, tst-gettext5.out): Likewise.
16310 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16311 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16312 * intl/tst-codeset.sh: Remove.
16313 * intl/tst-gettext3.sh: Likewise.
16314 * intl/tst-gettext5.sh: Likewise.
16315
16316 2012-08-17 Roland McGrath <roland@hack.frob.com>
16317
16318 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16319 * sysdeps/unix/syscalls.list: ... here.
16320
16321 * sysdeps/posix/getaddrinfo.c
16322 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16323 (gaiconf_init, gaiconf_reload): Use them.
16324 [!_STATBUF_ST_NSEC]
16325 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16326 Define using time_t rather than struct timespec.
16327
16328 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16329 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16330 Macros removed.
16331 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16332 [!NO_THREADS].
16333 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16334 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16335 Likewise.
16336
16337 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16338 __libc_cleanup_push argument.
16339
16340 * bits/param.h: New file.
16341 * misc/sys/param.h: New file.
16342 * include/sys/param.h: New file.
16343 * misc/Makefile (headers): Add bits/param.h.
16344 * sysdeps/generic/sys/param.h: File removed.
16345 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16346 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16347 * sysdeps/mach/hurd/bits/param.h: New file.
16348 * sysdeps/mach/hurd/sys/param.h: File removed.
16349
16350 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16351 last change.
16352
16353 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16354 [_IO_MTSAFE_IO].
16355 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16356 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16357 New macros.
16358
16359 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16360 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16361 rather than -D_IO_MTSAFE_IO conditionally.
16362 * stdio-common/Makefile (CPPFLAGS): Likewise.
16363 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16364 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16365 Use $(libio-mtsafe).
16366 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16367 of -D_IO_MTSAFE_IO.
16368 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16369 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16370 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16371 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16372 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16373 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16374 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16375 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16376 (CFLAGS-fread_u_chk.c): Likewise.
16377 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16378 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16379 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16380 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16381 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16382 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16383 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16384 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16385 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16386
16387 * libio/Makefile: Test [$(libc-reentrant) = yes]
16388 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16389
16390 * Makeconfig
16391 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16392 * sysdeps/pthread/configure: File removed.
16393 * sysdeps/pthread/Makeconfig: New file.
16394 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16395 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16396
16397 2012-08-16 Gary Benson <gbenson@redhat.com>
16398
16399 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16400 unmapping the first object in a namespace.
16401
16402 2012-08-16 Roland McGrath <roland@hack.frob.com>
16403
16404 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16405 (__internal_setnetgrent): ... this. Add internal_function to
16406 definition. Add libc_hidden_def.
16407 (setnetgrent): Update caller.
16408 (internal_endnetgrent): Renamed to ...
16409 (__internal_endnetgrent): ... this. Add internal_function to
16410 definition. Add libc_hidden_def.
16411 (endnetgrent): Update caller.
16412 (internal_getnetgrent_r): Renamed to ...
16413 (__internal_getnetgrent_r): ... this. Add internal_function to
16414 definition. Add libc_hidden_def.
16415 (__getnetgrent_r): Update caller.
16416 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16417
16418 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16419
16420 * stdlib/longlong.h: Update from GCC.
16421
16422 2012-08-16 Roland McGrath <roland@hack.frob.com>
16423
16424 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16425 on _QL, which is set by umul_ppmm but never used.
16426 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16427 variables, which are set by GMP macros but never used.
16428 * stdio-common/_itowa.c (_itowa): Likewise.
16429 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16430 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16431
16432 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16433
16434 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16435 struct La_sh_regs is not constant.
16436 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16437 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16438 and struct La_sparc64_regs are not constant.
16439
16440 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16441
16442 * sysdeps/unix/sysv/linux/kernel-features.h
16443 (__ASSUME_POSIX_TIMERS): Remove.
16444 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16446 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16447 Make code unconditional.
16448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16449 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16450 Make code unconditional.
16451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16452 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16453 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16455 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16456 Make code unconditional.
16457 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16458 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16459 (__libc_missing_posix_timers): Remove.
16460
16461 2012-08-15 Roland McGrath <roland@hack.frob.com>
16462
16463 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16464 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16465
16466 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16467
16468 * elf/dl-sym.c: Include <stdlib.h>.
16469
16470 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16471 constants, which avoids warnings in 32-bit builds.
16472
16473 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16474 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16475
16476 * misc/lseek.c: File moved to ...
16477 * io/lseek.c: ... here.
16478
16479 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16480
16481 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16482 shifting LEN more than 31 bits at once.
16483
16484 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16485
16486 [BZ #14195]
16487 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16488 segmentation fault for a case of two empty input strings.
16489 * string/test-strncasecmp.c (check1): Renamed to...
16490 (bz12205): ...this.
16491 (bz14195): Add new testcase for two empty input strings and N > 0.
16492 (test_main): Call new testcase, adapt for renamed function.
16493
16494 2012-08-15 Andreas Jaeger <aj@suse.de>
16495
16496 [BZ #14090]
16497 * crypt/md5test2.c: New test, based on test supplied by Serge
16498 Belyshev <belyshev@depni.sinp.msu.ru>.
16499 * crypt/Makefile (xtests): Add md5test-giant..
16500 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16501
16502 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16503
16504 [BZ #14090]
16505 * crypt/md5.c (md5_process_block): Don't assume the buffer
16506 length is less than 2**32.
16507 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16508 length is less than 2**64.
16509
16510 2012-08-15 Roland McGrath <roland@hack.frob.com>
16511
16512 * string/str-two-way.h: Include <sys/param.h>.
16513 (MAX): Macro removed.
16514
16515 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16516 Move #define and #undef of memmove to just before and after
16517 including <string.h>.
16518
16519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16520 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16521 and after including <string.h>. Move declarations of
16522 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16523 to before #include "string/memmove.c".
16524
16525 * include/dirent.h: Declare __getdirentries.
16526
16527 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16528 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16529
16530 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16531
16532 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16533 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16534 * sysdeps/i386/configure: Regenerated.
16535 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16536 STABS_CURRENT_FILE, and STABS_FUN.
16537 (END): Remove call to STABS_FUN_END.
16538 (STABS_CURRENT_FILE1): Delete.
16539 (STABS_CURRENT_FILE): Likewise.
16540 (STABS_FUN): Likewise.
16541 (STABS_FUN_END): Likewise.
16542 (STABS_FUN2): Likewise.
16543 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16544 * sysdeps/x86_64/configure: Regenerated.
16545
16546 2012-08-14 Roland McGrath <roland@hack.frob.com>
16547
16548 * elf/dl-open.c: Include <atomic.h>.
16549 * elf/dl-lookup.c: Likewise.
16550
16551 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16552
16553 * sysdeps/unix/sysv/linux/kernel-features.h
16554 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16555 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16556 unconditionally.
16557 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16558 unconditionally.
16559 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16560 condition on __ASSUME_CLONE_THREAD_FLAGS.
16561
16562 2012-08-14 Andreas Jaeger <aj@suse.de>
16563
16564 * sysdeps/i386/fpu/libm-test-ulps: Update.
16565
16566 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16567
16568 * include/atomic.h (atomic_exchange_and_add): Split into ...
16569 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16570 New atomic macros.
16571
16572 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16573
16574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16575
16576 2012-08-13 Jeff Law <law@redhat.com>
16577
16578 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16579 null byte in the output string.
16580
16581 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16582
16583 * sysdeps/unix/sysv/linux/kernel-features.h
16584 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16585 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16586 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16587 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16588 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16589 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16590 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16591
16592 2012-08-09 Jeff Law <law@redhat.com>
16593
16594 [BZ #13939]
16595 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16596 When avoid_arena is set, don't retry in the that arena. Pick the
16597 next one, whatever it might be.
16598 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16599 (arena_lock): Pass in new parameter to arena_get2.
16600 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16601 arena_get2.
16602 (__libc_malloc): Unify retrying after main arena failure with
16603 __libc_memalign version.
16604 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16605
16606 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16607
16608 [BZ #14166]
16609 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16610 to __redirect_strstr.
16611 (__strstr_sse42): Use typeof __redirect_strstr.
16612 (__strstr_ia32): Likewise.
16613 (__libc_strstr): New prototype.
16614 (strstr): Renamed to ...
16615 (__libc_strstr): This.
16616 (strstr): New strong alias of __libc_strstr.
16617 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16618 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16619 __redirect_time.
16620 Include <time.h>.
16621 (__libc_time): New prototype.
16622 (time_ifunc): Replace time with __libc_time.
16623 (time): New strong alias and hidden definition of __libc_time.
16624 (__GI_time): Remove strong alias.
16625 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16626 Include <stddef.h>.
16627 (memmove): Redefined to __redirect_memmove.
16628 (__memmove_sse2): Use typeof __redirect_memmove.
16629 (__memmove_ssse3): Likewise.
16630 (__memmove_ssse3_back): Likewise.
16631 (__libc_memmove): New prototype.
16632 (memmove): Renamed to ...
16633 (__libc_memmove): This.
16634 (memmove): New strong alias of __libc_memmove.
16635
16636 2012-08-08 Mark Salter <msalter@redhat.com>
16637
16638 * elf/elf.h
16639 (R_MN10300_TLS_GD): Define.
16640 (R_MN10300_TLS_LD): Likewise.
16641 (R_MN10300_TLS_LDO): Likewise.
16642 (R_MN10300_TLS_GOTIE): Likewise.
16643 (R_MN10300_TLS_IE): Likewise.
16644 (R_MN10300_TLS_LE): Likewise.
16645 (R_MN10300_TLS_DTPMOD): Likewise.
16646 (R_MN10300_TLS_DTPOFF): Likewise.
16647 (R_MN10300_TLS_TPOFF): Likewise.
16648 (R_MN10300_SYM_DIFF): Likewise.
16649 (R_MN10300_ALIGN): Likewise.
16650 (R_MN10300_NUM): Update.
16651
16652 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16653
16654 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16655 Remove.
16656
16657 2012-08-08 Roland McGrath <roland@hack.frob.com>
16658
16659 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16660
16661 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16662 sysdeps/unix -> sysdeps/posix move.
16663 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16664
16665 2012-08-07 Allan McRae <allan@archlinux.org>
16666
16667 [BZ #14303]
16668 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16669 (SUNOS_CPP): Likewise.
16670 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16671 not found.
16672 (open_input): Call CPP using execvp.
16673
16674 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16675
16676 * sysdeps/unix/sysv/linux/kernel-features.h
16677 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16678 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16679 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16680 (__ASSUME_WAITID_SYSCALL): Likewise.
16681 * sysdeps/unix/sysv/linux/dl-execstack.c
16682 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16683 code unconditional.
16684 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16685 conditional code.
16686 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16687 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16688 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16689 code.
16690 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16691 unconditional.
16692 [__ASSUME_WAITID_SYSCALL]: Likewise.
16693 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16694
16695 2012-08-07 Roland McGrath <roland@hack.frob.com>
16696
16697 * sysdeps/unix/closedir.c: Renamed to ...
16698 * sysdeps/posix/closedir.c: ... here.
16699 * sysdeps/unix/dirfd.c: Renamed to ...
16700 * sysdeps/posix/dirfd.c: ... here.
16701 * sysdeps/unix/dirstream.h: Renamed to ...
16702 * sysdeps/posix/dirstream.h: ... here.
16703 * sysdeps/unix/fdopendir.c: Renamed to ...
16704 * sysdeps/posix/fdopendir.c: ... here.
16705 * sysdeps/unix/opendir.c: Renamed to ...
16706 * sysdeps/posix/opendir.c: ... here.
16707 * sysdeps/unix/readdir.c: Renamed to ...
16708 * sysdeps/posix/readdir.c: ... here.
16709 * sysdeps/unix/readdir_r.c: Renamed to ...
16710 * sysdeps/posix/readdir_r.c: ... here.
16711 * sysdeps/unix/rewinddir.c: Renamed to ...
16712 * sysdeps/posix/rewinddir.c: ... here.
16713 * sysdeps/unix/seekdir.c: Renamed to ...
16714 * sysdeps/posix/seekdir.c: ... here.
16715 * sysdeps/unix/telldir.c: Renamed to ...
16716 * sysdeps/posix/telldir.c: ... here.
16717 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16718 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16719 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16720 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16721
16722 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16723 * bits/fcntl.h: ... here.
16724
16725 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16726 not 0.
16727 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16728 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16729 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16730 (struct flock): Move l_start, l_len to the beginning.
16731 Use __pid_t for l_pid.
16732 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16733 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16734 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16735 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16736 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16737 [__USE_LARGEFILE64] (struct flock64): New type.
16738 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16739
16740 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16741 * bits/dirent.h: ... here.
16742
16743 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16744 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16745
16746 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16747
16748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16749 Change from 2.6.0 to 2.6.16.
16750 * sysdeps/unix/sysv/linux/configure: Regenerated.
16751 * sysdeps/unix/sysv/linux/kernel-features.h
16752 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16753 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16754 version.
16755 (__ASSUME_UTIMES): Likewise.
16756 (__ASSUME_CLONE_STOPPED): Remove.
16757 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16758 architectures, not kernel version.
16759 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16760 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16761 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16762 (__ASSUME_WAITID_SYSCALL): Likewise.
16763 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16764 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16765 * README: State 2.6.16 as minimum Linux kernel version. Do not
16766 refer to older versions.
16767
16768 2012-08-06 Roland McGrath <roland@hack.frob.com>
16769
16770 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16771 Define alphasort64 as an alias.
16772 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16773 Define versionsort64 as an alias.
16774 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16775 Define scandir64 as an alias.
16776 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16777 Define scandirat64 as an alias.
16778 * dirent/alphasort64.c (alphasort64):
16779 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16780 * dirent/versionsort64.c: Likewise.
16781 * dirent/scandir64.c: Likewise.
16782 * dirent/scandirat64.c: Likewise.
16783 * sysdeps/wordsize-64/alphasort.c: File removed.
16784 * sysdeps/wordsize-64/alphasort64.c: File removed.
16785 * sysdeps/wordsize-64/scandir.c: File removed.
16786 * sysdeps/wordsize-64/scandir64.c: File removed.
16787 * sysdeps/wordsize-64/scandirat.c: File removed.
16788 * sysdeps/wordsize-64/scandirat64.c: File removed.
16789 * sysdeps/wordsize-64/versionsort.c: File removed.
16790 * sysdeps/wordsize-64/versionsort64.c: File removed.
16791 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16793 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16795 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16798 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16799
16800 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16802 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16804 [defined __arch64__ || defined __sparcv9]
16805 (__INO_T_MATCHES_INO64_T): New macro.
16806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16807 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16808 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16809 * sysdeps/unix/sysv/linux/bits/dirent.h
16810 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16811 (_DIRENT_MATCHES_DIRENT64): New macro.
16812
16813 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16814 Define lockf64 as an alias.
16815 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16816 Define fseeko64 as an alias.
16817 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16818 Define ftello64 as an alias.
16819 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16820 Define _IO_fgetpos64 and fgetpos64 as aliases.
16821 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16822 Define _IO_fsetpos64 and fsetpos64 as aliases.
16823 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16824 Conditionalize body on this.
16825 * libio/fseeko64.c: Likewise.
16826 * libio/ftello64.c: Likewise.
16827 * libio/iofgetpos64.c: Likewise.
16828 * libio/iofsetpos64.c: Likewise.
16829 * sysdeps/wordsize-64/lockf.c: File removed.
16830 * sysdeps/wordsize-64/lockf64.c: File removed.
16831 * sysdeps/wordsize-64/fseeko.c: File removed.
16832 * sysdeps/wordsize-64/fseeko64.c: File removed.
16833 * sysdeps/wordsize-64/ftello.c: File removed.
16834 * sysdeps/wordsize-64/ftello64.c: File removed.
16835 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16836 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16837 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16838 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16841 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16842 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16843 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16844 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16847 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16849
16850 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16852 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16854 [defined __arch64__ || defined __sparcv9]
16855 (__OFF_T_MATCHES_OFF64_T): New macro.
16856 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16857 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16859 (__OFF_T_MATCHES_OFF64_T): New macro.
16860
16861 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16862
16863 * stdlib/secure-getenv.c (__secure_getenv): Replace
16864 GLIBC_2_16 with GLIBC_2_17.
16865
16866 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16867
16868 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16869 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16870
16871 2012-08-03 David S. Miller <davem@davemloft.net>
16872
16873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16874
16875 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16876
16877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16878 Remove.
16879 (__ASSUME_CORRECT_SI_PID): Likewise.
16880 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16881 (__ASSUME_TMPFS_NAME): Likewise.
16882 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16883 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16884 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16885 (HAVE_AUX_SECURE): Make definition unconditional.
16886 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16887 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16888
16889 2012-08-03 Roland McGrath <roland@hack.frob.com>
16890
16891 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16892 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16893 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16894 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16895 __eloop_threshold instead of SYMLOOP_MAX.
16896
16897 * sysdeps/generic/eloop-threshold.h: New file.
16898 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16899 of MAXSYMLINKS.
16900 * elf/chroot_canon.c (chroot_canon): Likewise.
16901
16902 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16903
16904 [BZ #13717]
16905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16906 Change to 2.6.0 everywhere.
16907 * sysdeps/unix/sysv/linux/configure: Regenerated.
16908 * sysdeps/unix/sysv/linux/kernel-features.h
16909 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16910 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16911 kernel versions.
16912 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16913 (__ASSUME_FUTEX_REQUEUE): Remove.
16914 (__ASSUME_STATFS64): Define unconditionally.
16915 (__ASSUME_AT_SECURE): Likewise.
16916 (__ASSUME_CORRECT_SI_PID): Likewise.
16917 (__ASSUME_TGKILL): Define without depending on kernel version for
16918 i386.
16919 (__ASSUME_UTIMES): Likewise.
16920 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16921 kernel version.
16922 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16923 (__ASSUME_TMPFS_NAME): Likewise.
16924 * README: Update reference to Linux kernel versions.
16925
16926 2012-08-02 Marek Polacek <polacek@redhat.com>
16927
16928 [BZ# 14150]
16929 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16930 libc_cv_asm_type_prefix with %.
16931 * configure: Regenerated.
16932 * include/libc-symbols.h: Remove comment about
16933 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16934 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16935 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16936 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16937 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16938 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16939 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16940 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16941 * elf/tst-unique2mod1.c: Likewise.
16942 * elf/tst-unique1mod2.c: Likewise.
16943 * elf/tst-unique1mod1.c: Likewise.
16944 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16945 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16946 Replace ASM_TYPE_DIRECTIVE with .type.
16947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16948 * sysdeps/i386/sysdep.h: Likewise.
16949 * sysdeps/x86_64/sysdep.h: Likewise.
16950 * sysdeps/sh/sysdep.h: Likewise.
16951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16952 Do not define ASM_TYPE_DIRECTIVE.
16953 * sysdeps/powerpc/sysdep.h: Likewise.
16954 * sysdeps/powerpc/powerpc32/sysdep.h:
16955 Replace ASM_TYPE_DIRECTIVE with .type.
16956 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16957 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16958 * sysdeps/i386/fpu/e_powf.S: Likewise.
16959 * sysdeps/i386/fpu/e_expl.S: Likewise.
16960 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16961 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16962 * sysdeps/i386/fpu/e_pow.S: Likewise.
16963 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16964 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16965 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16966 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16967 * sysdeps/i386/fpu/e_log2.S: Likewise.
16968 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16969 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16970 * sysdeps/i386/fpu/e_powl.S: Likewise.
16971 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16972 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16973 * sysdeps/i386/fpu/e_logl.S: Likewise.
16974 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16975 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16976 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16977 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16978 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16979 * sysdeps/i386/fpu/e_log.S: Likewise.
16980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16981 * sysdeps/i386/fpu/e_logf.S: Likewise.
16982 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16983 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16984 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16985 * sysdeps/i386/fpu/e_log10.S: Likewise.
16986 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16988 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16989 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16990 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16991 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16992 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16993 * sysdeps/i386/i686/strtok.S: Likewise.
16994 * sysdeps/i386/i386-mcount.S: Likewise.
16995 * sysdeps/i386/strtok.S: Likewise.
16996 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16999 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17000 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17002 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17003 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17004 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17005 * sysdeps/x86_64/_mcount.S: Likewise.
17006 * sysdeps/x86_64/strtok.S: Likewise.
17007 * sysdeps/sh/_mcount.S: Likewise.
17008
17009 2012-08-01 Roland McGrath <roland@hack.frob.com>
17010
17011 * libio/iofopen.c: Include <fcntl.h>.
17012 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17013 (_IO_fopen64, fopen64): Define as aliases.
17014 * libio/iofopen64.c: Include <fcntl.h>.
17015 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17016 Conditionalize body on this.
17017 * sysdeps/wordsize-64/iofopen.c: File removed.
17018 * sysdeps/wordsize-64/iofopen64.c: File removed.
17019
17020 2012-08-01 Marek Polacek <polacek@redhat.com>
17021
17022 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17023 Use dlfcn directly instead of a variable.
17024 (binfmt-subdir): Do not define.
17025 (dlfcn): Likewise.
17026
17027 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17028
17029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17030 Remove all definitions.
17031 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17032 <kernel-features.h>.
17033 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17034 (miss_F_GETOWN_EX): Remove all definitions.
17035 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17036 macro definition.
17037 [!__ASSUME_FCNTL64]: Remove conditional code.
17038 [__ASSUME_FCNTL64]: Make code unconditional.
17039 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17040 <kernel-features.h>.
17041 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17042 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17043 (lockf64) [__NR_fcntl64]: Make code unconditional.
17044 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17045
17046 * sysdeps/unix/sysv/linux/kernel-features.h
17047 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17048 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17049 Make code unconditional.
17050 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17051 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17053 [__NR_vfork]: Make code unconditional.
17054 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17055 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17057 [__NR_vfork]: Make code unconditional.
17058 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17059 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17060
17061 2012-08-01 Roland McGrath <roland@hack.frob.com>
17062
17063 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17064 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17065
17066 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17067 Define mkstemp64 as an alias.
17068 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17069 Define mkstemps64 as an alias.
17070 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17071 Define mkostemp64 as an alias.
17072 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17073 Define mkostemps64 as an alias.
17074 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17075 Conditionalize body on this.
17076 * misc/mkostemp64.c: Likewise.
17077 * misc/mkostemps64.c: Likewise.
17078 * misc/mkstemps64.c: Likewise.
17079 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17080 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17081 * sysdeps/wordsize-64/mkostemp.c: File removed.
17082 * sysdeps/wordsize-64/mkstemp.c: File removed.
17083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17084 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17085 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17086 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17087
17088 [BZ #14138]
17089 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17090 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17091 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17092 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17093
17094 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17095 compat_symbol macros from <shlib-compat.h> rather than the underlying
17096 default_symbol_version and symbol_version macros, so that DEFAULT
17097 lines in shlib-versions are respected.
17098 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17099
17100 2012-08-01 Florian Weimer <fweimer@redhat.com>
17101
17102 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17103 Declare with warn_unused_result.
17104 (setgid, setregid, setegid, setresgid): Likewise.
17105 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17106 Likewise.
17107 * WUR-REPORT: Remove set*id functions.
17108
17109 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17110
17111 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17112
17113 2012-07-31 Roland McGrath <roland@hack.frob.com>
17114
17115 [BZ #10191]
17116 * include/sys/socket.h (__libc_accept, __libc_accept4):
17117 Add attribute_hidden.
17118 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17119
17120 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17121 use of PTR_MANGLE.
17122 * inet/getnetgrent_r.c (setup): Likewise.
17123
17124 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17125
17126 2012-07-31 David S. Miller <davem@davemloft.net>
17127
17128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17129
17130 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17131
17132 [BZ #13629]
17133 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17134 value between 1.0 and 2.0 and smaller part has absolute value less
17135 than 1.0.
17136 * math/s_clog10.c (__clog10): Likewise.
17137 * math/s_clog10f.c (__clog10f): Likewise.
17138 * math/s_clog10l.c (__clog10l): Likewise.
17139 * math/s_clogf.c (__clogf): Likewise.
17140 * math/s_clogl.c (__clogl): Likewise.
17141 * math/libm-test.inc (clog_test): Add more tests.
17142 (clog10_test): Likewise.
17143 * sysdeps/i386/fpu/libm-test-ulps: Update.
17144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17145
17146 2012-07-31 Florian Weimer <fweimer@redhat.com>
17147
17148 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17149 Exit with zero in case no suitable GID is found, and write a
17150 message to standard error.
17151
17152 2012-07-30 Roland McGrath <roland@hack.frob.com>
17153
17154 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17155 rather than to 1.
17156 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17157 (MAXPATHLEN): Removed.
17158 (NOGROUP, NODEV): New macros.
17159 (setbit, clrbit, isset, isclr): New macros.
17160 (howmany, roundup, powerof2): New macros.
17161 (DEV_BSIZE): New macro.
17162
17163 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17164 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17165
17166 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17167 definition on [!__NO_LONG_DOUBLE_MATH].
17168
17169 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17170 PTR_MANGLE and PTR_DEMANGLE.
17171
17172 * socket/accept4.c (accept4): Rename to __libc_accept4.
17173 Define accept4 as a weak alias.
17174
17175 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17176 on [_DIRENT_HAVE_D_TYPE].
17177 * io/ftw.c (ftw_dir): Likewise.
17178
17179 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17180
17181 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17182
17183 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17184 Use the BSD numbers rather than the arbitrary ones we had.
17185 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17186 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17187 (SIGXCPU, SIGXFSZ): New macros.
17188 (_NSIG): Now 32.
17189
17190 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17191 initializer on [_LIBC_REENTRANT].
17192
17193 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17194 definitions inside [_POSIX_MAPPED_FILES].
17195
17196 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17197
17198 * dirent/opendir.c: Include <fcntl.h>.
17199
17200 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17201 (__libc_getspecific): Likewise.
17202 (__libc_key_create): Likewise.
17203
17204 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17205 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17206 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17207 (tmpfile64): Define as alias.
17208 * sysdeps/wordsize-64/tmpfile.c: File removed.
17209 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17210 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17212
17213 * stdio-common/vfscanf.c: Include <stdbool.h>.
17214 * nss/makedb.c: Likewise.
17215 * stdio-common/_i18n_number.h: Likewise.
17216 * argp/argp-help.c: Likewise.
17217 * posix/wordexp.c: Likewise.
17218 * sysdeps/posix/spawni.c: Likewise.
17219 * nss/nss_files/files-initgroups.c: Likewise.
17220 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17221 * nss/nss_files/files-initgroups.c: Likewise.
17222 * nss/nss_db/db-netgrp.c: Likewise.
17223 * nss/nss_db/db-initgroups.c: Likewise.
17224 * io/fchmodat.c: Include <sys/stat.h>.
17225
17226 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17227 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17228
17229 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17230 [HAVE_MMAP].
17231
17232 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17233 Add multiple inclusion protection.
17234
17235 2012-07-27 David S. Miller <davem@davemloft.net>
17236
17237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17238
17239 2012-07-27 Gary Benson <gbenson@redhat.com>
17240
17241 [BZ #14298]
17242 * elf/rtld.c: Include <stap-probe.h>.
17243 (dl_main): Added static probes "init_start" and "init_complete".
17244 * elf/dl-load.c: Include <stap-probe.h>.
17245 (lose): Take new parameter "nsid".
17246 Added static probe "map_failed".
17247 (_dl_map_object_from_fd): Pass namespace id to lose.
17248 Added static probe "map_start".
17249 (open_verify): Pass namespace id to lose.
17250 * elf/dl-open.c: Include <stap-probe.h>.
17251 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17252 and "reloc_complete".
17253 * elf/dl-close.c: Include <stap-probe.h>.
17254 (_dl_close_worker): Added static probes "unmap_start" and
17255 "unmap_complete".
17256 * elf/rtld-debugger-interface.txt: New file documenting the above.
17257
17258 2012-07-26 Roland McGrath <roland@hack.frob.com>
17259
17260 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17261 rather than a string variable.
17262 * sunrpc/rpc_main.c (h_output): Likewise.
17263 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17264
17265 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17266
17267 * inet/check_native.c: New file.
17268
17269 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17270
17271 [BZ #13629]
17272 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17273 if larger part has absolute value 1.0.
17274 * math/s_clog10.c (__clog10): Likewise.
17275 * math/s_clog10f.c (__clog10f): Likewise.
17276 * math/s_clog10l.c (__clog10l): Likewise.
17277 * math/s_clogf.c (__clogf): Likewise.
17278 * math/s_clogl.c (__clogl): Likewise.
17279 * math/libm-test.inc (clog_test): Add more tests.
17280 (clog10_test): Likewise.
17281 * sysdeps/i386/fpu/libm-test-ulps: Update.
17282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17283
17284 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17285 (pltexit): Likewise.
17286 (La_regs): Likewise.
17287 (La_retval): Likewise.
17288 (int_retval): Likewise.
17289 Update #error for removed macros to refer only to definitions in
17290 tst-audit.h.
17291 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17292 macro.
17293 (pltexit): Likewise.
17294 (La_regs): Likewise.
17295 (La_retval): Likewise.
17296 (int_retval): Likewise.
17297 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17298 macro.
17299 (pltexit): Likewise.
17300 (La_regs): Likewise.
17301 (La_retval): Likewise.
17302 (int_retval): Likewise.
17303 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17304 macro.
17305 (pltexit): Likewise.
17306 (La_regs): Likewise.
17307 (La_retval): Likewise.
17308 (int_retval): Likewise.
17309 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17310 macro.
17311 (pltexit): Likewise.
17312 (La_regs): Likewise.
17313 (La_retval): Likewise.
17314 (int_retval): Likewise.
17315 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17316 macro.
17317 (pltexit): Likewise.
17318 (La_regs): Likewise.
17319 (La_retval): Likewise.
17320 (int_retval): Likewise.
17321 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17322 macro.
17323 (pltexit): Likewise.
17324 (La_regs): Likewise.
17325 (La_retval): Likewise.
17326 (int_retval): Likewise.
17327 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17328 macro definitions in tst-audit.h.
17329 * sysdeps/i386/tst-audit.h: New file.
17330 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17331 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17332 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17333 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17334 * sysdeps/sh/tst-audit.h: Likewise.
17335 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17336 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17337 * sysdeps/x86_64/tst-audit.h: Likewise.
17338
17339 2012-07-26 Andreas Jaeger <aj@suse.de>
17340
17341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17342 ptrace.
17343
17344 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17345 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17346 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17347 PTRACE_O_MASK.
17348 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17349 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17350 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17351
17352 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17353 value.
17354
17355 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17356 _sigsys.
17357 (si_call_addr, si_syscall, si_arch): Define new macro.
17358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17359 _sigsys.
17360 (si_call_addr, si_syscall, si_arch): Define new marcro.
17361 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17362 _sigsys.
17363 (si_call_addr, si_syscall, si_arch): Define new macro.
17364 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17365 _sigsys.
17366 (si_call_addr, si_syscall, si_arch): Define new macro.
17367
17368 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17369
17370 [BZ #13717]
17371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17372 Change to 2.4.21 where previously 2.4.1.
17373 * sysdeps/unix/sysv/linux/configure: Regenerated.
17374 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17375 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17376 Linux kernel version.
17377 (__ASSUME_STD_AUXV): Remove.
17378 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17379 kernel version.
17380 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17381 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17382 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17383 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17384 (__ASSUME_NETLINK_SUPPORT): Likewise.
17385 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17386 (__no_netlink_support): Remove conditional definition.
17387 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17388 Remove.
17389 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17390 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17391 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17392 (if_nameindex_ioctl): Remove.
17393 (if_nameindex_netlink): Do not handle __no_netlink_support.
17394 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17395 code.
17396 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17397 Remove conditional code.
17398 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17399 code.
17400 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17401 unconditional.
17402 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17403 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17404 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17405 Remove.
17406 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17407 [!__ASSUME_STD_AUXV]: Remove conditional code.
17408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17409 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17410 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17412 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17414 code.
17415 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17417 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17418 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17419 conditional code.
17420 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17422 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17423 code.
17424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17425 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17426 conditional code.
17427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17428 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17429 code unconditional.
17430 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17431 conditional code.
17432 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17433 unconditional.
17434 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17435 conditional code.
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17437 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17438 unconditional.
17439 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17440 conditional code.
17441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17442 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17443 code unconditional.
17444 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17445 conditional code.
17446 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17447 unconditional.
17448 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17449 conditional code.
17450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17451 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17452 code unconditional.
17453 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17454 conditional code.
17455 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17456 unconditional.
17457 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17458 conditional code.
17459
17460 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17461
17462 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17463 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17464 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17465 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17466 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17467 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17468 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17469 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17470 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17471 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17472 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17473 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17474 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17475 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17476 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17477 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17478 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17479 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17480 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17482 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17483 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17484 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17485
17486 2012-07-25 Florian Weimer <fweimer@redhat.com>
17487
17488 * Versions.def: Add GLIBC_2.17.
17489 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17490 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17491 Introduce __libc_secure_getenv.
17492 * stdlib/Versions (2.17): Add secure_getenv
17493 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17494 * stdlib/secure-getenv.c: Rename __secure_getenv to
17495 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17496 symbol __secure_getenv for GLIBC_2.0.
17497 * stdlib/tst-secure-getenv.c: New.
17498 * stdlib/Makefile (tests): Add testcase.
17499 * manual/startup.texi (Environment Access): Document
17500 secure_getenv.
17501 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17502 __libc_secure_getenv.
17503 * inet/ruserpass.c (ruserpass): Likewise.
17504 * malloc/mtrace.c (mtrace): Likewise.
17505 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17506 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17507 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17508 * sysdeps/posix/tempname.c: Likewise. Evaluate
17509 HAVE_SECURE_GETENV.
17510 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17511 __secure_getenv to __libc_secure_getenv.
17512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17514 Likewise.
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17516 Likewise.
17517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17524
17525 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17526
17527 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17528 (struct La_i86_retval): Likewise.
17529 (struct La_x86_64_regs): Likewise.
17530 (struct La_x86_64_retval): Likewise.
17531 (struct La_x32_regs): Likewise.
17532 (struct La_x32_retval): Likewise.
17533 (struct La_ppc32_regs): Likewise.
17534 (struct La_ppc32_retval): Likewise.
17535 (struct La_ppc64_regs): Likewise.
17536 (struct La_ppc64_retval): Likewise.
17537 (struct La_sh_regs): Likewise.
17538 (struct La_sh_retval): Likewise.
17539 (struct La_s390_32_regs): Likewise.
17540 (struct La_s390_32_retval): Likewise.
17541 (struct La_s390_64_regs): Likewise.
17542 (struct La_s390_64_retval): Likewise.
17543 (struct La_sparc32_regs): Likewise.
17544 (struct La_sparc32_retval): Likewise.
17545 (struct La_sparc64_regs): Likewise.
17546 (struct La_sparc64_retval): Likewise.
17547 (struct audit_ifaces): Remove architecture-specific pltenter and
17548 pltexit members.
17549 * sysdeps/i386/ldsodefs.h: New file.
17550 * sysdeps/powerpc/ldsodefs.h: Likewise.
17551 * sysdeps/s390/ldsodefs.h: Likewise.
17552 * sysdeps/sh/ldsodefs.h: Likewise.
17553 * sysdeps/sparc/ldsodefs.h: Likewise.
17554 * sysdeps/x86_64/ldsodefs.h: Likewise.
17555
17556 2012-07-25 Marek Polacek <polacek@redhat.com>
17557
17558 [BZ #6808]
17559 * math/libm-test.inc (yn_test): Add another test.
17560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17561 to ERANGE when the result is +-Inf.
17562 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17563 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17565 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17566
17567 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17568
17569 * conform/data/time.h-data (NULL): Use macro-constant. Require
17570 equal to 0.
17571 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17572 clock_t.
17573 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17574
17575 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17576
17577 * configure.in <sysdeps resolving>: Correct printing
17578 Implies_before.
17579 * configure: Regenerate.
17580
17581 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17582
17583 * math/w_ilogb.c: Include <limits.h>.
17584 * math/w_ilogbl.c: Likewise.
17585
17586 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17587
17588 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17589 va_copy. Document allowing for unavailable va_copy only as
17590 pre-C99 compatibility.
17591 * manual/string.texi (Copying and Concatenation): Use va_copy
17592 instead of __va_copy in concat example.
17593
17594 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17595
17596 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17597 (__sendto): Use create_address_port. Initialize APORT and deallocate
17598 it if not null.
17599
17600 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17601 with O_NOLINK passed to __file_name_lookup.
17602
17603 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17604 with O_NOLINK passed to __file_name_lookup.
17605
17606 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17607 negative N or less than NGIDS.
17608
17609 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17610 type to string_t. Set ERANGE as errno and return it if NAME is not big
17611 enough. Use memcpy instead of strncpy.
17612
17613 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17614
17615 * elf/Makefile (check-data): Remove.
17616 (localplt.data): New vpath directive.
17617 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17618 instead of $(check-data).
17619 * scripts/data/localplt-generic.data: Move to ...
17620 * sysdeps/generic/localplt.data: ... here.
17621 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17622 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17623 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17625 ... here.
17626 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17628 ... here.
17629 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17631 ... here.
17632 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17634 ... here.
17635 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17637 ... here.
17638 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17640 ... here.
17641
17642 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17643
17644 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17645 PPC32 and PPC64 files.
17646 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17647 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17648
17649 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17650
17651 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17652 __makecontext_ret to ...
17653 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17654 ... here and call exit if uc_link is NULL. New file.
17655 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17656 __makecontext_ret.S.
17657 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17658 __makecontext_ret to ...
17659 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17660 ... here and call exit if uc_link is NULL. New file.
17661 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17662 __makecontext_ret.S.
17663
17664 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17665
17666 * elf/elf.h (R_390_IRELATIVE): New definition.
17667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17668 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17669 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17671 (elf_machine_lazy_rel): Likewise.
17672 * sysdeps/s390/dl-irel.h: New file.
17673 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17674 * sysdeps/s390/s390-64/memset.S: New asm code.
17675 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17676 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17678 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17679 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17680 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17682 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17683 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17684 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17685 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17686 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17687 * sysdeps/s390/s390-32/memset.S: New asm code.
17688 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17689
17690 2012-07-17 Marek Polacek <polacek@redhat.com>
17691
17692 [BZ #14349]
17693 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17694 * sysdeps/s390/s390-64/configure.in: Likewise.
17695 * sysdeps/sparc/configure.in: Likewise.
17696 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17697 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17698 * sysdeps/i386/configure.in: Likewise.
17699 * sysdeps/x86_64/configure.in: Likewise.
17700 * sysdeps/sh/configure.in: Likewise.
17701 * sysdeps/s390/s390-32/configure: Regenerated.
17702 * sysdeps/s390/s390-64/configure: Likewise.
17703 * sysdeps/x86_64/configure: Likewise.
17704 * sysdeps/sh/configure: Likewise.
17705 * sysdeps/powerpc/powerpc64/configure: Likewise.
17706 * sysdeps/powerpc/powerpc32/configure: Likewise.
17707 * sysdeps/sparc/configure: Likwise.
17708 * sysdeps/i386/configure: Likewise.
17709
17710 * elf/dl-open.c: Comment fixes.
17711
17712 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17713
17714 * Makefile [CXX] (check-data): Remove.
17715 [CXX] (c++-types.data): New vpath directive.
17716 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17717 vpath. Do not allow for C++ type data being missing.
17718 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17719 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17720 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17721 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17722 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17723 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17724 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17726 ... here.
17727 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17729 ... here.
17730 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17732 ... here.
17733 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17735 ... here.
17736 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17738 ... here.
17739 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17741 ... here.
17742 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17744 ... here.
17745 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17747
17748 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17749 definitions to architecture-specific files.
17750 (TLS_IE): Likewise.
17751 (TLS_LD): Likewise.
17752 (TLS_GD): Likewise.
17753 * sysdeps/i386/tls-macros.h: New file.
17754 * sysdeps/powerpc/tls-macros.h: Likewise.
17755 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17756 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17757 * sysdeps/sh/tls-macros.h: Likewise.
17758 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17759 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17760 * sysdeps/x86_64/tls-macros.h: Likewise.
17761
17762 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17763
17764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17765 zero value for regular exit case.
17766
17767 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17768 (__start_context): Preserve zero value for regular exit case.
17769
17770 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17771 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17772
17773 * manual/setjmp.texi (setcontext): Clarify normal process
17774 termination when uc_link is the null pointer.
17775 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17776 exit call.
17777
17778 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17779
17780 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17781 preprocessor. Test for each exception mask separately.
17782
17783 2012-07-16 Andreas Jaeger <aj@suse.de>
17784
17785 * po/ru.po: Update from translation team.
17786
17787 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17788
17789 * conform/data/string.h-data (NULL): Use macro-constant. Require
17790 equal to 0.
17791 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17792 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17793 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17794 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17796
17797 2012-07-13 Andreas Jaeger <aj@suse.de>
17798
17799 * po/fr.po: Update from translation team.
17800
17801 2012-07-12 Marek Polacek <polacek@redhat.com>
17802
17803 [BZ #14173]
17804 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17806 loop condition.
17807
17808 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17809
17810 [BZ #13717]
17811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17812 Change to 2.4.1 where previously 2.4.0.
17813 * sysdeps/unix/sysv/linux/configure: Regenerated.
17814 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17815 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17816 version.
17817 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17818 (__ASSUME_AT_CLKTCK): Remove.
17819 (__ASSUME_AT_PAGESIZE): Likewise.
17820 (__ASSUME_AT_XID): Likewise.
17821 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17822 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17823 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17824 unconditionally.
17825 (HAVE_AUX_PAGESIZE): Likewise.
17826 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17827 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17828 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17829
17830 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17831
17832 [BZ #14307]
17833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17834 the temporary buffer used to invoke __gethostbyname2_r,
17835 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17836 host_data / struct gaih_addrtuple.
17837 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17838 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17839 header file nss/nsswitch.h.
17840 * nss/nsswitch.h (global scope): Add definition of implementation
17841 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17842 resolv/nss_dns/dns-host.c).
17843
17844 2012-07-11 Andreas Jaeger <aj@suse.de>
17845
17846 * po/fr.po: Update from translation team.
17847
17848 * po/sv.po: Update from translation team
17849 * po/fr.po: Another update from translation team.
17850
17851 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17852
17853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17854 for subnormals or multiply small sinh result by itself.
17855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17857
17858 2012-07-11 David S. Miller <davem@davemloft.net>
17859
17860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17861
17862 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17863
17864 [BZ #14347]
17865 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17866 (INTERNAL_MARK): Shift it here.
17867
17868 2012-07-10 Marek Polacek <polacek@redhat.com>
17869
17870 [BZ #14151]
17871 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17872 libc_cv_asm_global_directive with .globl.
17873 * configure: Regenerated.
17874 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17875 with .globl.
17876 * sysdeps/i386/configure: Regenerated.
17877 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17878 with .globl.
17879 * sysdeps/x86_64/configure: Regenerated.
17880 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17881 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17882 * elf/tst-unique2mod2.c: Likewise.
17883 * elf/tst-unique2mod1.c: Likewise.
17884 * elf/tst-unique1mod2.c: Likewise.
17885 * elf/tst-unique1mod1.c: Likewise.
17886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17887 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17890 * sysdeps/mach/sysdep.h: Likewise.
17891 * sysdeps/i386/sysdep.h: Likewise.
17892 * sysdeps/i386/i386-mcount.S: Likewise.
17893 * sysdeps/x86_64/_mcount.S: Likewise.
17894 * sysdeps/x86_64/sysdep.h: Likewise.
17895 * sysdeps/sh/_mcount.S: Likewise.
17896 * sysdeps/sh/sysdep.h: Likewise.
17897 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17898 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17899 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17900 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17901 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17902 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17903 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17904 * locale/localeinfo.h: Likewise.
17905 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17906 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17907
17908 2012-07-09 Roland McGrath <roland@hack.frob.com>
17909
17910 [BZ #14336]
17911 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17912 system".
17913 * manual/message.texi (The Uniforum approach): Likewise.
17914 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17915 (glibc iconv Implementation): Likewise.
17916
17917 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17918
17919 [BZ #14337]
17920 * math/s_clog.c (__clog): Avoid scaling a value down where that
17921 could result in underflow.
17922 * math/s_clog10.c (__clog10): Likewise.
17923 * math/s_clog10f.c (__clog10f): Likewise.
17924 * math/s_clog10l.c (__clog10l): Likewise.
17925 * math/s_clogf.c (__clogf): Likewise.
17926 * math/s_clogl.c (__clogl): Likewise.
17927 * math/libm-test.inc (clog_test): Add more tests.
17928 (clog10_test): Likewise.
17929 * sysdeps/i386/fpu/libm-test-ulps: Update.
17930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17931
17932 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17933
17934 [BZ #14283]
17935 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17936 by 7 not 8 to examine high bit of fractional part.
17937
17938 [BZ #14042]
17939 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17940 for call to __mcount_internal.
17941 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17942 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17943 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17944
17945 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17946
17947 [BZ #14154]
17948 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17949 approximation for values within 0x1p-13f of an odd multiple of
17950 pi/4.
17951 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17952 exception. Add more tests.
17953 * sysdeps/i386/fpu/libm-test-ulps: Update.
17954
17955 [BZ #6778]
17956 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17957 inputs and return -1 for them. Do not check for +Inf in case not
17958 reachable for +Inf.
17959 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17960 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17961 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17962 and return -1 for them. Do not check for +Inf in case not
17963 reachable for +Inf.
17964 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17965 define.
17966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17967 and return -1 for them. Do not check for +Inf in case not
17968 reachable for +Inf.
17969 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17970 spurious underflow.
17971 * sysdeps/i386/fpu/libm-test-ulps: Update.
17972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17973
17974 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17975
17976 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17977
17978 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17979
17980 [BZ #14157]
17981 [BZ #14331]
17982 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17983 could result in spurious underflow. Scale down values above
17984 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17985 * math/s_csqrtf.c (__csqrtf): Likewise.
17986 * math/s_csqrtl.c (__csqrtl): Likewise.
17987 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17988 spurious underflow.
17989 * sysdeps/i386/fpu/libm-test-ulps: Update.
17990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17991
17992 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17993
17994 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17995 xopen-msg.sed.
17996 * catgets/xopen-msg.awk: New file.
17997 * catgets/xopen-msg.sed: Removed.
17998
17999 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18000 po2text.sed.
18001 * intl/po2test.awk: New file.
18002 * intl/po2test.sed: Removed.
18003
18004 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18005
18006 [BZ #14328]
18007 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18008 or multiply small sinh result by itself.
18009 * math/s_ctanf.c (__ctanf): Likewise.
18010 * math/s_ctanh.c (__ctanh): Likewise.
18011 * math/s_ctanhf.c (__ctanhf): Likewise.
18012 * math/s_ctanhl.c (__ctanhl): Likewise.
18013 * math/s_ctanl.c (__ctanl): Likewise.
18014 * math/libm-test.inc (ctan_test_tonearest): New function.
18015 (ctan_test_towardzero): Likewise.
18016 (ctan_test_downward): Likewise.
18017 (ctan_test_upward): Likewise.
18018 (ctanh_test_tonearest): Likewise.
18019 (ctanh_test_towardzero): Likewise.
18020 (ctanh_test_downward): Likewise.
18021 (ctanh_test_upward): Likewise.
18022 (main): Call these new functions.
18023 * sysdeps/i386/fpu/libm-test-ulps: Update.
18024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18025
18026 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18027
18028 * .gitignore: Delete /ports entry.
18029
18030 2012-07-03 Andreas Jaeger <aj@suse.de>
18031
18032 * po/bg.po: Update from translation team.
18033 * po/cs.po: Likewise.
18034 * po/de.po: Likewise.
18035 * po/hr.po: Likewise.
18036 * po/nl.pl: Likewise.
18037 * po/pl.po: Likewise.
18038 * po/vi.po: Likewise.
18039
18040 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18041
18042 * Makeconfig [!+link] (+link-before-libc): New variable.
18043 [!+link] (+link-after-libc): Likewise.
18044 [!+link] (+link-tests): Likewise.
18045 [!+link] (+link): Define in terms of $(+link-before-libc) and
18046 $(+link-after-libc).
18047 [!+link-static] (+link-static-before-libc): New variable.
18048 [!+link-static] (+link-static-after-libc): Likewise.
18049 [!+link-static] (+link-static-tests): Likewise.
18050 [!+link-static] (+link-static): Define in terms of
18051 $(+link-static-before-libc) and $(+link-static-after-libc).
18052 [build-shared] (link-libc-before-gnulib): New variable.
18053 [build-shared] (link-libc-tests): Likewise.
18054 [build-shared] (link-libc): Define in terms of
18055 $(link-libc-before-gnulib).
18056 [!build-shared] (link-libc-tests): New variable.
18057 (link-libc-static-tests): New variable.
18058 [!gnulib] (gnulib-arch): New variable.
18059 [!gnulib] (gnulib-tests): Likewise.
18060 [!gnulib] (static-gnulib-arch): Likewise.
18061 [!gnulib] (static-gnulib-tests): Likewise.
18062 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18063 Define with "=" instead of ":=".
18064 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18065 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18066 * Rules (binaries-all-notests): New variable.
18067 (binaries-all-tests): Likewise.
18068 (binaries-static-notests): Likewise.
18069 (binaries-static-tests): Likewise.
18070 (binaries-all): Define using $(binaries-all-notests) and
18071 $(binaries-all-tests).
18072 (binaries-static): Define using $(binaries-static-notests) and
18073 $(binaries-static-tests).
18074 (binaries-shared-tests): New variable.
18075 (binaries-shared-notests): Likewise.
18076 (binaries-shared): Remove variable.
18077 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18078 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18079 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18080 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18081 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18082 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18083 * elf/Makefile (sln-modules): New variable.
18084 (extra-objs): Add $(sln-modules:=.o).
18085 (ldconfig-modules): Add static-stubs.
18086 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18087 * elf/static-stubs.c: New file.
18088
18089 [BZ #14283]
18090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18091 by 7 not 8 to examine high bit of fractional part. Use volatile
18092 variables when splitting into final array of floats if
18093 __FLT_EVAL_METHOD__ != 0.
18094 * math/libm-test.inc (cos_test): Add another test.
18095 (sin_test): Likewise.
18096 * sysdeps/i386/fpu/libm-test-ulps: Update.
18097
18098 [BZ #14273]
18099 * math/libm-test.inc (cosh_test): Add more tests.
18100
18101 * version.h (RELEASE): Set to "development".
18102 (VERSION): Set to "2.16.90".
18103
18104 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18105
18106 * NEWS: Update copyright. Remove last-updated date.
18107 Mention math library bug fixes and timezone data changes.
18108 * README: Mention GNU/Hurd, x32, and HPPA support status.
18109
18110 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18111
18112 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18113
18114 2012-06-27 Andreas Jaeger <aj@suse.de>
18115
18116 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18117
18118 2012-06-25 Andreas Jaeger <aj@suse.de>
18119
18120 * sysdeps/s390/fpu/libm-test-ulps: Update.
18121
18122 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18123 Thomas Schwinge <thomas@codesourcery.com>
18124
18125 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18126 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18128 fanotify_mark.
18129
18130 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18131
18132 * sysdeps/mach/start.c: Remove file.
18133 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18134 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18135 * sysdeps/sh/init-first.c: Likewise.
18136
18137 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18138 registers for frame unwinding purposes, add CFI directives.
18139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18141 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18142 Likewise.
18143
18144 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18145 __fortify_fail returning.
18146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18147
18148 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18149 sysdeps/sh/____longjmp_chk.S.
18150 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18151 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18152 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18153 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18154
18155 * sysdeps/sh/abort-instr.h: New file.
18156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18157 process in case exit returns.
18158
18159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18160 initialize the GOT register before use.
18161
18162 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18163 calculation of ARGC > 4.
18164
18165 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18166 meaningful names to some local labels.
18167
18168 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18169 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18170
18171 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18172 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18173 (__arch_compare_and_exchange_val_16_acq): Likewise.
18174 (__arch_compare_and_exchange_val_32_acq): Likewise.
18175 (atomic_exchange_and_add): Fix gUSA sequence.
18176 (atomic_add): Likewise.
18177 (atomic_add_negative): Likewise.
18178 (atomic_add_zero): Likewise.
18179 (atomic_bit_test_set): Likewise.
18180
18181 2012-06-22 Andreas Schwab <schwab@redhat.com>
18182
18183 [BZ #13579]
18184 * include/link.h (struct link_map): Add l_free_initfini.
18185 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18186 l_initfini.
18187 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18188 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18189 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18190 set.
18191
18192 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18193
18194 * configure.in: Use AC_LANG_SOURCE.
18195 * configure: Regenerate.
18196
18197 2012-06-22 Roland McGrath <roland@hack.frob.com>
18198
18199 * configure.in (libc_cv_localstatedir): New substituted variable.
18200 * configure: Regenerated.
18201 * config.make.in (localstatedir): New variable, substituted from
18202 libc_cv_localstatedir.
18203 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18204 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18205 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18206 * sysdeps/gnu/configure: Regenerated.
18207
18208 2012-06-21 Jeff Law <law@redhat.com>
18209
18210 [BZ #14277]
18211 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18212 free. Simplify list management for _LIBC case.
18213
18214 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18215
18216 [BZ #14273]
18217 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18218 Clear sign bit of 64-bit integer value before comparing against
18219 overflow value.
18220
18221 * sysdeps/mach/configure: Regenerated.
18222
18223 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18224
18225 [BZ #14278]
18226 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18227
18228 2012-06-21 Jeff Law <law@redhat.com>
18229
18230 [BZ #13882]
18231 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18232 uint16_t for elements in the "seen" array to avoid char overflows.
18233 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18234 * elf/dl-open.c (dl_open_worker): Likewise.
18235
18236 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18237
18238 * scripts/list-sources.sh: Scan PORTS for translations.
18239 * po/libc.pot: Regenerated.
18240
18241 2012-06-21 Andreas Jaeger <aj@suse.de>
18242
18243 [BZ #12194]
18244 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18245 warning.
18246 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18247 * bits/byteswap-16.h (__bswap_16): Likewise.
18248 * bits/byteswap.h (__bswap_constant_16): Likewise.
18249
18250 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18251
18252 [BZ #14117]
18253 * sysdeps/i386/fpu_control.h: Removed.
18254 * sysdeps/x86_64/fpu_control.h: Moved to ...
18255 * sysdeps/x86/fpu_control.h: Here.
18256
18257 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18258 (_FPU_SETCW): Likewise.
18259
18260 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18261
18262 [BZ #14117]
18263 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18264 * sysdeps/x86/fpu/bits/mathinline.h: This.
18265 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18266
18267 [BZ #14050]
18268 [BZ #14117]
18269 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18270 functions if __x86_64__ is defined.
18271
18272 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18273
18274 * string/endian.h: Add !__ASSEMBLER__ condition for including
18275 conversion interfaces.
18276
18277 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18278
18279 [BZ #14241]
18280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18281 of ABS(x) in calculating zero to negative powers other than odd
18282 integers.
18283 * math/libm-test.inc (pow_test): Add more tests.
18284
18285 2012-06-15 Andreas Jaeger <aj@suse.de>
18286
18287 * manual/contrib.texi (Contributors): Update entry of Liubov
18288 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18289 Machado Filho.
18290
18291 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18292
18293 * string/string.h: Add __wur to GNU version of strerror_r.
18294
18295 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18296
18297 [BZ #14229]
18298 * string/Makefile (tests): Add tst-strtok_r.
18299 * string/tst-strtok_r.c: New file.
18300 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18301 RAX_LP/RDX_LP on SAVE_PTR.
18302
18303 2012-06-14 Roland McGrath <roland@hack.frob.com>
18304
18305 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18306
18307 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18308
18309 * libm_test.inc (csqrt_test): Allow more spurious underflow
18310 exceptions.
18311 (j0_test): Likewise.
18312 (j1_test): Likewise.
18313 (y0_test): Likewise.
18314 (y1_test): Likewise.
18315
18316 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18317
18318 * po/Makefile (libc.pot): Use UTF-8 charset.
18319
18320 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18321
18322 [BZ #14210]
18323 Suppress sign-conversion warning from FD_SET.
18324 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18325 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18326 not unsigned long int.
18327 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18328
18329 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18330
18331 [BZ #14050]
18332 [BZ #14117]
18333 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18334 __extern_always_inline instead of __extern_inline.
18335 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18336 (__signbit): Likewise.
18337 (__signbitl): Support C++ namespace.
18338 (lrintf): New inline function.
18339 (lrint): Likewise.
18340 (llrintf): Likewise.
18341 (llrint): Likewise.
18342 (fmaxf): Likewise.
18343 (fmax): Likewise.
18344 (fminf): Likewise.
18345 (fmin): Likewise.
18346 (rint): Likewise.
18347 (rintf): Likewise.
18348 (ceil): Likewise.
18349 (ceilf): Likewise.
18350 (floor): Likewise.
18351 (floorf): Likewise.
18352 (nearbyint): Likewise.
18353 (nearbyintf): Likewise.
18354
18355 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18356
18357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18358 non-default versions.
18359
18360 2012-06-11 Roland McGrath <roland@hack.frob.com>
18361
18362 [BZ #14218]
18363 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18364
18365 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18366
18367 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18368 (FE_UPWARD, FE_DOWNWARD): Don't define.
18369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18370 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18371
18372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18373 reading it.
18374 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18376
18377 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18378
18379 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18381 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18382 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18383
18384 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18385
18386 [BZ #14117]
18387 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18388 * sysdeps/i386/fpu/Implies: New file.
18389 * sysdeps/x86_64/fpu/Implies: Likewise.
18390 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18391 * sysdeps/x86/fpu/bits/fenv.h: This.
18392
18393 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18394 __SSE_MATH__.
18395
18396 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18397
18398 [BZ #14134]
18399 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18400 character 0xffff that matches the last element of the
18401 conversion table.
18402
18403 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18404
18405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18406 fmodl commit.
18407
18408 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18409
18410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18411 values higher than 25.6283.
18412
18413 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18414
18415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18416 subnormal exponent extraction and add some __builtin_expect.
18417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18418 Fix for subnormal mantissa calculation.
18419
18420 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18421
18422 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18423 cpu2 is -1 and errno is not ENOSYS.
18424
18425 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18426
18427 [BZ #14117]
18428 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18429 * sysdeps/x86/bits/string.h: This.
18430 * sysdeps/x86_64/bits/string.h: Removed.
18431
18432 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18433 if not compiling for x86-64, but compiling for >= i486.
18434
18435 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18436 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18437
18438 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18439 New macro from Linux kernel 3.4.0.
18440 (FP_XSTATE_MAGIC2): Likewise.
18441 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18442 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18443 (struct _fpx_sw_bytes): New struct.
18444 (struct _xsave_hdr): Likewise.
18445 (struct _ymmh_state): Likewise.
18446 (struct _xstate): Likewise.
18447
18448 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18449 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18451 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18453 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18454
18455 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18456 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18457 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18458 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18459 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18460 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18461
18462 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18463
18464 [BZ #13743]
18465 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18466 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18467 (sysdep_headers): Include sys/platform/ppc.h.
18468 * sysdeps/powerpc/test-gettimebase.c: Test for
18469 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18470 * manual/Makefile (appendices): Include platform.texi.
18471 * manual/contrib.texi (Contributors): Update @node pointers.
18472 * manual/maint.texi (Maintenance): Likewise.
18473 (Platform): New node.
18474 * manual/platform.texi: New file. Document the new features.
18475
18476 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18477 Jakub Jelinek <jakub@redhat.com>
18478
18479 [BZ #14188]
18480 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18481 where __builtin_expect is unavailable.
18482
18483 2012-06-03 David S. Miller <davem@davemloft.net>
18484
18485 * stdlib/longlong.h: Updated from GCC.
18486
18487 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18488
18489 [BZ #14042]
18490 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18491 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18492 __mcount_internal.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18494 (GLIBC_2.16): Likewise.
18495
18496 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18497
18498 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18499
18500 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18501
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18503 (default-abi): New variable.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18505 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18506 variable.
18507 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18508 Likewise.
18509 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18510 Likewise.
18511 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18512 Likewise.
18513
18514 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18515 definition. Document in comment.
18516
18517 2012-06-01 David S. Miller <davem@davemloft.net>
18518
18519 * stdlib/longlong.h: Updated from GCC.
18520
18521 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18522
18523 [BZ #14117]
18524 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18525 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18526 sys/debugreg.h sys/io.h here.
18527 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18528 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18529 sys/io.h.
18530 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18531 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18532 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18533 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18534 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18535 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18536
18537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18538 Define only if __x86_64__ is defined.
18539
18540 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18541
18542 [BZ #14048]
18543 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18544 Use int64_t for variable i.
18545 * math/libm-test.inc (fmod_test): Add more tests.
18546
18547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18548 z computation is not scheduled after fetestexcept.
18549 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18550 Use math_force_eval instead of asm to ensure calculation scheduled
18551 before exception test.
18552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18553 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18554
18555 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18556
18557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18558 computation is not scheduled after fetestexcept.
18559
18560 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18561
18562 [BZ #14117]
18563 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18564 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18565
18566 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18567
18568 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18569 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18570
18571 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18572
18573 [BZ #14117]
18574 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18575 <bits/wordsize.h>.
18576 (__WCHAR_MIN): Support __WORDSIZE == 64.
18577 (__WCHAR_MAX): Likewise.
18578
18579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18580 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18581
18582 [BZ #14183]
18583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18584 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18585
18586 [BZ #14117]
18587 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18588 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18589
18590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18591 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18592
18593 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18594 Defined to 1 if __x86_64__ isn't defined.
18595 (_STAT_VER_LINUX_OLD): New.
18596 (st_atime): Remove duplicate.
18597 (st_mtime): Likewise.
18598 (st_ctime): Likewise.
18599
18600 2012-05-31 David S. Miller <davem@davemloft.net>
18601
18602 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18603 entries.
18604
18605 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18606
18607 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18608 gen-libm-test.pl.
18609
18610 [BZ #14132]
18611 * elf/dl-reloc.c: Include <_itoa.h>.
18612 (_dl_reloc_bad_type): Remove use of INTUSE.
18613 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18614 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18615 * stdio-common/psiginfo.c (psiginfo): Likewise.
18616 * stdio-common/psignal.c (psignal): Likewise.
18617 * string/strsignal.c (strsignal): Likewise.
18618 * include/signal.h (_sys_siglist): Declare hidden proto.
18619 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18620 INTVARDEF with libc_hidden_data_def.
18621 * stdio-common/itoa-udigits.c: Likewise.
18622 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18623 (_itoa_lower_digits_internal): Remove declaration.
18624 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18625 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18626 (_sys_sigabbrev_internal): Remove aliases.
18627 (_sys_siglist): Define hidden alias.
18628
18629 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18630
18631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18632 bits/sysctl.h.
18633
18634 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18635
18636 [BZ #14117]
18637 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18638 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18639
18640 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18641 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18642 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18643 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18644 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18645 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18646
18647 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18648 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18649 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18650
18651 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18652 with __addr.
18653 (insw): Likewise.
18654 (insl): Likewise.
18655 (outsb): Likewise.
18656 (outsw): Likewise.
18657 (outsl): Likewise.
18658
18659 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18660 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18661 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18662
18663 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18664 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18666 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18667 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18668 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18669
18670 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18671 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18672
18673 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18674 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18675
18676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18679
18680 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18681 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18682 to ...
18683 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18684
18685 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18686 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18687 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18688
18689 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18690 for x86-64.
18691 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18692
18693 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18694
18695 * math/math.h (M_El): Use two more decimal places.
18696 (M_LOG2El): Likewise.
18697 (M_LOG10El): Likewise.
18698 (M_LN2l): Likewise.
18699 (M_LN10l): Likewise.
18700 (M_PIl): Likewise.
18701 (M_PI_2l): Likewise.
18702 (M_PI_4l): Likewise.
18703 (M_1_PIl): Likewise.
18704 (M_2_PIl): Likewise.
18705 (M_2_SQRTPIl): Likewise.
18706 (M_SQRT2l): Likewise.
18707 (M_SQRT1_2l): Likewise.
18708
18709 2012-05-31 David S. Miller <davem@davemloft.net>
18710
18711 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18712 values between float registers.
18713 * sysdeps/sparc/sparc64/memset.S: Likewise.
18714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18715
18716 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18717
18718 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18719 -D_FORTIFY_SOURCE=1.
18720 (CPPFLAGS-tst-longjmp_chk.c): Define.
18721 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18722 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18723 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18724 CFLAGS-tst-wchar-h.c.
18725
18726 2012-05-31 Marek Polacek <polacek@redhat.com>
18727
18728 [BZ #14132]
18729 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18730 __endmntent_internal): Remove declaration.
18731 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18732 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18733 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18734
18735 2012-05-30 David S. Miller <davem@davemloft.net>
18736
18737 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18738 (___Q_simulate_exceptions): Use real FP ops rather than writing
18739 into the %fsr.
18740 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18741 Likewise.
18742
18743 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18744
18745 [BZ #14117]
18746 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18747 * sysdeps/x86/bits/xtitypes.h: This.
18748
18749 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18750 * sysdeps/x86/bits/wordsize.h: This.
18751
18752 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18753 * sysdeps/x86/bits/huge_vall.h: This.
18754
18755 * sysdeps/i386/bits/select.h: Removed.
18756 * sysdeps/x86_64/bits/select.h: Renamed to ...
18757 * sysdeps/x86/bits/select.h: This.
18758
18759 * sysdeps/i386/bits/setjmp.h: Removed.
18760 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18761 * sysdeps/x86/bits/setjmp.h: This.
18762
18763 * sysdeps/i386/bits/mathdef.h: Removed.
18764 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18765 * sysdeps/x86/bits/mathdef.h: This.
18766
18767 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18768
18769 [BZ #14132]
18770 * include/sys/socket.h (__connect_internal)
18771 (__libc_sa_len_internal): Remove declaration.
18772 (__connect, __libc_sa_len): Declare hidden_proto.
18773 (SA_LEN): Remove use of INTUSE.
18774 * socket/connect.c: Add libc_hidden_def.
18775 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18776 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18777 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18778 alias.
18779 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18780 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18781 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18782 of adding _internal alias.
18783
18784 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18785
18786 [BZ #14117]
18787 * sysdeps/i386/bits/link.h: Removed.
18788 * sysdeps/i386/bits/linkmap.h: Likewise.
18789 * sysdeps/x86_64/bits/link.h: Renamed to ...
18790 * sysdeps/x86/bits/link.h: This.
18791 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18792 * sysdeps/x86/bits/linkmap.h: This.
18793
18794 * sysdeps/i386/bits/endian.h: Removed.
18795 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18796 * sysdeps/x86/bits/endian.h: This.
18797
18798 * sysdeps/i386/bits/byteswap.h: Removed.
18799 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18800 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18801 * sysdeps/x86/bits/byteswap.h: This.
18802 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18803 * sysdeps/x86/bits/byteswap-16.h: This.
18804 * sysdeps/i386/Implies: Add x86.
18805 * sysdeps/x86_64/Implies: Likewise.
18806
18807 2012-05-30 David S. Miller <davem@davemloft.net>
18808
18809 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18810 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18812 (FP_TRAPPING_EXCEPTIONS): Define.
18813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18814 (FP_TRAPPING_EXCEPTIONS): Define.
18815 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18816 subnormals only when inexact has been signalled or underflow
18817 exceptions are enabled.
18818 (_FP_PACK_CANONICAL): Likewise.
18819
18820 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18821
18822 [BZ #14183]
18823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18824 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18825
18826 2012-05-30 Richard Henderson <rth@twiddle.net>
18827
18828 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18829 with #ifndef NOT_IN_libc.
18830
18831 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18832 marked to avoid plt entry.
18833
18834 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18835
18836 [BZ #14112]
18837 * Makeconfig (default-abi): New macro.
18838 (abi-includes): Likewise.
18839 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18840 $(abi-$(default-abi)-lib-soname) for soname if defined.
18841 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18842 abi-variants.
18843 * Makefile (installed-stubs): Likewise.
18844 * include/stubs-biarch.h: Removed.
18845 * scripts/lib-names.awk: Only handle one library at a time.
18846 * scripts/soversions.awk: Remove WORDSIZE support.
18847 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18848 entries.
18849 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18850 Removed.
18851 (syscall-list-default-condition): Likewise.
18852 (syscall-list-default-condition): Likewise.
18853 (syscall-list-includes): Likewise.
18854 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18855 syscall-list-* with abi-*. Handle undefined abi-variants.
18856 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18857 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18858 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18859 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18860 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18861 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18862 Removed.
18863 (syscall-list-32-options): Likewise.
18864 (syscall-list-32-condition): Likewise.
18865 (syscall-list-64-options): Likewise.
18866 (syscall-list-64-condition): Likewise.
18867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18868 macro.
18869 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18870 Renamed to ...
18871 (abi-*): This.
18872 (abi-64-ld-soname): New macro.
18873 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18874 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18875 Renamed to ...
18876 (abi-*): This.
18877 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18878 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18879
18880 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18881
18882 * sysdeps/unix/sysv/linux/kernel-features.h
18883 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18884 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18885 include <kernel-features.h>.
18886 [!__NR_ftruncate64]: Remove conditional code.
18887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18888 [__NR_ftruncate64]: Make code unconditional.
18889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18890 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18891 include <kernel-features.h>.
18892 [!__NR_ftruncate64]: Remove conditional code.
18893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18894 [__NR_ftruncate64]: Make code unconditional.
18895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18897 include <kernel-features.h>.
18898 [!__NR_ftruncate64]: Remove conditional code.
18899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18900 [__NR_ftruncate64]: Make code unconditional.
18901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18903 include <kernel-features.h>.
18904 [!__NR_ftruncate64]: Remove conditional code.
18905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18906 [__NR_ftruncate64]: Make code unconditional.
18907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18908
18909 * configure.in (libc_cv_fpie): Weaken to a compile test using
18910 LIBC_TRY_CC_OPTION.
18911 * configure: Regenerated.
18912
18913 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18914
18915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18919 Refreshed.
18920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18926 Refreshed.
18927
18928 2012-05-27 David S. Miller <davem@davemloft.net>
18929
18930 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18931 (___Q_zero): New.
18932 (__Q_simulate_exceptions): Return void. Change to simulate
18933 exceptions by writing into the %fsr.
18934 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18935 (__Qp_handle_exceptions): Likewise.
18936 (numbers): Delete.
18937 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18938 __Qp_handle_exceptions.
18939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18940 __Qp_handle_exceptions.
18941 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18942 as unused and give dummy FP_RND_NEAREST initializer.
18943 (FP_INHIBIT_RESULTS): Define.
18944 (___Q_simulate_exceptions): Update declaration.
18945 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18946 formatting.
18947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18948 as unused and give dummy FP_RND_NEAREST initializer.
18949 (__Qp_handle_exceptions): Update declaration.
18950 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18951 formatting.
18952
18953 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18954
18955 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18956 the temporary FPU control word.
18957 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18958 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18959 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18960 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18961 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18962 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18963 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18965 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18966 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18967 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18968
18969 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18970
18971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18972 fields.
18973
18974 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18975
18976 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18977 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18978 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18979 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18980 Likewise.
18981 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18982 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18983 Likewise.
18984
18985 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18986
18987 * po/h.po: Update from translation team.
18988
18989 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18990
18991 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18992
18993 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18994 handling of denormals.
18995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18996 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18997 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18998 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19002 Likewise.
19003
19004 2012-05-26 Marek Polacek <polacek@redhat.com>
19005
19006 [BZ #14152]
19007 * math/libm-test.inc (fma_test): Don't always expect underflow
19008 exception.
19009
19010 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19011
19012 [BZ #12416]
19013 * elf/tst-execstack.c: Include stackinfo.h.
19014 (do_test): Adjust test case to ensure that pthread_getattr_np
19015 behaviour remains the same after marking stack executable.
19016
19017 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19018
19019 * sysdeps/unix/sysv/linux/kernel-features.h
19020 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19021 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19022 kernel-features.h.
19023 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19024 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19025 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19026 kernel-features.h.
19027 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19028 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19029
19030 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19031
19032 * configure.in: Define the default includes to being none.
19033 * configure: Regenerated.
19034
19035 2012-05-25 Roland McGrath <roland@hack.frob.com>
19036
19037 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19038 * sysdeps/x86_64/setjmp.S: Likewise.
19039 * sysdeps/i386/bsd-setjmp.S: Likewise.
19040 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19041 * sysdeps/i386/setjmp.S: Likewise.
19042 * sysdeps/i386/__longjmp.S: Likewise.
19043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19044 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19045
19046 * include/stap-probe.h: New file.
19047 * configure.in: Handle --enable-systemtap.
19048 * configure: Regenerated.
19049 * config.h.in (USE_STAP_PROBE): New #undef.
19050 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19051 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19052 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19053
19054 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19055
19056 [BZ #13717]
19057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19058 to 2.4.0 where earlier.
19059 * sysdeps/unix/sysv/linux/configure: Regenerated.
19060 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19061 <kernel-features.h>.
19062 [__ASSUME_32BITUIDS]: Make code unconditional.
19063 [!__ASSUME_32BITUIDS]: Remove conditional code.
19064 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19065 <kernel-features.h>.
19066 [__ASSUME_32BITUIDS]: Make code unconditional.
19067 [!__ASSUME_32BITUIDS]: Remove conditional code.
19068 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19069 [__ASSUME_32BITUIDS]: Make code unconditional.
19070 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19071 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19072 <kernel-features.h>.
19073 [__ASSUME_32BITUIDS]: Make code unconditional.
19074 [!__ASSUME_32BITUIDS]: Remove conditional code.
19075 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19076 <kernel-features.h>.
19077 [__ASSUME_32BITUIDS]: Make code unconditional.
19078 [!__ASSUME_32BITUIDS]: Remove conditional code.
19079 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19080 <kernel-features.h>.
19081 [__ASSUME_32BITUIDS]: Make code unconditional.
19082 [!__ASSUME_32BITUIDS]: Remove conditional code.
19083 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19084 <kernel-features.h>.
19085 [__ASSUME_32BITUIDS]: Make code unconditional.
19086 [!__ASSUME_32BITUIDS]: Remove conditional code.
19087 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19088 <kernel-features.h>.
19089 [__ASSUME_32BITUIDS]: Make code unconditional.
19090 [!__ASSUME_32BITUIDS]: Remove conditional code.
19091 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19092 <kernel-features.h>.
19093 [__ASSUME_32BITUIDS]: Make code unconditional.
19094 [!__ASSUME_32BITUIDS]: Remove conditional code.
19095 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19096 <kernel-features.h>.
19097 [__ASSUME_32BITUIDS]: Make code unconditional.
19098 [!__ASSUME_32BITUIDS]: Remove conditional code.
19099 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19100 <kernel-features.h>.
19101 [__ASSUME_32BITUIDS]: Make code unconditional.
19102 [!__ASSUME_32BITUIDS]: Remove conditional code.
19103 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19104 <kernel-features.h>.
19105 [__ASSUME_32BITUIDS]: Make code unconditional.
19106 [!__ASSUME_32BITUIDS]: Remove conditional code.
19107 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19108 <kernel-features.h>.
19109 [__ASSUME_32BITUIDS]: Make code unconditional.
19110 [!__ASSUME_32BITUIDS]: Remove conditional code.
19111 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19112 <kernel-features.h>.
19113 [__NR_setresgid] (__setresgid): Do not declare.
19114 [__ASSUME_32BITUIDS]: Make code unconditional.
19115 [!__ASSUME_32BITUIDS]: Remove conditional code.
19116 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19117 <kernel-features.h>.
19118 [__NR_setresuid] (__setresuid): Do not declare.
19119 [__ASSUME_32BITUIDS]: Make code unconditional.
19120 [!__ASSUME_32BITUIDS]: Remove conditional code.
19121 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19122 <kernel-features.h>.
19123 [__ASSUME_32BITUIDS]: Make code unconditional.
19124 [!__ASSUME_32BITUIDS]: Remove conditional code.
19125 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19126 <kernel-features.h>.
19127 [__ASSUME_32BITUIDS]: Make code unconditional.
19128 [!__ASSUME_32BITUIDS]: Remove conditional code.
19129 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19130 <kernel-features.h>.
19131 [__ASSUME_32BITUIDS]: Make code unconditional.
19132 [!__ASSUME_32BITUIDS]: Remove conditional code.
19133 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19134 <kernel-features.h>.
19135 [__ASSUME_32BITUIDS]: Make code unconditional.
19136 [!__ASSUME_32BITUIDS]: Remove conditional code.
19137 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19138 <kernel-features.h>.
19139 [__ASSUME_32BITUIDS]: Make code unconditional.
19140 [!__ASSUME_32BITUIDS]: Remove conditional code.
19141 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19142 <kernel-features.h>.
19143 [__ASSUME_32BITUIDS]: Make code unconditional.
19144 [!__ASSUME_32BITUIDS]: Remove conditional code.
19145 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19146 <kernel-features.h>.
19147 [__ASSUME_32BITUIDS]: Make code unconditional.
19148 [!__ASSUME_32BITUIDS]: Remove conditional code.
19149 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19150 <kernel-features.h>.
19151 [__ASSUME_32BITUIDS]: Make code unconditional.
19152 [!__ASSUME_32BITUIDS]: Remove conditional code.
19153 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19154 <kernel-features.h>.
19155 [__ASSUME_32BITUIDS]: Make code unconditional.
19156 [!__ASSUME_32BITUIDS]: Remove conditional code.
19157 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19158 <kernel-features.h>.
19159 [__ASSUME_32BITUIDS]: Make code unconditional.
19160 [!__ASSUME_32BITUIDS]: Remove conditional code.
19161 * sysdeps/unix/sysv/linux/kernel-features.h
19162 (__ASSUME_SETRESUID_SYSCALL): Remove.
19163 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19164 (__ASSUME_32BITUIDS): Likewise.
19165 (__ASSUME_LDT_WORKS): Likewise.
19166 (__ASSUME_O_DIRECTORY): Likewise.
19167 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19168 architecture but not kernel version.
19169 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19170 (__ASSUME_MMAP2_SYSCALL): Likewise.
19171 (__ASSUME_STAT64_SYSCALL): Likewise.
19172 (__ASSUME_IPC64): Likewise.
19173 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19174 <kernel-features.h>.
19175 [__ASSUME_32BITUIDS]: Make code unconditional.
19176 [!__ASSUME_32BITUIDS]: Remove conditional code.
19177 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19178 <kernel-features.h>.
19179 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19180 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19181 132096]: Remove conditional code.
19182 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19183 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19184 <kernel-features.h>.
19185 [__ASSUME_32BITUIDS]: Make code unconditional.
19186 [!__ASSUME_32BITUIDS]: Remove conditional code.
19187 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19188 <kernel-features.h>.
19189 [__ASSUME_32BITUIDS]: Make code unconditional.
19190 [!__ASSUME_32BITUIDS]: Remove conditional code.
19191 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19192 <kernel-features.h>.
19193 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19194 unconditional.
19195 (__setresgid): Do not declare.
19196 [__ASSUME_32BITUIDS]: Make code unconditional.
19197 [!__ASSUME_32BITUIDS]: Remove conditional code.
19198 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19199 <kernel-features.h>.
19200 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19201 unconditional.
19202 (__setresuid): Do not declare.
19203 [__ASSUME_32BITUIDS]: Make code unconditional.
19204 [!__ASSUME_32BITUIDS]: Remove conditional code.
19205 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19206 <kernel-features.h>.
19207 [__ASSUME_32BITUIDS]: Make code unconditional.
19208 [!__ASSUME_32BITUIDS]: Remove conditional code.
19209 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19210 <kernel-features.h>.
19211 [__ASSUME_32BITUIDS]: Make code unconditional.
19212 [!__ASSUME_32BITUIDS]: Remove conditional code.
19213
19214 2012-05-25 Richard Henderson <rth@twiddle.net>
19215
19216 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19217 dl_hwcap to ifunc resolver.
19218 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19219 elf_ifunc_invoke.
19220 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19221 dl_hwcap to ifunc resolver.
19222 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19223
19224 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19225
19226 [BZ #14153]
19227 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19228 for |x| <= 2**-26, not 2**-57.
19229 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19230 exception.
19231
19232 2012-05-24 Jeff Law <law@redhat.com>
19233
19234 * stdio-common/Makefile (tests): Add bug25.
19235 * stdio-common/bug25.c: New test.
19236
19237 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19238
19239 [BZ #13576]
19240 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19241 multiple of MALLOC_ALIGNMENT in size.
19242 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19243
19244 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19245
19246 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19247 Require >= 256.
19248 (FILENAME_MAX): Use macro-int-constant.
19249 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19250 (_IOFBF): Use macro-int-constant.
19251 (_IOLBF): Likewise.
19252 (_IONBF): Likewise.
19253 (SEEK_CUR): Likewise.
19254 (SEEK_END): Likewise.
19255 (SEEK_SET): Likewise.
19256 (TMP_MAX): Likewise.
19257 (EOF): Use macro-int-constant. Require < 0.
19258 (NULL): Use macro-constant. Require == 0.
19259 (stdin): Require type to be FILE *.
19260 (stdout): Likewise.
19261 (stderr): Likewise.
19262 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19263 macro-int-constant.
19264 (EXIT_SUCCESS): Likewise.
19265 (NULL): Use macro-constant. Require == 0.
19266 (RAND_MAX): Use macro-int-constant.
19267 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19268 [C99-based standards] (strtof): Require function.
19269 [C99-based standards] (strtold): Likewise.
19270 [C99-based standards] (strtoll): Likewise.
19271 [C99-based standards] (strtoull): Likewise.
19272 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19273 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19274 [ISO || ISO99 || ISO11] (math.h): Likewise.
19275 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19276 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19278
19279 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19280
19281 [BZ #14132]
19282 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19283 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19284 * intl/dgettext.c (DCGETTEXT): Likewise.
19285 * intl/gettext.c (DCGETTEXT): Likewise.
19286 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19287 * posix/regex_internal.h (gettext): Likewise.
19288 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19289 Remove declaration.
19290 * include/argz.h (__argz_count_internal)
19291 (__argz_stringify_internal): Remove declaration.
19292 (__argz_count, __argz_stringify): Declare hidden proto.
19293 * intl/dcgettext.c: Remove use of INTDEF.
19294 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19295 * string/argz-stringify.c: Likewise.
19296 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19297 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19298 Declare hidden proto.
19299 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19300 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19301 Declare hidden proto.
19302 * include/stdio.h (__asprintf_internal): Don't declare.
19303 (__asprintf): Don't define as macro. Declare hidden proto.
19304 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19305 (__fsetlocking): Declare hidden proto.
19306 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19307 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19308 hidden proto.
19309 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19310 (_IO_setlinebuf): Remove use of INTUSE.
19311 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19312 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19313 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19314 Remove declaration.
19315 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19316 (_IO_do_flush): Remove use of INTUSE.
19317 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19318 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19319 (_IO_adjust_column, _IO_least_wmarker)
19320 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19321 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19322 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19323 (_IO_default_doallocate, _IO_wdefault_doallocate)
19324 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19325 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19326 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19327 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19328 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19329 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19330 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19331 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19332 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19333 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19334 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19335 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19336 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19337 proto.
19338 (_IO_flush_all_internal, _IO_adjust_column_internal)
19339 (_IO_default_uflow_internal, _IO_default_finish_internal)
19340 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19341 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19342 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19343 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19344 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19345 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19346 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19347 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19348 (_IO_file_close_internal, _IO_file_close_it_internal)
19349 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19350 (_IO_file_init_internal, _IO_file_attach_internal)
19351 (_IO_file_fopen_internal, _IO_file_read_internal)
19352 (_IO_file_sync_internal, _IO_file_seek_internal)
19353 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19354 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19355 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19356 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19357 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19358 (_IO_list_all_internal, _IO_link_in_internal)
19359 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19360 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19361 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19362 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19363 (_IO_do_write_internal, _IO_padn_internal)
19364 (_IO_getline_info_internal, _IO_getline_internal)
19365 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19366 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19367 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19368 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19369 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19370 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19371 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19372 with libc_hidden_ver, remove use of INTUSE.
19373 * libio/genops.c: Likewise.
19374 * libio/freopen.c: Likewise.
19375 * libio/freopen64.c: Likewise.
19376 * libio/iofclose.c: Likewise.
19377 * libio/iofdopen.c: Likewise.
19378 * libio/iofflush.c: Likewise.
19379 * libio/iofflush_u.c: Likewise.
19380 * libio/iofgets.c: Likewise.
19381 * libio/iofgets_u.c: Likewise.
19382 * libio/iofopen.c: Likewise.
19383 * libio/iofopncook.c: Likewise.
19384 * libio/iofread.c: Likewise.
19385 * libio/iofread_u.c: Likewise.
19386 * libio/ioftell.c: Likewise.
19387 * libio/iofwrite.c: Likewise.
19388 * libio/iogetline.c: Likewise.
19389 * libio/iogets.c: Likewise.
19390 * libio/iogetwline.c: Likewise.
19391 * libio/iopadn.c: Likewise.
19392 * libio/iopopen.c: Likewise.
19393 * libio/ioseekoff.c: Likewise.
19394 * libio/ioseekpos.c: Likewise.
19395 * libio/iosetbuffer.c: Likewise.
19396 * libio/iosetvbuf.c: Likewise.
19397 * libio/ioungetc.c: Likewise.
19398 * libio/ioungetwc.c: Likewise.
19399 * libio/iovdprintf.c: Likewise.
19400 * libio/iovsprintf.c: Likewise.
19401 * libio/iovsscanf.c: Likewise.
19402 * libio/memstream.c: Likewise.
19403 * libio/obprintf.c: Likewise.
19404 * libio/oldfileops.c: Likewise.
19405 * libio/oldiofclose.c: Likewise.
19406 * libio/oldiofdopen.c: Likewise.
19407 * libio/oldiofopen.c: Likewise.
19408 * libio/oldiopopen.c: Likewise.
19409 * libio/oldstdfiles.c: Likewise.
19410 * libio/putc.c: Likewise.
19411 * libio/setbuf.c: Likewise.
19412 * libio/setlinebuf.c: Likewise.
19413 * libio/stdfiles.c: Likewise.
19414 * libio/strops.c: Likewise.
19415 * libio/vasprintf.c: Likewise.
19416 * libio/vscanf.c: Likewise.
19417 * libio/vsnprintf.c: Likewise.
19418 * libio/vswprintf.c: Likewise.
19419 * libio/wfiledoalloc.c: Likewise.
19420 * libio/wfileops.c: Likewise.
19421 * libio/wgenops.c: Likewise.
19422 * libio/wmemstream.c: Likewise.
19423 * libio/wstrops.c: Likewise.
19424 * libio/__fpurge.c: Likewise.
19425 * libio/__fsetlocking.c: Likewise.
19426 * assert/assert.c: Likewise.
19427 * debug/fgets_chk.c: Likewise.
19428 * debug/fgets_u_chk.c: Likewise.
19429 * debug/fread_chk.c: Likewise.
19430 * debug/fread_u_chk.c: Likewise.
19431 * debug/gets_chk.c: Likewise.
19432 * debug/obprintf_chk.c: Likewise.
19433 * debug/vasprintf_chk.c: Likewise.
19434 * debug/vdprintf_chk.c: Likewise.
19435 * debug/vsnprintf_chk.c: Likewise.
19436 * debug/vsprintf_chk.c: Likewise.
19437 * malloc/mtrace.c: Likewise.
19438 * misc/error.c: Likewise.
19439 * misc/syslog.c: Likewise.
19440 * stdio-common/asprintf.c: Likewise.
19441 * stdio-common/fxprintf.c: Likewise.
19442 * stdio-common/getw.c: Likewise.
19443 * stdio-common/isoc99_fscanf.c: Likewise.
19444 * stdio-common/isoc99_scanf.c: Likewise.
19445 * stdio-common/isoc99_vfscanf.c: Likewise.
19446 * stdio-common/isoc99_vscanf.c: Likewise.
19447 * stdio-common/isoc99_vsscanf.c: Likewise.
19448 * stdio-common/printf-prs.c: Likewise.
19449 * stdio-common/printf_fp.c: Likewise.
19450 * stdio-common/printf_fphex.c: Likewise.
19451 * stdio-common/printf_size.c: Likewise.
19452 * stdio-common/putw.c: Likewise.
19453 * stdio-common/scanf.c: Likewise.
19454 * stdio-common/sprintf.c: Likewise.
19455 * stdio-common/tmpfile.c: Likewise.
19456 * stdio-common/vfprintf.c: Likewise.
19457 * stdio-common/vfscanf.c: Likewise.
19458 * stdlib/strfmon_l.c: Likewise.
19459 * sunrpc/openchild.c: Likewise.
19460 * sunrpc/xdr_stdio.c: Likewise.
19461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19462 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19463
19464 2012-05-24 Roland McGrath <roland@hack.frob.com>
19465
19466 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19467
19468 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19469 in the third column, to generate for the shared library an IFUNC
19470 that uses _dl_vdso_vsym.
19471 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19472 * Makeconfig (object-suffixes-noshared): New variable.
19473
19474 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19475 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19476 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19477 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19478
19479 [BZ #14132]
19480 * include/sys/time.h (__gettimeofday): Remove macro.
19481 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19482 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19483 Remove INTDEF.
19484 (__gettimeofday): Add libc_hidden_def.
19485 (gettimeofday): Add libc_hidden_weak.
19486 * sysdeps/mach/gettimeofday.c: Likewise.
19487 * sysdeps/posix/gettimeofday.c: Likewise.
19488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19489 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19491 (__gettimeofday_internal): Remove strong_alias.
19492 (__gettimeofday): Add libc_hidden_def.
19493 (gettimeofday): Add libc_hidden_weak.
19494 * sysdeps/unix/syscalls.list (gettimeofday):
19495 Remove __gettimeofday_internal alias.
19496
19497 2012-05-24 Daniel Jacobowitz <drow@false.org>
19498 H.J. Lu <hongjiu.lu@intel.com>
19499
19500 [BZ #12495]
19501 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19502 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19503 (largebin_index_32_big): New.
19504 (largebin_index): Use it for 16-byte alignment.
19505 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19506 correction with front_misalign.
19507
19508 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19509
19510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19512 Likewise.
19513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19514 Likewise.
19515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19516 Likewise.
19517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19518 Likewise.
19519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19520 Likewise.
19521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19522 Likewise.
19523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19524 Likewise.
19525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19526 Likewise.
19527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19528 Likewise.
19529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19530 Likewise.
19531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19532 Likewise.
19533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19534 Likewise.
19535
19536 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19537 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19538
19539 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19540
19541 [BZ #10846]
19542 [BZ #14036]
19543 * math/libm-test.inc (exp_test): Add test from bug 14036.
19544 (pow_test): Add test from bug 10846.
19545
19546 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19547 and other flags.
19548 (special_function): Do not include flags in test name.
19549 (parse_args): Likewise.
19550 * sysdeps/i386/fpu/libm-test-ulps: Update.
19551 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19552 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19553 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19555
19556 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19557 exceptions.
19558 * math/libm-test.inc ("Philosophy"): Update comment about
19559 exception testing.
19560 (UNDERFLOW_EXCEPTION): New macro.
19561 (UNDERFLOW_EXCEPTION_OK): Likewise.
19562 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19563 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19564 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19565 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19566 (INVALID_EXCEPTION_OK): Update value.
19567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19568 (OVERFLOW_EXCEPTION_OK): Likewise.
19569 (IGNORE_ZERO_INF_SIGN): Likewise.
19570 (test_exceptions): Handle underflow exceptions.
19571 (acos_test): Update for underflow exception expectations.
19572 (cexp_test): Likewise.
19573 (clog_test): Likewise.
19574 (clog10_test): Likewise.
19575 (csqrt_test): Likewise.
19576 (ctan_test): Likewise.
19577 (ctanh_test): Likewise.
19578 (exp_test): Likewise.
19579 (exp10_test): Likewise.
19580 (exp2_test): Likewise.
19581 (expm1_test): Likewise.
19582 (fma_test): Likewise.
19583 (j0_test): Likewise.
19584 (jn_test): Likewise.
19585 (nexttoward_test): Likewise.
19586 (pow_test): Likewise.
19587 (scalbn_test): Likewise.
19588 (scalbln_test): Likewise.
19589 (tan_test): Likewise.
19590 (y1_test): Likewise.
19591 * sysdeps/i386/fpu/libm-test-ulps: Update.
19592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19593
19594 2012-05-23 David S. Miller <davem@davemloft.net>
19595
19596 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19597 (__libc_sigaction): Remove unused local variables.
19598
19599 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19600
19601 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19602
19603 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19604
19605 mktime: avoid signed integer overflow
19606 * time/mktime.c (__mktime_internal): Do not mishandle the case
19607 where diff == INT_MIN.
19608
19609 mktime: simplify computation of average
19610 * time/mktime.c (ranged_convert): Use new time_t_avg function
19611 instead of rolling our own (probably-slower) code.
19612
19613 mktime: do not assume signed right shift propagates sign bit
19614 * time/mktime.c (isdst_differ): New static function.
19615 (__mktime_internal): No need to normalize tm_isdst now.
19616 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19617 tm_isdst values.
19618
19619 mktime: merge another wrapv change from gnulib
19620 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19621 from some compilers.
19622
19623 mktime: remove incorrect attempt at unusual arithmetics
19624 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19625 The code didn't really work on such machines anyway.
19626 (TYPE_MINIMUM): Assume two's complement.
19627 (twos_complement_arithmetic): Verify that long_int and time_t
19628 are two's complement (or unsigned, in the latter case).
19629
19630 mktime: check signed shifts on long_int and time_t, too
19631 * time/mktime.c (SHR): Check that shifts work as desired
19632 on the types long_int and time_t too, as SHR is used on
19633 such types.
19634
19635 mktime: do not assume 'long' is wide enough
19636 * time/mktime.c (verify): Move decl up.
19637 (long_int): New type.
19638 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19639 to remove assumption in the code that 'long' is wide enough to
19640 store year values. This assumption is not true on x32 and on
19641 some non-glibc platforms.
19642
19643 mktime: merge wrapv change from gnulib
19644 * time/mktime.c (WRAPV): New macro.
19645 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19646 (guess_time_tm, __mktime_internal): Do not assume that signed
19647 integer overflow wraps around; modern compilers generate code
19648 where this assumption is no longer valid.
19649
19650 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19651
19652 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19653 Replace "jmp L(pseudo_end)" with "ret".
19654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19655 Likewise.
19656
19657 2012-05-23 Andreas Jaeger <aj@suse.de>
19658
19659 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19660 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19661
19662 2012-05-23 Andreas Jaeger <aj@suse.de>
19663 Maximilian Attems <max@stro.at>
19664
19665 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19666 New macros.
19667
19668 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19669
19670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19671 code so that pseudo_end is just ret and the stack pointer is
19672 correct also for static library in error case.
19673
19674 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19675
19676 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19677 move to syscalls.list.
19678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19682
19683 * manual/install.texi (Running make install): Do not mention Linux
19684 kernel version for which pt_chown is not needed.
19685 (Linux): Do not mention problems with nscd with 2.0 kernels.
19686 * INSTALL: Regenerated.
19687
19688 2012-05-23 Andreas Jaeger <aj@suse.de>
19689
19690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19691 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19692 macro.
19693 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19695 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19697 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19701 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19703 * sysdeps/unix/sysv/linux/bits/in.h
19704 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19705
19706 2012-05-22 Roland McGrath <roland@hack.frob.com>
19707
19708 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19709 (PREPARE_VERSION): Just use assert instead, it will be elided
19710 under [NDEBUG] anyway.
19711
19712 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19713
19714 * sysdeps/unix/sysv/linux/Makefile: Include
19715 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19716 (sysdep_routines): Remove sysctl.
19717 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19718 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19719 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19720 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19721 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19722
19723 2012-05-22 Andreas Jaeger <aj@suse.de>
19724
19725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19726 that pseudo_end is just ret and the stack pointer is correct also
19727 for static library in error case.
19728
19729 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19730
19731 [BZ #14122]
19732 * nss/nsswitch.c (defconfig_entries): New variable.
19733 (__nss_database_lookup): Don't leak defconfig entries.
19734 (nss_parse_service_list): Don't leak on error paths.
19735 (free_database_entries): New function.
19736 (free_defconfig): New function.
19737 (free_mem): Move common code to free_database_entries.
19738
19739 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19740
19741 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19742 Add arch_prctl.
19743 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19744
19745 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19746 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19748 New macro.
19749 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19750 (INTERNAL_SYSCALL_TYPES): Likewise.
19751 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19752 (LOAD_REGS_TYPES_[1-6]): Likewise.
19753 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19754 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19755
19756 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19757
19758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19759 copysignl for GLIBC_2_0.
19760 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19761 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19763 logbl for GLIBC_2_0.
19764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19765 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19766
19767 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19768
19769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19770 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19771
19772 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19773 Use "neg %eax".
19774
19775 * time/mktime.c: Update copyright years.
19776
19777 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19778
19779 mktime: merge comment-quoting-style change from gnulib
19780 * time/mktime.c: Quote 'like this' in comments.
19781 The GNU coding standards suggest that we no longer quote `like this',
19782 as "`" and "'" are typically rendered asymmetrically nowadays.
19783 The typical gnulib style is to quote 'like this' when quoting
19784 code, and "like this" when quoting English.
19785
19786 * time/mktime.c (compile-command): Add "-I.".
19787
19788 mktime: merge mktime-internal.h change from gnulib
19789 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19790
19791 mktime: merge time_r change from gnulib
19792 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19793
19794 mktime: merge DEBUG change from gnulib
19795 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19796 case system <time.h> has a #define.
19797
19798 mktime: merge <sys/types.h> change from gnulib
19799 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19800 since <time.t> is now guaranteed to define time_t.
19801
19802 mktime: merge HAVE_CONFIG_H change from gnulib
19803 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19804
19805 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19806
19807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19808 Use "neg %eax".
19809
19810 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19811 __rlim_t cast.
19812 (struct rusage): Use anonymous union to pad each field to
19813 __syscall_slong_t.
19814
19815 2012-05-21 David S. Miller <davem@davemloft.net>
19816
19817 * Makefules (o-iterator): Remove .s cases.
19818 (compile-command.s): Delete.
19819 (COMPILE.s): Delete.
19820 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19821
19822 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19823
19824 * configure.in (libc_cv_predef_stack_protector): Only consider
19825 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19826 * configure: Regenerated.
19827
19828 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19829
19830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19831 New macro. Use R*LP on int and pointer.
19832 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19833 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19834 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19835 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19836
19837 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19838 [__WORDSIZE_TIME64_COMPAT32] instead of
19839 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19840 (struct utmp): Likewise.
19841 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19842 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19843 Renamed to ...
19844 (__WORDSIZE_TIME64_COMPAT32): This.
19845 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19846 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19847 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19848 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19850 (__WORDSIZE_TIME64_COMPAT32): New macro.
19851
19852 2012-05-21 Andreas Jaeger <aj@suse.de>
19853
19854 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19855 only if [SHARED]. Add prototype for __wcschr_ia32.
19856
19857 2012-05-21 Roland McGrath <roland@hack.frob.com>
19858
19859 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19860 of %rbp unmolested in the jmp_buf while mangling the low bits.
19861 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19862 unmolested high bits of %rbp while demangling the low bits.
19863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19864
19865 2012-05-21 Andreas Jaeger <aj@suse.de>
19866
19867 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19868 * sunrpc/svc_simple.c: Use it for registerrpc.
19869 * sunrpc/xcrypt.c: Use it for passwd2des.
19870
19871 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19872
19873 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19874
19875 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19876 Don't define if [__SYSCALL_WORDSIZE != 32].
19877 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19878 New macro.
19879
19880 2012-05-21 Bruno Haible <bruno@clisp.org>
19881 Andreas Jaeger <aj@suse.de>
19882
19883 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19884 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19885 inptr and inend for must_buffer_ch.
19886 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19887 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19888 * stdio-common/Makefile (tests): Remove bug15.
19889 (bug15-ENV): Remove macro.
19890 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19891 anymore.
19892
19893 2012-05-19 Andreas Jaeger <aj@suse.de>
19894 Roland McGrath <roland@hack.frob.com>
19895
19896 * manual/contrib.texi: Completely rewritten. It contains now an
19897 alphabetical list of contributors and their contributions.
19898
19899 2012-05-21 Richard Henderson <rth@twiddle.net>
19900
19901 * misc/getauxval.c (__getauxval): Use unsigned long int.
19902 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19903 (getauxval): Use unsigned long int.
19904
19905 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19906
19907 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19908
19909 2012-05-21 Roland McGrath <roland@hack.frob.com>
19910
19911 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19912 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19913 __alignof__ (long double).
19914
19915 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19916
19917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19918
19919 2012-05-20 Richard Henderson <rth@twiddle.net>
19920
19921 * misc/getauxval.c: New file.
19922 * misc/sys/auxv.h: New file.
19923 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19924 (routines): Add getauxval.
19925 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19926 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19927 * elf/dl-sysdep.c (_dl_auxv): Remove.
19928 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19929 * elf/dl-support.c (_dl_auxv): New variable.
19930 (_dl_aux_init): Initialize it.
19931 * manual/startup.texi (Auxiliary Vector): New node.
19932 * sysdeps/generic/bits/hwcap.h: New file.
19933 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19934 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19935 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19936 * sysdeps/sparc/sysdep.h: ... here. Include it.
19937 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19938 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19940 Update.
19941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19949
19950 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19951
19952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19953
19954 2012-05-19 David S. Miller <davem@davemloft.net>
19955
19956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19957
19958 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19959
19960 [BZ #14123]
19961 * math/s_ccosh.c: Include <float.h>
19962 (__ccosh): Avoid internal overflow calculating sinh and cosh
19963 values before multiplying by sin and cos values.
19964 * math/s_ccoshf.c: Likewise.
19965 * math/s_ccoshl.c: Likewise.
19966 * math/s_csin.c: Likewise.
19967 * math/s_csinf.c: Likewise.
19968 * math/s_csinl.c: Likewise.
19969 * math/s_csinh.c: Likewise.
19970 * math/s_csinhf.c: Likewise.
19971 * math/s_csinhl.c: Likewise.
19972 * math/libm-test.inc (ccos_test): Add more tests.
19973 (ccosh_test): Likewise.
19974 (csin_test): Likewise.
19975 (csinh_test): Likewise.
19976 * sysdeps/i386/fpu/libm-test-ulps: Update.
19977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19978
19979 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19980
19981 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19982 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19983
19984 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19985
19986 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19987
19988 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19989 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19990 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19991 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19992 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19993 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19994 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19995 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19996 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19997 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19998 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19999 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20000 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20001 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20002 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20003 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20004 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20005 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20006 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20007 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20008 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20009 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20010 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20011 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20012 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20013 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20014 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20015 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20016 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20017 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20018 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20019
20020 2012-05-18 Andreas Jaeger <aj@suse.de>
20021
20022 * csu/.gitignore: Delete.
20023
20024 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20025
20026 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20027 (timex): Use __syscall_slong_t.
20028
20029 2012-05-18 Andreas Jaeger <aj@suse.de>
20030 Carlos O'Donell <carlos_odonell@mentor.com>
20031
20032 * manual/install.texi (Configuring and compiling): Update
20033 description about files modified in the source directory.
20034 * INSTALL: Regenerated.
20035
20036 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20037
20038 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20039 value. Use "or" to set return value to -1.
20040 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20041 negate return value.
20042
20043 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20044
20045 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20046 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20047 failure if the compiler has Graphite support disabled.
20048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20049 Likewise.
20050 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20051 CFLAGS-memmove.c): Likewise.
20052 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20053 Likewise.
20054
20055 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20056
20057 * sysdeps/x86_64/x32/_itoa.h: New file.
20058
20059 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20060 getdents system call only if kernel and user dirents have the
20061 same d_ino and d_off.
20062
20063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20064 LLONG_MAX != LONG_MAX.
20065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20066 (_fitoa_word): Likewise.
20067
20068 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20069 years.
20070 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20071 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20072 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20073
20074 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20075 include <bits/wordsize.h>. Check __x86_64__ instead of
20076 __WORDSIZE.
20077 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20078 if __x86_64__ is defined. Use anonymous union on fpstate.
20079
20080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20081 anonymous union.
20082
20083 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20084
20085 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20086 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20087 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20088 Refer to _rtld_local_ro instead of _rtld_global_ro.
20089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20090 Likewise.
20091 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20092 Likewise.
20093 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20094 Likewise.
20095 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20096 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20097 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20098
20099 * sysdeps/powerpc/powerpc32/dl-machine.c
20100 (__elf_machine_runtime_setup) [PROF]: Don't reference
20101 _dl_prof_resolve.
20102
20103 2012-05-18 Andreas Jaeger <aj@suse.de>
20104
20105 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20106 function only available for GCCs before 3.4 since GCC 3.4
20107 introduced a builtin.
20108 (lrint): Likewise.
20109 (llrintf): Likewise.
20110 (llrint): Likewise.
20111 (fmaxf): Likewise.
20112 (fmax): Likewise.
20113 (fminf): Likewise.
20114 (fmin): Likewise.
20115 (rint): Likewise.
20116 (rintf): Likewise.
20117 (nearbyint): Likewise.
20118 (nearbyintf): Likewise.
20119 (ceil): Likewise.
20120 (ceilf): Likewise.
20121 (floor): Likewise.
20122 (floorf): Likewise.
20123
20124 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20125
20126 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20127 on both fields and cast pointer to __syscall_ulong_t.
20128
20129 * bits/types.h (__fsword_t): New type.
20130 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20131 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20133 (__FSWORD_T_TYPE): Likewise.
20134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20135 (__FSWORD_T_TYPE): Likewise.
20136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20137 (__FSWORD_T_TYPE): Likewise.
20138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20139 (__FSWORD_T_TYPE): Likewise.
20140 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20141 __SWORD_TYPE with __fsword_t.
20142 (statfs64): Likewise.
20143
20144 2012-05-17 David S. Miller <davem@davemloft.net>
20145
20146 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20147
20148 2012-05-17 Andreas Jaeger <aj@suse.de>
20149
20150 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20151 warning.
20152
20153 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20154
20155 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20156
20157 2012-05-17 Andreas Jaeger <aj@suse.de>
20158
20159 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20160 when it is used.
20161
20162 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20163
20164 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20165
20166 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20167
20168 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20169 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20170
20171 2012-05-17 Andreas Jaeger <aj@suse.de>
20172 Carlos O'Donell <carlos_odonell@mentor.com>
20173
20174 [BZ #14059]
20175 * sysdeps/x86_64/multiarch/init-arch.h
20176 (bit_YMM_Usable): Rename to...
20177 (bit_AVX_Usable): ... this.
20178 (bit_FMA4_Usable): New macro.
20179 (bit_XMM_state): New macro.
20180 (bit_YMM_state): New macro.
20181 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20182 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20183 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20184 (CPUID_OSXSAVE): New macro.
20185 (CPUID_AVX): New macro.
20186 (CPUID_FMA4): New macro.
20187 (index_YMM_Usable): Rename to...
20188 (index_AVX_Usable): ... this.
20189 (HAS_AVX): Use HAS_ARCH_FEATURE.
20190 (HAS_FMA4): Likewise.
20191 (HAS_YMM_USABLE): Remove.
20192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20193 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20194 are present.
20195 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20196 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20197 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20198 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20199 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20200
20201 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20202
20203 * math/libm-test.c: Support platforms without multiple rounding modes.
20204 * math/bug-nextafter.c: Support platforms without FP exceptions.
20205 * math/bug-nexttoward.c: Likewise.
20206 * math/test-fenv.c: Likewise.
20207 * math/test-misc.c: Likewise.
20208 * stdlib/bug-getcontext.c: Likewise.
20209
20210 2012-05-17 Andreas Jaeger <aj@suse.de>
20211
20212 * manual/examples/search.c (critter_cmp): Change signature to
20213 avoid warnings.
20214 * manual/string.texi (Collation Functions): Likewise.
20215
20216 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20217
20218 * bits/types.h: Fold copyright years.
20219 * bits/typesizes.h: Likewise.
20220 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20224 * time/time.h: Likewise.
20225
20226 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20227
20228 [BZ #208]
20229 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20230 in instead of returning them. Return void.
20231 (__libc_mallinfo): Accumulate over all arenas.
20232 (__malloc_stats): Adjust for change in int_mallinfo interface.
20233
20234 2012-05-16 Roland McGrath <roland@hack.frob.com>
20235
20236 [BZ #10375]
20237 * configure.in (NM): Add AC_CHECK_TOOL for it.
20238 (libc_extra_cflags): New substituted variable.
20239 Check for -fstack-protector being used implicitly.
20240 * configure: Regenerated.
20241 * config.make.in (config-extra-cflags): New variable,
20242 gets @libc_extra_cflags@.
20243 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20244
20245 [BZ #10375]
20246 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20247 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20248 * configure: Regenerated.
20249 * config.make.in (CPPUNDEFS): New substituted variable.
20250 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20251 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20252 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20253
20254 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20255
20256 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20257 (mq_attr): Use __syscall_slong_t.
20258
20259 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20260
20261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20262 Check __x86_64__ instead of __WORDSIZE.
20263 (_STAT_VER_LINUX): Likewise.
20264 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20265 __syscall_ulong_t and __syscall_slong_t.
20266 (stat64): Likewise.
20267
20268 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20269
20270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20271
20272 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20273
20274 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20275
20276 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20277
20278 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20279 __syscall_ulong_t.
20280
20281 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20282 include <bits/wordsize.h>. Check __x86_64__ instead of
20283 __WORDSIZE.
20284 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20285 defined.
20286 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20287
20288 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20289 include <bits/wordsize.h>. Check __x86_64__ instead of
20290 __WORDSIZE.
20291 (user_regs_struct): Use "__extension__ unsigned long long"
20292 instead of "unsigned long" if __x86_64__ is defined.
20293 (user): Likewise. Pad after pointer field if __ILP32__ is
20294 defined.
20295
20296 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20297
20298 * configure.in (makeinfo): Require version 4.5 or later. Allow
20299 versions 5 to 9.
20300 * configure: Regenerated.
20301 * manual/install.texi (texinfo): Increase version requirement to
20302 4.5 or later.
20303 * INSTALL: Regenerated.
20304
20305 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20306
20307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20308
20309 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20310
20311 * sysdeps/x86_64/x32/ffs.c: New file.
20312
20313 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20314 __syscall_ulong_t.
20315 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20316 defined. Use __syscall_ulong_t.
20317 (shminfo): Use __syscall_ulong_t.
20318 (shm_info): Likewise.
20319
20320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20321 __syscall_ulong_t.
20322
20323 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20324 <bits/wordsize.h>.
20325 (msgqnum_t): Use __syscall_ulong_t.
20326 (msglen_t): Likewise.
20327 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20328 __syscall_ulong_t.
20329
20330 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20331 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20332
20333 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20334
20335 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20336 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20337
20338 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20339 __syscall_slong_t.
20340
20341 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20342 include <bits/wordsize.h>. Check __x86_64__ instead of
20343 __WORDSIZE.
20344
20345 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20346 "unsigned long long int" if __x86_64__ is defined.
20347 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20348
20349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20350 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20351 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20352
20353 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20354 <stdint.h>.
20355 (GET_PC): Cast to uintptr_t first.
20356 (GET_FRAME): Likewise.
20357 (GET_STACK): Likewise.
20358
20359 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20361 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20363 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20365 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20366 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20367 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20368 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20370 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20372 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20374 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20376 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20378 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20380 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20382 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20384 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20386 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20388
20389 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20390
20391 * Makerules (+depfiles): Also collect depfiles from .oS in
20392 $(extra-objs).
20393 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20394 .oS, $(libnldbl-routines)).
20395
20396 * Makerules (native-compile-mkdep-flags): Define.
20397 * sunrpc/Makefile (extra-objs): Add $(addprefix
20398 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20399 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20400 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20401 calling $(make-target-directory).
20402
20403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20404
20405 * bits/types.h (__snseconds_t): Removed.
20406 * time/time.h (struct timespec): Replace __snseconds_t with
20407 __syscall_slong_t.
20408 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20409 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20410 Likewise.
20411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20412 (__SNSECONDS_T_TYPE): Likewise.
20413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20414 (__SNSECONDS_T_TYPE): Likewise.
20415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20416 (__SNSECONDS_T_TYPE): Likewise.
20417
20418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20419
20420 * sysdeps/mach/hurd/bits/typesizes.h
20421 (__SYSCALL_SLONG_TYPE): New macro.
20422 (__SYSCALL_ULONG_TYPE): Likewise.
20423
20424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20425
20426 * bits/types.h (__syscall_slong_t): New type.
20427 (__syscall_ulong_t): Likewise.
20428
20429 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20430 (__SYSCALL_ULONG_TYPE): Likewise.
20431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20432 (__SYSCALL_SLONG_TYPE): Likewise.
20433 (__SYSCALL_ULONG_TYPE): Likewise.
20434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20435 (__SYSCALL_SLONG_TYPE): Likewise.
20436 (__SYSCALL_ULONG_TYPE): Likewise.
20437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20438 (__SYSCALL_SLONG_TYPE): Likewise.
20439 (__SYSCALL_ULONG_TYPE): Likewise.
20440
20441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20442
20443 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20444 Add sigaltstack-offsets.sym.
20445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20446 <sigaltstack-offsets.h>.
20447 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20448 longjmp_msg pointer.
20449 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20450 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20451 signal stack.
20452 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20453
20454 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20455
20456 * elf/stackguard-macros.h: Remove file.
20457 * sysdeps/generic/stackguard-macros.h: New file.
20458 * sysdeps/i386/stackguard-macros.h: Likewise.
20459 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20460 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20461 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20462 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20463 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20464 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20465 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20466 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20467 <elf/stackguard-macros.h>.
20468
20469 [BZ #14109]
20470 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20471 __aligned__ in attribute.
20472 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20473 (gregset_t): Likewise.
20474
20475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20476
20477 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20478 * sysdeps/x86_64/64/Implies-after: Here. New file.
20479 * sysdeps/x86_64/x32/Implies-after: New file.
20480
20481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20482
20483 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20484 and access return value for _dl_profile_fixup. Use R10_LP to
20485 load frame size.
20486
20487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20488
20489 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20490
20491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20492
20493 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20494 * sysdeps/x86_64/x32/sysdep.h: New file.
20495
20496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20497
20498 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20499 * sysdeps/x86_64/setjmp.S: Likewise.
20500
20501 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20502
20503 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20505 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20507 remove unused global constant.
20508
20509 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20510
20511 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20512 include of <not-cancel.h>.
20513
20514 2012-05-15 Roland McGrath <roland@hack.frob.com>
20515
20516 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20517
20518 2012-05-15 Jeff Law <law@redhat.com>
20519 Andreas Jaeger <aj@suse.de>
20520
20521 [BZ #13594]
20522 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20523 out from...
20524 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20525 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20526 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20527 code changing __hst_map_handle.map.
20528
20529 2012-05-15 Roland McGrath <roland@hack.frob.com>
20530
20531 * configure.in (sysnames): Look for Implies-before and Implies-after
20532 files.
20533 * configure: Regenerated.
20534
20535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20536
20537 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20538 8-byte data alignment with LP_SIZE alignment.
20539
20540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20541
20542 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20543 into R10_LP.
20544
20545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20546
20547 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20548
20549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20550
20551 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20552 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20554 Likewise.
20555 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20556
20557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20558
20559 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20560 (stackinfo_sub_sp): Likewise.
20561
20562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20563
20564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20565 RAX_LP.
20566
20567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20568
20569 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20570 into R*_LP.
20571
20572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20573
20574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20575 sizes into R*_LP.
20576
20577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20578
20579 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20580
20581 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20582
20583 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20584 into R11_LP and load __x86_64_shared_cache_size_half into
20585 R8_LP.
20586
20587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20588
20589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20590 R8_LP.
20591
20592 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20593
20594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20595 logb for POWER7.
20596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20597 logbf for POWER7.
20598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20599 logbl for POWER7.
20600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20601 powerpc32/power7/fpu/s_logb.c via #include.
20602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20603 powerpc32/power7/fpu/s_logbf.c via #include.
20604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20605 powerpc32/power7/fpu/s_logbl.c via #include.
20606
20607 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20608
20609 * README.libm: Remove file.
20610
20611 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20612
20613 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20614 count for x32. Use R*_LP and omit operand-size suffix.
20615
20616 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20617
20618 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20619 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20620 * sysdeps/x86_64/x32/shlib-versions: New file.
20621
20622 2012-05-14 Roland McGrath <roland@hack.frob.com>
20623
20624 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20625 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20626 Use _dl_fatal_printf instead.
20627
20628 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20629
20630 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20631 set if not set by the user. Do not allow for being unset.
20632 * sysdeps/unix/sysv/linux/configure: Regenerated.
20633
20634 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20635
20636 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20637 the `q' suffix from lea and replace .quad with ASM_ADDR.
20638
20639 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20640
20641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20642 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20643 instead of $17.
20644 (PTR_DEMANGLE): Likewise.
20645
20646 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20647
20648 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20649 (LP_OP): Likewise.
20650 (ASM_ADDR): Likewise.
20651 (RAX_LP): Likewise.
20652 (RBP_LP): Likewise.
20653 (RBX_LP): Likewise.
20654 (RCX_LP): Likewise.
20655 (RDI_LP): Likewise.
20656 (RSI_LP): Likewise.
20657 (RSP_LP): Likewise.
20658 (R8_LP): Likewise.
20659 (R9_LP): Likewise.
20660 (R10_LP): Likewise.
20661 (R10_LP): Likewise.
20662 (R11_LP): Likewise.
20663 (R12_LP): Likewise.
20664 (R13_LP): Likewise.
20665 (R14_LP): Likewise.
20666 (R15_LP): Likewise.
20667
20668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20669
20670 * sysdeps/x86_64/x32/dl-machine.h: New file.
20671
20672 2012-05-14 Andreas Jaeger <aj@suse.de>
20673
20674 * manual/Makefile (subdir): Remove export of subdir.
20675 (all): Remove target.
20676 (.PHONY): Remove all from list.
20677 (mkinstalldirs): Remove.
20678 (.PHONY): Remove installdirs from list.
20679 ($(inst_infodir)/libc.info): Use make-target-directory.
20680 (installdirs): Remove.
20681 (subdir_%): Remove.
20682 (glibc-targets): Remove.
20683 (lib): Remove.
20684 (stubs): Remove.
20685 ($(objpfx)stubs ../po/manual.pot): Remove.
20686 ($(objpfx)stamp%): Remove.
20687 (make-target-directory): Remove.
20688 (subdir_install): Remove.
20689 (routines): Remove.
20690 (aux): Remove.
20691 (sources): Remove.
20692 (objects): Remove.
20693 (headers): Remove.
20694
20695 [BZ #13750]
20696 * manual/.gitignore: Remove, it's not needed anymore.
20697 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20698 all files in it.
20699 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20700 directory.
20701 (texis): Renamed to $(objpfx)texis.
20702 (texis-path): New, contains path to generated files.
20703 (chapters.%): Use texis-path for complete path, add extra argument
20704 libc-texinfo.sh.
20705 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20706 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20707 (summary,texi, stamp-summary): Use complete path of
20708 files. Generate files in build dir.
20709 (dir-add.texi): Build in build dir.
20710 (libm-err.texi,stamp-libm-err): Likewise.
20711 (version.texi, stamp-version): Likewise.
20712 (.%c.texi): Likewise.
20713 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20714 (mostlyclean): Remove target.
20715 (realclean): Remove target.
20716 (generated): Add new variable with contents from mostlyclean and
20717 realclean, remove entries duplicated in common-mostlyclean, add
20718 stamp-libm-err and stamp-version.
20719 (generated-dirs): Add libc directory.
20720 ($(inst_infodir)/libc.info): Install files from build dir.
20721
20722 * manual/install.texi (Configuring and compiling): Adjust since
20723 the info files are not part of the tar ball anymore.
20724
20725 2012-05-14 Andreas Jaeger <aj@suse.de>
20726
20727 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20728 variable.
20729
20730 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20731
20732 [BZ #13717]
20733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20734 to 2.2.0 where earlier.
20735 * sysdeps/unix/sysv/linux/configure: Regenerated.
20736 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20737 Remove conditional code.
20738 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20739 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20740 Remove conditional code.
20741 [!__NR_lchown]: Likewise.
20742 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20743 [__NR_lchown]: Likewise.
20744 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20745 comment referencing __ASSUME_LCHOWN_SYSCALL.
20746 * sysdeps/unix/sysv/linux/i386/sigaction.c
20747 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20748 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20749 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20750 Remove conditional code.
20751 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20752 (__protocol_available): Remove #if 0 code.
20753 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20754 conditional code.
20755 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20756 * sysdeps/unix/sysv/linux/kernel-features.h
20757 (__ASSUME_GETCWD_SYSCALL): Don't define.
20758 (__ASSUME_REALTIME_SIGNALS): Likewise.
20759 (__ASSUME_PREAD_SYSCALL): Likewise.
20760 (__ASSUME_PWRITE_SYSCALL): Likewise.
20761 (__ASSUME_POLL_SYSCALL): Likewise.
20762 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20763 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20764 non-SPARC.
20765 (__ASSUME_SIOCGIFNAME): Don't define.
20766 (__ASSUME_MSG_NOSIGNAL): Likewise.
20767 (__ASSUME_SENDFILE): Define unconditionally.
20768 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20769 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20770 conditional code.
20771 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20772 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20773 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20774 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20775 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20776 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20777 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20779 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20785 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20802 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20803 Remove conditional code.
20804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20805 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20806 Remove conditional code.
20807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20808 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20809 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20810 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20811 Remove conditional code.
20812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20813 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20814 Remove conditional code.
20815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20816 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20817 Remove conditional code.
20818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20819 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20820 Remove conditional code.
20821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20822 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20823 Remove conditional code.
20824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20825 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20828 * sysdeps/unix/sysv/linux/sigaction.c
20829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20831 * sysdeps/unix/sysv/linux/sigpending.c
20832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20834 * sysdeps/unix/sysv/linux/sigprocmask.c
20835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20837 * sysdeps/unix/sysv/linux/sigsuspend.c
20838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20840 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20841 (__libc_missing_rt_sigs): Remove.
20842 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20843 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20844 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20845 Remove conditional code.
20846 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20847 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20848 return 1.
20849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20850 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20851 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20852 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20853
20854 2012-05-14 Andreas Jaeger <aj@suse.de>
20855
20856 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20857 it's not used in glibc.
20858 (__coshm1): Likewise.
20859 (__acosh1p): Likewise.
20860 (__sgn): Likewise.
20861
20862 * manual/string.texi (Copying and Concatenation): Add missing
20863 variable in concat example.
20864 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20865
20866 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20867
20868 [BZ #14103]
20869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20870 __builtin_clzl with __builtin_clzll.
20871
20872 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20873
20874 [BZ #14104]
20875 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20876 libc_freeres_ptr.
20877
20878 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20879
20880 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20881 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20882 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20883 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20884
20885 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20886
20887 * NEWS: Update ia64 info.
20888
20889 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20890
20891 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20892 used as bcopy.
20893
20894 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20895
20896 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20897 * sysdeps/unix/syscalls.list (dup3): Likewise.
20898 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20899 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20900
20901 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20902
20903 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20904 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20905
20906 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20907
20908 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20909 thread pointer.
20910 (TLS_IE): Use mov/add instead of movq/addq to load thread
20911 pointer.
20912 (TLS_GD_PREFIX): New.
20913 (TLS_GD): Use it.
20914
20915 2012-05-11 David S. Miller <davem@davemloft.net>
20916
20917 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20918 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20919 (_FPU_SETCW): Likewise.
20920
20921 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20922
20923 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20924 is 32-byte aligned.
20925
20926 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20927
20928 [BZ #11837]
20929 * iconvdata/gb18030.c: Update tables.
20930 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20931 characters specially.
20932 (BODY for TO_LOOP): Add encoding of missing ranges.
20933
20934 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20935
20936 [BZ #13673]
20937 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20938 * sysdeps/mach/hurd/dup3.c: Likewise.
20939 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20940 * sysdeps/powerpc/memmove.c:: Likewise.
20941
20942 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20943
20944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20945 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20946
20947 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20948
20949 * elf/elf.h (R_X86_64_RELATIVE64): New.
20950 (R_X86_64_NUM): Updated.
20951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20952 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20953 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20954 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20955 tst-quad1pie tst-quad2pie
20956 (modules-names): Add tst-quadmod1 tst-quadmod2.
20957 ($(objpfx)tst-quad1): New dependency.
20958 ($(objpfx)tst-quad2): Likewise.
20959 ($(objpfx)tst-quad1pie): Likewise.
20960 ($(objpfx)tst-quad2pie): Likewise.
20961 * sysdeps/x86_64/tst-quad1.c: New file.
20962 * sysdeps/x86_64/tst-quad1pie.c: New file.
20963 * sysdeps/x86_64/tst-quad2.c: Likewise.
20964 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20965 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20966 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20967 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20968 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20969
20970 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20971
20972 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20973 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20974 * streams/stropts.h (t_scalar_t): Define type.
20975
20976 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20977 (_PATH_PRESERVE): Set to "/var/lib".
20978 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20979
20980 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20981 instead of int.
20982
20983 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20984 if __dir_mkfile succeeded.
20985
20986 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20987 checking for _hurd_dtablesize. Unlock it right after having
20988 finished _hurd_dtable allocation.
20989
20990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20991
20992 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20993 * sysdeps/mach/hurd/configure: Regenerated.
20994 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20995 special-casing to...
20996 * sysdeps/gnu/configure.in: ... this new file.
20997 * sysdeps/unix/sysv/linux/configure: Regenerated.
20998 * sysdeps/gnu/configure: New generated file.
20999
21000 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21001 for Linux: use nsec instead of usec, as well as:
21002 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21003 members of type struct timespec.
21004 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21005 New macros.
21006 (struct stat64): Likewise.
21007 (_STATBUF_ST_NSEC): New macro.
21008 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21009
21010 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21011 __strtoul_internal rather than strtoul.
21012
21013 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21014
21015 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21016 and reject them.
21017
21018 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21019
21020 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21021 which preserves existing values.
21022 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21023
21024 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21025
21026 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21027 TIMEOUT values. Return EINVAL for NFDS values either negative or
21028 greater than FD_SETSIZE.
21029
21030 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21031
21032 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21033 allocated, call __vm_protect to finish enabling the existing space, and
21034 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21035 allocate the remainder.
21036
21037 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21038
21039 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21040 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21041
21042 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21043
21044 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21045 sysdeps/mach/hurd/readlink.c.
21046
21047 * posix/tst-sysconf.c (posix_options): Only use
21048 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21049 _POSIX_SYNCHRONIZED_IO when they are defined
21050 * sysdeps/mach/hurd/bits/posix_opt.h:
21051 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21052 (_XOPEN_REALTIME): Undefine macro.
21053 (_XOPEN_REALTIME_THREADS): Undefine macro.
21054 (_XOPEN_SHM): Undefine macro.
21055 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21056 macro to -1.
21057 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21058 macro to -1.
21059 (_POSIX_ASYNC_IO): Undefine macro.
21060 (_POSIX_PRIORITIZED_IO): Undefine macro.
21061 (_POSIX_SPIN_LOCKS): Define macro to -1.
21062
21063 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21064 SA_NODEFER, SA_RESETHAND.
21065 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21066 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21067 F_DUPFD_CLOEXEC.
21068
21069 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21070
21071 * elf/Makefile (pldd-modules): Define unconditionally.
21072
21073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21074
21075 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21076
21077 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21078
21079 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21080 Return ENOENT when name is empty.
21081 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21082
21083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21084
21085 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21086
21087 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21088
21089 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21090
21091 Fix mlock in all cases except non-readable pages.
21092 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21093 instead of VM_PROT_ALL as parameter to __vm_wire function.
21094
21095 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21096 (__mkdir): When path is `/', just fail with EEXIST.
21097 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21098
21099 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21100
21101 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21102 <sys/uio.h> (for writev).
21103 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21104 and <sys/param.h> (for MIN).
21105
21106 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21107
21108 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21109 REQUESTED_TIME. Properly set the remaining time and return EINTR
21110 if interrupted.
21111
21112 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21113
21114 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21115 Depend on against $(link-rpcuserlibs).
21116
21117 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21118
21119 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21120 (__libc_stack_end): Do not use attribute_relro.
21121 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21122 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21123 to libthread-provided value.
21124 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21125 attribute_relro.
21126
21127 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21128
21129 [BZ #3748]
21130 * bits/libc-lock.h (__libc_once_get): New macro.
21131 * sysdeps/mach/bits/libc-lock.h: Likewise.
21132 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21134 instead of using implementation details.
21135
21136 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21137 * libio/freopen.c: Likewise.
21138 * libio/freopen64.c: Likewise.
21139 * misc/syslog.c: Likewise.
21140 * nscd/connections.c: Likewise.
21141 * nscd/netgroupcache.c: Likewise.
21142 * sysdeps/posix/getcwd.c: Likewise.
21143
21144 2012-05-10 Roland McGrath <roland@hack.frob.com>
21145
21146 * math/w_ilogbf.c: Add #include <limits.h>.
21147
21148 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21149
21150 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21151 path instead of returning without unlocking.
21152
21153 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21154 immediate-write ioctls.
21155 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21156
21157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21158
21159 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21160 __builtin_frame_address instead of making assumptions about the
21161 location of the return address relative to DATA. Force early load of
21162 the return address.
21163 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21164 __builtin_frame_address.
21165
21166 dup3 for GNU Hurd.
21167 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21168 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21169 implement dup3 and do some further code clean-ups.
21170 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21171 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21172
21173 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21174
21175 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21176
21177 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21178 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21179 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21180 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21181 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21182 d->port.lock.
21183
21184 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21185 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21186 when handler == SIG_ERR, not when handler != SIG_ERR.
21187
21188 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21189
21190 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21191 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21192 definitions.
21193
21194 accept4 for GNU Hurd.
21195 * include/sys/socket.h (__libc_accept4): New prototype.
21196 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21197 to implement __libc_accept4.
21198 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21199 __libc_accept4.
21200 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21201
21202 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21203 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21204 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21205 signal-defines.sym.
21206
21207 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21208
21209 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21210
21211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21212
21213 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21214 assertion on O_CLOEXEC flag.
21215 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21216 * hurd/intern-fd.c: Likewise.
21217 * hurd/port2fd.c: Likewise.
21218
21219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21220
21221 [BZ #3906]
21222 * bits/in.h (IPV6_PKTINFO): Define new macro.
21223 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21224
21225 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21226
21227 [BZ #13954]
21228 [BZ #13955]
21229 [BZ #13956]
21230 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21232 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21233 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21235 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21236 * math/libm-test.inc (logb_test) : Additional logb tests.
21237
21238 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21239 Andreas Jaeger <aj@suse.de>
21240
21241 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21242 * configure: Regenerated.
21243 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21244 * config.make.in (link-obsolete-rpc): New substituted variable.
21245 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21246 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21247 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21248 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21249 so that libc.a contains the symbols.
21250 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21251 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21252 * sunrpc/auth_none.c: Likewise.
21253 * sunrpc/auth_unix.c: Likewise.
21254 * sunrpc/authdes_prot.c: Likewise.
21255 * sunrpc/authuxprot.c: Likewise.
21256 * sunrpc/clnt_gen.c: Likewise.
21257 * sunrpc/clnt_perr.c: Likewise.
21258 * sunrpc/clnt_raw.c: Likewise.
21259 * sunrpc/clnt_simp.c: Likewise.
21260 * sunrpc/clnt_tcp.c: Likewise.
21261 * sunrpc/clnt_udp.c: Likewise.
21262 * sunrpc/clnt_unix.c: Likewise.
21263 * sunrpc/des_crypt.c: Likewise.
21264 * sunrpc/des_soft.c: Likewise.
21265 * sunrpc/get_myaddr.c: Likewise.
21266 * sunrpc/key_call.c: Likewise.
21267 * sunrpc/key_prot.c: Likewise.
21268 * sunrpc/netname.c: Likewise.
21269 * sunrpc/pm_getmaps.c: Likewise.
21270 * sunrpc/pm_getport.c: Likewise.
21271 * sunrpc/pmap_clnt.c: Likewise.
21272 * sunrpc/pmap_prot.c: Likewise.
21273 * sunrpc/pmap_prot2.c: Likewise.
21274 * sunrpc/pmap_rmt.c: Likewise.
21275 * sunrpc/publickey.c: Likewise.
21276 * sunrpc/rpc_cmsg.c: Likewise.
21277 * sunrpc/rpc_common.c: Likewise.
21278 * sunrpc/rpc_dtable.c: Likewise.
21279 * sunrpc/rpc_prot.c: Likewise.
21280 * sunrpc/rpc_thread.c: Likewise.
21281 * sunrpc/rtime.c: Likewise.
21282 * sunrpc/svc.c: Likewise.
21283 * sunrpc/svc_auth.c: Likewise.
21284 * sunrpc/svc_raw.c: Likewise.
21285 * sunrpc/svc_run.c: Likewise.
21286 * sunrpc/svc_tcp.c: Likewise.
21287 * sunrpc/svc_udp.c: Likewise.
21288 * sunrpc/svc_unix.c: Likewise.
21289 * sunrpc/svcauth_des.c: Likewise.
21290 * sunrpc/xcrypt.c: Likewise.
21291 * sunrpc/xdr.c: Likewise.
21292 * sunrpc/xdr_array.c: Likewise.
21293 * sunrpc/xdr_float.c: Likewise.
21294 * sunrpc/xdr_intXX_t.c: Likewise.
21295 * sunrpc/xdr_mem.c: Likewise.
21296 * sunrpc/xdr_rec.c: Likewise.
21297 * sunrpc/xdr_ref.c: Likewise.
21298 * sunrpc/xdr_sizeof.c: Likewise.
21299 * sunrpc/xdr_stdio.c: Likewise.
21300
21301 2012-05-10 Roland McGrath <roland@hack.frob.com>
21302
21303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21304 change. Update copyright years.
21305
21306 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21307
21308 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21309
21310 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21311 Joseph Myers <joseph@codesourcery.com>
21312 Paul Pluzhnikov <ppluzhnikov@google.com>
21313
21314 [BZ #14012]
21315 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21316 requiring rpcgen.
21317 [cross-compiling] (extra-libs): Likewise.
21318 [cross-compiling] (extra-libs-others): Likewise.
21319 [cross-compiling] (librpcsvc-routines): Likewise.
21320 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21321 [cross-compiling] (omit-deps): Likewise.
21322 (sunrpc-CPPFLAGS): New variable.
21323 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21324 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21325 (cross-rpcgen-objs): New variable.
21326 (extra-objs): Append $(cross-rpcgen-objs).
21327 ($(cross-rpcgen-objs)): New rule.
21328 ($(objpfx)cross-rpcgen): Likewise.
21329 (rpcgen-cmd): Define to use $(built-program-file). Expand
21330 comment.
21331 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21332 ($(objpfx)x%.stmp): Likewise.
21333 * sunrpc/proto.h [IS_IN_build] (_): Define.
21334 [IS_IN_build] (_libc_intl_domainname): Likewise.
21335
21336 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21337
21338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21339 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21340 and R_X86_64_TPOFF64.
21341
21342 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21343
21344 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21345 sysdeps/unix/sysv/syscalls.list.
21346 (stime): Likewise.
21347 (utime): Likewise.
21348 * sysdeps/unix/sysv/syscalls.list: Remove file.
21349
21350 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21351
21352 [BZ #3440]
21353 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21354 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21355 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21356 (__LC_IDENTIFICATION): Make these macros useful in #if
21357 expressions, as required by C99.
21358
21359 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21360
21361 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21362 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21363 after this.
21364
21365 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21366
21367 * stdlib/longlong.h: Updated from GCC.
21368
21369 2012-05-09 Andreas Jaeger <aj@suse.de>
21370
21371 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21372 default is first entry.
21373 (run_mode): Set type.
21374 (main): Remove informal message about syslog.
21375 (options): Fix typo.
21376
21377 [BZ #14053]
21378 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21379 to asm.
21380 (lrint): Likewise.
21381 (llrintf): Likewise.
21382 (llrint): Likewise.
21383 (rint): Likewise.
21384 (rintf): Likewise.
21385 (nearbyint): Likewise.
21386 (nearbyintf): Likewise.
21387
21388 2012-05-09 Andreas Jaeger <aj@suse.de>
21389 Pedro Alves <palves@redhat.com>
21390
21391 * nscd/nscd.c (run_mode): Use enum.
21392 (main): Cleanup coding style issue.
21393
21394 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21395 Andreas Jaeger <aj@suse.de>
21396
21397 * nscd/nscd.c (go_background): Replaced with...
21398 (run_mode): ... this.
21399 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21400 (options): Add -F --foreground.
21401 (main): Implement it.
21402 (parse_opt): Parse it.
21403
21404 2012-05-09 Andreas Jaeger <aj@suse.de>
21405
21406 [BZ #14083]
21407 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21408 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21409 -Wconversion warning.
21410 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21411 Likewise.
21412
21413 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21414
21415 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21416 == 0.
21417 (LC_ALL): Use macro-int-constant.
21418 (LC_COLLATE): Likewise.
21419 (LC_CTYPE): Likewise.
21420 (LC_MESSAGES): Likewise.
21421 (LC_MONETARY): Likewise.
21422 (LC_NUMERIC): Likewise.
21423 (LC_TIME): Likewise.
21424 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21425 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21427 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21428 Specify type.
21429 [C99-based standards] (float_t): Expect type.
21430 [C99-based standards] (double_t): Expect type.
21431 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21432 type.
21433 [C99-based standards] (HUGE_VALL): Likewise.
21434 [C99-based standards] (INFINITY): Likewise.
21435 [C99-based standards] (NAN): Likewise.
21436 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21437 [C99-based standards] (FP_NAN): Likewise.
21438 [C99-based standards] (FP_NORMAL): Likewise.
21439 [C99-based standards] (FP_SUBNORMAL): Likewise.
21440 [C99-based standards] (FP_ZERO): Likewise.
21441 [C99-based standards] (FP_FAST_FMA): Use
21442 optional-macro-int-constant. Specify type. Require == 1.
21443 [C99-based standards] (FP_FAST_FMAF): Likewise.
21444 [C99-based standards] (FP_FAST_FMAL): Likewise.
21445 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21446 [C99-based standards] (FP_ILOGBNAN): Likewise.
21447 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21448 Specify type.
21449 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21450 [C99-based standards] (math_errhandling): Specify type.
21451 [ISO99 || ISO11] (signgam): Do not allow.
21452 [non-C99-based standards] (copysignf): Do not allow.
21453 [non-C99-based standards] (exp2f): Likewise.
21454 [non-C99-based standards] (log2f): Likewise.
21455 [non-C99-based standards] (modff): Allow.
21456 [non-C99-based standards] (erff): Do not allow.
21457 [non-C99-based standards] (erfcf): Likewise.
21458 [non-C99-based standards] (gammaf): Likewise.
21459 [non-C99-based standards] (hypotf): Likewise.
21460 [non-C99-based standards] (j0f): Likewise.
21461 [non-C99-based standards] (j1f): Likewise.
21462 [non-C99-based standards] (jnf): Likewise.
21463 [non-C99-based standards] (lgammaf): Likewise.
21464 [non-C99-based standards] (tgammaf): Likewise.
21465 [non-C99-based standards] (y0f): Likewise.
21466 [non-C99-based standards] (y1f): Likewise.
21467 [non-C99-based standards] (ynf): Likewise.
21468 [non-C99-based standards] (isnanf): Likewise.
21469 [non-C99-based standards] (acoshf): Likewise.
21470 [non-C99-based standards] (asinhf): Likewise.
21471 [non-C99-based standards] (atanhf): Likewise.
21472 [non-C99-based standards] (cbrtf): Likewise.
21473 [non-C99-based standards] (expm1f): Likewise.
21474 [non-C99-based standards] (ilogbf): Likewise.
21475 [non-C99-based standards] (log1pf): Likewise.
21476 [non-C99-based standards] (logbf): Likewise.
21477 [non-C99-based standards] (nextafterf): Likewise.
21478 [non-C99-based standards] (remainderf): Likewise.
21479 [non-C99-based standards] (rintf): Likewise.
21480 [non-C99-based standards] (scalbf): Likewise.
21481 [non-C99-based standards] (copysignl): Likewise.
21482 [non-C99-based standards] (exp2l): Likewise.
21483 [non-C99-based standards] (log2l): Likewise.
21484 [non-C99-based standards] (modfl): Allow.
21485 [non-C99-based standards] (erfl): Do not allow.
21486 [non-C99-based standards] (erfcl): Likewise.
21487 [non-C99-based standards] (gammal): Likewise.
21488 [non-C99-based standards] (hypotl): Likewise.
21489 [non-C99-based standards] (j0l): Likewise.
21490 [non-C99-based standards] (j1l): Likewise.
21491 [non-C99-based standards] (jnl): Likewise.
21492 [non-C99-based standards] (lgammal): Likewise.
21493 [non-C99-based standards] (tgammal): Likewise.
21494 [non-C99-based standards] (y0l): Likewise.
21495 [non-C99-based standards] (y1l): Likewise.
21496 [non-C99-based standards] (ynl): Likewise.
21497 [non-C99-based standards] (isnanl): Likewise.
21498 [non-C99-based standards] (acoshl): Likewise.
21499 [non-C99-based standards] (asinhl): Likewise.
21500 [non-C99-based standards] (atanhl): Likewise.
21501 [non-C99-based standards] (cbrtl): Likewise.
21502 [non-C99-based standards] (expm1l): Likewise.
21503 [non-C99-based standards] (ilogbl): Likewise.
21504 [non-C99-based standards] (log1pl): Likewise.
21505 [non-C99-based standards] (logbl): Likewise.
21506 [non-C99-based standards] (nextafterl): Likewise.
21507 [non-C99-based standards] (remainderl): Likewise.
21508 [non-C99-based standards] (rintl): Likewise.
21509 [non-C99-based standards] (scalbl): Likewise.
21510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21511 [non-C99-based standards] (FP_*): Do not allow.
21512 [C99-based standards] (FP_*): Change to
21513 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21514 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21515 allow.
21516 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21517 (SIG_ERR): Likewise.
21518 [X/Open-based standards] (SIG_HOLD): Likewise.
21519 (SIG_IGN): Likewise.
21520 (SIGABRT): Use macro-int-constant. Specify type. Require
21521 positive value.
21522 (SIGFPE): Likewise.
21523 (SIGILL): Likewise.
21524 (SIGINT): Likewise.
21525 (SIGSEGV): Likewise.
21526 (SIGTER): Likewise.
21527 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21528 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21529 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21530 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21531 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21532 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21533 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21534 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21535 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21536 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21537 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21538 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21539 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21540 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21541 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21542 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21543 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21544 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21545 [X/Open-based standards] (SIGTRAP): Likewise.
21546 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21547 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21548 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21549 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21550 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21551 allow.
21552
21553 2012-05-08 Ian Wienand <ianw@vmware.com>
21554
21555 [BZ #14080]
21556 * time/tzset.c (__tzset_parse_tz): Update default rules for
21557 daylight time changes in the Energy Policy Act of 2005.
21558
21559 2012-05-09 Andreas Jaeger <aj@suse.de>
21560
21561 [BZ #13983]
21562 * elf/ldconfig.c (parse_conf): Change string to make clear that
21563 ldconfig only issued a warning if ld.so.conf does not exist.
21564
21565 2012-05-08 David S. Miller <davem@davemloft.net>
21566
21567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21568 movxtod instead of popping the value on the stack.
21569
21570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21571
21572 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21573
21574 * config.h.in: Add HAVE_ARM_PCS_VFP.
21575
21576 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21577
21578 [BZ #13979]
21579 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21580 checking but the checks are disabled for any reason.
21581
21582 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21583
21584 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21585 and ELF64_R_TYPE with ELFW(R_TYPE).
21586
21587 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21588
21589 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21590 (ulimit): Likewise.
21591
21592 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21593 (settimeofday): Likewise.
21594
21595 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21596
21597 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21598 a struct th_u2 inside the union, and move tu_block/tu_code into
21599 a new th_u3 union of tu_block/tu_code inside of that. Move
21600 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21601 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21602 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21603 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21604 (th_stuff): Change to th_u1.tu_stuff.
21605 (th_data): Define.
21606 (th_msg): Change to th_u1.th_u2.tu_data.
21607
21608 2012-05-07 David S. Miller <davem@davemloft.net>
21609
21610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21611
21612 [BZ #14074]
21613 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21614 (SETUP_PIC_REG): Use it.
21615 (SETUP_PIC_REG_LEAF): Use it.
21616
21617 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21618
21619 [BZ #13885]
21620 [BZ #13923]
21621 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21622 USE_AS_EXPM1L.
21623 (EXPL_FINITE): Likewise.
21624 (FLDLOG): Likewise.
21625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21626 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21627 e_expl.S.
21628 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21629 USE_AS_EXPM1L.
21630 (EXPL_FINITE): Likewise.
21631 (FLDLOG): Likewise.
21632 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21633 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21634 e_expl.S.
21635 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21636 test of -max_value argument for long double.
21637 * sysdeps/i386/fpu/libm-test-ulps: Update.
21638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21639
21640 2012-05-06 David S. Miller <davem@davemloft.net>
21641
21642 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21643 quad soft-float symbols whose references which are compiler
21644 generated.
21645 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21646
21647 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21648
21649 [BZ #13884]
21650 [BZ #13914]
21651 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21652 USE_AS_EXP10L.
21653 (EXPL_FINITE): Likewise.
21654 (FLDLOG): Likewise.
21655 (c0): Likewise.
21656 (c1): Likewise.
21657 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21658 Adjust comments for base varying.
21659 (__expl_finite): Change alias to EXPL_FINITE.
21660 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21661 e_expl.S.
21662 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21663 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21664 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21665 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21667 USE_AS_EXP10L.
21668 (EXPL_FINITE): Likewise.
21669 (FLDLOG): Likewise.
21670 (c0): Likewise.
21671 (c1): Likewise.
21672 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21673 Adjust comments for base varying.
21674 (__expl_finite): Change alias to EXPL_FINITE.
21675 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21676 tests for bugs.
21677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21678
21679 [BZ #14064]
21680 * math/libm-test.inc (check_float_internal): Correct ulp
21681 calculation for subnormal expected results.
21682
21683 2012-05-06 Andreas Jaeger <aj@suse.de>
21684
21685 * Makeconfig (+math-flags): New, set to -frounding-math.
21686 (+cflags): Add +math-flags so that all of glibc gets compiled with
21687 it.
21688
21689 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21690
21691 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21692
21693 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21694 Disable one test.
21695
21696 [BZ #13787]
21697 [BZ #13922]
21698 [BZ #14036]
21699 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21700 (__ieee754_expl): Allow for and saturate large arguments.
21701 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21702 (u_threshold): Likewise.
21703 (__exp): Call __ieee754_exp before checking for overflow and
21704 underflow.
21705 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21706 (u_threshold): Likewise.
21707 (__expf): Call __ieee754_expf before checking for overflow and
21708 underflow.
21709 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21710 (u_threshold): Likewise.
21711 (__expl): Call __ieee754_expl before checking for overflow and
21712 underflow.
21713 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21714 (__ieee754_expl): Allow for and saturate large arguments.
21715 * math/libm-test.inc (exp_test): Add another test. Do not allow
21716 missing overflow exception on overflow.
21717 (expm1_test): Do not allow missing overflow exception on overflow.
21718
21719 * sysdeps/i386/fpu/e_expl.c: Move to ...
21720 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21721 rather than using inline asm.
21722 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21723 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21724 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21725
21726 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21727 (nice): Likewise.
21728 (poll): Likewise.
21729 (signal): Likewise.
21730 (time): Likewise.
21731 (times): Likewise.
21732
21733 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21734
21735 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21736 sysdeps/unix/common/syscalls.list.
21737 (fchmod): Likewise.
21738 (fchown): Likewise.
21739 (ftruncate): Likewise.
21740 (getrusage): Likewise.
21741 (gettimeofday): Likewise.
21742 (setpgid): Likewise.
21743 (setregid): Likewise.
21744 (setreuid): Likewise.
21745 (sigaction): Likewise.
21746 (truncate): Likewise.
21747 (vhangup): Likewise.
21748 * sysdeps/unix/common/syscalls.list: Remove file.
21749 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21750 * sysdeps/unix/sysv/linux/Implies: Likewise.
21751
21752 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21753
21754 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21756 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21757 Moved to ...
21758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21759 Here.
21760 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21761 to ...
21762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21763 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21764 to ...
21765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21766 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21767 to ...
21768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21769 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21770 to ...
21771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21772 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21773 to ...
21774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21775 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21776 to ...
21777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21778 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21779 to ...
21780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21781 Here.
21782 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21783 to ...
21784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21785 Here.
21786 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21787 to ...
21788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21789 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21790 Moved to ...
21791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21792 Here.
21793 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21794 to ...
21795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21796
21797 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21798
21799 * sysdeps/unix/common/bits/dirent.h: Remove file.
21800 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21801
21802 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21803 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21804 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21805 * sysdeps/unix/bsd/isatty.c: Likewise.
21806 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21807 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21808 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21809
21810 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21811
21812 [BZ #13563]
21813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21814 long double comparison inaccuracies.
21815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21817
21818 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21819
21820 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21822
21823 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21824
21825 [BZ #14049]
21826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21827 nonzero digits before rounding a hex value.
21828 * stdlib/tst-strtod.c (tests): Add another test.
21829
21830 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21831
21832 * sysdeps/s390/fpu/libm-test-ulps: Update.
21833
21834 2012-05-03 Andreas Jaeger <aj@suse.de>
21835
21836 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21837 does not get optimized out.
21838 (malloc_opt_barrier): New.
21839
21840 2012-05-03 Andreas Jaeger <aj@suse.de>
21841 Roland McGrath <roland@hack.frob.com>
21842
21843 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21844 intermediate file deletion.
21845 (generated): Add .symlist files.
21846
21847 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21848
21849 [BZ #13775]
21850 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21851 Redirect under this condition.
21852 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21853 [__USE_GNU] (__dprintf_chk): Not under this condition.
21854 [__USE_GNU] (__vdprintf_chk): Likewise.
21855 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21856 under this condition.
21857 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21858 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21859 [__USE_XOPEN2K8] (vdprintf): Likewise.
21860 [__USE_GNU] (__dprintf_chk): Not under this condition.
21861 [__USE_GNU] (__vdprintf_chk): Likewise.
21862 [__USE_GNU] (dprintf): Likewise.
21863 [__USE_GNU] (vdprintf): Likewise.
21864
21865 2012-05-03 Roland McGrath <roland@hack.frob.com>
21866
21867 * elf/Makefile (common-generated): Set this instead of generated for
21868 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21869 $(all-built-dso)-derived lists.
21870
21871 2012-05-03 Andreas Jaeger <aj@suse.de>
21872
21873 * sysdeps/i386/fpu/libm-test-ulps: Update.
21874
21875 * FAQ: Removed.
21876 * FAQ.in: Likewise.
21877 * scripts/gen-FAQ.pl: Likewise.
21878 * manual/install.texi (Installation): Point to online location of
21879 FAQ.
21880 * Makefile (files-for-dist): Remove FAQ.
21881 (FAQ): Remove.
21882
21883 2012-05-02 Allan McRae <allan@archlinux.org>
21884
21885 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21886 (LDFLAGS-reldepmod5.so): Likewise.
21887 (LDFLAGS-reldep6mod1.so): Likewise.
21888 (LDFLAGS-reldep6mod4.so): Likewise.
21889 (LDFLAGS-reldep8mod3.so): Likewise.
21890 (LDFLAGS-unload4mod1.so): Likewise.
21891 (LDFLAGS-unload4mod2.so): Likewise.
21892 (LDFLAGS-tst-initorder): Likewise.
21893 (LDFLAGS-tst-initordera2.so): Likewise.
21894 (LDFLAGS-tst-initordera3.so): Likewise.
21895 (LDFLAGS-tst-initordera4.so): Likewise.
21896 (LDFLAGS-tst-initorderb2.so): Likewise.
21897 (LDFLAGS-noload): Likewise.
21898 (LDFLAGS-next): Likewise.
21899 (LDFLAGS-order2mod1.so): Likewise.
21900 (LDFLAGS-order2mod2.so): Likewise.
21901 (LDFLAGS-tst-initorder2): Likewise.
21902 (LDFLAGS-tst-initorder2a.so): Likewise.
21903 (LDFLAGS-tst-initorder2b.so): Likewise.
21904 (LDFLAGS-tst-initorder2c.so): Likewise.
21905 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21906
21907 2012-05-02 David S. Miller <davem@davemloft.net>
21908
21909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21910
21911 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21912
21913 [BZ #14055]
21914 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21915
21916 2012-05-02 Andreas Jaeger <aj@suse.de>
21917
21918 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21919 since we manipulate rounding mode.
21920 (CPPFLAGS-test-idouble.c): Likewise.
21921 (CPPFLAGS-test-ifloat.c): Likewise.
21922 (CFLAGS-test-ldouble.c): Likewise.
21923 (CFLAGS-test-double.c): Likewise.
21924 (CFLAGS-test-float.c): Likewise.
21925 (CFLAGS-test-misc.c): Likewise.
21926 (CFLAGS-test-test-fenv.c): Likewise.
21927
21928 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21929
21930 [BZ #2550]
21931 [BZ #2570]
21932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21933 comparisons to determine direction to adjust input.
21934
21935 2012-05-01 Roland McGrath <roland@hack.frob.com>
21936
21937 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21938 output to the target.
21939
21940 * scripts/localplt.awk: New file.
21941 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21942 (check-localplt-CFLAGS): Variable removed.
21943 ($(all-built-dso:=.jmprel)): New static pattern rule.
21944 (generated): Add those targets.
21945 (localplt-built-dso): New variable.
21946 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21947
21948 * elf/check-localplt.c: File removed.
21949
21950 * scripts/check-execstack.awk: New file.
21951 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21952 (check-execstack-CFLAGS): Variable removed.
21953 ($(objpfx)check-execstack.h): Target removed.
21954 ($(objpfx)execstack-default): New target.
21955 (generated): Add that instead of check-execstack.h.
21956 ($(all-built-dso:=.phdr)): New static pattern rule.
21957 (generated): Add those targets.
21958 * elf/check-execstack.c: File removed.
21959
21960 * scripts/check-textrel.awk: New file.
21961 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21962 (check-textrel-CFLAGS): Variable removed.
21963 (all-built-dso): Use := to define.o
21964 ($(all-built-dso:=.dyn)): New static pattern rule.
21965 (generated): Add those targets.
21966 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21967 * config.make.in (READELF): New substituted variable.
21968 * elf/check-textrel.c: File removed.
21969
21970 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21971
21972 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21973 allow.
21974 * conform/data/ctype.h-data [C99-based standards] (isblank):
21975 Expect function.
21976 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21977 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21979 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21980 Specify type. Require positive value.
21981 (EILSEQ): Likewise.
21982 (ERANGE): Likewise.
21983 [ISO || POSIX] (EILSEQ): Do not expect.
21984 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21985 Specify type. Require positive value.
21986 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21987 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21988 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21989 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21990 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21991 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21992 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21993 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21994 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21995 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21996 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21997 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21998 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21999 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22000 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22001 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22002 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22003 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22004 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22005 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22006 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22007 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22008 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22009 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22010 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22011 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22012 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22013 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22014 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22015 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22016 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22017 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22018 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22019 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22020 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22021 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22022 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22023 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22024 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22025 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22026 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22027 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22028 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22029 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22030 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22031 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22032 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22033 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22034 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22035 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22036 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22037 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22038 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22039 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22040 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22041 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22042 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22043 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22044 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22045 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22046 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22047 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22048 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22049 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22050 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22051 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22052 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22053 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22054 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22055 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22056 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22057 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22058 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22059 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22060 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22061 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22062 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22063 Require >= 2.
22064 (FLT_ROUNDS): Expect as macro, not constant.
22065 (FLT_MANT_DIG): Use macro-int-constant.
22066 (DBL_MANT_DIG): Likewise.
22067 (LDBL_MANT_DIG): Likewise.
22068 (FLT_DIG): Likewise.
22069 (DBL_DIG): Likewise.
22070 (LDBL_DIG): Likewise.
22071 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22072 (DBL_MIN_EXP): Likewise.
22073 (LDBL_MIN_EXP): Likewise.
22074 (FLT_MAX_EXP): Use macro-int-constant.
22075 (DBL_MAX_EXP): Likewise.
22076 (LDBL_MAX_EXP): Likewise.
22077 (FLT_MAX_10_EXP): Likewise.
22078 (DBL_MAX_10_EXP): Likewise.
22079 (LDBL_MAX_10_EXP): Likewise.
22080 (FLT_MAX): Use macro-constant.
22081 (DBL_MAX): Likewise.
22082 (LDBL_MAX): Likewise.
22083 (FLT_EPSILON): Use macro-constant. Give upper bound.
22084 (DBL_EPSILON): Likewise.
22085 (LDBL_EPSILON): Likewise.
22086 (FLT_MIN): Likewise.
22087 (DBL_MIN): Likewise.
22088 (LDBL_MIN): Likewise.
22089 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22090 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22091 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22092 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22093 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22094 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22095 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22096 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22097 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22098 [ISO11] (FLT_TRUE_MIN): Likewise.
22099 [ISO11] (LDBL_TRUE_MIN): Likewise.
22100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22101 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22102 (SCHAR_MIN): Use macro-int-constant. Specify type.
22103 (SCHAR_MAX): Likewise.
22104 (UCHAR_MAX): Likewise.
22105 (CHAR_MIN): Likewise.
22106 (CHAR_MAX): Likewise.
22107 (MB_LEN_MAX): Use macro-int-constant.
22108 (SHRT_MIN): Use macro-int-constant. Specify type.
22109 (SHRT_MAX): Likewise.
22110 (USHRT_MAX): Likewise.
22111 (INT_MAX): Likewise.
22112 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22113 bound negative.
22114 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22115 bound with "U".
22116 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22117 bound with "L".
22118 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22119 bound negative. Suffix upper bound with "L".
22120 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22121 bound with "UL".
22122 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22123 Specify type.
22124 [C99-based standards] (LLONG_MAX): Likewise.
22125 [C99-based standards] (ULLONG_MAX): Likewise.
22126 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22127 == 0.
22128 [ISO11] (max_align_t): Require type.
22129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22130
22131 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22132 from $CFLAGS, without defining away __attribute__ calls.
22133 (checknamespace): Use $CFLAGS_namespace.
22134
22135 * conform/conformtest.pl (@keywords): Only include C99 keywords
22136 for standards based on C99 or C11.
22137
22138 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22139 Disable tests.
22140 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22141 UNIX98]: Likewise.
22142
22143 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22144 usability of symbols in #if.
22145
22146 * conform/conformtest.pl: If macro or constant types start
22147 "promoted:", expect the symbol to be of the following type
22148 promoted by the integer promotions.
22149
22150 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22151 in one place. Also handle "macro-constant".
22152
22153 * conform/conformtest.pl: Only accept expected macro values with
22154 "==". Parse all "macro" lines in one place.
22155 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22156
22157 * conform/conformtest.pl: Handle braced types on "constant" lines
22158 instead of handling "typed-constant".
22159 * conform/data/signal.h-data: Use "constant" instead of
22160 "typed-constant".
22161
22162 * conform/conformtest.pl: Handle "optional-" at start of lines in
22163 one place rather than duplicating several cases. Handle each
22164 format of "macro" line with initial "optional-".
22165
22166 * conform/conformtest.pl: Only accept expected constant or
22167 optional-constant values with "==". Parse all "constant" lines in
22168 one place. Parse all "optional-constant" lines in one place.
22169 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22170 * conform/data/fmtmsg.h-data: Likewise.
22171 * conform/data/netinet/in.h-data: Likewise.
22172 * conform/data/tar.h-data: Likewise.
22173 * conform/data/limits.h-data: Use "==" form on "constant" and
22174 "optional-constant" lines.
22175
22176 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22177 Use -std=c99 for XOPEN2K.
22178 (@knownproblems): Remove.
22179 (newtoken): Don't check %isknown.
22180
22181 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22182 Do not expect macro.
22183 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22184 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22185 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22186 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22187 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22188 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22189 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22190 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22191 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22192 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22193 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22194 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22195 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22196 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22197 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22198 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22199 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22200 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22201 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22202 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22203 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22204 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22205 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22207 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22208 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22209 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22210 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22211 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22212 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22213 [XPG3] (acosh): Likewise.
22214 [XPG3] (asinh): Likewise.
22215 [XPG3] (atanh): Likewise.
22216 [XPG3] (cbrt): Likewise.
22217 [XPG3] (expm1): Likewise.
22218 [XPG3] (ilogb): Likewise.
22219 [XPG3] (log1p): Likewise.
22220 [XPG3] (logb): Likewise.
22221 [XPG3] (nextafter): Likewise.
22222 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22223 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22224 [XPG3] (remainder): Likewise.
22225 [XPG3] (rint): Likewise.
22226 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22227 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22228 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22229 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22230 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22231 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22232 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22233 [UNIX98 || XOPEN2K] (scalb): Expect.
22234 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22235 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22236 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22237 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22238 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22239 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22240 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22241 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22242 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22243 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22244 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22245 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22246 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22247 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22248 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22249 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22250 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22251 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22252 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22253 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22254 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22255 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22256 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22257 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22258 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22259 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22260 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22261 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22262 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22263 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22264 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22265 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22266 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22267 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22268 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22269 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22270 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22271 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22272 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22273 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22274 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22275 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22276 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22277 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22278 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22279 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22280 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22281 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22282 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22283 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22284 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22285 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22286 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22287 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22288 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22289 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22290 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22291 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22292 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22293 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22294 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22295 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22296 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22297 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22298 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22299 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22300 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22301 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22302 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22303 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22304 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22305 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22306 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22307 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22308 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22309 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22310 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22311 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22312 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22313 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22314 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22315 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22316 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22317 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22318 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22319 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22320 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22321 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22322 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22323 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22324 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22325 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22326 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22327 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22328 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22329 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22330 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22331 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22332 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22333 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22334 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22335 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22336 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22337 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22338 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22339 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22340 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22341 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22342 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22343 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22344 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22345 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22346 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22347 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22348 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22349 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22350 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22351 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22352 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22353 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22354 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22355 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22356 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22357 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22358 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22359 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22360 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22361 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22362 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22363 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22364 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22365 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22366 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22367 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22368 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22369 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22370 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22371
22372 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22373 _XOPEN_SOURCE_EXTENDED for XPG4.
22374
22375 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22376
22377 * Makeconfig (localtime): Remove variable.
22378 (inst_localtime-file): Likewise.
22379
22380 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22381
22382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22383 Update.
22384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22385 Update.
22386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22387 Update.
22388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22389 Update.
22390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22391 Update.
22392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22393 Update.
22394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22395 Update.
22396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22397 Update.
22398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22399 Update.
22400
22401 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22402
22403 [BZ #2550]
22404 [BZ #2570]
22405 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22406 comparisons to determine direction to adjust input.
22407 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22408 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22410 Likewise.
22411 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22412 Likewise.
22413 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22414 Likewise.
22415 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22416 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22417 Likewise.
22418 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22419 Likewise.
22420 * math/libm-test.inc (nexttoward_test): Add more tests.
22421
22422 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22423
22424 [BZ #14040]
22425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22426 in version GLIBC_2.1, not GLIBC_2.0.
22427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22428 Likewise.
22429
22430 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22431
22432 [BZ #13942]
22433 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22434 (1 - x) * (1 + x).
22435 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22436 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22437 * math/libm-test.inc (acos_test): Add more tests.
22438 (asin_test): Likewise.
22439 * sysdeps/i386/fpu/libm-test-ulps: Update.
22440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22441
22442 [BZ #14034]
22443 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22444 of square root.
22445 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22446 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22447 * math/libm-test.inc (acos_test_tonearest): New function.
22448 (acos_test_towardzero): Likewise.
22449 (acos_test_downward): Likewise.
22450 (acos_test_upward): Likewise.
22451 (asin_test_tonearest): Likewise.
22452 (asin_test_towardzero): Likewise.
22453 (asin_test_downward): Likewise.
22454 (asin_test_upward): Likewise.
22455 (main): Call the new functions.
22456 * sysdeps/i386/fpu/libm-test-ulps: Update.
22457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22458
22459 [BZ #13884]
22460 [BZ #13924]
22461 * math/e_exp10.c: Include <float.h>.
22462 (__ieee754_exp10): Handle underflow here rather than multiplying
22463 large negative argument by M_LN10.
22464 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22465 of __ieee754_expf.
22466 * math/e_exp10l.c: Include <float.h>.
22467 (__ieee754_exp10l): Handle underflow here rather than multiplying
22468 large negative argument by M_LN10l.
22469 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22470 spurious overflow exception on underflow.
22471
22472 2012-04-29 Marek Polacek <polacek@redhat.com>
22473
22474 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22475 (__fortify_function): New macro.
22476 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22477 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22478 __extern_always_inline.
22479 * libio/bits/stdio2.h: Likewise.
22480 * libio/bits/stdio.h: Likewise.
22481 * string/string.h: Likewise.
22482 * string/bits/string3.h: Likewise.
22483 * include/stdio.h: Likewise.
22484 * stdlib/bits/stdlib.h: Likewise.
22485 * stdlib/stdlib.h: Likewise.
22486 * rt/bits/mqueue2.h: Likewise.
22487 * rt/mqueue.h: Likewise.
22488 * posix/bits/unistd.h: Likewise.
22489 * posix/unistd.h: Likewise.
22490 * io/bits/poll2.h: Likewise.
22491 * io/bits/fcntl2.h: Likewise.
22492 * io/fcntl.h: Likewise.
22493 * io/sys/poll.h: Likewise.
22494 * misc/bits/syslog.h: Likewise.
22495 * misc/bits/syslog-ldbl.h: Likewise.
22496 * misc/sys/syslog.h: Likewise.
22497 * socket/bits/socket2.h: Likewise.
22498 * socket/sys/socket.h: Likewise.
22499 * debug/tst-chk1.c: Likewise.
22500 * wcsmbs/bits/wchar2.h: Likewise.
22501 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22502 * wcsmbs/wchar.h: Likewise.
22503
22504 2012-04-29 Andreas Jaeger <aj@suse.de>
22505
22506 * Makerules (tests): Remove enable-check-abi protection.
22507 (check-abi-warn): Remove.
22508 (check-abi-%): Remove check-abi-warn usage.
22509
22510 * configure.in: Remove check-abi configure option.
22511 * configure: Regenerated.
22512 * config.make.in (enable-check-abi): Remove.
22513
22514 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22515
22516 [BZ #14033]
22517 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22518 double functions to double *_finite functions.
22519
22520 [BZ #13941]
22521 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22522 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22523 LDBL_MIN_EXP.
22524 * stdio-common/Makefile (tests): Add tst-sprintf3.
22525 * stdio-common/tst-sprintf3.c: New file.
22526
22527 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22528 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22529
22530 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22531
22532 * conform/conformtest.pl: Remove duplicate typed-constant
22533 handling.
22534
22535 2012-04-28 David S. Miller <davem@davemloft.net>
22536
22537 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22538 (check-abi-%): Remove AWK script prerequisite and explicit
22539 abilist directory.
22540 (check-abi): Rewrite to just diff the symlist with the abilist.
22541 (config-tls, config-abi-config): Delete, no longer used.
22542 (update-abi-%): Remove AWK script and explicit abilist directory.
22543 (update-abi): Rewrite to simply compare and conditionally copy the
22544 symlist and the sysdep abilist file. Remove update-abi-config
22545 checks.
22546 * abilist/ld.abilist: Remove.
22547 * abilist/libBrokenLocale.abilist: Remove.
22548 * abilist/libanl.abilist: Remove.
22549 * abilist/libcrypt.abilist: Remove.
22550 * abilist/libdl.abilist: Remove.
22551 * abilist/librt.abilist: Remove.
22552 * abilist/libthread_db.abilist: Remove.
22553 * abilist/libutil.abilist: Remove.
22554 * scripts/extract-abilist.awk: Remove.
22555 * scripts/merge-abilist.awk: Remove.
22556 * sysdeps/generic/libcidn.abilist: New file.
22557 * sysdeps/generic/libnss_compat.abilist: New file.
22558 * sysdeps/generic/libnss_db.abilist: New file.
22559 * sysdeps/generic/libnss_dns.abilist: New file.
22560 * sysdeps/generic/libnss_files.abilist: New file.
22561 * sysdeps/generic/libnss_hesiod.abilist: New file.
22562 * sysdeps/generic/libnss_nis.abilist: New file.
22563 * sysdeps/generic/libnss_nisplus.abilist: New file.
22564 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22565 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22566 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22567 file.
22568 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22569 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22570 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22571 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22572 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22573 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22574 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22575 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22576 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22577 file.
22578 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22579 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22580 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22581 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22582 file.
22583 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22584 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22585 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22586 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22587 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22588 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22589 file.
22590 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22591 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22592 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22593 file.
22594 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22596 New file.
22597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22598 New file.
22599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22600 New file.
22601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22602 New file.
22603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22604 New file.
22605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22606 New file.
22607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22608 New file.
22609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22610 New file.
22611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22612 New file.
22613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22614 New file.
22615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22616 New file.
22617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22618 New file.
22619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22620 New file.
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22622 file.
22623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22624 New file.
22625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22626 New file.
22627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22628 file.
22629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22630 New file.
22631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22632 New file.
22633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22634 file.
22635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22636 New file.
22637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22638 New file.
22639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22640 New file.
22641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22642 New file.
22643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22644 New file.
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22646 New file.
22647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22649 file.
22650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22651 New file.
22652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22653 file.
22654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22655 file.
22656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22657 file.
22658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22659 file.
22660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22661 file.
22662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22663 New file.
22664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22665 file.
22666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22667 file.
22668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22669 New file.
22670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22671 file.
22672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22674 file.
22675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22676 New file.
22677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22678 file.
22679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22680 file.
22681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22682 file.
22683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22684 file.
22685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22686 file.
22687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22688 New file.
22689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22690 file.
22691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22692 file.
22693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22694 New file.
22695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22696 file.
22697 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22698 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22699 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22700 file.
22701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22702 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22703 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22704 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22705 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22706 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22707 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22708 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22709 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22710 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22713 file.
22714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22715 New file.
22716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22717 file.
22718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22719 file.
22720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22721 file.
22722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22723 file.
22724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22725 file.
22726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22727 New file.
22728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22729 New file.
22730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22731 file.
22732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22733 New file.
22734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22735 file.
22736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22738 file.
22739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22740 New file.
22741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22742 file.
22743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22744 file.
22745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22746 file.
22747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22748 file.
22749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22750 file.
22751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22752 New file.
22753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22754 New file.
22755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22756 file.
22757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22758 New file.
22759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22760 file.
22761
22762 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22763
22764 * conform/conformtest.pl: Fix typo in handling typed-constant from
22765 allow-header.
22766
22767 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22768
22769 * README: Cut down references to pre-2.6 Linux kernels and
22770 Linuxthreads. Update lists of configurations in libc and ports
22771 and sort alphabetically. Say "or newer" with Linux kernel version
22772 requirements.
22773
22774 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22775
22776 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22777
22778 [BZ #887]
22779 * math/libm-test.inc (logb_test_downward): New test to expose
22780 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22781 rounding mode.
22782
22783 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22784
22785 [BZ #14027]
22786 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22787 to be done.
22788 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22789 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22790
22791 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22792
22793 * sysdeps/unix/i386/brk.S: Remove file.
22794 * sysdeps/unix/i386/dl-brk.S: Likewise.
22795 * sysdeps/unix/i386/pipe.S: Likewise.
22796 * sysdeps/unix/i386/sigreturn.S: Likewise.
22797 * sysdeps/unix/i386/syscall.S: Likewise.
22798 * sysdeps/unix/i386/vfork.S: Likewise.
22799 * sysdeps/unix/i386/wait.S: Likewise.
22800
22801 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22802 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22803
22804 * configure.in (arm*-none*): Do not allow without
22805 --enable-hacker-mode.
22806 (netbsd*): Remove case setting base_os.
22807 (386bsd*): Likewise.
22808 (freebsd*): Likewise.
22809 (bsdi*): Likewise.
22810 (osf*): Likewise.
22811 (sunos*): Likewise.
22812 (ultrix*): Likewise.
22813 (newsos*): Likewise.
22814 (dynix*): Likewise.
22815 (*bsd*): Likewise.
22816 (sysv*): Likewise.
22817 (isc*): Likewise.
22818 (esix*): Likewise.
22819 (sco*): Likewise.
22820 (minix*): Likewise.
22821 (irix4*): Likewise.
22822 (irix6*): Likewise.
22823 (solaris[2-9]*): Likewise.
22824 (none): Likewise.
22825 * configure: Regenerated.
22826
22827 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22828
22829 [BZ #11521]
22830 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22831 overflow or cancellation in calculating denominator.
22832 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22833 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22834 down expression to avoid unexpected rounding in newer GCCs.
22835 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22836
22837 2012-04-26 David S. Miller <davem@davemloft.net>
22838
22839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22840 long-double compat symbols.
22841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22854
22855 2012-04-25 David S. Miller <davem@davemloft.net>
22856
22857 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22858 HWCAP_* values only after the memory barriers have been defined.
22859 (atomic_full_barrier): Define.
22860 (atomic_read_barrier): Define.
22861 (atomic_write_barrier): Define.
22862
22863 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22864
22865 * shlib-versions: Add libgcc_s version information.
22866 * sysdeps/generic/libgcc_s.h: Remove.
22867 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22868 libgcc_s.h.
22869 * sysdeps/gnu/unwind-resume.c: Likewise.
22870 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22871
22872 2012-04-25 David S. Miller <davem@davemloft.net>
22873
22874 * sysdeps/unix/sparc/brk.S: Delete.
22875 * sysdeps/unix/sparc/dl-brk.S: Delete.
22876 * sysdeps/unix/sparc/pipe.S: Delete.
22877 * sysdeps/unix/sparc/sysdep.S: Delete.
22878 * sysdeps/unix/sparc/sysdep.h: Delete.
22879 * sysdeps/unix/sparc/vfork.S: Delete.
22880 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22881 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22883 ret_ERRVAL, r0, r1, MOVE): Define.
22884 (JUMPTARGET): Remove.
22885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22886 sysdeps/unix/sparc/sysdep.h
22887 (ENTRY, END): Remove.
22888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22889
22890 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22891
22892 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22893 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22894 -DIS_IN_build.
22895
22896 * timezone/README: Update upstream location and email address for
22897 tzcode and tzdata.
22898 * timezone/zdump.c: Update from tzcode 2012b.
22899 * timezone/zic.c: Likewise.
22900
22901 * configure.in (libc_cv_as_needed): Remove test.
22902 * configure: Regenerated.
22903 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22904 conditional definition.
22905 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22906 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22907 * config.make.in (have-as-needed): Remove variable.
22908
22909 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22910 Paul Pluzhnikov <ppluzhnikov@google.com>
22911
22912 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22913 strings correctly.
22914
22915 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22916
22917 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22918 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22919 * sysdeps/sh/strlen.S: Likewise.
22920
22921 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22922
22923 * sysdeps/unix/fork.S: Remove file.
22924 * sysdeps/unix/i386/fork.S: Likewise.
22925 * sysdeps/unix/sparc/fork.S: Likewise.
22926
22927 * sysdeps/unix/system.c: Remove file.
22928 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22929
22930 * sysdeps/unix/getegid.S: Remove file.
22931 * sysdeps/unix/geteuid.S: Likewise.
22932
22933 2012-04-24 Roland McGrath <roland@hack.frob.com>
22934
22935 * scripts/check-localplt.awk: New file.
22936 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22937 of diff.
22938 * scripts/data/localplt-generic.data: Add a comment.
22939
22940 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22941 NODE when __dir_mkfile failed.
22942 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22943 Reported by Ludovic Courtès <ludo@gnu.org>.
22944
22945 2012-04-24 Andreas Jaeger <aj@suse.de>
22946
22947 * Makerules (common-clean): Also remove gen-as-const-headers
22948 files.
22949
22950 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22951
22952 * Makerules (native-compile): Do not change working directory for
22953 build. Use $(OUTPUT_OPTION) in command.
22954 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22955
22956 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22957
22958 [BZ #13886]
22959 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22960 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22961 * math/libm-test.inc (floor_test): Add more tests.
22962 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22963
22964 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22965
22966 * sysdeps/unix/getdents.c: Remove file.
22967 * sysdeps/unix/sysv/getdents.c: Likewise.
22968 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22969
22970 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22971 sysdeps/unix/mman/syscalls.list.
22972 (mmap): Likewise.
22973 (mprotect): Likewise.
22974 (msync): Likewise.
22975 (munmap): Likewise.
22976 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22977 * sysdeps/unix/mman/syscalls.list: Remove.
22978 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22979
22980 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22981 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22982 * configure: Regenerated.
22983 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22984 $(libgcc_s_suffix).
22985 * config.make.in (libgcc_s_suffix): Remove variable.
22986
22987 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22988
22989 * sysdeps/unix/sysv/gethostname.c: Move to ...
22990 * sysdeps/posix/gethostname.c: ... here.
22991
22992 * sysdeps/unix/execve.S: Remove file.
22993
22994 * sysdeps/unix/_exit.S: Remove file.
22995
22996 2012-04-23 Andreas Jaeger <aj@suse.de>
22997
22998 [BZ #13739]
22999 * manual/Makefile: Remove make dist support, there's no
23000 need for a stand-alone documentation tar ball.
23001 (TEXI2DVI): Define always, it's not in Makeconfig.
23002 (dist): Removed.
23003 (tar-it): Removed.
23004 (edition): Removed.
23005 (glibc-doc-$(edition).tar): Removed
23006 (%.Z): Removed.
23007 (%.gz): Removed.
23008 (%.uu): Removed.
23009 (ETAGS): Remove, it's in Makeconfig.
23010 (move-if-change): Remove, it's in Makeconfig.
23011
23012 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23013
23014 [BZ #13970]
23015 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23016 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23017 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23018 (strtod_l, strtof_l, strtold_l): Remove __wur.
23019 It is not necessarily an error to ignore strtol's return value.
23020 One can reliably look at the stored endptr to decide whether
23021 the number had valid syntax.
23022
23023 2012-04-21 Andreas Jaeger <aj@suse.de>
23024
23025 [BZ #13739]
23026 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23027
23028 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23029
23030 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23031 * sysdeps/unix/sysv/Versions: Remove file.
23032
23033 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23034
23035 [BZ #13927]
23036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23037
23038 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23039
23040 [BZ #7064]
23041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23042 version from __vm86.
23043
23044 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23045
23046 * sysdeps/unix/common/lxstat.c: Remove file.
23047 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23048
23049 * sysdeps/unix/sysv/Makefile: Remove file.
23050
23051 * sysdeps/unix/sysv/direct.h: Remove file.
23052
23053 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23054 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23055 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23056 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23057 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23058 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23059 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23060
23061 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23062
23063 * sysdeps/unix/xmknod.c: Remove file.
23064 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23065
23066 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23067
23068 * sysdeps/unix/sysv/i386/time.S: Remove file.
23069
23070 * sysdeps/unix/fxstat.c: Remove file.
23071 * sysdeps/unix/xstat.c: Likewise.
23072 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23073
23074 * sysdeps/unix/sysv/sigaction.c: Remove file.
23075
23076 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23077 (sysdep_headers): Remove variable.
23078 [termio.h not in sysdep_headers] (generated): Likewise.
23079 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23080 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23081 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23082 * sysdeps/unix/sysv/tcflow.c: Likewise.
23083 * sysdeps/unix/sysv/tcflush.c: Likewise.
23084 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23085 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23086 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23087 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23088 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23089
23090 * sysdeps/unix/siglist.c: Remove file.
23091
23092 * sysdeps/unix/getppid.S: Remove file.
23093
23094 * sysdeps/unix/mkdir.c: Remove file.
23095 * sysdeps/unix/rmdir.c: Likewise.
23096
23097 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23098
23099 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23100 ERR_MAX value.
23101 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23102 errlist-compat value.
23103
23104 2012-04-18 David S. Miller <davem@davemloft.net>
23105
23106 * sysdeps/generic/memcopy.h (reg_char): Delete.
23107 * debug/strcat_chk.c: Use char, not reg_char.
23108 * debug/strcpy_chk.c: Likewise.
23109 * debug/strncat_chk.c: Likewise.
23110 * debug/strncpy_chk.c: Likewise.
23111 * string/memchr.c: Likewise.
23112 * string/memrchr.c: Likewise.
23113 * string/rawmemchr.c: Likewise.
23114 * string/strcat.c: Likewise.
23115 * string/strchr.c: Likewise.
23116 * string/strchrnul.c: Likewise.
23117 * string/strcmp.c: Likewise.
23118 * string/strcpy.c: Likewise.
23119 * string/strncat.c: Likewise.
23120 * string/strncmp.c: Likewise.
23121 * string/strncpy.c: Likewise.
23122
23123 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23124
23125 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23126 __builtin_memcopy is called when src and dest ranges are known to not
23127 overlap.
23128
23129 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23130
23131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23132 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23133 fwd_align_merge macro call.
23134 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23135 bwd_align_merge macro call.
23136 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23137
23138 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23139
23140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23141 bwd_align_merge macros.
23142 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23143 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23145
23146 2012-04-18 David S. Miller <davem@davemloft.net>
23147
23148 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23149
23150 2012-04-18 Andreas Jaeger <aj@suse.de>
23151
23152 [BZ# 6794]
23153 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23154 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23155 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23156
23157 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23158 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23159 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23160
23161 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23162 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23163 Adjust for changed ldbl-128 files.
23164
23165 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23166 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23168
23169 2012-04-17 David S. Miller <davem@davemloft.net>
23170
23171 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23172
23173 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23174
23175 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23176 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23177 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23178 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23179 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23180 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23181
23182 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23183
23184 [BZ #6794]
23185 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23186 * math/libm-test.inc: Add ilogb errno and exception tests.
23187 * math/w_ilogb.c: New file: ilogb wrapper.
23188 * math/w_ilogbf.c: New file: ilogbf wrapper.
23189 * math/w_ilogbl.c: New file: ilogbl wrapper.
23190 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23191 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23192 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23193 exception being thrown with 0.0 as argument.
23194 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23195 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23196 exception being thrown with 0.0 as argument.
23197 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23198 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23199 exception being thrown with 0.0 as argument.
23200 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23201 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23202 exception being thrown with 0.0 as argument.
23203 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23204 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23205 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23206 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23207 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23208 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23209 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23210 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23211 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23212
23213 2012-04-17 Petr Baudis <pasky@ucw.cz>
23214
23215 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23216 with altivec.
23217
23218 2012-04-16 Marek Polacek <polacek@redhat.com>
23219
23220 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23221
23222 2012-04-16 Marek Polacek <polacek@redhat.com>
23223
23224 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23225 operands of fdivp instruction.
23226
23227 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23228
23229 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23230 * elf/tst-auditmod3b.c: Likewise.
23231 * elf/tst-auditmod4b.c: Likewise.
23232 * elf/tst-auditmod5b.c: Likewise.
23233 * elf/tst-auditmod6b.c: Likewise.
23234 * elf/tst-auditmod6c.c: Likewise.
23235 * elf/tst-auditmod7b.c: Likewise.
23236 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23237 * sysdeps/x86_64/preconfigure.in: Likewise.
23238 * sysdeps/x86_64/preconfigure: Regenerated.
23239
23240 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23241
23242 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23243 __ILP32__.
23244
23245 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23246
23247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23248 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23249
23250 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23251
23252 [BZ #13973]
23253 * locale/iso-639.def: Fix gl language name. Spotted by
23254 Yaron Shahrabani.
23255
23256 2012-04-12 Roland McGrath <roland@hack.frob.com>
23257
23258 [BZ #2074]
23259 * libio/libio.h (__io_write_fn): Update comment.
23260
23261 2012-04-12 Petr Baudis <pasky@ucw.cz>
23262
23263 [BZ #2074]
23264 * stdio.texi (Hook Functions): The user provided writer function
23265 is not allowed to return -1.
23266
23267 2012-04-11 David S. Miller <davem@davemloft.net>
23268
23269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23270
23271 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23272
23273 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23274 Add a leading slash to rtkaio.
23275
23276 2012-04-11 Jim Meyering <meyering@redhat.com>
23277
23278 [BZ #11959]
23279 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23280 It is not necessarily an error to ignore fwrite's return
23281 value. One can reliably use ferror to test for errors after
23282 the fact.
23283
23284 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23285
23286 * bits/types.h (__snseconds_t): New type.
23287 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23288
23289 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23291 (__SNSECONDS_T_TYPE): Likewise.
23292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23293 (__SNSECONDS_T_TYPE): Likewise.
23294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23295 (__SNSECONDS_T_TYPE): Likewise.
23296
23297 2012-04-10 Andreas Jaeger <aj@suse.de>
23298
23299 [BZ #2636]
23300 * manual/time.texi (Processor Time): Return type of times is
23301 elapsed real time since an arbitrary point in the past.
23302 (CPU Time): Move CLK_TCK from here...
23303 (Processor Time): ...to here. Correct description.
23304 * manual/conf.texi (Constants for Sysconf): Correct description of
23305 _SC_CLK_TCK.
23306
23307 2012-04-10 David S. Miller <davem@davemloft.net>
23308
23309 [BZ #13967]
23310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23311 where the is a gap between DT_REL(A) and DT_JMPREL.
23312
23313 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23314
23315 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23316 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23317 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23318
23319 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23320
23321 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23322 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23323 (dl_main): Handle --inhibit-cache.
23324 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23325 _dl_inhibit_cache.
23326 * elf/dl-load.c (_dl_map_object): Use it.
23327 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23328
23329 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23330
23331 [BZ #13872]
23332 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23333 (__ieee754_powl): Saturate large exponents rather than testing for
23334 overflow of y*log2(x).
23335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23336 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23337 exceptions.
23338
23339 [BZ #11521]
23340 * math/s_ctan.c: Include <float.h>.
23341 (__ctan): Avoid internal overflow or cancellation in calculating
23342 denominator.
23343 * math/s_ctanf.c: Likewise.
23344 * math/s_ctanl.c: Likewise.
23345 * math/s_ctanh.c: Likewise.
23346 * math/s_ctanhf.c: Likewise.
23347 * math/s_ctanhl.c: Likewise.
23348 * math/libm-test.inc (ctan_test): Add more tests.
23349 (ctanh_test): Likewise.
23350 * sysdeps/i386/fpu/libm-test-ulps: Update.
23351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23352
23353 2012-04-09 Andreas Jaeger <aj@suse.de>
23354
23355 [BZ #6894]
23356 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23357 is an optional BSD extension.
23358
23359 [BZ #10254]
23360 * manual/stdio.texi (Opening Streams): Document additional fopen
23361 parameters.
23362
23363 2012-04-09 Roland McGrath <roland@hack.frob.com>
23364
23365 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23366 %eax without telling the compiler.
23367
23368 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23369
23370 [BZ # 13963]
23371 * manual/install.texi: Use sourceware.org.
23372
23373 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23374
23375 [BZ #13873]
23376 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23377 (__ieee754_pow): Generate overflow and underflow using huge*huge
23378 and tiny*tiny rather than just returning constant infinity or zero
23379 for large exponents.
23380 * math/libm-test.inc (pow_test): Require overflow exceptions for
23381 applicable cases of large exponents.
23382
23383 [BZ #706]
23384 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23385 (__ieee754_pow): Use iterative multiplication algorithm only for
23386 integer exponents with absolute value below 1024. Check for odd
23387 integer exponents when using algorithm for real exponents.
23388 * math/libm-test.inc (pow_test): Add more tests.
23389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23390
23391 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23392
23393 [BZ #13705]
23394 * math/libm-test.inc (exp_test): Do not allow overflow exception
23395 on underflow test.
23396
23397 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23398
23399 [BZ #13705]
23400 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23401 instead of __kernel_standard_f.
23402
23403 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23404
23405 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23406 * sysdeps/x86_64/memset_chk.S: Likewise.
23407
23408 2012-04-08 Andreas Jaeger <aj@suse.de>
23409
23410 [BZ #10153]
23411 * manual/startup.texi (Environment Access): Describe return value
23412 for putenv and setenv.
23413
23414 [BZ #6895]
23415 * manual/filesys.texi (Directory Entries): Add description for
23416 DT_LNK.
23417
23418 [BZ #6890]
23419 * manual/filesys.texi (Directory Entries): Clarify that it's file
23420 system not operating system in the description of DT_UNKNOWN.
23421
23422 [BZ #6578]
23423 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23424
23425 2012-04-08 Stephen Compall <s11@member.fsf.org>
23426
23427 [BZ #6649]
23428 * manual/llio.texi (Opening and Closing Files): Add cross
23429 reference to explain mode argument.
23430
23431 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23432
23433 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23434 * sysdeps/x86_64/memset_chk.S: Likewise.
23435
23436 2012-04-07 David S. Miller <davem@davemloft.net>
23437
23438 * elf/elf.h (R_SPARC_WDISP10): Define.
23439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23440 R_SPARC_SIZE32.
23441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23442 R_SPARC_SIZE64 and R_SPARC_H34.
23443
23444 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23445
23446 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23447 conditions and remove no longer applicable assertion.
23448
23449 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23450
23451 * bits/byteswap.h: Include <features.h>.
23452 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23453 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23454
23455 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23456
23457 * bits/byteswap.h (__bswap_16): Removed.
23458 Include <bits/byteswap-16.h> to get __bswap_16.
23459 * sysdeps/i386/bits/byteswap.h: Likewise.
23460 * sysdeps/s390/bits/byteswap.h: Likewise.
23461 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23462 * bits/byteswap-16.h: New file.
23463 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23464 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23465 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23466 * string/Makefile (headers): Add bits/byteswap-16.h.
23467
23468 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23469
23470 [BZ #13895]
23471 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23472 extra indirection.
23473 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23474 * nss/tst-nss-static.c: New.
23475
23476 2012-04-06 Robert Millan <rmh@gnu.org>
23477
23478 [BZ #6486]
23479 * manual/llio.texi (File Position Primitive): lseek
23480 refers to WHENCE when it really means OFFSET.
23481
23482 2012-04-06 Andreas Jaeger <aj@suse.de>
23483
23484 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23485 strncmp declarations.
23486
23487 * abilist/libc.abilist: Add __poll and __ppoll.
23488
23489 2012-04-05 David S. Miller <davem@davemloft.net>
23490
23491 * scripts/check-local-headers.sh: Accept a host triplet in the
23492 path matched by the exclude regexp.
23493
23494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23495 definition.
23496 * sysdeps/powerpc/powerpc32/dl-machine.h
23497 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23498 * sysdeps/s390/s390-32/dl-machine.h
23499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23500 * sysdeps/sparc/sparc32/dl-machine.h
23501 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23502 * sysdeps/sparc/sparc64/dl-machine.h
23503 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23504
23505 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23506 lazy binding.
23507 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23508 undefined symbol errors.
23509
23510 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23511 DT_NEEDED entries.
23512
23513 2012-04-05 Michael Matz <matz@suse.de>
23514
23515 [BZ #13592]
23516 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23517
23518 2012-04-05 Andreas Jaeger <aj@suse.de>
23519
23520 [BZ #13908]
23521 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23522 comment.
23523
23524 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23525
23526 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23527 which ROUND is no valid rounding mode.
23528
23529 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23530
23531 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23532 read again.
23533 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23534
23535 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23536
23537 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23538 an exception using FPU order intentionally.
23539
23540 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23541
23542 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23543 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23544 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23545 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23546
23547 2012-04-05 Simon Josefsson <simon@josefsson.org>
23548
23549 [BZ #12340]
23550 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23551 EINVAL when BUFLEN is too smal.
23552
23553 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23554
23555 [BZ #13553]
23556 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23557 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23558
23559 2012-04-03 Andreas Jaeger <aj@suse.de>
23560
23561 [BZ #13938]
23562 * manual/setjmp.texi (System V contexts): Fix sentence.
23563
23564 [BZ #13926]
23565 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23566 New macro for this case.
23567 [!__GNUC__] (__bswap_64): New inline function for this case.
23568 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23569 * bits/byteswap.h: Likewise.
23570 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23571 ull, guard with __GLIBC_HAVE_LONG_LONG.
23572
23573 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23574 __GLIBC_HAVE_LONG_LONG.
23575
23576 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23577 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23578
23579 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23580
23581 [BZ #13691]
23582 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23583 inptr and inend, rather than using last_ch.
23584
23585 2012-04-02 David S. Miller <davem@davemloft.net>
23586
23587 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23588 * stdio-common/printf-parse.h (read_int): Change return type to
23589 'int', return -1 on INT_MAX overflow.
23590 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23591 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23592 overflows INT_MAX. Check for overflow of in-format-string precision
23593 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23594 SIZE_MAX not INT_MAX for integer overflow test.
23595 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23596 skip the construct in the format string but do not record anything.
23597 * stdio-common/bug22.c: Adjust to test both width/prevision
23598 INT_MAX overflow as well as total length INT_MAX overflow. Check
23599 explicitly for proper errno values.
23600
23601 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23602
23603 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23604 CHAR_MAX.
23605 * string/test-strcmp.c [! WIDE]: Likewise.
23606 * time/tst-mktime2.c: Likewise for INT_MAX.
23607 * string/test-string.h: #include <sys/param.h> for MIN.
23608
23609 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23610 * sysdeps/i386/init-first.c (init): Likewise.
23611 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23612 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23613 * sysdeps/sh/init-first.c (init): Likewise.
23614
23615 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23616
23617 * po/ru.po: Update from translation team.
23618 * po/vi.po: Likewise.
23619
23620 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23621
23622 * resolv/nss_dns/dns-host.c: Merge copyright years.
23623
23624 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23625
23626 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23627 Optimize memcpy with prefetch if
23628 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23629 src, dst pointers have unequal 16 byte alignments.
23630
23631 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23632
23633 [BZ #13928]
23634 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23635 from a CNAME entry and return the minimum ttl for the query.
23636 (gaih_getanswer_slice): Likewise.
23637
23638 2012-03-30 Jeff Law <law@redhat.com>
23639
23640 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23641 due to long keys.
23642 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23643 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23644
23645 * resolv/nss_dns/dns-host.c: Update copyright year.
23646
23647 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23648
23649 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23650 requests to save a system call. Fix check that all bytes are sent.
23651
23652 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23653 comments for sendmmsg.
23654
23655 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23656
23657 [BZ #13691]
23658 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23659 with only 1 character between 0x0041 and 0x01b0.
23660 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23661 * wcsmbs/tst-mbsnrtowcs.c: New file.
23662
23663 2012-03-29 David S. Miller <davem@davemloft.net>
23664
23665 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23666 small copies by hand.
23667
23668 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23669
23670 [BZ #13761]
23671 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23672 _nss_compat_initgroups_dyn): Fall back to malloc/free
23673 for large group memberships.
23674
23675 2012-03-28 David S. Miller <davem@davemloft.net>
23676
23677 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23678 that branches into memcpy.
23679 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23682 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23684 bits.
23685 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23686 implementation too.
23687 * sysdeps/sparc/mempcpy.S: New file.
23688
23689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23690 the IFUNC routine in the libc case.
23691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23692
23693 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23694 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23695 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23696 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23697 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23698 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23699 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23700 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23701
23702 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23703 loop to 256 bytes instead of 64 bytes and fix test signedness.
23704
23705 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23706 * sysdeps/sparc/sparc32/Makefile: rather than here...
23707 * sysdeps/sparc/sparc64/Makefile: and here.
23708
23709 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23710
23711 * malloc/mallocbug.c: Avoid warnings about unused variables.
23712
23713 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23714
23715 [BZ #13760]
23716 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23717 in the right place. Discard and retry query if response is
23718 larger than input buffer size.
23719
23720 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23721
23722 [BZ #369]
23723 [BZ #2678]
23724 [BZ #3866]
23725 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23726 x for large integer exponent.
23727 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23728 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23729 sign of result as needed afterwards.
23730 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23731 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23732 result for underflowing pow the same as for overflow.
23733 (__kernel_standard_l): Handle powl overflow and underflow here
23734 rather than calling __kernel_standard.
23735 * math/libm-test.inc (pow_test): Add more tests.
23736
23737 [BZ #3868]
23738 [BZ #13879]
23739 [BZ #13910]
23740 [BZ #13911]
23741 [BZ #13912]
23742 [BZ #13913]
23743 [BZ #13915]
23744 [BZ #13916]
23745 [BZ #13917]
23746 [BZ #13918]
23747 [BZ #13919]
23748 [BZ #13920]
23749 [BZ #13921]
23750 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23751 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23752 (__kernel_standard_l): New function.
23753 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23754 __kernel_standard.
23755 * math/w_acosl.c (__acosl): Likewise.
23756 * math/w_asinl.c (__asinl): Likewise.
23757 * math/w_atan2l.c (__atan2l): Likewise.
23758 * math/w_atanhl.c (__atanhl): Likewise.
23759 * math/w_coshl.c (__coshl): Likewise.
23760 * math/w_exp10l.c (__exp10l): Likewise.
23761 * math/w_exp2l.c (__exp2l): Likewise.
23762 * math/w_fmodl.c (__fmodl): Likewise.
23763 * math/w_hypotl.c (__hypotl): Likewise.
23764 * math/w_j0l.c (__j0l, __y0l): Likewise.
23765 * math/w_j1l.c (__j1l, __y1l): Likewise.
23766 * math/w_jnl.c (__jnl, __ynl): Likewise.
23767 * math/w_lgammal.c (__lgammal): Likewise.
23768 * math/w_log10l.c (__log10l): Likewise.
23769 * math/w_log2l.c (__log2l): Likewise.
23770 * math/w_logl.c (__logl): Likewise.
23771 * math/w_powl.c (__powl): Likewise.
23772 * math/w_remainderl.c (__remainderl): Likewise.
23773 * math/w_scalbl.c (sysv_scalbl): Likewise.
23774 * math/w_sinhl.c (__sinhl): Likewise.
23775 * math/w_sqrtl.c (__sqrtl): Likewise.
23776 * math/w_tgammal.c (__tgammal): Likewise.
23777 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23778 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23779 * math/libm-test.inc (acos_test): Add more tests.
23780 (acosh_test): Likewise.
23781 (asin_test): Likewise.
23782 (atanh_test): Likewise.
23783 (exp_test): Likewise.
23784 (exp10_test): Likewise.
23785 (exp2_test): Likewise.
23786 (expm1_test): Likewise.
23787 (lgamma_test): Likewise.
23788 (log_test): Likewise.
23789 (log10_test): Likewise.
23790 (log1p_test): Likewise.
23791 (log2_test): Likewise.
23792 (pow_test): Do not allow some spurious overflow exceptions.
23793 (sqrt_test): Add more tests.
23794 (tgamma_test): Likewise.
23795 (y0_test): Likewise.
23796 (y1_test): Likewise.
23797 (yn_test): Likewise.
23798
23799 2012-03-27 Anton Blanchard <anton@samba.org>
23800
23801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23802 MAP_HUGETLB.
23803 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23804 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23805 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23806
23807 2012-03-27 David S. Miller <davem@davemloft.net>
23808
23809 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23810
23811 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23812 have-as-vis3 check.
23813
23814 2012-03-27 Andreas Jaeger <aj@suse.de>
23815
23816 * sysdeps/x86_64/elf/configure.in: Moved to ...
23817 * sysdeps/x86_64/configure.in: ... here.
23818 * sysdeps/x86_64/elf/start.S: Moved to ...
23819 * sysdeps/x86_64/start.S: ... here.
23820 * sysdeps/x86_64/elf/configure: Delete.
23821
23822 * sysdeps/x86_64/configure.in: Merge contents from
23823 sysdeps/i386/configure.in (without i686 check).
23824
23825 * sysdeps/i386/elf/Versions: Merge into ...
23826 * sysdeps/i386/Versions: ... this.
23827 * sysdeps/i386/elf/Versions: Delete file.
23828 * sysdeps/i386/elf/start.S: Moved to ...
23829 * sysdeps/i386/start.S: ...here.
23830 * sysdeps/i386/elf/configure.in: Merge into...
23831 * sysdeps/i386/configure.in: ...here.
23832 * sysdeps/i386/elf/configure.in: Delete file.
23833 * sysdeps/i386/elf/configure: Delete file.
23834
23835 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23836 * debug/backtracesyms.c: ... here.
23837 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23838 * debug/backtracesymsfd.c: ... here.
23839 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23840 * sysdeps/generic/ifunc-sel.h: ... here.
23841
23842 * sysdeps/unix/i386/start.c: Delete file.
23843 * sysdeps/unix/sparc/start.c: Delete file.
23844 * sysdeps/unix/start.c: Delete file.
23845
23846 * sysdeps/sh/elf/configure.in: Moved to ...
23847 * sysdeps/sh/configure.in: ... here.
23848 * sysdeps/sh/elf/start.S: Moved to ...
23849 * sysdeps/sh/start.S: ... here.
23850 * sysdeps/sh/elf/configure: Delete file.
23851
23852 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23853 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23854 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23855 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23856 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23857 * sysdeps/powerpc/powerpc64/start.S: here.
23858 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23859 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23860 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23861 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23862 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23863
23864 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23865 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23866 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23867 * sysdeps/powerpc/powerpc32/start.S: ... here.
23868 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23869 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23870 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23871
23872 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23873 * sysdeps/powerpc/ifunc-sel.h: ... here.
23874 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23875 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23876
23877 * sysdeps/sparc/elf/configure.in: Moved to ...
23878 * sysdeps/sparc/configure.in: ... here.
23879 * sysdeps/sparc/elf/configure: Delete file.
23880 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23881 * sysdeps/sparc/sparc32/start.S: ... here.
23882 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23883 * sysdeps/sparc/sparc64/start.S: ... here.
23884 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23885 * sysdeps/sparc/sparc32/Makefile: ... this.
23886 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23887 * sysdeps/sparc/sparc64/Makefile: ... this.
23888
23889 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23890 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23891 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23892 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23893 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23894 * sysdeps/s390/s390-32/setjmp.S: ... here.
23895 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23896 * sysdeps/s390/s390-32/configure.in: ... here.
23897 * sysdeps/s390/s390-32/elf/configure: Delete file.
23898 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23899 * sysdeps/s390/s390-32/start.S: ... here.
23900
23901 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23902 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23903 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23904 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23905 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23906 * sysdeps/s390/s390-64/setjmp.S: ... here.
23907 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23908 * sysdeps/s390/s390-64/configure.in: ... here
23909 * sysdeps/s390/s390-64/elf/configure: Delete file.
23910 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23911 * sysdeps/s390/s390-64/start.S: ... here.
23912 * sysdeps/s390/s390-64/elf/configure: Delete.
23913
23914 * configure.in: Remove support for elf directories in sysdeps.
23915
23916 * configure: Regenerated.
23917 * sysdeps/i386/configure: Regenerated.
23918 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23919 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23920 * sysdeps/s390/s390-32/configure: Regenerated.
23921 * sysdeps/s390/s390-64/configure: Regenerated.
23922 * sysdeps/sh/configure: Regenerated.
23923 * sysdeps/sparc/configure: Regenerated.
23924 * sysdeps/x86_64/configure: Regenerated.
23925
23926 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23927
23928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23929
23930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23931 denormal result into account.
23932
23933 2012-03-25 Roland McGrath <roland@hack.frob.com>
23934
23935 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23936 Reported by Allan McRae <allan@archlinux.org>.
23937
23938 2012-03-23 Jeff Law <law@redhat.com>
23939
23940 * nss/getnssent.c (__nss_getent): Fix typo.
23941
23942 2012-03-23 David S. Miller <davem@davemloft.net>
23943
23944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23945
23946 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23947
23948 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23949 to pad to uint64_t for each field.
23950 (dl_tls_index): Replace unsigned long with uint64_t.
23951
23952 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23953 Paul Pluzhnikov <ppluzhnikov@google.com>
23954
23955 [BZ #6528]
23956 * grp/Makefile (otherlibs): Don't set it.
23957 * inet/Makefile (otherlibs): Likewise.
23958 * login/Makefile (otherlibs): Likewise.
23959 * nscd/Makefile (otherlibs): Likewise.
23960 * posix/Makefile (otherlibs): Likewise.
23961 * pwd/Makefile (otherlibs): Likewise.
23962 * rt/Makefile (otherlibs): Likewise.
23963 * sunrpc/Makefile (otherlibs): Likewise.
23964 * nss/Makefile (otherlibs): Likewise.
23965 Add libnss_files to routines and static-only-routines.
23966 ($(objpfx)getent): Remove rule.
23967 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23968 static-only-routines.
23969
23970 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23971
23972 [BZ #13892]
23973 * math/s_cexp.c: Include <float.h>.
23974 (__cexp): Handle exp result overflowing not necessarily
23975 overflowing both real and imaginary parts of result.
23976 * math/s_cexpf.c: Likewise.
23977 * math/s_cexpl.c: Likewise.
23978 * math/libm-test.inc (cexp_test): Add more tests.
23979 * sysdeps/i386/fpu/libm-test-ulps: Update.
23980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23981
23982 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23983
23984 * include/link.h (ELFW): New macro.
23985 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23986 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23987
23988 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23989
23990 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23991 with uint64_t.
23992
23993 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23994
23995 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23996 declaration.
23997 (struct La_x32_retval): Likewise.
23998
23999 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24000
24001 * sysdeps/x86_64/preconfigure.in: New file.
24002 * sysdeps/x86_64/preconfigure: New generated file.
24003
24004 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24005
24006 [BZ #13824]
24007 * math/e_exp2l.c: Include <float.h>.
24008 (__ieee754_exp2l): Handle overflow and underflow cases
24009 separately. Only pass fractional part of argument to
24010 __ieee754_expl.
24011 * math/libm-test.inc (exp2_test): Add more tests.
24012
24013 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24014 negating x to take absolute value.
24015 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24016 Likewise.
24017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24019 Likewise.
24020 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24021 computing low part if x was negated.
24022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24023
24024 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24025
24026 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24027 la_x32_gnu_pltexit.
24028 (pltexit): Cast int_retval to ptrdiff_t.
24029 * elf/tst-auditmod3b.c: Likewise.
24030 * elf/tst-auditmod4b.c: Likewise.
24031 * elf/tst-auditmod5b.c: Likewise.
24032 * elf/tst-auditmod6b.c: Likewise.
24033 * elf/tst-auditmod6c.c: Likewise.
24034 * elf/tst-auditmod7b.c: Likewise.
24035
24036 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24037 and x32_gnu_pltexit.
24038
24039 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24040 __ELF_NATIVE_CLASS.
24041 (La_x32_regs): New macro.
24042 (La_x32_retval): Likewise.
24043 (la_x32_gnu_pltenter): New function prototype.
24044 (la_x32_gnu_pltexit): Likewise.
24045
24046 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24047
24048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24049 exponent.
24050
24051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24052
24053 * configure.in (libc_cv_cc_nofma): Check for option to disable
24054 generation of FMA instructions.
24055 * configure: Regenerate.
24056 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24057 * sysdeps/ieee754/dbl-64/Makefile: New file.
24058 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24059 Remove brandred-fma4.
24060 (CFLAGS-brandred-fma4.c): Remove.
24061 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24062 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24063 define.
24064 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24065 define.
24066
24067 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24068
24069 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24070 LLONG_MAX != LONG_MAX.
24071 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24072 (_fitoa_word): Likewise.
24073 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24074 LLONG_MAX != LONG_MAX.
24075 * stdio-common/_itowa.h: Include <_itoa.h>.
24076 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24077 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24078 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24079 only if not defined.
24080 (_ITOA_WORD_TYPE): Likewise.
24081 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24082 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24083
24084 2012-03-21 David S. Miller <davem@davemloft.net>
24085
24086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24087
24088 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24089
24090 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24091 of x86_64 when setting libc_cv_slibdir, libdir and
24092 libc_cv_localedir.
24093 * sysdeps/unix/sysv/linux/configure: Regenerated.
24094
24095 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24096
24097 * manual/lang.texi (Old Varargs): Remove section.
24098 (How Variadic): Update menu.
24099 (va_start): Do not mention varargs.h.
24100
24101 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24102 Joseph Myers <joseph@codesourcery.com>
24103
24104 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24105 link test.
24106 * configure: Regenerated.
24107
24108 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24109
24110 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24111 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24112 conformtest.pl
24113
24114 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24115
24116 * NOTES: Remove.
24117 * Makefile (files-for-dist): Remove NOTES.
24118 (NOTES): Remove rule.
24119 * README: Don't refer to NOTES.
24120 * manual/creature.texi: Don't include macros.texi.
24121 * manual/intro.texi (creature.texi): Remove comment referring to
24122 NOTES.
24123
24124 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24125 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24126 * configure: Regenerated.
24127 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24128 LIBC_TRY_CC_OPTION.
24129 (libc_cv_as_i686): Likewise.
24130 (libc_cv_cc_avx): Likewise.
24131 (libc_cv_cc_sse2avx): Likewise.
24132 (libc_cv_cc_fma4): Likewise.
24133 (libc_cv_cc_novzeroupper): Likewise.
24134 * sysdeps/i386/configure: Regenerated.
24135
24136 [BZ #13883]
24137 * sysdeps/i386/fpu/s_cexp.S: Remove.
24138 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24139 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24140 * math/libm-test.inc (cexp_test): Add more tests.
24141 * sysdeps/i386/fpu/libm-test-ulps: Update.
24142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24143
24144 2012-03-21 Allan McRae <allan@archlinux.org>
24145
24146 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24147
24148 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24149
24150 [BZ #13871]
24151 * math/w_exp2.c: Do not include <float.h>.
24152 (o_threshold, u_threshold): Remove.
24153 (__exp2): Calculate result before checking finiteness and calling
24154 __kernel_standard.
24155 * math/w_exp2f.c: Likewise.
24156 * math/w_exp2l.c: Likewise.
24157 * math/libm-test.inc (exp2_test): Require overflow exception for
24158 1e6 input.
24159
24160 [BZ #3866]
24161 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24162 range of signed 64-bit integers before using fistpll. Remove
24163 checks for whether integers fit in mantissa bits.
24164 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24165 the range of signed 32-bit integers before using fistpl. Remove
24166 checks for whether integers fit in mantissa bits.
24167 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24168 (__ieee754_powl): Test for y outside the range of signed 64-bit
24169 integers before using fistpll. Reduce 64-bit values to 63-bit
24170 ones as needed.
24171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24172 divide-by-zero is raised for zero to large negative powers.
24173 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24174 (__ieee754_powl): Test for y outside the range of signed 64-bit
24175 integers before using fistpll. Reduce 64-bit values to 63-bit
24176 ones as needed.
24177 * math/libm-test.inc (pow_test): Add more tests.
24178
24179 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24180
24181 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24182 <stdio-common/_itoa.h>.
24183 * debug/segfault.c: Likewise.
24184 * elf/dl-cache.c: Likewise.
24185 * elf/dl-minimal.c: Likewise.
24186 * elf/dl-misc.c: Likewise.
24187 * elf/dl-sysdep.c: Likewise.
24188 * elf/dl-version.c: Likewise.
24189 * elf/rtld.c: Likewise.
24190 * hurd/hurdsock.c: Likewise.
24191 * hurd/lookup-retry.c: Likewise.
24192 * malloc/malloc.c: Likewise.
24193 * malloc/mtrace.c: Likewise.
24194 * nscd/nscd_getgr_r.c: Likewise.
24195 * nscd/nscd_getpw_r.c: Likewise.
24196 * nscd/nscd_getserv_r.c: Likewise.
24197 * posix/getopt_init.c: Likewise.
24198 * posix/wordexp.c: Likewise.
24199 * stdio-common/_itoa.c: Likewise.
24200 * stdio-common/printf_fphex.c: Likewise.
24201 * stdio-common/vfprintf.c: Likewise.
24202 * string/_strerror.c: Likewise.
24203 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24204 * sysdeps/i386/i686/hp-timing.h: Likewise.
24205 * sysdeps/mach/_strerror.c: Likewise.
24206 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24207 * sysdeps/mach/hurd/sethostid.c: Likewise.
24208 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24209 * sysdeps/mach/xpg-strerror.c: Likewise.
24210 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24211 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24212 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24213 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24214 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24215 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24217 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24218 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24219 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24220 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24221 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24222 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24223 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24224 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24225 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24226 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24227 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24228 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24229 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24230 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24231
24232 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24233
24234 * stdio-common/_itoa.h: Moved to ...
24235 * sysdeps/generic/_itoa.h: Here.
24236
24237 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24238
24239 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24240 instead of "_itoa.h" and "_itowa.h".
24241 * stdio-common/vfprintf.: Likewise.
24242
24243 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24244
24245 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24246 <bits/wordsize.h>.
24247 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24248 (__signbit): Likwise.
24249 (llrintf): Likwise.
24250 (llrint): Likwise.
24251
24252 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24253
24254 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24255 __WORDSIZE != 64.
24256
24257 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24258
24259 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24260 OVERFLOW_EXCEPTION_OK.
24261 * math/libm-test.inc ("Philosophy"): Update comment about
24262 exception testing.
24263 (OVERFLOW_EXCEPTION): Define.
24264 (OVERFLOW_EXCEPTION_OK): Likewise.
24265 (INVALID_EXCEPTION_OK): Renumber.
24266 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24267 (IGNORE_ZERO_INF_SIGN): Likewise.
24268 (test_exceptions): Handle FE_OVERFLOW.
24269 (exp10_test): Expect overflow exceptions.
24270 (exp2_test): Likewise.
24271 (expm1_test): Likewise.
24272 (nextafter_test): Likewise.
24273 (pow_test): Likewise.
24274 (scalbn_test): Likewise.
24275 (scalbln_test): Likewise.
24276
24277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24278
24279 * sysdeps/x86_64/bits/atomic.h
24280 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24281 64bit integer.
24282 (atomic_exchange_acq): Likewise.
24283 (__arch_exchange_and_add_body): Likewise.
24284 (__arch_add_body): Likewise.
24285 (atomic_add_negative): Likewise.
24286 (atomic_add_zero): Likewise.
24287
24288 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24289
24290 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24291 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24292
24293 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24294
24295 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24296 Check __x86_64__ instead of __WORDSIZE.
24297
24298 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24299
24300 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24301
24302 2012-03-19 David S. Miller <davem@davemloft.net>
24303
24304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24305
24306 * sysdeps/sparc/fpu/fenv_private.h: New file.
24307 * sysdeps/sparc/fpu/math_private.h: Use it.
24308 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24309 Remove.
24310 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24311 (libc_feholdexcept_setroundl): Remove.
24312 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24313 Remove.
24314 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24315 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24316
24317 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24318
24319 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24320 int64_t instead of long int.
24321 (INSERT_WORDS64): Likwise.
24322
24323 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24324
24325 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24326 _Unwind_GetCFA return to _Unwind_Ptr first.
24327
24328 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24329
24330 [BZ #13629]
24331 * math/s_clog.c: Include <float.h>.
24332 (__clog): Scale large or subnormal inputs.
24333 * math/s_clogf.c: Likewise.
24334 * math/s_clogl.c: Likewise.
24335 * math/s_clog10.c: Include <float.h>.
24336 (M_LOG10_2): Define.
24337 (__clog10): Scale large or subnormal inputs.
24338 * math/s_clog10f.c: Likewise.
24339 * math/s_clog10l.c: Likewise.
24340 * math/libm-test.inc (clog_test): Add more tests.
24341 (clog10_test): Likewise.
24342 * sysdeps/i386/fpu/libm-test-ulps: Update.
24343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24344
24345 [BZ #11451]
24346 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24347 x and y.
24348 * math/libm-test.inc (atan2_test): Add another test.
24349
24350 * Makerules (common-objdir-compile): Remove.
24351 * sysdeps/unix/Makefile (config-generated): Do not add
24352 $(unix-generated) to variable.
24353 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24354 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24355 Remove rule.
24356 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24357 Likewise.
24358 [generic bits/local_lim.h] (before-compile): Do not append to
24359 variable.
24360 [generic bits/local_lim.h] (common-generated): Likewise.
24361 [generic sys/param.h] (before-compile): Do not append to variable.
24362 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24363 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24364 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24365 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24366 include.
24367 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24368 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24369 [generic sys/param.h] ($(addprefix
24370 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24371 [generic sys/param.h] (common-generated): Do not append to
24372 variable.
24373 [generic sys/param.h] (sysdep_headers): Likewise.
24374 [generic bits/errno.h] (before-compile): Do not append to
24375 variable.
24376 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24377 rule.
24378 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24379 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24380 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24381 [generic bits/errno.h] (common-generated): Do not append to
24382 variable.
24383 [generic bits/ioctls.h] (before-compile): Do not append to
24384 variable.
24385 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24386 rule.
24387 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24388 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24389 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24390 rule.
24391 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24392 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24393 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24394 [generic bits/ioctls.h] (common-generated): Do not append to
24395 variable.
24396 [generic sys/syscall.h] (syscall.h): Remove variable.
24397 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24398 rule.
24399 [generic sys/syscall.h] (before-compile): Do not append to
24400 variable.
24401 [generic sys/syscall.h] (common-generated): Likewise.
24402 * sysdeps/unix/errnos-tmpl.c: Remove file.
24403 * sysdeps/unix/errnos.awk: Likewise.
24404 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24405 * sysdeps/unix/ioctls.awk: Likewise.
24406 * sysdeps/unix/mk-local_lim.c: Likewise.
24407 * sysdeps/unix/snarf-ioctls: Likewise.
24408
24409 2012-03-19 Richard Henderson <rth@twiddle.net>
24410
24411 * sysdeps/i386/fpu/fenv_private.h: New file.
24412 * sysdeps/i386/fpu/math_private.h: Use it.
24413 (math_opt_barrier, math_force_eval): Remove.
24414 (libc_feholdexcept_setround_53bit): Remove.
24415 (libc_feupdateenv_53bit): Remove.
24416 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24417 (math_opt_barrier, math_force_eval): Remove.
24418 (libc_feholdexcept): Remove.
24419 (libc_feholdexcept_setround): Remove.
24420 (libc_fetestexcept, libc_fesetenv): Remove.
24421 (libc_feupdateenv_test): Remove.
24422 (libc_feupdateenv, libc_feholdsetround): Remove.
24423 (libc_feresetround): Remove.
24424
24425 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24426 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24427
24428 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24429 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24430 (libc_feupdateenv_testl): New.
24431 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24432 (libc_feupdateenv_testf): New.
24433 (libc_feupdateenv): Use libc_feupdateenv_test.
24434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24435 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24436
24437 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24438 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24439 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24440 (libc_feresetround_noex): New.
24441 (libc_feresetround_noexf): New.
24442 (libc_feresetround_noexl): New.
24443 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24444 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24445 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24446 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24447 SET_RESTORE_ROUND.
24448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24450 (__cos): Likewise.
24451 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24452 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24453 SET_RESTORE_ROUND_NOEX.
24454 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24455 SET_RESTORE_ROUND_NOEXF.
24456 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24457 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24458 (libc_feholdsetroundf): New.
24459 (libc_feresetround, libc_feresetroundf): New.
24460
24461 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24462 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24463 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24464
24465 * sysdeps/generic/math_private.h: Include <fenv.h>.
24466 (default_libc_feholdexcept): New.
24467 (default_libc_feholdexcept_setround): New.
24468 (default_libc_fesetenv, default_libc_feupdateenv): New.
24469 (libc_feholdexcept): Only define if undefined.
24470 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24471 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24472 (libc_feholdexcept_setroundl): Likewise.
24473 (libc_feholdexcept_setround_53bit): Likewise.
24474 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24475 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24476 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24477 (libc_feupdateenv_53bit): Likewise.
24478 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24479 (libc_feholdexcept): Convert from macro to inline function.
24480 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24481 (libc_fesetenv, libc_feupdateenv): Likewise.
24482
24483 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24484 not previously defined.
24485 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24486 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24487 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24488 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24489 * sysdeps/ieee754/flt-32/math_private.h: New file.
24490 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24491 math_private.h below SET_FLOAT_WORD.
24492 (__isnan, __isinf_ns, __finite): Remove.
24493 (__isnanf, __isinf_nsf, __finitef): Remove.
24494
24495 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24496
24497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24498
24499 2012-03-17 David S. Miller <davem@davemloft.net>
24500
24501 [BZ #6471]
24502 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24503 for 2.16.
24504
24505 2012-03-16 David S. Miller <davem@davemloft.net>
24506
24507 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24508 warnings.
24509
24510 [BZ #6471]
24511 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24512 properly.
24513 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24514 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24515 sysdep_routines when subdir is sysvipc.
24516 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24517 __getshmlba helper.
24518
24519 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24520
24521 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24522
24523 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24524 [__LP64__].
24525
24526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24527
24528 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24529 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24530 (__lround): Renamed to ...
24531 (__llround): This. Replace long int with long long int.
24532 Define lround functions as aliases of llround functions.
24533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24534
24535 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24536
24537 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24538 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24539 adresses to uintptr_t. Replace "long int" and "unsigned long
24540 int" with "greg_t" on va_arg.
24541
24542 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24543
24544 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24545 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24546
24547 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24548 Move e_machine check before EI_CLASS check. Handle x32
24549 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24550 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24551 SKIP_EM_IA_64 and include
24552 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24553
24554 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24555 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24556 (add_system_dir): New macro.
24557
24558 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24559 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24560
24561 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24562
24563 [BZ #2551]
24564 [BZ #2552]
24565 [BZ #2553]
24566 [BZ #2554]
24567 [BZ #2562]
24568 [BZ #2563]
24569 [BZ #2565]
24570 [BZ #2566]
24571 [BZ #2576]
24572 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24573 (y0): Likewise.
24574 * math/w_j0f.c (j0f): Likewise.
24575 (y0f): Likewise.
24576 * math/w_j0l.c (__j0l): Likewise.
24577 (__y0l): Likewise.
24578 * math/w_j1.c (j1): Likewise.
24579 (y1): Likewise.
24580 * math/w_j1f.c (j1f): Likewise.
24581 (y1f): Likewise.
24582 * math/w_j1l.c (__j1l): Likewise.
24583 (__y1l): Likewise.
24584 * math/w_jn.c (jn): Likewise.
24585 (yn): Likewise.
24586 * math/w_jnf.c (jnf): Likewise.
24587 (ynf): Likewise.
24588 * math/w_jnl.c (__jnl): Likewise.
24589 (__ynl): Likewise.
24590 * math/libm-test.inc (j0_test): Add more tests.
24591 (j1_test): Likewise.
24592 (jn_test): Likewise. Add trailing semicolon to existing test.
24593 (y0_test): Likewise.
24594 (y1_test): Likewise.
24595 * sysdeps/i386/fpu/libm-test-ulps: Update.
24596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24597
24598 [BZ #13851]
24599 [BZ #13854]
24600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24601 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24602 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24603 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24604 (__tanl): Set errno for infinite argument.
24605 * sysdeps/i386/fpu/mptan.c: Remove.
24606 * sysdeps/i386/fpu/s_tan.S: Likewise.
24607 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24608 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24609 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24610 * math/libm-test.inc (tan_test): Add more tests and enable more
24611 tests for double and long double.
24612 * sysdeps/i386/fpu/libm-test-ulps: Update.
24613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24614
24615 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24616
24617 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24618 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24619
24620 2012-03-16 Roland McGrath <roland@hack.frob.com>
24621
24622 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24623 * configure.in: Use it for both main tree and add-ons.
24624 * configure: Regenerated.
24625
24626 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24627
24628 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24629
24630 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24631
24632 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24633 in comment.
24634
24635 [BZ #13851]
24636 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24637 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24641 infinite argument.
24642 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24643 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24644 != 0 for prec == 2.
24645 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24646 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24647 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24648 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24649 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24650 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24651 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24652 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24653 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24654 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24655 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24656 * math/libm-test.inc (cos_test): Add more tests and enable more
24657 tests for long double.
24658 (sin_test): Likewise.
24659 (sincos_test): Likewise.
24660 * sysdeps/i386/fpu/libm-test-ulps: Update.
24661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24662
24663 2012-03-16 David S. Miller <davem@davemloft.net>
24664
24665 * sysdeps/sparc/fpu/math_private.h: New file.
24666
24667 2012-03-15 David S. Miller <davem@davemloft.net>
24668
24669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24670 file.
24671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24673 file.
24674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24680 sysdep routines.
24681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24682
24683 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24684 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24685
24686 * sysdeps/sparc/sparc-ifunc.h: New file.
24687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24688 sparc-ifunc.h
24689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24691 Likewise.
24692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24693 Likewise.
24694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24698 Likewise.
24699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24704 Likewise.
24705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24706 Likewise.
24707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24729 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24731
24732 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24733
24734 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24735 scaling.
24736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24737
24738 2012-03-15 Andreas Jaeger <aj@suse.de>
24739
24740 [BZ #13852]
24741 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24742 ieee754/flt-32 implementation for sin, cos and sincos.
24743 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24744 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24745 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24746 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24747 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24748 ieee754/flt-32 implementation for tan.
24749
24750 * math/libm-test.inc (cos_test): Enable some large input tests for
24751 float as well
24752 (sin_test): Likewise.
24753 (sincos_test): Likewise.
24754 (tan_test): Add tests for large input.
24755
24756 * sysdeps/i386/fpu/libm-test-ulps: Update.
24757
24758 2012-03-15 Andreas Jaeger <aj@suse.de>
24759
24760 [BZ #13658]
24761 * math/libm-test.inc (cos_test): Add more test cases.
24762 (sin_test): Likewise.
24763 (sincos_test): Likewise.
24764
24765 2012-03-15 Andreas Jaeger <aj@suse.de>
24766
24767 [BZ #13837]
24768 * math/libm-test.inc (cos_test): Add a test case for large input
24769 value.
24770 (sin_test): Likewise.
24771 (sincos_test): Likewise.
24772
24773 2012-03-15 Andreas Jaeger <aj@suse.de>,
24774 Joseph Myers <joseph@codesourcery.com>
24775
24776 [BZ #13658]
24777 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24778 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24779 * sysdeps/i386/fpu/branred.c: Likewise.
24780 * sysdeps/i386/fpu/dosincos.c: Likewise.
24781 * sysdeps/i386/fpu/mpa.c: Likewise.
24782 * sysdeps/i386/fpu/s_cos.S: Likewise.
24783 * sysdeps/i386/fpu/s_sin.S: Likewise.
24784 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24785 * sysdeps/i386/fpu/sincos32.c: Likewise.
24786
24787 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24788 Define.
24789 (libc_feupdateenv_53bit): Define.
24790 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24791 Define.
24792 (libc_feupdateenv_53bit): Define.
24793
24794 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24795 53 bit (without extend i386 double precision).
24796
24797 * math/libm-test.inc (sincos_test): Add tests for large input.
24798 (sin): Likewise.
24799 (cos): Likewise.
24800
24801 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24802
24803 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24804
24805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24806
24807 2012-03-15 David S. Miller <davem@davemloft.net>
24808
24809 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24810 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24811 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24812 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24825 file.
24826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24828 file.
24829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24831 file.
24832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24834 file.
24835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24837 fmin/fmax sysdep routines.
24838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24839
24840 2012-03-14 David S. Miller <davem@davemloft.net>
24841
24842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24871 routines.
24872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24873 file.
24874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24876 file.
24877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24879 file.
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24882 file.
24883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24885 file.
24886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24888 file.
24889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24890 file.
24891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24892 file.
24893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24894 file.
24895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24896 New file.
24897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24898 file.
24899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24900 file.
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24903 file.
24904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24906 file.
24907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24909 file.
24910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24912 VIS3 routines.
24913
24914 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24915 New file.
24916
24917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24918
24919 * sysdeps/sparc/configure.in: New file.
24920 * sysdeps/sparc/configure: Generate.
24921 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24922 * configure: Regenerate.
24923 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24924 * config.make.in (have-as-vis3): New.
24925 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24926 available use -Av9d instead of -Av9a.
24927 * sysdeps/sparc/sparc64/Makefile: Likewise.
24928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24930 New file.
24931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24932 file.
24933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24934 New file.
24935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24936 file.
24937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24942
24943 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24944 fzeros/fnegs to load 0x80000000 into a float register instead of
24945 using the stack.
24946 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24947
24948 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24949
24950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24951 bits/syscall.h.
24952 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24953 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24954 ($(inst_includedir)/bits/syscall.h): Remove rule.
24955 ($(objpfx)bits/syscall.d): Include instead of
24956 $(objpfx)syscall-list.d.
24957 (generated): Change syscall-list.h and syscall-list.d to
24958 bits/syscall.h and bits/syscall.d.
24959
24960 2012-03-14 Roland McGrath <roland@hack.frob.com>
24961
24962 [BZ #13846]
24963 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24964
24965 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24966
24967 [BZ #13841]
24968 * math/s_csqrt.c: Include <float.h>.
24969 (__csqrt): Scale large or subnormal inputs.
24970 * math/s_csqrtf.c: Likewise.
24971 * math/s_csqrtl.c: Likewise.
24972 * math/libm-test.inc (csqrt_test): Add more tests.
24973 * sysdeps/i386/fpu/libm-test-ulps: Update.
24974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24975
24976 [BZ #13840]
24977 * math/libm-test.inc (hypot_test): Add more tests.
24978
24979 2012-03-13 David S. Miller <davem@davemloft.net>
24980
24981 [BZ #13840]
24982 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24983 double-precision for the calculation instead of scaling.
24984
24985 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24986
24987 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24988 manipulate bits before adding and subtracting TWO52[sx].
24989 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24991 Likewise.
24992 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24993
24994 2012-03-13 David S. Miller <davem@davemloft.net>
24995
24996 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24997 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24999 rtld-global-offsets.h
25000 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25001
25002 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25003 large parameters.
25004
25005 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25006
25007 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25008 'err' in the ifdef scope in which it is actually used.
25009
25010 * nss/nss_db/db-init.c: Include string.h
25011
25012 2012-03-12 David S. Miller <davem@davemloft.net>
25013
25014 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25015 masking out of the most significant byte of random value used.
25016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25017 Fix coding style in previous change.
25018
25019 * sysdeps/unix/sysv/linux/kernel-features.h
25020 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25021 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25022 expression.
25023 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25024 later.
25025
25026 2012-03-11 David S. Miller <davem@davemloft.net>
25027
25028 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25029 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25030 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25031 for 'resultvar' otherwise things get truncated on 64-bit.
25032
25033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25034 Fix masking out of the most significant byte of random value used.
25035
25036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25037
25038 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25039
25040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25041
25042 2012-03-09 David S. Miller <davem@davemloft.net>
25043
25044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25045 variables with appropriate CPP guards.
25046 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25047 frame pointer, not the stack pointer. Correct layout comments. Fix test
25048 on resulting framesize and the management of the outregs buffer for pltexit.
25049 Preserve floating point return values across _dl_call_pltexit call.
25050 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25051 framesize and the management of the outregs buffer for pltexit.
25052 Preserve floating point return values across _dl_call_pltexit
25053 call.
25054 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25055 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25056 (print_exit): Fix format string for return register value.
25057
25058 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25059
25060 * sunrpc/Makefile (others): Add rpcgen.
25061 ($(objpfx)rpcgen): Remove special build rule and dependency on
25062 libc.
25063 * sunrpc/rpcgen.c: New file.
25064
25065 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25066
25067 [BZ #13673]
25068 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25069 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25070 * sysdeps/i386/crti.S: Likewise.
25071 * sysdeps/i386/crtn.S: Likewise.
25072 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25073 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25074 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25075 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25076 * sysdeps/sh/crti.S: Likewise.
25077 * sysdeps/sh/crtn.S: Likewise.
25078 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25079
25080 [BZ #13673]
25081 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25082 with URL.
25083 * locale/programs/locfile-kw.gperf: Likewise.
25084 * locale/programs/charmap-kw.h: Regenerated.
25085 * locale/programs/locfile-kw.h: Likewise.
25086
25087 [BZ #13673]
25088 * intl/plural.y: Replace FSF snail mail address with URL.
25089 * intl/plural.c: Regenerated.
25090
25091 2012-03-09 Richard Henderson <rth@twiddle.net>
25092
25093 * include/math_private.h: Remove file.
25094 * math/math_private.h: Move file ...
25095 * sysdeps/generic/math_private.h: ... here.
25096
25097 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25098 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25099 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25100
25101 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25102 and <math_private.h>.
25103 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25104 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25105 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25106 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25107 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25108 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25109 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25111 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25112 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25114 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25115 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25117 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25118 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25120 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25121 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25122 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25124 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25125 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25127 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25128 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25129 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25130 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25133 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25135 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25136 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25137 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25138 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25143 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25146 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25147 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25148 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25149 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25150 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25151 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25152 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25153 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25154 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25155 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25157 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25158 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25159 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25160 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25161 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25162 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25163 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25164 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25166 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25167 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25168 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25169 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25170 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25171 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25172 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25173 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25174 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25175 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25177 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25182 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25183 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25185 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25186 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25187 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25190 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25191 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25192 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25193 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25194 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25196 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25197 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25198 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25199 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25200 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25201 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25202 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25203 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25204 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25205 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25206 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25207 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25208 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25209 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25210 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25211 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25212 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25213 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25214 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25215 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25216 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25217 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25218 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25219 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25220 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25221 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25222 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25223 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25224 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25226 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25227 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25228 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25229 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25230 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25231 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25232 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25233 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25234 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25235 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25236 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25237 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25238 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25240 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25241 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25242 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25243 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25244 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25245 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25246 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25247 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25248 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25249 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25250 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25251 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25252 * sysdeps/ieee754/k_standard.c: Likewise.
25253 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25254 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25255 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25256 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25257 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25258 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25259 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25260 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25261 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25265 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25266 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25267 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25268 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25269 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25270 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25271 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25272 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25273 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25274 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25275 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25276 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25277 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25278 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25280 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25281 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25283 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25284 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25285 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25286 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25287 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25288 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25289 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25291 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25292 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25293 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25294 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25295 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25296 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25297 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25298 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25299 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25300 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25301 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25302 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25303 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25304 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25305 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25306 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25307 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25308 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25309 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25310 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25311 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25312 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25313 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25314 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25315 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25325 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25326 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25329 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25330 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25331 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25332 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25333 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25334 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25337 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25338 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25339 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25340 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25341 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25344 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25345 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25346 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25349 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25350 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25351 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25352 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25357 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25360 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25361 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25365 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25368 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25370 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25372 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25373 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25375 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25380 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25381 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25385 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25386 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25388 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25389 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25392 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25395 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25401 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25402 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25403 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25412 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25413 * sysdeps/ieee754/s_lib_version.c: Likewise.
25414 * sysdeps/ieee754/s_matherr.c: Likewise.
25415 * sysdeps/ieee754/s_signgam.c: Likewise.
25416 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25417 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25418 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25419 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25420 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25421 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25422 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25423 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25424 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25425 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25426 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25427 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25428 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25430 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25431 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25432 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25433 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25434 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25435 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25437
25438 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25439
25440 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25441 * sunrpc/rpc_main.c: Likewise.
25442 * sunrpc/rpc_svcout.c: Likewise.
25443
25444 2012-03-09 David S. Miller <davem@davemloft.net>
25445
25446 * include/math_private.h: New file.
25447
25448 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25449
25450 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25451 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25452 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25453 from <bits/socket_type.h>.
25454 (enum __socket_type): Don't define here.
25455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25457 bits/socket_type.h.
25458
25459 [BZ #13566]
25460 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25461 checking __USE_GNU.
25462
25463 * Makerules ($(inst_includedir)/%.h): New rule.
25464 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25465 (install-others): Remove variable setting.
25466 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25467
25468 2012-03-08 Richard Henderson <rth@twiddle.net>
25469
25470 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25471 from macro to inline function; merge with the
25472 !__LIBC_INTERNAL_MATH_INLINES version.
25473 (__ieee754_sqrtf): Likewise.
25474
25475 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25476 to inline function.
25477 (__rintf, __floor, __floorf): Likewise.
25478
25479 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25480 macro to inline function.
25481 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25482
25483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25484 not <math/math_private.h>.
25485
25486 2012-03-08 David S. Miller <davem@davemloft.net>
25487
25488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25489 copyright year.
25490 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25491
25492 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25493
25494 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25495 normalization.
25496 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25497 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25498
25499 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25500
25501 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25502 be defined individually, they must be defined as a block. Define
25503 S for printing a string instead of hidint the different by using a
25504 macro for adding the 'l'.
25505 * stdio-common/tst-fphex-wide.c: Adjust.
25506
25507 2012-03-07 Marek Polacek <polacek@redhat.com>
25508
25509 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25510
25511 2012-03-08 Marek Polacek <polacek@redhat.com>
25512
25513 [BZ #13806]
25514 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25515 * stdio-common/tst-fphex.c: Define a few macros to make the
25516 test reusable. Use them.
25517 * stdio-common/tst-fphex-wide.c: New file.
25518
25519 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25520
25521 [BZ #6911]
25522 * manual/macros.texi (gnusystems): New macro.
25523 (nongnusystems): Likewise.
25524 (gnulinuxhurdsystems): Likewise.
25525 (gnuhurdsystems): Likewise..
25526 (gnulinuxsystems): Likewise.
25527 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25528 variants of the GNU system, not "GNU system".
25529 * manual/conf.texi: Likewise.
25530 * manual/errno.texi: Likewise. Update example of errno macro
25531 expansion.
25532 * manual/filesys.texi: Likewise.
25533 (getumask): Document as specific to GNU/Hurd.
25534 * manual/install.texi: Likewise. Reword some references to
25535 GNU/Linux.
25536 * manual/intro.texi: Likewise.
25537 * manual/io.texi: Likewise.
25538 (File Name Portability): Detail which constraints are inapplicable
25539 to all GNU systems and which are only inapplicable to GNU/Hurd.
25540 * manual/job.texi: Likewise.
25541 * manual/llio.texi: Likewise.
25542 (O_NOCTTY): Document as present on GNU/Linux.
25543 * manual/maint.texi: Likewise.
25544 * manual/memory.texi: Likewise.
25545 * manual/pattern.texi: Likewise.
25546 * manual/pipe.texi: Likewise.
25547 * manual/process.texi: Likewise.
25548 * manual/resource.texi: Likewise.
25549 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25550 child on GNU/Hurd.
25551 * manual/setjmp.texi: Likewise.
25552 * manual/signal.texi: Likewise.
25553 * manual/startup.texi: Likewise.
25554 * manual/stdio.texi: Likewise.
25555 * manual/terminal.texi: Likewise.
25556 (ONLCR): Document as POSIX.
25557 (OXTABS): Document availability on GNU/Linux as XTABS.
25558 (ONOEOT): Document availability separately from other bits.
25559 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25560 * manual/time.texi: Likewise.
25561 * manual/users.texi: Likewise.
25562 * INSTALL: Regenerated.
25563 * sysdeps/gnu/errlist.c: Regenerated.
25564
25565 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25566 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25567 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25568 puts.
25569 * configure: Regenerated.
25570
25571 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25572
25573 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25574 default includes instead of AC_HEADER_CHECK.
25575 * sysdeps/i386/configure: Regenerated.
25576
25577 [BZ #10716]
25578 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25579 * math/s_cacoshf.c (__cacoshf): Likewise.
25580 * math/s_cacoshl.c (__cacoshl): Likewise.
25581 * math/s_casinh.c (__casinh): Set signs of result from argument.
25582 * math/s_casinhf.c (__casinhf): Likewise.
25583 * math/s_casinhl.c (__casinhl): Likewise.
25584 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25585 (casinh_test): Add more tests.
25586 * sysdeps/i386/fpu/libm-test-ulps: Update.
25587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25588
25589 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25590
25591 * po/zh_TW.po: Update from translation team.
25592
25593 * login/Makefile (distribute): Remove variable.
25594 * catgets/Makefile: Likewise.
25595 * mach/Makefile: Likewise.
25596 * malloc/Makefile: Likewise.
25597 * misc/Makefile: Likewise.
25598 * iconv/Makefile: Likewise.
25599 * nscd/Makefile: Likewise.
25600 * hurd/Makefile: Likewise.
25601 * manual/Makefile: Likewise.
25602 * locale/Makefile: Likewise.
25603 * intl/Makefile: Likewise.
25604 * conform/Makefile: Likewise.
25605 * nss/Makefile: Likewise.
25606 * time/Makefile: Likewise.
25607 * soft-fp/Makefile: Likewise.
25608 * dirent/Makefile: Likewise.
25609 * gmon/Makefile: Likewise.
25610 * po/Makefile: Likewise.
25611 * rt/Makefile: Likewise.
25612 * socket/Makefile: Likewise.
25613 * math/Makefile: Likewise.
25614 * signal/Makefile: Likewise.
25615 * debug/Makefile: Likewise.
25616 * elf/Makefile: Likewise.
25617 * timezone/Makefile: Likewise.
25618 * stdlib/Makefile: Likewise.
25619 * iconvdata/Makefile: Likewise.
25620 * sunrpc/Makefile: Likewise.
25621 * io/Makefile: Likewise.
25622 * argp/Makefile: Likewise.
25623 * inet/Makefile: Likewise.
25624 * hesiod/Makefile: Likewise.
25625 * grp/Makefile: Likewise.
25626 * csu/Makefile: Likewise.
25627 * wctype/Makefile: Likewise.
25628 * crypt/Makefile: Likewise.
25629 * libio/Makefile: Likewise.
25630 * string/Makefile: Likewise.
25631 * nis/Makefile: Likewise.
25632 * resolv/Makefile: Likewise.
25633 * stdio-common/Makefile: Likewise.
25634 * wcsmbs/Makefile: Likewise.
25635 * dlfcn/Makefile: Likewise.
25636 * posix/Makefile: Likewise.
25637
25638 [BZ #6959]
25639 * timezone/Makefile: Don't install timezone files, just the programs
25640 and scripts.
25641
25642 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25643
25644 * nss/databases.def: Add missing gshadow entry.
25645
25646 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25647
25648 2012-03-06 Marek Polacek <polacek@redhat.com>
25649
25650 [BZ #13726]
25651 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25652 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25653 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25654 * stdio-common/tst-long-dbl-fphex.c: New file.
25655
25656 2012-03-06 David S. Miller <davem@davemloft.net>
25657
25658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25659 (set_obp_int): New function.
25660 (get_obp_int): New function.
25661 (__get_clockfreq_via_dev_openprom): Likewise.
25662 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25663 Avoid unused variable warnings on 'val' and use builtin_expect.
25664 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25665 __builtin_expect.
25666 (INLINE_CLONE_SYSCALL): Likewise.
25667
25668 2012-03-05 David S. Miller <davem@davemloft.net>
25669
25670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25671
25672 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25673
25674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25675
25676 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25677 only for |x| >= 40.
25678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25679
25680 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25681
25682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25683 Replace gettimeofday with __vdso_gettimeofday.
25684
25685 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25686 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25687 __vdso_clock_gettime and __vdso_getcpu.
25688
25689 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25690 time with __vdso_time.
25691
25692 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25693
25694 * manual/lang.texi (size_t): Note types to which size_t may be
25695 equivalent with the GNU C Library, but do not describe when
25696 differences between them are significant.
25697
25698 2012-03-05 Andreas Jaeger <aj@suse.de>
25699
25700 * sysdeps/i386/fpu/libm-test-ulps: Update.
25701
25702 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25703
25704 [BZ #3976]
25705 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25706 (__ieee754_pow): Save and restore rounding mode and use
25707 round-to-nearest for main computations.
25708 * math/libm-test.inc (pow_test_tonearest): New function.
25709 (pow_test_towardzero): Likewise.
25710 (pow_test_downward): Likewise.
25711 (pow_test_upward): Likewise.
25712 (main): Call the new functions.
25713 * sysdeps/i386/fpu/libm-test-ulps: Update.
25714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25715
25716 [BZ #3976]
25717 * math/libm-test.inc (cosh_test_tonearest): New function.
25718 (cosh_test_towardzero): Likewise.
25719 (cosh_test_downward): Likewise.
25720 (cosh_test_upward): Likewise.
25721 (sinh_test_tonearest): Likewise.
25722 (sinh_test_towardzero): Likewise.
25723 (sinh_test_downward): Likewise.
25724 (sinh_test_upward): Likewise.
25725 (main): Call the new functions.
25726 * sysdeps/i386/fpu/libm-test-ulps: Update.
25727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25728
25729 2012-03-05 Tom de Vries <tom@codesourcery.com>
25730
25731 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25732 default stack guard is set in last bytes.
25733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25734
25735 2012-03-05 Kees Cook <keescook@chromium.org>
25736
25737 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25738
25739 [BZ #13656]
25740 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25741 possibly allocate from heap instead of stack.
25742 * stdio-common/bug-vfprintf-nargs.c: New file.
25743 * stdio-common/Makefile (tests): Add nargs overflow test.
25744
25745 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25746
25747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25748
25749 2012-03-03 Marek Polacek <polacek@redhat.com>
25750
25751 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25752 * math/math_private.h: Likewise.
25753 * stdlib/tst-strtod.c: Likewise.
25754 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25755 * sysdeps/x86_64/bits/atomic.h: Likewise.
25756
25757 2012-03-02 David S. Miller <davem@davemloft.net>
25758
25759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25763 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25764 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25765 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25766 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25767
25768 2012-03-02 Roland McGrath <roland@hack.frob.com>
25769
25770 [BZ #13792]
25771 * manual/examples/README: New file, says the example source files
25772 can be used under GPL>=2.
25773 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25774 line containing just "*/".
25775 * manual/examples/add.c: Add copyright header (GPL>=2).
25776 * manual/examples/argp-ex1.c: Likewise.
25777 * manual/examples/argp-ex2.c: Likewise.
25778 * manual/examples/argp-ex3.c: Likewise.
25779 * manual/examples/argp-ex4.c: Likewise.
25780 * manual/examples/atexit.c: Likewise.
25781 * manual/examples/db.c: Likewise.
25782 * manual/examples/dir.c: Likewise.
25783 * manual/examples/dir2.c: Likewise.
25784 * manual/examples/execinfo.c: Likewise.
25785 * manual/examples/filecli.c: Likewise.
25786 * manual/examples/filesrv.c: Likewise.
25787 * manual/examples/fmtmsgexpl.c: Likewise.
25788 * manual/examples/genpass.c: Likewise.
25789 * manual/examples/inetcli.c: Likewise.
25790 * manual/examples/inetsrv.c: Likewise.
25791 * manual/examples/isockad.c: Likewise.
25792 * manual/examples/longopt.c: Likewise.
25793 * manual/examples/memopen.c: Likewise.
25794 * manual/examples/memstrm.c: Likewise.
25795 * manual/examples/mkfsock.c: Likewise.
25796 * manual/examples/mkisock.c: Likewise.
25797 * manual/examples/mygetpass.c: Likewise.
25798 * manual/examples/pipe.c: Likewise.
25799 * manual/examples/popen.c: Likewise.
25800 * manual/examples/rprintf.c: Likewise.
25801 * manual/examples/search.c: Likewise.
25802 * manual/examples/select.c: Likewise.
25803 * manual/examples/setjmp.c: Likewise.
25804 * manual/examples/sigh1.c: Likewise.
25805 * manual/examples/sigusr.c: Likewise.
25806 * manual/examples/stpcpy.c: Likewise.
25807 * manual/examples/strdupa.c: Likewise.
25808 * manual/examples/strftim.c: Likewise.
25809 * manual/examples/strncat.c: Likewise.
25810 * manual/examples/subopt.c: Likewise.
25811 * manual/examples/swapcontext.c: Likewise.
25812 * manual/examples/termios.c: Likewise.
25813 * manual/examples/testopt.c: Likewise.
25814 * manual/examples/testpass.c: Likewise.
25815 * manual/examples/timeval_subtract.c: Likewise.
25816
25817 [BZ #13792]
25818 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25819 function to ...
25820 * manual/timeval_subtract.c.texi: ... here, new file.
25821
25822 2012-03-02 David S. Miller <davem@davemloft.net>
25823
25824 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25825
25826 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25827
25828 [BZ #3976]
25829 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25830 (__sin): Save and restore rounding mode and use round-to-nearest
25831 for all computations.
25832 (__cos): Save and restore rounding mode and use round-to-nearest
25833 for all computations.
25834 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25835 <fenv.h>.
25836 (tan): Save and restore rounding mode and use round-to-nearest for
25837 all computations.
25838 * math/libm-test.inc (cos_test_tonearest): New function.
25839 (cos_test_towardzero): Likewise.
25840 (cos_test_downward): Likewise.
25841 (cos_test_upward): Likewise.
25842 (sin_test_tonearest): Likewise.
25843 (sin_test_towardzero): Likewise.
25844 (sin_test_downward): Likewise.
25845 (sin_test_upward): Likewise.
25846 (tan_test_tonearest): Likewise.
25847 (tan_test_towardzero): Likewise.
25848 (tan_test_downward): Likewise.
25849 (tan_test_upward): Likewise.
25850 (main): Call the new functions.
25851 * sysdeps/i386/fpu/libm-test-ulps: Update.
25852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25853
25854 [BZ #10135]
25855 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25856 small n, then large n, before computing and testing k+n.
25857 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25859 Likewise.
25860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25861 Likewise.
25862 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25863 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25864 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25865 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25866 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25868 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25869 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25870 * math/libm-test.inc (scalbn_test): Add more tests.
25871 (scalbln_test): Likewise.
25872
25873 * manual/filesys.texi (mode_t): Describe constraints on size and
25874 signedness, not exact equivalence to a particular type.
25875 (ino_t): Likewise.
25876 (ino64_t): Likewise.
25877 (dev_t): Likewise.
25878 (nlink_t): Likewise.
25879 (blkcnt_t): Likewise.
25880 (blkcnt64_t): Likewise.
25881 * manual/llio.texi (off_t): Likewise.
25882
25883 [BZ #3976]
25884 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25885 (__ieee754_exp): Save and restore rounding mode and use
25886 round-to-nearest for all computations.
25887 * math/libm-test.inc (exp_test_tonearest): New function.
25888 (exp_test_towardzero): Likewise.
25889 (exp_test_downward): Likewise.
25890 (exp_test_upward): Likewise.
25891 (main): Call the new functions.
25892 * sysdeps/i386/fpu/libm-test-ulps: Update.
25893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25894
25895 2012-03-01 Chris Demetriou <cgd@google.com>
25896
25897 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25898 have predictable order.
25899
25900 2012-03-01 David S. Miller <davem@davemloft.net>
25901
25902 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25903
25904 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25905 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25906 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25907 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25908
25909 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25910 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25911 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25913 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25914 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25915 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25916 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25917 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25918
25919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25920
25921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25922 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25923 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25924
25925 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25926 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25927 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25928 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25929 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25930 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25932 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25933 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25934 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25935 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25936 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25938 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25939 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25941 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25942 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25943 * sysdeps/sparc/elf/configure: Regenerated.
25944
25945 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25946
25947 * configure.in (AS, LD): Require binutils 2.20 or later.
25948 * configure: Regenerated.
25949 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25950 as required minimum version.
25951 * INSTALL: Regenerated.
25952
25953 [BZ #2541]
25954 [BZ #4108]
25955 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25956 before squaring exponent.
25957 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25958 bottom long double and 27 bits of top long double before squaring
25959 exponent.
25960 * math/libm-test.inc (erfc_test): Add more tests.
25961 * sysdeps/i386/fpu/libm-test-ulps: Update.
25962 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25964
25965 2012-03-01 Kai Tietz <ktietz@redhat.com>
25966
25967 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25968 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25969 containing bit-fields.
25970 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25971 * soft-fp/single.h (_FP_UNION_S): Likewise.
25972 * soft-fp/double.h (_FP_UNION_D): Likewise.
25973
25974 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25975
25976 [BZ #13786]
25977 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25978 not include ../strcmp.S.
25979 [USE_AS_STRNCASECMP_L]: Likewise.
25980 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25981 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25982 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25983 (__strncasecmp_l_ia32): Define as alias to
25984 __strncasecmp_l_nonascii.
25985
25986 [BZ #5794]
25987 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25988 * sysdeps/i386/fpu/libm-test-ulps: Update.
25989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25990
25991 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25993
25994 2012-02-29 Jeff Law <law@redhat.com>
25995
25996 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25997 out of bounds read.
25998
25999 2012-02-29 Marek Polacek <polacek@redhat.com>
26000
26001 [BZ #13706]
26002 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26003 * elf/Makefile: Add rules to run tst-unused-dep.out.
26004
26005 2012-02-28 David S. Miller <davem@davemloft.net>
26006
26007 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26008 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26009 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26011 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26012 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26013
26014 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26015
26016 * math/libm-test.inc (llround_test): Move one test from
26017 lround_test. Use TEST_f_L in moved test.
26018 (lround_test): Move misplaced test to llround_test. Add testcase
26019 from bug 2561.
26020
26021 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26022
26023 * sysdeps/x86_64/fpu/e_expf.S: New file.
26024 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26025
26026 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26027
26028 [BZ #13637]
26029 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26030 of remain_len that may cause incomplete multi-byte character and
26031 false match.
26032 * posix/bug-regex33.c: New file.
26033 * posix/Makefile (tests): Add bug-regex33.
26034
26035 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26036
26037 * manual/macros.texi: New file.
26038 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26039 * manual/libc.texinfo: Include macros.texi.
26040 * manual/creatute.texi: Likewise.
26041 * manual/install.texi: Likewise.
26042 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26043 @glibcadj{} in references to the GNU C Library.
26044 * manual/charset.texi: Likewise.
26045 * manual/conf.texi: Likewise.
26046 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26047 when not using those macros.
26048 * manual/creature.texi: Likewise.
26049 * manual/crypt.texi: Likewise.
26050 * manual/errno.texi: Likewise.
26051 * manual/filesys.texi: Likewise.
26052 * manual/header.texi: Likewise.
26053 * manual/install.texi: Likewise.
26054 * manual/intro.texi: Likewise.
26055 * manual/io.texi: Likewise.
26056 * manual/job.texi: Likewise.
26057 * manual/lang.texi: Likewise.
26058 * manual/libc.texiinfo: Likewise.
26059 * manual/llio.texi: Likewise.
26060 * manual/locale.texi: Likewise.
26061 * manual/maint.texi: Likewise.
26062 * manual/math.texi: Likewise.
26063 * manual/memory.texi: Likewise.
26064 * manual/message.texi: Likewise.
26065 * manual/nss.texi: Likewise.
26066 * manual/pattern.texi: Likewise.
26067 * manual/process.texi: Likewise.
26068 * manual/resource.texi: Likewise.
26069 * manual/search.texi: Likewise.
26070 * manual/setjmp.texi: Likewise.
26071 * manual/signal.texi: Likewise.
26072 * manual/socket.texi: Likewise.
26073 * manual/startup.texi: Likewise.
26074 * manual/stdio.texi: Likewise.
26075 * manual/string.texi: Likewise.
26076 * manual/sysinfo.texi: Likewise.
26077 * manual/syslog.texi: Likewise.
26078 * manual/terminal.texi: Likewise.
26079 * manual/time.texi: Likewise.
26080 * manual/users.texi: Likewise.
26081 * INSTALL: Regenerated.
26082 * NOTES: Regenerated.
26083 * sysdeps/gnu/errlist.c: Regenerated.
26084
26085 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26086
26087 * include/dirent.h: Include <dirstream.h> before
26088 <dirent/dirent.h>.
26089
26090 2012-02-28 David S. Miller <davem@davemloft.net>
26091
26092 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26093 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26094 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26095 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26096
26097 2012-02-27 David S. Miller <davem@davemloft.net>
26098
26099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26101 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26102 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26103
26104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26105 frame pointer instead of stack pointer relative arg slot.
26106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26107 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26108 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26109
26110 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26111
26112 [BZ #3992]
26113 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26114
26115 2012-02-27 David S. Miller <davem@davemloft.net>
26116
26117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26121 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26122 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26123 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26124 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26125
26126 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26127
26128 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26129 later. Allow versions 5-9.
26130 * configure: Regenerated.
26131 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26132 required minimum version and 4.6 as recommended version. Do not
26133 mention bugs in GCC 2.7 and 2.8.
26134 * INSTALL: Regenerated.
26135
26136 2012-02-27 David S. Miller <davem@davemloft.net>
26137
26138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26142 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26143 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26144 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26145 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26146
26147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26148 manipulate bits before adding and subtracting TWO112[sx].
26149 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26150
26151 2012-02-27 Roland McGrath <roland@hack.frob.com>
26152
26153 [BZ #13775]
26154 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26155 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26156 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26157 being in POSIX, because they are in 1003.1-2008.
26158
26159 * rt/tst-aio.c: Include <fcntl.h>.
26160 * rt/tst-aio7.c: Likewise.
26161 * rt/tst-aio64.c: Likewise.
26162
26163 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26164
26165 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26166
26167 * manual/install.texi (--with-headers): Describe headers as
26168 interface headers, not private headers.
26169 (Specific advice for GNU/Linux systems): Describe use of headers
26170 from "make headers_install", not private headers from older
26171 kernels.
26172 * INSTALL: Regenerated.
26173 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26174 Change to 2.6.19.
26175 * sysdeps/unix/sysv/linux/configure: Regenerated.
26176
26177 * manual/llio.texi (fclean): Remove documentation.
26178
26179 * manual/Makefile (libc-texi-generated): New variable. Include
26180 version.texi.
26181 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26182 $(libc-texi-generated), not duplicated list of files.
26183 (version.texi, stamp-version): New rules.
26184 (realclean): Remove $(libc-texi-generated), not individual files
26185 from that list. Do not remove dir-add.texinfo.
26186 * manual/libc.texinfo: Comment out uses of edition numbers and
26187 references to printed manual. Remove last-updated dates.
26188 (EDITION): Comment out.
26189 (ISBN): Likewise.
26190 (VERSION, UPDATED): Remove.
26191 (version.texi): Include.
26192
26193 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26194
26195 * sysdeps/posix/spawni.c: Include <signal.h>.
26196 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26197 * sysdeps/pthread/aio_fsync.c: Likewise.
26198
26199 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26200
26201 * conform/Makefile (tests): Run only when not cross-compiling and
26202 when fast-check is not defined.
26203
26204 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26205 * conform/data/limits.h-data: Fixes for POSIX2008.
26206 * conform/run-conformtest.sh: Run all tests.
26207 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26208 headers.
26209 * include/bits/dlfcn.h: Likewise.
26210 * include/langinfo.h: Likewise.
26211 * include/monetary.h: Likewise.
26212 * include/sys/poll.h: Likewise.
26213
26214 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26215 for __USE_GNU.
26216 * posix/spawn.h: Define __need_sigset_t.
26217 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26218 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26219 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26220 to get sigevent_t only.
26221 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26222 only for __USE_GNU.
26223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26224 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26225 process_vm_writev only for __USE_GNU.
26226 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26227
26228 * conform/Makefile: For now ignore errors from run-conformtest.
26229 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26230 POSIX to avoid namespace pollution. Don't prepend headers.
26231 * conform/data/aio.h-data: Fixes for POSIX testing.
26232 * conform/data/fcntl.h-data: Likewise.
26233 * conform/data/glob.h-data: Likewise.
26234 * conform/data/grp.h-data: Likewise.
26235 * conform/data/pthread.h-data: Likewise.
26236 * conform/data/pwd.h-data: Likewise.
26237 * conform/data/signal.h-data: Likewise.
26238 * conform/data/spawn.h-data: Likewise.
26239 * conform/data/stdio.h-data: Likewise.
26240 * conform/data/stdlib.h-data: Likewise.
26241 * conform/data/stropts.h-data: Likewise.
26242 * conform/data/sys/mman.h-data: Likewise.
26243 * conform/data/sys/stat.h-data: Likewise.
26244 * conform/data/sys/types.h-data: Likewise.
26245 * conform/data/sys/wait.h-data: Likewise.
26246 * conform/data/time.h-data: Likewise.
26247 * conform/data/unistd.h-data: Likewise.
26248 * conform/data/utime.h-data: Likewise.
26249
26250 * io/sys/stat.h: fchmod was always in POSIX.
26251 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26252 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26253 * rt/aio.h: Define __need_timespec before including <time.h>.
26254 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26255 struct. Add forward declaration of pthread_attr_t and use it in
26256 sigevent.
26257 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26258 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26259 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26260 always remove CLK_TCK definition.
26261
26262 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26263
26264 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26265
26266 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26267
26268 * conform/run-conformtest.sh: New file.
26269 * conform/Makefile: Run run-conformtest for tests.
26270 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26271 support.
26272
26273 * conform/data/uchar.h-data: New file.
26274 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26275 * conform/data/arpa/inet.h-data: Likewise.
26276 * conform/data/assert.h-data: Likewise.
26277 * conform/data/complex.h-data: Likewise.
26278 * conform/data/cpio.h-data: Likewise.
26279 * conform/data/ctype.h-data: Likewise.
26280 * conform/data/dirent.h-data: Likewise.
26281 * conform/data/dlfcn.h-data: Likewise.
26282 * conform/data/errno.h-data: Likewise.
26283 * conform/data/fcntl.h-data: Likewise.
26284 * conform/data/float.h-data: Likewise.
26285 * conform/data/fmtmsg.h-data: Likewise.
26286 * conform/data/fnmatch.h-data: Likewise.
26287 * conform/data/ftw.h-data: Likewise.
26288 * conform/data/glob.h-data: Likewise.
26289 * conform/data/grp.h-data: Likewise.
26290 * conform/data/iconv.h-data: Likewise.
26291 * conform/data/inttypes.h-data: Likewise.
26292 * conform/data/langinfo.h-data: Likewise.
26293 * conform/data/libgen.h-data: Likewise.
26294 * conform/data/limits.h-data: Likewise.
26295 * conform/data/locale.h-data: Likewise.
26296 * conform/data/math.h-data: Likewise.
26297 * conform/data/monetary.h-data: Likewise.
26298 * conform/data/mqueue.h-data: Likewise.
26299 * conform/data/ndbm.h-data: Likewise.
26300 * conform/data/net/if.h-data: Likewise.
26301 * conform/data/netdb.h-data: Likewise.
26302 * conform/data/netinet/in.h-data: Likewise.
26303 * conform/data/nl_types.h-data: Likewise.
26304 * conform/data/poll.h-data: Likewise.
26305 * conform/data/pthread.h-data: Likewise.
26306 * conform/data/pwd.h-data: Likewise.
26307 * conform/data/regex.h-data: Likewise.
26308 * conform/data/sched.h-data: Likewise.
26309 * conform/data/search.h-data: Likewise.
26310 * conform/data/semaphore.h-data: Likewise.
26311 * conform/data/setjmp.h-data: Likewise.
26312 * conform/data/signal.h-data: Likewise.
26313 * conform/data/spawn.h-data: Likewise.
26314 * conform/data/stdarg.h-data: Likewise.
26315 * conform/data/stdio.h-data: Likewise.
26316 * conform/data/stdlib.h-data: Likewise.
26317 * conform/data/string.h-data: Likewise.
26318 * conform/data/strings.h-data: Likewise.
26319 * conform/data/stropts.h-data: Likewise.
26320 * conform/data/sys/ipc.h-data: Likewise.
26321 * conform/data/sys/mman.h-data: Likewise.
26322 * conform/data/sys/msg.h-data: Likewise.
26323 * conform/data/sys/resource.h-data: Likewise.
26324 * conform/data/sys/select.h-data: Likewise.
26325 * conform/data/sys/sem.h-data: Likewise.
26326 * conform/data/sys/shm.h-data: Likewise.
26327 * conform/data/sys/socket.h-data: Likewise.
26328 * conform/data/sys/stat.h-data: Likewise.
26329 * conform/data/sys/statvfs.h-data: Likewise.
26330 * conform/data/sys/time.h-data: Likewise.
26331 * conform/data/sys/timeb.h-data: Likewise.
26332 * conform/data/sys/times.h-data: Likewise.
26333 * conform/data/sys/types.h-data: Likewise.
26334 * conform/data/sys/uio.h-data: Likewise.
26335 * conform/data/sys/un.h-data: Likewise.
26336 * conform/data/sys/utsname.h-data: Likewise.
26337 * conform/data/sys/wait.h-data: Likewise.
26338 * conform/data/syslog.h-data: Likewise.
26339 * conform/data/tar.h-data: Likewise.
26340 * conform/data/termios.h-data: Likewise.
26341 * conform/data/utime.h-data: Likewise.
26342 * conform/data/utmpx.h-data: Likewise.
26343 * conform/data/varargs.h-data: Likewise.
26344 * conform/data/wchar.h-data: Likewise.
26345 * conform/data/wctype.h-data: Likewise.
26346 * conform/data/wordexp.h-data: Likewise.
26347
26348 * include/stropts.h: New file.
26349 * include/uchar.h: New file.
26350 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26351 * include/assert.h: Likewise.
26352 * include/ctype.h: Likewise.
26353 * include/dirent.h: Likewise.
26354 * include/dlfcn.h: Likewise.
26355 * include/fcntl.h: Likewise.
26356 * include/fnmatch.h: Likewise.
26357 * include/glob.h: Likewise.
26358 * include/grp.h: Likewise.
26359 * include/libio.h: Likewise.
26360 * include/locale.h: Likewise.
26361 * include/math.h: Likewise.
26362 * include/net/if.h: Likewise.
26363 * include/netdb.h: Likewise.
26364 * include/netinet/in.h: Likewise.
26365 * include/pthread.h: Likewise.
26366 * include/pwd.h: Likewise.
26367 * include/regex.h: Likewise.
26368 * include/sched.h: Likewise.
26369 * include/search.h: Likewise.
26370 * include/setjmp.h: Likewise.
26371 * include/signal.h: Likewise.
26372 * include/stdio.h: Likewise.
26373 * include/stdlib.h: Likewise.
26374 * include/string.h: Likewise.
26375 * include/sys/cdefs.h: Likewise.
26376 * include/sys/mman.h: Likewise.
26377 * include/sys/msg.h: Likewise.
26378 * include/sys/resource.h: Likewise.
26379 * include/sys/select.h: Likewise.
26380 * include/sys/socket.h: Likewise.
26381 * include/sys/stat.h: Likewise.
26382 * include/sys/statvfs.h: Likewise.
26383 * include/sys/time.h: Likewise.
26384 * include/sys/times.h: Likewise.
26385 * include/sys/uio.h: Likewise.
26386 * include/sys/utsname.h: Likewise.
26387 * include/sys/wait.h: Likewise.
26388 * include/termios.h: Likewise.
26389 * include/time.h: Likewise.
26390 * include/ulimit.h: Likewise.
26391 * include/unistd.h: Likewise.
26392 * include/utime.h: Likewise.
26393 * include/wchar.h: Likewise.
26394 * include/wctype.h: Likewise.
26395 * include/wordexp.h: Likewise.
26396
26397 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26398
26399 * time/time.h: TIME_UTC must be a macro.
26400 Make timespec_get available for ISO C11 only as well.
26401
26402 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26403
26404 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26405 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26406
26407 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26408
26409 * configure.in: Use -o not -a in test for unsupported multi-arch.
26410
26411 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26412
26413 * manual/texinfo.tex: Update to version 2012-01-19.16.
26414
26415 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26416
26417 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26418
26419 2012-02-24 Roland McGrath <roland@hack.frob.com>
26420
26421 [BZ #13738]
26422 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26423 * manual/fdl-1.3.texi: New file.
26424 * manual/fdl-1.1.texi: File removed.
26425
26426 [BZ #13738]
26427 * manual/libc.texinfo (FDL_VERSION): New @set.
26428 Use it for mention of FDL in cover text.
26429 (Documentation License): Use it in @include file name.
26430
26431 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26432 Roland McGrath <roland@hack.frob.com>
26433
26434 [BZ #5461]
26435 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26436 not LONG_LONG_MAX and LONG_LONG_MIN.
26437 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26438 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26439 name.
26440 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26441
26442 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26443
26444 [BZ #2547]
26445 [BZ #11365]
26446 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26447 manipulate bits before adding and subtracting TWO23[sx].
26448 * math/libm-test.inc (nearbyint_test): Add more tests.
26449
26450 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26451
26452 [BZ #2548]
26453 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26454 bits before adding and subtracting TWO23[sx].
26455 * math/libm-test.inc (rint_test): Add more tests.
26456 (rint_test_tonearest): Likewise.
26457 (rint_test_towardzero): Likewise.
26458 (rint_test_downward): Likewise.
26459 (rint_test_upward: Likewise.
26460
26461 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26462
26463 [BZ #10110]
26464 * include/stdc-predef.h: New file. Extracted from features.h.
26465 * include/features.h: Include stdc-predef.h.
26466 * Makefile (headers): Add stdc-predef.h.
26467 * CONFORMANCE (Compiler limitations): Update.
26468
26469 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26470
26471 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26472
26473 2012-02-21 David S. Miller <davem@davemloft.net>
26474
26475 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26476 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26477
26478 2012-02-20 David S. Miller <davem@davemloft.net>
26479
26480 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26481 using a normal save/restore sequence, rather than allocating a
26482 dummy stack frame just to store a frame pointer and restore.
26483 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26484
26485 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26486
26487 * manual/install.texi: Fix stray word in line-wrapped comment.
26488
26489 2012-02-20 David S. Miller <davem@davemloft.net>
26490
26491 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26492 both binutils and gcc support GOTDATA.
26493
26494 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26495 "rd %pc" in the PIC register setup sequences.
26496
26497 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26498 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26499 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26500 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26501 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26503 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26504 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26506 (SYSCALL_ERROR_HANDLER): Likewise.
26507 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26508 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26510 (SYSCALL_ERROR_HANDLER): Likewise.
26511
26512 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26513 (HAVE_GCC_GOTDATA): New.
26514 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26515 relocation support in both binutils and gcc.
26516 * sysdeps/sparc/elf/configure: Regenerate.
26517
26518 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26519 * sysdeps/sparc/sparc32/elf/configure: Delete.
26520 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26521 * sysdeps/sparc/sparc64/elf/configure: Delete.
26522 * sysdeps/sparc/elf/configure.in: New file.
26523 * sysdeps/sparc/elf/configure: Generate.
26524
26525 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26526 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26527 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26528 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26529 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26530
26531 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26532
26533 * manual/install.texi: Do not mention specific glibc version
26534 numbers.
26535 * manual/libc.texinfo (VERSION, UPDATED): Update.
26536 (@copying): Use @copyright{} and range of years.
26537
26538 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26539
26540 [BZ #13695]
26541 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26542 [crti.S not in sysdirs] (generated): Do not append.
26543 [crti.S not in sysdirs] (omit-deps): Likewise.
26544 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26545 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26546 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26547 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26548 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26549 Likewise.
26550 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26551 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26552 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26553 * csu/defs.awk: Remove file.
26554 * sysdeps/generic/initfini.c: Likewise.
26555 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26556 variable.
26557 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26558 Likewise.
26559
26560 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26561
26562 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26563 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26564 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26565 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26567 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26568 <bits/epoll.h>.
26569 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26570 (__EPOLL_PACKED): Define to empty if not defined by
26571 <bits/epoll.h>.
26572 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26574 bits/epoll.h.
26575
26576 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26577
26578 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26579 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26580 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26581 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26582 <bits/timerfd.h>.
26583 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26585 bits/timerfd.h.
26586
26587 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26588
26589 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26590 in C locale.
26591 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26592 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26593 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26595
26596 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26597
26598 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26599 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26600
26601 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26602
26603 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26604 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26605 defined.
26606 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26607 Likewise.
26608 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26609 entry for 2.16.
26610
26611 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26612
26613 * math/w_acos.c: Use non-signaling floating-point comparisons.
26614 * math/w_acosf.c: Likewise.
26615 * math/w_acosh.c: Likewise.
26616 * math/w_acoshf.c: Likewise.
26617 * math/w_acoshl.c: Likewise.
26618 * math/w_acosl.c: Likewise.
26619 * math/w_asin.c: Likewise.
26620 * math/w_asinf.c: Likewise.
26621 * math/w_asinl.c: Likewise.
26622 * math/w_atanh.c: Likewise.
26623 * math/w_atanhf.c: Likewise.
26624 * math/w_atanhl.c: Likewise.
26625 * math/w_exp2.c: Likewise.
26626 * math/w_exp2f.c: Likewise.
26627 * math/w_exp2l.c: Likewise.
26628 * math/w_j0.c: Likewise.
26629 * math/w_j0f.c: Likewise.
26630 * math/w_j0l.c: Likewise.
26631 * math/w_j1.c: Likewise.
26632 * math/w_j1f.c: Likewise.
26633 * math/w_j1l.c: Likewise.
26634 * math/w_jn.c: Likewise.
26635 * math/w_jnf.c: Likewise.
26636 * math/w_log.c: Likewise.
26637 * math/w_log10.c: Likewise.
26638 * math/w_log10f.c: Likewise.
26639 * math/w_log10l.c: Likewise.
26640 * math/w_log2.c: Likewise.
26641 * math/w_log2f.c: Likewise.
26642 * math/w_log2l.c: Likewise.
26643 * math/w_logf.c: Likewise.
26644 * math/w_logl.c: Likewise.
26645 * math/w_sqrt.c: Likewise.
26646 * math/w_sqrtf.c: Likewise.
26647 * math/w_sqrtl.c: Likewise.
26648 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26649 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26651 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26653
26654 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26655
26656 [BZ #9739]
26657 * manual/string.texi (strnlen): Use correct parameter name in
26658 equivalent expression.
26659
26660 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26661
26662 [BZ #11174]
26663 * manual/users.texi (seteuid): Consistently use neweuid for
26664 argument name.
26665
26666 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26667
26668 [BZ #13704]
26669 * manual/nss.texi (Services in the NSS configuration): Correct
26670 list of services in example configuration file.
26671
26672 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26673
26674 [BZ #11322]
26675 * manual/arith.texi: Remove statements about negative zero
26676 behaving identically to zero.
26677
26678 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26679
26680 [BZ #5993]
26681 * manual/install.texi: Do not document upgrading from libc5.
26682
26683 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26684
26685 [BZ #4596]
26686 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26687
26688 2012-02-18 David S. Miller <davem@davemloft.net>
26689
26690 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26691 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26692 %o7 across the call.
26693 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26694 instead.
26695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26696 SETUP_PIC_REG_LEAF.
26697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26698 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26699 * sysdeps/sparc/crtn.S: Likewise.
26700
26701 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26702
26703 * aout/Makefile: Remove.
26704
26705 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26706
26707 [BZ #13058]
26708 * manual/examples/argp-ex1.c (main): Format definition in GNU
26709 style.
26710 * manual/examples/argp-ex2.c (main): Likewise.
26711 * manual/examples/argp-ex3.c (main): Likewise.
26712 * manual/examples/argp-ex4.c (main): Likewise.
26713 * manual/examples/longopt.c (main): Use new-style prototype
26714 definition.
26715 * manual/examples/strncat.c (main): Specify return type and use
26716 (void) for arguments.
26717 * manual/examples/subopt.c (main): Use char **argv argument.
26718
26719 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26720
26721 [BZ #5077]
26722 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26723 rounding modes.
26724
26725 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26726
26727 [BZ #6907]
26728 * manual/string.texi (strchr): Change when strchrnul is
26729 recommended.
26730
26731 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26732
26733 [BZ #174]
26734 * manual/locale.texi (setlocale): Document LOCPATH.
26735
26736 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26737
26738 [BZ #10210]
26739 * manual/process.texi (execle): Move @dots{} before last argument.
26740
26741 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26742
26743 [BZ #12047]
26744 * manual/charset.texi (Generic Charset Conversion): Fix typo
26745 (LC_TYPE -> LC_CTYPE).
26746
26747 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26748
26749 [BZ #5805]
26750 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26751 (scalbnf): Likewise.
26752 (scalbnl): Likewise.
26753 (scalbln): Likewise.
26754 (scalblnf): Likewise.
26755 (scalblnl): Likewise.
26756 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26757 (vwarnx): Likewise.
26758 (verr): Likewise.
26759 (verrx): Likewise.
26760 * manual/filesys.texi (telldir): Use braces around return type.
26761 * manual/llio.texi (mmap): Add space after comma.
26762 (mmap64): Likewise.
26763 * manual/math.texi (jn): Use @var{} on parameter names.
26764 (jnf): Likewise.
26765 (jnl): Likewise.
26766 (yn): Likewise.
26767 (ynf): Likewise.
26768 (ynl): Likewise.
26769 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26770 line.
26771 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26772 "...".
26773 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26774 (sched_get_priority_max): Likewise.
26775 * manual/signal.texi (sigvec): Add space after comma.
26776 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26777 names.
26778 (if_indextoname): Likewise.
26779 (if_freenameindex): Likewise.
26780 (sendto): Use ',' instead of '.' in prototype.
26781 * manual/startup.texi (syscall): Use @dots{} instead of literal
26782 "...".
26783 * manual/stdio.texi (__fpending): Separate initial words of
26784 paragraph from @deftypefun line.
26785 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26786 "...".
26787 (vsyslog): Use @var{} on parameter names.
26788 * manual/terminal.texi (stty): Use @var{} on parameter names.
26789 * manual/users.texi (getutmp): Use @var{} on parameter names.
26790 (getutmpx): Likewise.
26791
26792 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26793
26794 [BZ #6884]
26795 * manual/stdio.texi (fopen): Fix typos in description of
26796 ",ccs=STRING".
26797
26798 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26799
26800 [BZ #4026]
26801 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26802 get clock_id definition.
26803
26804 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26805
26806 [BZ #4822]
26807 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26808 (madvise): Cast every argument to void on its own.
26809
26810 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26811
26812 [BZ #9902]
26813 * manual/startup.texi (Exit Status): Fix typo.
26814
26815 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26816
26817 [BZ #10140]
26818 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26819 * manual/examples/argp-ex2.c: Likewise.
26820 * manual/examples/argp-ex3.c: Likewise.
26821
26822 2012-02-16 Richard Henderson <rth@redhat.com>
26823
26824 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26825 * sysdeps/s390/s390-32/initfini.c: Remove.
26826 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26827 * sysdeps/s390/s390-64/initfini.c: Remove.
26828
26829 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26830
26831 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26832 compiler output for sysdeps/generic/initfini.c.
26833 * sysdeps/sh/elf/initfini.c: Remove file.
26834
26835 2012-02-16 David S. Miller <davem@davemloft.net>
26836
26837 [BZ #11494]
26838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26839
26840 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26841 * sysdeps/sparc/crti.S: New file.
26842 * sysdeps/sparc/crtn.S: New file.
26843 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26844 * sysdeps/sparc/sparc64/Makefile: Likewise.
26845
26846 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26847
26848 [BZ #3335]
26849 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26850
26851 2012-02-15 Roland McGrath <roland@hack.frob.com>
26852
26853 [BZ #4822]
26854 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26855
26856 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26857 (write, read, close): Likewise.
26858 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26859
26860 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26861
26862 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26863 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26864 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26865 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26866 <bits/signalfd.h>.
26867 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26869 bits/signalfd.h.
26870
26871 2012-02-14 Marek Polacek <polacek@redhat.com>
26872
26873 * sysdeps/x86_64/crti.S: New file.
26874 * sysdeps/x86_64/crtn.S: New file.
26875 * sysdeps/x86_64/elf/initfini.c: Remove file.
26876
26877 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26878
26879 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26880 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26881 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26882 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26883 <bits/inotify.h>.
26884 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26886 bits/inotify.h.
26887
26888 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26889
26890 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26891 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26892 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26893 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26894 <bits/eventfd.h>.
26895 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26897 bits/eventfd.h.
26898
26899 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26900
26901 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26902 __feraiseexcept instead of feraiseexcept.
26903
26904 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26905 nanosleep invocations.
26906 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26907 strings, and add error checking for a nanosleep invocations.
26908
26909 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26910
26911 Replace FSF snail mail address with URLs, as per GNU coding standards.
26912 Most of the snail mail addresses were wrong anyway, and omitting
26913 them makes the source code easier to maintain. Almost all of the
26914 changes are to license notices and to locale LC_IDENTIFICATION
26915 addresses, except for this one:
26916 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26917 not its snail mail address.
26918
26919 2012-02-09 Richard Henderson <rth@twiddle.net>
26920
26921 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26922 of kernel-features.h.
26923
26924 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26925
26926 2012-02-08 Marek Polacek <polacek@redhat.com>
26927
26928 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26929 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26930 * sysdeps/gnu/_G_config.h: Likewise.
26931 * sysdeps/generic/_G_config.h: Likewise.
26932
26933 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26934
26935 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26936 tests.
26937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26938
26939 * sysdeps/powerpc/powerpc32/crti.S: New file.
26940 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26941 * sysdeps/powerpc/powerpc64/crti.S: New file.
26942 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26943
26944 * Makeconfig (have-initfini): Don't set.
26945 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26946 * configure.in (nopic_initfini): Don't substitute.
26947 * config.h.in (HAVE_INITFINI): Don't #undef.
26948 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26949 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26950
26951 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26952
26953 Support crti.S and crtn.S provided directly by architectures.
26954 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26955 [crti.S in sysdirs] (omit-deps): Likewise.
26956 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26957 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26958 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26959 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26960 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26961 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26962 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26963 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26964 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26965 compiler output for sysdeps/generic/initfini.c.
26966 * sysdeps/i386/elf/Makefile: Remove file.
26967 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26968
26969 2012-02-07 Marek Polacek <polacek@redhat.com>
26970
26971 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26972 * sysdeps/gnu/_G_config.h: Likewise.
26973 * sysdeps/mach/hurd/_G_config.h: Likewise.
26974
26975 2012-02-07 Marek Polacek <polacek@redhat.com>
26976
26977 * math/Makefile (tests): Add tst-CMPLX2.
26978 * math/tst-CMPLX2.c: New file.
26979
26980 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26981
26982 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26983
26984 * math/libm-test.inc (jn_test): Add missing L suffix.
26985
26986 2012-02-06 Marek Polacek <polacek@redhat.com>
26987
26988 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26989 * sysdeps/i386/fpu/e_powf.S: Likewise.
26990 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26991 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26992 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26993 * sysdeps/i386/fpu/e_pow.S: Likewise.
26994 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26995 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26996 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26997 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26998 * sysdeps/i386/fpu/e_log2.S: Likewise.
26999 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27000 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27001 * sysdeps/i386/fpu/e_powl.S: Likewise.
27002 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27003 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27004 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27005 * sysdeps/i386/fpu/e_logl.S: Likewise.
27006 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27007 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27008 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27009 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27010 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27011 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27012 * sysdeps/i386/fpu/e_log.S: Likewise.
27013 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27014 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27015 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27016 * sysdeps/i386/fpu/e_logf.S: Likewise.
27017 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27018 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27019 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27020 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27021 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27022 * sysdeps/i386/fpu/e_log10.S: Likewise.
27023 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27024 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27025 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27026 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27027 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27028 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27029 * sysdeps/i386/asm-syntax.h: Likewise.
27030 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27032 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27033 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27034 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27035 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27036 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27037 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27038 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27039 * sysdeps/powerpc/sysdep.h: Likewise.
27040 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27041 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27042
27043 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27044
27045 [BZ #411]
27046 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27047
27048 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27049
27050 * sysdeps/i386/sysdep.h: Include <features.h>.
27051 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27052 version.
27053
27054 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27055
27056 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27057 Define.
27058 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27059 LOAD_PIC_REG_STR.
27060
27061 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27062
27063 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27064 (SETUP_PIC_REG): Use GET_PC_THUNK.
27065 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27066 macro.
27067
27068 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27069
27070 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27071 for non-PIC compilation.
27072 (SETUP_PIC_REG): Add .p2align directive.
27073 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27074 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27075 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27076 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27077 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27078 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27079 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27080 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27081 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27082 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27083 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27084 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27085 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27086 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27087 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27088 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27089 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27090 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27091 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27092 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27093 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27095 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27096 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27097 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27101 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27102 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27103 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27104 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27105 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27106 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27107 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27108 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27109 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27110 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27111 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27112 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27113 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27114
27115 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27116
27117 * math/tst-CMPLX.c: Include <stdio.h>.
27118
27119 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27120
27121 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27122 float.
27123 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27124 * sysdeps/sparc/bits/mathdef.h: Likewise.
27125
27126 2012-01-31 Marek Polacek <polacek@redhat.com>
27127
27128 * libio/libio.h: Don't define _PARAMS.
27129 * locale/programs/config.h: Don't define PARAMS.
27130 * stdlib/strtol_l.c: Likewise.
27131 (__strtol_l): Remove PARAMS from the prototype.
27132
27133 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27134
27135 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27136 names. Just use the correct names. Remove unnecessary wrapper
27137 functions.
27138 * malloc/arena.c: Likewise.
27139 * malloc/hooks.c: Likewise.
27140
27141 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27142 ARENA_TEST says not to. Simplify test for creation of a new arena.
27143 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27144
27145 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27146
27147 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27148 into tail calls.
27149 (update_get_addr): New function.
27150 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27151 GET_ADDR_MODULE parameter.
27152
27153 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27154
27155 * crypt/cert.c: Remove __STDC__ conditionals.
27156 * crypt/crypt-entry.c: Likewise.
27157 * crypt/crypt_util.c: Likewise.
27158 * libio/filedoalloc.c: Likewise.
27159 * libio/fileops.c: Likewise.
27160 * libio/genops.c: Likewise.
27161 * libio/iofclose.c: Likewise.
27162 * libio/iofdopen.c: Likewise.
27163 * libio/iofopen.c: Likewise.
27164 * libio/iofopen64.c: Likewise.
27165 * libio/iogetdelim.c: Likewise.
27166 * libio/iopopen.c: Likewise.
27167 * libio/obprintf.c: Likewise.
27168 * libio/oldfileops.c: Likewise.
27169 * libio/oldiofclose.c: Likewise.
27170 * libio/oldiofdopen.c: Likewise.
27171 * libio/oldiofopen.c: Likewise.
27172 * libio/oldiopopen.c: Likewise.
27173 * libio/wfiledoalloc.c: Likewise.
27174 * libio/wgenops.c: Likewise.
27175 * locale/programs/xmalloc.c: Likewise.
27176 * misc/syslog.c: Likewise.
27177 * stdio-common/xbug.c: Likewise.
27178 * string/memchr.c: Likewise.
27179 * string/memcmp.c: Likewise.
27180 * string/memrchr.c: Likewise.
27181 * string/rawmemchr.c: Likewise.
27182 * sysdeps/posix/getcwd.c: Likewise.
27183 * time/strftime_l.c: Likewise.
27184
27185 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27186
27187 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27188 * config.make.in (config-cflags-sse2avx): Define.
27189 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27190 Fix typo.
27191
27192 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27193
27194 * scripts/config.guess: Update from upstream config git repository.
27195 * scripts/config.sub: Likewise.
27196
27197 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27198
27199 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27200 (EM_NUM): Update.
27201 (R_TILEPRO_*, R_TILEGX_*): New macros.
27202
27203 * scripts/firstversions.awk: Fix bug in version range handling.
27204
27205 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27206
27207 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27208
27209 * include/sys/epoll.h: New file.
27210 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27211 libc_hidden_def.
27212
27213 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27214
27215 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27216 Avoid unnecessary __WORDSIZE == 64 test.
27217 (fmaxf): Use VEX format if possible.
27218 (fmax): Likewise.
27219 (fminf): Likewise.
27220 (fmin): Likewise.
27221
27222 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27223 * math/math_private.h: Remove libc_fegetround* and
27224 libc_fesetround*.
27225 * sysdeps/i386/configure.in: Check for -msse2avx.
27226 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27227 also if SSE2AVX is defined.
27228 Remove libc_fegetround* and libc_fesetround*.
27229 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27230 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27231 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27232 of HAS_YMM_USABLE.
27233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27238
27239 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27240
27241 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27242
27243 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27244 size is not set.
27245 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27246
27247 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27248
27249 [BZ #13618]
27250 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27251 relocation.
27252 * Makeconfig (libm): Define.
27253 * elf/Makefile: Add rules to build and run tst-relsort1.
27254 * elf/tst-relsort1.c: New file.
27255 * elf/tst-relsort1mod1.c: New file.
27256 * elf/tst-relsort1mod2.c: New file.
27257
27258 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27259
27260 * math/s_ldexp.c: Remove __STDC__ conditionals.
27261 * math/s_ldexpf.c: Likewise.
27262 * math/s_ldexpl.c: Likewise.
27263 * math/s_nextafter.c: Likewise.
27264 * math/s_nexttowardf.c: Likewise.
27265 * math/s_significand.c: Likewise.
27266 * math/s_significandf.c: Likewise.
27267 * math/s_significandl.c: Likewise.
27268 * math/w_jnl.c: Likewise.
27269 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27270 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27271 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27272 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27273 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27276 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27277 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27278 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27279 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27281 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27282 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27283 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27284 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27285 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27286 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27288 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27289 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27290 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27291 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27293 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27294 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27295 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27296 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27297 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27298 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27299 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27300 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27301 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27302 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27303 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27304 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27305 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27306 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27307 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27308 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27309 * sysdeps/ieee754/k_standard.c: Likewise.
27310 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27311 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27312 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27313 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27314 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27316 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27317 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27318 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27319 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27320 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27321 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27322 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27323 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27324 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27326 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27328 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27329 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27330 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27331 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27332 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27333 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27334 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27335 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27336 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27337 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27339 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27340 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27341 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27342 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27343 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27345 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27346 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27349 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27350 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27352 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27353 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27355 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27357 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27358 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27359 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27360 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27361 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27362 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27364 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27365 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27366 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27367 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27368 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27369 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27370 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27371 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27372 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27377 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27378 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27379 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27380 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27382 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27384 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27385 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27386 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27387 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27388 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27389 * sysdeps/ieee754/s_matherr.c: Likewise.
27390 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27391 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27392 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27394
27395 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27396
27397 * crypt/md5.h: Remove __STDC__ conditionals.
27398 * libio/libioP.h: Likewise.
27399 * locale/programs/config.h: Likewise.
27400 * sysdeps/generic/sysdep.h: Likewise.
27401 * sysdeps/i386/asm-syntax.h: Likewise.
27402 * sysdeps/s390/asm-syntax.h: Likewise.
27403 * sysdeps/unix/sysdep.h: Likewise.
27404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27406
27407 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27408
27409 * libio/libio.h: Remove __STDC__ conditionals.
27410 * malloc/obstack.h: Likewise.
27411 * math/complex.h: Likewise.
27412 * math/math.h: Likewise.
27413 * sysdeps/generic/_G_config.h: Likewise.
27414 * sysdeps/gnu/_G_config.h: Likewise.
27415 * sysdeps/mach/hurd/_G_config.h: Likewise.
27416 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27417 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27418 * sysdeps/sparc/bits/mathdef.h: Likewise.
27419
27420 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27421
27422 [BZ #13583]
27423 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27424 Clean up HAS_* macros.
27425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27426 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27427 possible.
27428 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27429 HAS_AVX.
27430 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27431 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27435
27436 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27437
27438 * elf/tst-unique3.cc (gets): Remove declaration.
27439 * elf/tst-unique3lib.cc (gets): Likewise.
27440 * elf/tst-unique3lib2.cc (gets): Likewise.
27441 * elf/tst-unique4.cc (gets): Likewise.
27442
27443 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27444
27445 * include/stdio.h: Add C++ protection. Add gets declarations and
27446 definitions.
27447 * debug/tst-chk1.c: Don't declare gets here.
27448 * stdio-common/tst-gets.c: Likewise.
27449
27450 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27451
27452 * posix/glob: Remove directory.
27453
27454 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27455
27456 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27457
27458 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27459
27460 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27461 of the non-standard EPFNOSUPPORT.
27462
27463 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27464
27465 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27466 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27467 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27468
27469 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27470
27471 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27472
27473 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27474
27475 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27476 transient errors.
27477 * nscd/grpcache.c (cache_addgr): Likewise.
27478 * nscd/hstcache.c (cache_addhst): Likewise.
27479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27480 * nscd/pwdcache.c (cache_addpw): Likewise.
27481 * nscd/servicescache.c (cache_addserv): Likewise.
27482
27483 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27484
27485 * malloc/malloc.c: Various cleanups.
27486 * malloc/hooks.c: Likewise.
27487
27488 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27489 * stdlib/bug-fmtmsg1.c: New file.
27490
27491 * stdlib/fmtmsg.c (init): Add missing unlock.
27492 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27493
27494 2012-01-12 Marek Polacek <polacek@redhat.com>
27495
27496 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27497 and _GNU_SOURCE.
27498
27499 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27500
27501 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27502 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27503 macro to ensure uniqueness of label name.
27504 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27505 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27506
27507 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27508
27509 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27510
27511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27512 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27513 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27515
27516 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27517
27518 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27519
27520 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27521 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27522 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27523
27524 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27525
27526 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27527 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27528 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27529 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27530
27531 * math/bits/math-finite.h: Add ldexp support.
27532
27533 2012-01-10 Marek Polacek <polacek@redhat.com>
27534
27535 * locale/programs/localedef.h (show_archive_content): Add noreturn
27536 attribute.
27537
27538 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27539
27540 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27541
27542 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27543
27544 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27545
27546 * io/Makefile (headers): Add bits/poll2.h.
27547
27548 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27549
27550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27551 typo #include statement.
27552
27553 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27554
27555 * include/sys/cdefs.h: Define __attribute_alloc_size.
27556 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27557 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27558 * elf/pldd.c: Likewise.
27559 * iconv/iconv_charmap.c: Likewise.
27560 * iconv/iconvconfig.c: Likewise.
27561 * iconv/strtab.c: Likewise.
27562 * locale/programs/locale.c: Likewise.
27563 * locale/programs/localedef.h: Likewise.
27564 * locale/programs/simple-hash.c: Likewise.
27565 * nscd/nscd.h: Likewise.
27566 * nss/makedb.c: Likewise.
27567 * sysdeps/generic/ldconfig.h: Likewise.
27568 * locale/programs/localedef.c: Remove xmalloc prototype.
27569 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27570
27571 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27572
27573 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27574 appropriate.
27575
27576 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27577
27578 * math/Makefile (tests): Add tst-CMPLX.
27579 * math/tst-CMPLX.c: New file.
27580
27581 * math/complex.h (CMPLXL): Fix typo.
27582
27583 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27584 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27585 GLIBC_2.16.
27586 * debug/tst-chk1.c: Add poll and ppoll tests.
27587 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27588 * include/sys/poll.h: Add hidden proto for ppoll.
27589 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27590 * sysdeps/mach/hurd/ppoll.c: Likewise.
27591 * io/ppoll.c: Likewise.
27592 * debug/poll_chk.c: New file.
27593 * debug/ppoll_chk.c: New file.
27594 * include/bits/poll2.h: New file.
27595 * io/bits/poll2.h: New file.
27596
27597 [BZ #1350]
27598 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27599
27600 * configure.in: static is always set to yes. Remove.
27601 * config.make.in: Don't set build-static.
27602 * Makeconfig: Remove use of build-static.
27603 * dlfcn/Makefile: Likewise.
27604 * elf/Makefile: Likewise.
27605 * math/Makefile: Likewise.
27606 * misc/Makefile: Likewise.
27607 * nptl/Makefile: Likewise.
27608 * sysdeps/mach/hurd/Makefile: Likewise.
27609
27610 * configure.in: PWD_P is not used anymore.
27611 * config.make.in: Remove PWD_P entry.
27612
27613 * configure.in: Remove last remnants of RANLIB.
27614 No need to check for signed size_t anymore.
27615 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27616 and IA-64.
27617 Remove __builtin_expect test because we require at least gcc 3.4.
27618 * aclocal.m4: Likewise.
27619
27620 * wcsmbs/mbrtoc16.c: Implement using towc function.
27621 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27622 * wcsmbs/wcsmbsload.c: Likewise.
27623 * iconv/gconv_simple.c: Likewise.
27624 * iconv/gconv_int.h: Likewise.
27625 * iconv/gconv_builtin.h: Likewise.
27626 * iconv/iconv_prog.c: Remove CHAR16 handling.
27627
27628 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27629
27630 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27631
27632 * configure.in: Remove --with-elf and --enable-bounded options.
27633 Dont set base_machine for ia64. More non-ELF conditions removed.
27634 Remove testing and setting of leading underscore information.
27635 * config.make.in (build-bounded): Set to no.
27636 * config.h.in: Remove NO_UNDERSCORES entry.
27637 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27638 them.
27639 * csu/start.c: Remove !NO_UNDERSCORE code.
27640 * locale/localeinfo.h: Likewise.
27641 * sysdeps/generic/machine-gmon.h: Likewise.
27642 * sysdeps/generic/sysdep.h: Likewise.
27643 * sysdeps/i386/sysdep.h: Likewise.
27644 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27645 * sysdeps/mach/sysdep.h: Likewise.
27646 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27648 * sysdeps/sh/sysdep.h: Likewise.
27649 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27650 * sysdeps/unix/i386/sysdep.S: Likewise.
27651 * sysdeps/unix/sparc/start.c: Likewise.
27652 * sysdeps/unix/sparc/sysdep.S: Likewise.
27653 * sysdeps/unix/sparc/sysdep.h: Likewise.
27654 * sysdeps/unix/start.c: Likewise.
27655 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27656 * sysdeps/x86_64/sysdep.h: Likewise.
27657
27658 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27659
27660 [BZ #13553]
27661 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27662 for non-gcc.
27663 * argp/argp-fmtstream.h: Use const instead __const.
27664 * argp/argp.h: Likewise.
27665 * assert/assert.h: Likewise.
27666 * bits/fenv.h: Likewise.
27667 * bits/sched.h: Likewise.
27668 * bits/sigset.h: Likewise.
27669 * bits/sigthread.h: Likewise.
27670 * catgets/nl_types.h: Likewise.
27671 * conform/data/pthread.h-data: Likewise.
27672 * crypt/crypt-private.h: Likewise.
27673 * crypt/crypt.h: Likewise.
27674 * crypt/crypt_util.c: Likewise.
27675 * ctype/ctype.h: Likewise.
27676 * debug/execinfo.h: Likewise.
27677 * debug/mbsnrtowcs_chk.c: Likewise.
27678 * debug/mbsrtowcs_chk.c: Likewise.
27679 * debug/wcsnrtombs_chk.c: Likewise.
27680 * debug/wcsrtombs_chk.c: Likewise.
27681 * debug/wcstombs_chk.c: Likewise.
27682 * dirent/dirent.h: Likewise.
27683 * dlfcn/dlfcn.h: Likewise.
27684 * elf/neededtest4.c: Likewise.
27685 * grp/grp.h: Likewise.
27686 * gshadow/gshadow.h: Likewise.
27687 * iconv/gconv.h: Likewise.
27688 * iconv/gconv_int.h: Likewise.
27689 * iconv/gconv_simple.c: Likewise.
27690 * iconv/iconv.h: Likewise.
27691 * iconv/loop.c: Likewise.
27692 * iconv/skeleton.c: Likewise.
27693 * include/aio.h: Likewise.
27694 * include/aliases.h: Likewise.
27695 * include/argz.h: Likewise.
27696 * include/arpa/inet.h: Likewise.
27697 * include/assert.h: Likewise.
27698 * include/dirent.h: Likewise.
27699 * include/dlfcn.h: Likewise.
27700 * include/execinfo.h: Likewise.
27701 * include/fcntl.h: Likewise.
27702 * include/fenv.h: Likewise.
27703 * include/glob.h: Likewise.
27704 * include/grp.h: Likewise.
27705 * include/libintl.h: Likewise.
27706 * include/mntent.h: Likewise.
27707 * include/netdb.h: Likewise.
27708 * include/pwd.h: Likewise.
27709 * include/rpc/netdb.h: Likewise.
27710 * include/sched.h: Likewise.
27711 * include/search.h: Likewise.
27712 * include/shadow.h: Likewise.
27713 * include/signal.h: Likewise.
27714 * include/stdio.h: Likewise.
27715 * include/stdlib.h: Likewise.
27716 * include/string.h: Likewise.
27717 * include/sys/socket.h: Likewise.
27718 * include/sys/stat.h: Likewise.
27719 * include/sys/statfs.h: Likewise.
27720 * include/sys/statvfs.h: Likewise.
27721 * include/sys/syslog.h: Likewise.
27722 * include/sys/time.h: Likewise.
27723 * include/sys/uio.h: Likewise.
27724 * include/time.h: Likewise.
27725 * include/unistd.h: Likewise.
27726 * include/utmp.h: Likewise.
27727 * include/wchar.h: Likewise.
27728 * include/wctype.h: Likewise.
27729 * inet/aliases.h: Likewise.
27730 * inet/arpa/inet.h: Likewise.
27731 * inet/netinet/ether.h: Likewise.
27732 * inet/netinet/in.h: Likewise.
27733 * intl/libintl.h: Likewise.
27734 * io/bits/fcntl2.h: Likewise.
27735 * io/fcntl.h: Likewise.
27736 * io/ftw.h: Likewise.
27737 * io/sys/poll.h: Likewise.
27738 * io/sys/stat.h: Likewise.
27739 * io/sys/statfs.h: Likewise.
27740 * io/sys/statvfs.h: Likewise.
27741 * io/utime.h: Likewise.
27742 * libio/bits/stdio.h: Likewise.
27743 * libio/bits/stdio2.h: Likewise.
27744 * libio/libio.h: Likewise.
27745 * libio/libioP.h: Likewise.
27746 * libio/stdio.h: Likewise.
27747 * locale/lc-ctype.c: Likewise.
27748 * locale/locale.h: Likewise.
27749 * login/utmp.h: Likewise.
27750 * malloc/arena.c: Likewise.
27751 * malloc/malloc.c: Likewise.
27752 * malloc/malloc.h: Likewise.
27753 * malloc/mcheck.c: Likewise.
27754 * malloc/mtrace.c: Likewise.
27755 * math/bits/mathcalls.h: Likewise.
27756 * math/fenv.h: Likewise.
27757 * math/math_private.h: Likewise.
27758 * misc/bits/error.h: Likewise.
27759 * misc/bits/syslog.h: Likewise.
27760 * misc/err.h: Likewise.
27761 * misc/error.h: Likewise.
27762 * misc/fstab.h: Likewise.
27763 * misc/mntent.h: Likewise.
27764 * misc/regexp.h: Likewise.
27765 * misc/search.h: Likewise.
27766 * misc/sgtty.h: Likewise.
27767 * misc/sys/mman.h: Likewise.
27768 * misc/sys/syslog.h: Likewise.
27769 * misc/sys/uio.h: Likewise.
27770 * misc/sys/xattr.h: Likewise.
27771 * misc/ttyent.h: Likewise.
27772 * nis/rpcsvc/ypclnt.h: Likewise.
27773 * nss/nss.h: Likewise.
27774 * posix/bits/unistd.h: Likewise.
27775 * posix/fnmatch.h: Likewise.
27776 * posix/glob.h: Likewise.
27777 * posix/sched.h: Likewise.
27778 * posix/spawn.h: Likewise.
27779 * posix/sys/wait.h: Likewise.
27780 * posix/unistd.h: Likewise.
27781 * posix/wordexp.h: Likewise.
27782 * pwd/pwd.h: Likewise.
27783 * resolv/netdb.h: Likewise.
27784 * resource/sys/resource.h: Likewise.
27785 * rt/aio.h: Likewise.
27786 * rt/bits/mqueue2.h: Likewise.
27787 * rt/mqueue.h: Likewise.
27788 * shadow/shadow.h: Likewise.
27789 * signal/signal.h: Likewise.
27790 * socket/send.c: Likewise.
27791 * socket/sendto.c: Likewise.
27792 * socket/sys/socket.h: Likewise.
27793 * stdio-common/printf.h: Likewise.
27794 * stdlib/bits/stdlib.h: Likewise.
27795 * stdlib/fmtmsg.h: Likewise.
27796 * stdlib/monetary.h: Likewise.
27797 * stdlib/stdlib.h: Likewise.
27798 * stdlib/ucontext.h: Likewise.
27799 * streams/stropts.h: Likewise.
27800 * string/argz.h: Likewise.
27801 * string/bits/string2.h: Likewise.
27802 * string/string.h: Likewise.
27803 * string/strings.h: Likewise.
27804 * sunrpc/rpc/auth.h: Likewise.
27805 * sunrpc/rpc/auth_des.h: Likewise.
27806 * sunrpc/rpc/clnt.h: Likewise.
27807 * sunrpc/rpc/netdb.h: Likewise.
27808 * sunrpc/rpc/pmap_clnt.h: Likewise.
27809 * sunrpc/rpc/xdr.h: Likewise.
27810 * sysdeps/generic/inttypes.h: Likewise.
27811 * sysdeps/generic/net/if.h: Likewise.
27812 * sysdeps/generic/sys/swap.h: Likewise.
27813 * sysdeps/gnu/net/if.h: Likewise.
27814 * sysdeps/gnu/utmpx.h: Likewise.
27815 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27816 * sysdeps/i386/i486/bits/string.h: Likewise.
27817 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27818 * sysdeps/s390/bits/string.h: Likewise.
27819 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27820 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27821 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27822 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27823 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27824 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27825 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27826 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27827 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27828 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27829 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27830 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27831 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27832 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27833 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27834 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27835 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27837 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27838 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27840 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27841 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27842 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27843 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27844 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27845 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27846 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27847 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27848 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27849 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27850 * sysvipc/sys/ipc.h: Likewise.
27851 * sysvipc/sys/msg.h: Likewise.
27852 * sysvipc/sys/sem.h: Likewise.
27853 * sysvipc/sys/shm.h: Likewise.
27854 * termios/termios.h: Likewise.
27855 * time/sys/time.h: Likewise.
27856 * time/time.h: Likewise.
27857 * wcsmbs/bits/wchar2.h: Likewise.
27858 * wcsmbs/uchar.h: Likewise.
27859 * wcsmbs/wchar.h: Likewise.
27860 * wctype/wctype.h: Likewise.
27861
27862 [BZ #13551]
27863 * Makeconfig: Remove all but ELF support including AIX support.
27864 * Makerules: Likewise.
27865 * config.h.in: Likewise.
27866 * config.make.in: Likewise.
27867 * configure: Likewise.
27868 * configure.in: Likewise.
27869 * csu/Makefile: Likewise.
27870 * csu/version.c: Likewise.
27871 * debug/Makefile: Likewise.
27872 * dlfcn/Makefile: Likewise.
27873 * elf/Makefile: Likewise.
27874 * extra-lib.mk: Likewise.
27875 * iconv/Makefile: Likewise.
27876 * include/libc-symbols.h: Likewise.
27877 * include/shlib-compat.h: Likewise.
27878 * resolv/Makefile: Likewise.
27879 * resolv/res_libc.c: Likewise.
27880 * rt/Makefile: Likewise.
27881 * sysdeps/i386/asm-syntax.h: Likewise.
27882 * sysdeps/i386/sysdep.h: Likewise.
27883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27884 * sysdeps/mach/sysdep.h: Likewise.
27885 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27886 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27887 * sysdeps/s390/asm-syntax.h: Likewise.
27888 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27890 * sysdeps/sh/sysdep.h: Likewise.
27891 * sysdeps/unix/sparc/sysdep.h: Likewise.
27892 * sysdeps/wordsize-32/divdi3.c: Likewise.
27893 * sysdeps/x86_64/sysdep.h: Likewise.
27894
27895 * argp/Versions: Remove _argp_unlock_xxx.
27896
27897 [BZ #13559]
27898 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27899 * abilist/libBrokenLocale.abilist: Likewise.
27900 * abilist/libanl.abilist: Likewise.
27901 * abilist/libc.abilist: Likewise.
27902 * abilist/libcrypt.abilist: Likewise.
27903 * abilist/libdl.abilist: Likewise.
27904 * abilist/libm.abilist: Likewise.
27905 * abilist/libnsl.abilist: Likewise.
27906 * abilist/libpthread.abilist: Likewise.
27907 * abilist/libresolv.abilist: Likewise.
27908 * abilist/librt.abilist: Likewise.
27909 * abilist/libthread_db.abilist: Likewise.
27910 * abilist/libutil.abilist: Likewise.
27911 * abilist/libnss_db.abilist: New file.
27912
27913 * scripts/abilist.awk: Add support for indirect functions.
27914
27915 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27916
27917 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27918
27919 * shlib-versions: Remove entries for ports architectures.
27920
27921 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27922 files in ports.
27923 * elf/stackguard-macros.h: Remove support for IA-64.
27924 * elf/tst-auditmod1.c: Likewise.
27925 * sysdeps/generic/ldsodefs.h: Likewise.
27926
27927 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27928 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27929 configure files.
27930
27931 [BZ #13552]
27932 * configure.in: Remove --enable-omitfp support.
27933 * FAQ.in: Adjust.
27934 * config.make.in: Likewise.
27935 * Makeconfig: Likewise.
27936 * manual/install.texi: Likewise.
27937
27938 In case anyone cares, the IA-64 architecture could move to ports.
27939 * sysdeps/ia64/*: Removed.
27940 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27941 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27942
27943 [BZ #13555]
27944 * configure.in: Remove entries for unsupported architectures.
27945
27946 [BZ #13533]
27947 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27948 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27949 routines.
27950 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27951 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27952 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27953 fall back to using wcrtomb.
27954 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27955 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27956 renaming.
27957 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27958 * wcsmbs/tst-c16c32-1.c: New file.
27959
27960 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27961 local variable.
27962
27963 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27964
27965 * elf/tst-unique3.cc: Add explicit declaration of gets.
27966 * elf/tst-unique3lib.cc: Likewise.
27967 * elf/tst-unique3lib2.cc: Likewise.
27968 * elf/tst-unique4.cc: Likewise.
27969
27970 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27971
27972 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27973
27974 [BZ #13566]
27975 * assert/assert.h (static_assert): Don't define for C++.
27976 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27977 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27978
27979 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27980
27981 * iconv/loop.c (single loop): Fix assertion in storing of
27982 remaining bytes.
27983
27984 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27985
27986 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27987
27988 * posix/getconf.c: Update copyright year.
27989 * nss/getent.c: Likewise.
27990 * nss/makedb.c: Likewise.
27991 * iconv/iconvconfig.c: Likewise.
27992 * iconv/iconv_prog.c: Likewise.
27993 * elf/ldconfig.c: Likewise.
27994 * elf/pldd.c: Likewise.
27995 * elf/sotruss.ksh: Likewise.
27996 * catgets/gencat.c: Likewise.
27997 * csu/version.c: Likewise.
27998 * elf/ldd.bash.in: Likewise.
27999 * elf/sprof.c (print_version): Likewise.
28000 * locale/programs/locale.c: Likewise.
28001 * locale/programs/localedef.c: Likewise.
28002 * login/programs/pt_chown.c: Likewise.
28003 * nscd/nscd.c (print_version): Likewise.
28004 * debug/xtrace.sh: Likewise.
28005 * malloc/memusage.sh: Likewise.
28006 * malloc/mtrace.pl: Likewise.
28007 * debug/catchsegv.sh: Likewise.
28008
28009 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28010
28011 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28012 pure attribute.
28013
28014 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28015
28016 [BZ #13533]
28017 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28018 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28019 transformations.
28020 * iconv/gconv_int.h: Likewise.
28021 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28022 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28023 from libc for GLIBC_2.16.
28024 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28025 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28026 * wcsmbs/uchar.h: Really define mbstate_t.
28027 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28028 * wcsmbs/c16rtomb.c: New file.
28029 * wcsmbs/mbrtoc16.c: New file.
28030 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28031 for C/POSIX locale.
28032 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28033 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28034
28035 * wcsmbs/wchar.h: Add missing __restrict.
28036
28037 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28038
28039 [BZ #13532]
28040 * time/Makefile (routines): Add timespec_get.
28041 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28042 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28043 timespec for ISO C11.
28044 * time/timespec_get.c: New file.
28045 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28046 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28047
28048 [BZ #13531]
28049 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28050 * stdlib/stdlib.h: Declare aligned_alloc.
28051 * Versions.def: Add GLIBC_2.16 for libc.
28052 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28053
28054 [BZ 13527]
28055 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28056 ISO C11.
28057
28058 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28059 code.
28060
28061 [BZ #13528]
28062 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28063
28064 [BZ #13529]
28065 * assert/assert.h (static_assert): Define.
28066
28067 * version.h: Update for 2.16 development version.
28068
28069 [BZ #13526]
28070 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28071 _ISOC11_SOURCE.
28072
28073 * version.h (RELEASE): Bump for 2.15 release.
28074 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28075
28076 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28077 Patch by Marek Polacek <mpolacek@redhat.com>.
28078
28079 * bits/byteswap.h: Protect long long constants with __extension__.
28080 * sysdeps/i386/bits/byteswap.h: Likewise.
28081 * sysdeps/ia64/bits/byteswap.h: Likewise.
28082 * sysdeps/s390/bits/byteswap.h: Likewise.
28083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28084
28085 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28086
28087 [BZ #13540]
28088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28089 destination buffer.
28090 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28091
28092 2011-12-23 Marek Polacek <polacek@redhat.com>
28093
28094 * elf/dl-addr.c (determine_info): Add inline keyword.
28095 * elf/tst-auditmod4b.c (check_avx): Likewise.
28096 * elf/tst-auditmod6b.c (check_avx): Likewise.
28097 * elf/tst-auditmod6c.c (check_avx): Likewise.
28098 * elf/tst-auditmod7b.c (check_avx): Likewise.
28099
28100 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28101
28102 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28103 !__SSE_MATH__.
28104
28105 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28106
28107 [BZ #13540]
28108 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28109 processing for last bytes.
28110
28111 2011-08-06 Bruno Haible <bruno@clisp.org>
28112
28113 [BZ #13061]
28114 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28115 U+0385, not to U+1FEE.
28116
28117 [BZ #13062]
28118 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28119 entry for U+00A5 U+0301.
28120
28121 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28122
28123 [BZ #13166]
28124 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28125 buffer for the output is too small.
28126
28127 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28128 optimization.
28129
28130 [BZ #13185]
28131 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28132 SSE flags if possible.
28133
28134 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28135
28136 [BZ #13540]
28137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28138 processing for last bytes.
28139
28140 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28141
28142 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28143 (syscall-list-default-options, syscall-list-default-condition)
28144 (syscall-list-includes): Define.
28145 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28146 list of ABIs and options and #if conditions for each ABI. Do not
28147 handle common syscalls between ABIs specially.
28148 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28149 Remove.
28150 (syscall-list-variants, syscall-list-32bit-options)
28151 (syscall-list-32bit-condition, syscall-list-64bit-options)
28152 (syscall-list-64bit-condition): Define.
28153 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28154 (syscall-list-variants, syscall-list-32bit-options)
28155 (syscall-list-32bit-condition, syscall-list-64bit-options)
28156 (syscall-list-64bit-condition): Define.
28157 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28158 Remove.
28159 (syscall-list-variants, syscall-list-32bit-options)
28160 (syscall-list-32bit-condition, syscall-list-64bit-options)
28161 (syscall-list-64bit-condition): Define.
28162 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28163 Remove.
28164 (syscall-list-variants, syscall-list-32bit-options)
28165 (syscall-list-32bit-condition, syscall-list-64bit-options)
28166 (syscall-list-64bit-condition): Define.
28167
28168 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28169
28170 * locale/iso-639.def: Add brx entry.
28171
28172 [BZ #13328]
28173 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28174 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28175
28176 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28177 __feraiseexcept_renamed.
28178
28179 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28180
28181 [BZ #13538]
28182 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28183 EPOLLET with unsigned values.
28184 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28185 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28186
28187 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28188 to large cancellation.
28189 * math/s_cacoshf.c: Likewise.
28190 * math/s_cacoshl.c: Likewise.
28191
28192 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28193
28194 [BZ #13305]
28195 [BZ #12786]
28196 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28197 * math/s_cacoshf.c: Likewise.
28198 * math/s_cacoshl.c: Likewise.
28199
28200 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28201
28202 [BZ #13439]
28203 * iconv/gconv.h: Define __GCONV_SWAP.
28204 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28205 * iconvdata/utf-16.c: Likewise.
28206 * iconvdata/utf-32.c: Likewise.
28207
28208 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28209
28210 [BZ #13524]
28211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28212 numerator after shifting it by one limb.
28213
28214 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28215
28216 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28217 under [__USE_EXTERN_INLINES].
28218
28219 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28220
28221 [BZ #13446]
28222 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28223
28224 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28225
28226 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28227 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28228 optimized code.
28229 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28230 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28231 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28232 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28233 for strncasecmp/strncasecmp_l compilation.
28234 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28235 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28236
28237 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28238
28239 [BZ #13484]
28240 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28241 of __asm__.
28242
28243 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28244
28245 [BZ #13506]
28246 * time/tzfile.c (__tzfile_read): Check values from file header.
28247
28248 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28249
28250 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28251 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28252 * powerpc/powerpc32/dl-start.S: Likewise.
28253 * powerpc/powerpc32/elf/start.S: Likewise.
28254 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28255 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28256 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28257 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28258 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28259 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28260 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28261 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28262 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28263 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28264 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28265 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28266 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28267 * powerpc/powerpc32/memset.S: Likewise.
28268 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28269 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28270 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28271 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28272 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28273 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28274 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28275 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28276 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28277 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28278 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28279 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28280 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28281
28282 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28283
28284 * math/libm-test.inc: Added more nearbyint tests.
28285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28289
28290 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28291
28292 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28293 FD_CLOEXEC.
28294
28295 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28296
28297 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28298 Add wcscpy-ssse3 wcscpy-c.
28299 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28300 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28301 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28302 * sysdeps/x86_64/wcschr.S: New file.
28303 * sysdeps/x86_64/wcsrchr.S: New file.
28304 * string/test-strcmp.c: Remove checking of wcscmp function for
28305 wrong alignments.
28306 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28307 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28308 wcsrchr-sse2 wcsrchr-c.
28309 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28310 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28311 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28312 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28313 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28314 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28315 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28316 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28317 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28318 * wcsmbc/wcschr.c (WCSCHR): New macro.
28319
28320 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28321
28322 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28323 * wcsmbs/test-wcsrchr.c: New file.
28324 * string/test-strrchr.c: Add wcsrchr support.
28325 (WIDE): New macro.
28326 * wcsmbs/test-wcscpy.c: New file.
28327 * string/test-strcpy.c: Add wcscpy support.
28328 (WIDE): New macro.
28329
28330 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28331
28332 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28333 the inner loop.
28334
28335 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28336
28337 [BZ #13472]
28338 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28339
28340 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28341
28342 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28343 Minor optimizations.
28344
28345 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28346 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28347 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28348
28349 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28350
28351 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28352 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28353 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28354 for gcc to avoid warnings.
28355 * inet/Makefile (tests): Add tst-checks.
28356 * inet/tst-checks.c: New file.
28357
28358 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28359 warning.
28360
28361 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28362 __wmemcmp_sse2.
28363
28364 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28365 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28366
28367 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28368
28369 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28370
28371 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28372 problem.
28373
28374 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28375
28376 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28377
28378 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28379 conditional on GCC version.
28380 (__arch_compare_and_exchange_val_8_acq)
28381 (__arch_compare_and_exchange_val_16_acq)
28382 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28383 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28384 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28385
28386 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28387
28388 * sysdeps/sh/backtrace.c: New file.
28389
28390 2011-12-02 Andreas Schwab <schwab@redhat.com>
28391
28392 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28393 parenthesis.
28394
28395 2011-12-01 Andreas Schwab <schwab@redhat.com>
28396
28397 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28398 falling back to utime.
28399
28400 2011-11-30 Andreas Schwab <schwab@redhat.com>
28401
28402 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28403 expectations for float.
28404
28405 2011-11-29 Andreas Schwab <schwab@redhat.com>
28406
28407 * locale/weight.h (findidx): Add parameter len.
28408 * locale/weightwc.h (findidx): Likewise.
28409 * posix/fnmatch_loop.c (FCT): Adjust caller.
28410 * posix/regcomp.c (build_equiv_class): Likewise.
28411 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28412 * posix/regexec.c (check_node_accept_bytes): Likewise.
28413 * string/strcoll_l.c (STRCOLL): Likewise.
28414 * string/strxfrm_l.c (STRXFRM): Likewise.
28415
28416 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28417
28418 * Makefile.in: Remove CVSOPT handling.
28419 * configure.in: Remove use of AC_REVISION.
28420 * iconvdata/Makefile (distribute): No need to filter out CVS.
28421 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28422 handling.
28423
28424 2011-11-16 Andreas Schwab <schwab@redhat.com>
28425
28426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28427 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28428 [USE_AS_STRNCASECMP_L]: Likewise.
28429 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28430 NO_TLS_DIRECT_SEG_REFS.
28431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28432 Fix argument offsets for non-PIC.
28433 [USE_AS_STRNCASECMP_L]: Likewise.
28434 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28435 NO_TLS_DIRECT_SEG_REFS.
28436
28437 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28438
28439 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28440 O_CLOEXEC.
28441 * locale/loadlocale.c (_nl_load_locale): Likewise.
28442
28443 2011-11-15 Andreas Schwab <schwab@redhat.com>
28444
28445 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28446 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28448 (SYSCALL_GETTIME): Set errno on error.
28449
28450 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28451 count references to noai6ai_cached.
28452
28453 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28454
28455 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28456
28457 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28458 FD_CLOEXEC for /proc/self/maps.
28459
28460 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28461 FD_CLOEXEC for /proc/meminfo.
28462
28463 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28464 gai.conf.
28465
28466 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28467 FD_CLOEXEC for given file.
28468
28469 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28470
28471 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28472 FD_CLOEXEC for /etc/hosts.
28473 (_gethtent): Likewise.
28474
28475 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28476
28477 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28478 cancellation and set FD_CLOEXEC for /etc/netgroup.
28479
28480 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28481 reading /etc/publickey.
28482
28483 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28484 allow cancellation when reading /etc/group.
28485
28486 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28487 cancellation.
28488 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28489
28490 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28491 when using data file.
28492
28493 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28494
28495 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28496 (write_nis_obj): Use "c" and "e" in fopen.
28497
28498 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28499
28500 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28501
28502 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28503
28504 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28505
28506 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28507 locale.alias.
28508
28509 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28510
28511 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28512
28513 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28514
28515 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28516 file parsing and set FD_CLOEXEC.
28517
28518 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28519
28520 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28521
28522 2011-11-14 Andreas Schwab <schwab@redhat.com>
28523
28524 * malloc/arena.c (arena_get2): Don't call reused_arena when
28525 _int_new_arena failed.
28526
28527 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28528
28529 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28530 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28532 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28534 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28535 to compile strcasecmp and strncasecmp.
28536 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28537 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28538
28539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28540
28541 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28542
28543 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28544 locale-defines.sym to gen-as-const-headers.
28545 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28546 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28548 to compile strcasecmp and strncasecmp.
28549 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28550 strcasecmp_l and strncasecmp_l.
28551 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28552 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28553 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28554 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28555 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28556 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28557 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28558 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28559 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28560 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28561 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28562
28563 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28564
28565 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28566 result of SYSDEP_GETTIME_CPU to retval.
28567 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28568 parameter list to macro. Remove trailing semicolon. Adjust users.
28569
28570 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28571 variable.
28572
28573 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28574 mantissa words.
28575 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28576
28577 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28578 from unused variable.
28579
28580 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28581 DWARF definitions.
28582 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28583 for assembling.
28584
28585 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28586 over namespaces.
28587
28588 * sunrpc/rpc_prot.c (rejected): Fix case value.
28589
28590 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28591 unsigned long long int to avoid warnings in shift.
28592
28593 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28594 of use of trans.
28595 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28596 variable tmp.
28597
28598 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28599 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28600 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28601
28602 * nis/nis_table.c (nis_list): Use variable of correct type for
28603 result of __follow_path call.
28604
28605 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28606
28607 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28608 of math functions ceil, trunc, floor, round, and sqrt, when
28609 avaliable on the platform.
28610 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28611 name clash.
28612 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28613 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28614 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28615
28616 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28617
28618 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28619 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28620
28621 2011-11-11 Roland McGrath <roland@hack.frob.com>
28622
28623 * include/unistd.h: Fix __readlink return type.
28624 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28625
28626 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28627
28628 * stdlib/ucontext.h: Undo last change for makecontext.
28629
28630 2011-11-11 Andreas Schwab <schwab@redhat.com>
28631
28632 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28633
28634 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28635 * setjmp/setjmp.h: Mark functions as non-leaf.
28636 * setjmp/bits/setjmp2.h: Likewise.
28637 * stdlib/ucontext.h: Likewise.
28638
28639 2011-11-10 Andreas Schwab <schwab@redhat.com>
28640
28641 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28642 (reused_arena): Don't check arena limit.
28643 (arena_get2): Atomically check arena limit.
28644
28645 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28646
28647 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28648 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28649
28650 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28651 instructions.
28652
28653 2011-11-07 Andreas Schwab <schwab@redhat.com>
28654
28655 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28656 handler when locking.
28657
28658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28659 Fix size of allocated buffer.
28660
28661 2011-11-04 Andreas Schwab <schwab@redhat.com>
28662
28663 [BZ #10103]
28664 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28665 declarations for long double functions.
28666 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28667
28668 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28669
28670 2011-11-03 Andreas Schwab <schwab@redhat.com>
28671
28672 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28673 installed.
28674
28675 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28676 is disabled.
28677
28678 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28679
28680 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28681
28682 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28683
28684 * include/alloca.h (stackinfo_alloca_round): Define.
28685 (extend_alloca): Use it.
28686 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28687 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28688 here.
28689
28690 * scripts/check-local-headers.sh: Ignore libaudit.h.
28691
28692 * nscd/Makefile (extra-objs): Make recursively expanded.
28693
28694 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28695
28696 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28698
28699 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28700 * posix/tst-rfc3484-2.c: Likewise.
28701 * posix/tst-rfc3484-3.c: Likewise.
28702
28703 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28704 process_vm_writev.
28705 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28706 process_vm_writev.
28707 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28708 process_vm_writev from libc using GLIBC_2.15 version.
28709
28710 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28711
28712 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28713
28714 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28715 stack usage.
28716
28717 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28718
28719 [BZ #13367]
28720 * nss/getent.c (initgroups_keys): Show error message in case no group
28721 names are given.
28722
28723 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28724 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28725 __bump_nl_timestamp.
28726 * nscd/connections (nscd_init): When host database is served open
28727 netlink socket and request notification about configuration changes.
28728 (main_loop_poll): Track netlink file descriptor and bump timestamp
28729 in case data becomes available.
28730 (main_loop_epoll): Likewise.
28731 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28732 (database_pers_head): Add extra_data fileds.
28733 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28734 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28735 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28736 Adjust caller.
28737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28738 in6ai data, call __free_in6ai.
28739 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28740 Add -DHAVE_NETLINK.
28741 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28742 interface information. Reuse previous data if netlink timestamp
28743 is not changed.
28744 (__bump_nl_timestamp): New function.
28745 (__free_in6ai): New function.
28746
28747 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28748
28749 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28750 close_not_cancel_no_status here.
28751 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28752
28753 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28754
28755 [BZ #13276]
28756 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28757 return value.
28758
28759 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28760 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28761 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28762
28763 2011-07-03 Andreas Jaeger <aj@suse.de>
28764
28765 [BZ #10709]
28766 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28767 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28768 * math/libm-test.inc (sin_test): Add test case.
28769
28770 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28771
28772 [BZ #13337]
28773 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28774 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28775
28776 * elf/chroot_canon.c (chroot_canon): Cleanups.
28777
28778 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28779
28780 [BZ #13335]
28781 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28782 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28783
28784 * string/test-strchr.c: Make usable for strchrnul testing.
28785 * string/test-strchrnul.c: New file.
28786 * string/Makefile (strop-tests): Add strchrnul.
28787
28788 * po/it.po: Update from translation team.
28789 * po/es.po: Likewise.
28790
28791 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28792
28793 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28794 the three constants needed as parameters. Drop the others.
28795 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28796 __m128i_strloadu_tolower.
28797 Create and initialize variable zero and use it in all the places
28798 where _mm_setzero_si128 was used.
28799
28800 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28801 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28802 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28803 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28804 anymore.
28805 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28806 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28807 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28808 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28809 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28810 __mpranred, __mptan.
28811 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28812 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28813 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28814 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28815 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28816 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28817 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28818 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28819 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28820
28821 2011-10-28 Andreas Schwab <schwab@redhat.com>
28822
28823 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28824 redefine if SHARED.
28825 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28826
28827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28828 wide char related routines to wcsmbs subdir.
28829
28830 2011-10-27 Andreas Schwab <schwab@redhat.com>
28831
28832 [BZ #13344]
28833 * misc/sys/cdefs.h (__THROWNL): Define.
28834 * posix/unistd.h: Use __THREADNL instead of __THREAD
28835 for memory synchronization functions.
28836
28837 2011-10-26 Roland McGrath <roland@hack.frob.com>
28838
28839 [BZ #13349]
28840 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28841 doesn't exist.
28842 * manual/stdio.texi (Obstack Streams): Node removed.
28843
28844 2011-10-26 Andreas Schwab <schwab@redhat.com>
28845
28846 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28847 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28849
28850 * math/math_private.h (math_force_eval): Allow non-addressable
28851 arguments.
28852 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28853
28854 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28855
28856 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28857 file is not needed.
28858
28859 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28860 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28862 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28863 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28864 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28866 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28867 Add AVX variants.
28868 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28869 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28870 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28871 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28872 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28873 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28874 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28875 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28876 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28877 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28878 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28879 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28880 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28881 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28882 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28883 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28884 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28885 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28886 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28887
28888 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28889 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28890
28891 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28892 place. Use VEX encoding when compiling for AVX.
28893
28894 2011-10-25 Andreas Schwab <schwab@redhat.com>
28895
28896 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28897 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28898
28899 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28900
28901 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28902
28903 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28904 useless if() expression.
28905 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28906 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28907 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28908 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28909 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28910 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28911 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28913 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28915 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28917 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28918 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28919 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28920 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28921 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28922 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28923 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28924
28925 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28926
28927 2011-10-25 Andreas Schwab <schwab@redhat.com>
28928
28929 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28930 condition.
28931 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28932
28933 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28934
28935 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28936 .text section. Avoid duplicate constants.
28937 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28939 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28945 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28946 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28947 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28948 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28949 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28950 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28951 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28952 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28953 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28954 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28955 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28957 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28958 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28959 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28960 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28961 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28962 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28963 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28964 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28965 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28966 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28967 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28968 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28969 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28970 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28971 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28972 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28973 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28974 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28975 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28976 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28977 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28979 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28980 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28981 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28982
28983 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28984
28985 * sysdeps/x86_64/dla.h: Move to ...
28986 * sysdeps/x86_64/fpu/dla.h: ...here.
28987 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28988 situations. Use __builtin_fma only for gcc 4.6 and up.
28989
28990 * config.make.in: Add have-mfma4 entry.
28991 * configure.in: Substitute libc_cv_cc_fma4.
28992 * math/Makefile (dbl-only-routines): Add sincostab.
28993 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28994 Use __sincostab not sincos.
28995 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28996 name is a macro.
28997 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29001 using __copysign.
29002 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29003 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29004 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29005 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29006 and __inv.
29007 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29008 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29009 __copysign.
29010 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29011 define aliases when function name is a macro.
29012 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29013 sysdeps/ieee754/dbl-64/sincos.tbl.
29014 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29015 fma4-enabled routines.
29016 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29017 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29018 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29019 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29020 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29021 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29022 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29023 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29024 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29025 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29026 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29027 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29028 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29029 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29030 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29031 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29032 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29033 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29034 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29035 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29036 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29037 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29039 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29040 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29041 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29042 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29043 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29044 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29045 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29046
29047 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29048 rename.
29049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29057
29058 2011-10-24 Andreas Schwab <schwab@redhat.com>
29059
29060 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29061
29062 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29063
29064 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29065
29066 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29067 prediction.
29068 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29069
29070 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29071 Remove unused variable magic_bits.
29072 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29073
29074 * string/strnlen.c: Define and use STRNLEN macro.
29075 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29076 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29078 * wcsmbs/wcslen.c: Define and use WCSLEN.
29079 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29080 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29081 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29082 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29083 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29084 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29085 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29086
29087 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29088
29089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29090 strnlen-sse2-no-bsf.
29091 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29093 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29094 Add strnlen support.
29095 (USE_AS_STRNLEN): New macro.
29096 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29097 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29098 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29099 * sysdeps/x86_64/wcslen.S: New file.
29100
29101 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29102
29103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29104 XMM-moves are used for copying on small sizes.
29105
29106 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29107
29108 * wcsmbs/Makefile (strop-tests): Add wcschr.
29109 * wcsmbs/test-wcschr.c: New file.
29110 * string/test-strchr.c: Update.
29111 Add wcschr support.
29112 (WIDE): New macro.
29113
29114 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29115
29116 * wcsmbs/Makefile (strop-tests): Add wcslen.
29117 * wcsmbs/test-wcslen.c: New file.
29118 * string/test-strlen.c: Update.
29119 Add wcslen support.
29120 (WIDE): New macro.
29121
29122 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29123
29124 * po/it.po: Update from translation team.
29125
29126 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29127
29128 * sysdeps/x86_64/wcscmp.S: Update.
29129 Fix wrong comparison semantics.
29130 wcscmp shall use signed comparison not unsigned.
29131 Don't use substraction to avoid overflow bug.
29132 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29133 * wcsmbc/wcscmp.c: Likewise.
29134 * string/test-strcmp.c: Likewise.
29135 Add new tests to check cases with negative values.
29136
29137 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29138
29139 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29140 * sysdeps/x86_64/dla.h: ...here. New file.
29141 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29150
29151 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29152
29153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29154 __ynl_finite aliases.
29155
29156 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29157
29158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29159
29160 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29161 define DLA_FMA.
29162 [DLA_FMA] (EMULV): Use DLA_FMA.
29163 [DLA_FMA] (MUL12): Use EMULV.
29164 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29165 that are not needed.
29166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29173
29174 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29175
29176 * math/s_nan.c: Undef __nan.
29177 * math/s_nanf.c: Undef __nanf.
29178 * math/s_nanl.c: Undef __nanl.
29179 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29180 "math_private.h".
29181
29182 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29183
29184 * math/s_catan.c: Add branch predictions.
29185 * math/s_catanf.c: Likewise.
29186 * math/s_catanh.c: Likewise.
29187 * math/s_catanhf.c: Likewise.
29188 * math/s_catanhl.c: Likewise.
29189 * math/s_catanl.c: Likewise.
29190 * math/s_cexp.c: Likewise.
29191 * math/s_cexpf.c: Likewise.
29192 * math/s_cexpl.c: Likewise.
29193 * math/s_clog.c: Likewise.
29194 * math/s_clog10.c: Likewise.
29195 * math/s_clog10f.c: Likewise.
29196 * math/s_clog10l.c: Likewise.
29197 * math/s_clogf.c: Likewise.
29198 * math/s_clogl.c: Likewise.
29199 * math/s_csqrt.c: Likewise.
29200 * math/s_csqrtf.c: Likewise.
29201 * math/s_csqrtl.c: Likewise.
29202 * math/s_ctanf.c: Likewise.
29203 * math/s_ctanh.c: Likewise.
29204 * math/s_ctanhf.c: Likewise.
29205 * math/s_ctanhl.c: Likewise.
29206 * math/s_ctanl.c: Likewise.
29207
29208 * math/math_private.h: Define __nan, __nanf, __nanl.
29209 * math/s_cacosh.c: Include <math_private.h>.
29210 * math/s_cacoshl.c: Likewise.
29211 * math/s_casinh.c: Likewise.
29212 * math/s_casinhf.c: Likewise.
29213 * math/s_casinhl.c: Likewise.
29214 * math/s_ccos.c: Rely entire on ccosh.
29215 * math/s_ccosf.c: Rely entire on ccoshf.
29216 * math/s_ccosl.c: Rely entirely on ccoshl.
29217 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29218 Remove tests for FE_INVALID.
29219 * math/s_ccoshf.c: Likewise.
29220 * math/s_ccoshl.c: Likewise.
29221 * math/s_csin.c: Likewise.
29222 * math/s_csinf.c: Likewise.
29223 * math/s_csinh.c Likewise.
29224 * math/s_csinhf.c: Likewise.
29225 * math/s_csinhl.c: Likewise.
29226 * math/s_csinl.c: Likewise.
29227 * math/s_ctan.c: Likewise.
29228 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29229 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29230 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29231
29232 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29233
29234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29235 compilation problems.
29236
29237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29238 __builtin_expect.
29239
29240 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29241
29242 * sysdeps/i386/configure.in: Test for -mfma4 option.
29243 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29244 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29245 COMMON_CPUID_INDEX_80000001.
29246 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29247 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29248 use it if FMA3 is not supported.
29249 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29250
29251 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29252 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29253
29254 2011-10-20 Andreas Schwab <schwab@redhat.com>
29255
29256 [BZ #12892]
29257 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29258 it would create a cycle with a link time dependency.
29259
29260 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29261
29262 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29263 instruction.
29264 * string/Makefile (strop-tests): Add rawmemchr.
29265 * string/test-rawmemchr.c: New file.
29266
29267 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29268 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29269 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29270 when compiling str{,n}casecmp and when AVX is available. Hook up
29271 new optimized code in initializers.
29272
29273 2011-10-19 Andreas Schwab <schwab@redhat.com>
29274
29275 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29276 __feraiseexcept instead of feraiseexcept.
29277
29278 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29279
29280 * math/math_private.h: Define defaults for libc_fetestexcept and
29281 libc_feupdateenv.
29282 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29283 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29284 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29285 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29286 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29287 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29288 libc_fetestexcept and libc_feupdateenv.
29289
29290 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29291 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29292 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29293 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29294 libc_feholdexcept_setround.
29295
29296 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29297 Add s_nearbyint-c and s_nearbyintf-c.
29298 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29299 nearbyintf inlines.
29300 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29301 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29302 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29303 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29304
29305 * math/math_private.h: Define defaults for libc_fegetround,
29306 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29307 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29308 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29309 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29310 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29311 standard functions.
29312 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29313 Remove comments and hacks for old compiler versions.
29314 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29315 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29316 libc_feholdexceptl.
29317
29318 2011-10-18 Andreas Schwab <schwab@redhat.com>
29319
29320 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29321 (__feraiseexcept_renamed): Add __NTH.
29322 (feraiseexcept): Add __NTH. Rename local variables to fix
29323 namespace violations.
29324
29325 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29326
29327 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29328
29329 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29330
29331 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29332 recently added interfaces.
29333 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29334
29335 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29336 about macro parameter expansion.
29337
29338 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29339 __NO_MATH_INLINES is defined. Cleanups.
29340
29341 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29342 and __floorf is target has SSE4.1.
29343 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29344 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29345 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29346 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29347
29348 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29349 name.
29350 (floorf): Likewise.
29351
29352 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29353
29354 2011-10-17 Andreas Schwab <schwab@redhat.com>
29355
29356 * misc/sys/cdefs.h: Fix last change.
29357
29358 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29359 database lookup.
29360
29361 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29362
29363 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29364
29365 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29366 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29367 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29368 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29369 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29370 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29371 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29372 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29373 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29374 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29375 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29376 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29377 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29378 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29379 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29380 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29381 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29382 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29383 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29384 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29385 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29386 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29387
29388 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29389 ceil, ceilf, floor, floorf.
29390
29391 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29392 Perform IRELATIVE relocations last.
29393
29394 * elf/do-rel.h: Add another parameter nrelative, replacing the
29395 local variable with the same name. Change name of the function
29396 to end in Rel or Rela (uppercase).
29397 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29398 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29399 elf_dynamic_do_##reloc function.
29400
29401 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29402
29403 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29404 is sufficient, at least on modern CPUs.
29405
29406 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29407
29408 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29409 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29410
29411 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29412 __expl_finite.
29413 * math/bits/math-finite.h: Add entries for exp.
29414 * math/e_expl.c: Add __*_finite alias.
29415 * sysdeps/i386/fpu/e_exp.S: Likewise.
29416 * sysdeps/i386/fpu/e_expf.S: Likewise.
29417 * sysdeps/i386/fpu/e_expl.c: Likewise.
29418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29419 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29420 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29422 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29423 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29424 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29425
29426 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29427 is sufficient, at least on modern CPUs.
29428
29429 * ctype/ctype-info.c (__ctype_init): Define.
29430 * include/ctype.h (__ctype_init): Declare.
29431 (__ctype_b_loc): The variable is always initialized.
29432 (__ctype_toupper_loc): Likewise.
29433 (__ctype_tolower_loc): Likewise.
29434 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29435 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29436
29437 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29438
29439 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29440
29441 * configure.in: Also look in $cxxmachine/include for C++ system
29442 headers.
29443
29444 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29445
29446 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29447 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29448 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29449 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29450 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29451 (USE_AS_WMEMCMP): New macro.
29452 Fixing indents.
29453 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29454 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29455 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29456 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29458 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29459 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29460 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29461 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29462 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29463 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29464 (USE_AS_WMEMCMP): New macro.
29465 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29466 * sysdeps/string/test-memcmp.c: Update.
29467 Fix simple_wmemcmp.
29468 Add new tests.
29469 * wcsmbs/wmemcmp.c: Update.
29470 (WMEMCMP): New macro.
29471 Fix overflow bug.
29472
29473 2011-10-12 Andreas Jaeger <aj@suse.de>
29474
29475 [BZ #13268]
29476 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29477
29478 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29479
29480 * libio/iofwide.c (do_length): Avoid warning.
29481
29482 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29483
29484 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29485
29486 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29487
29488 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29489 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29490 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29491 * sysdeps/i386/i686/fpu/e_log.S: New file.
29492 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29493 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29494
29495 * ctype/ctype.h: Add support for inlined isXXX functions when
29496 compiling C++ code.
29497
29498 2011-10-14 Andreas Schwab <schwab@redhat.com>
29499
29500 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29501
29502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29503
29504 2011-10-13 Roland McGrath <roland@hack.frob.com>
29505
29506 [BZ #13291]
29507 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29508
29509 2011-10-13 Andreas Schwab <schwab@redhat.com>
29510
29511 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29512 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29513 feraiseexcept.
29514
29515 * sysdeps/x86_64/memrchr.S: Check for zero size.
29516
29517 * string/stratcliff.c: Add memrchr tests.
29518
29519 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29520
29521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29522 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29523 rawmemchr-sse2 rawmemchr-sse2-bsf.
29524 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29525 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29526 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29527 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29528 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29529 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29530 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29531 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29532 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29533 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29534 * string/memrchr.c (MEMRCHR): New macro.
29535
29536 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29537
29538 Add integration with gcc's -ffinite-math-only and optimize wrapper
29539 functions in libm.
29540 * Versions.def: Define GLIBC_2.15 version for libm.
29541 * math/Makefile (headers): Add bits/math-finite.h.
29542 * math/bits/math-finite.h: New file.
29543 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29544 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29545 * math/e_acoshl.c: Add __*_finite alias.
29546 * math/e_acosl.c: Likewise.
29547 * math/e_asinl.c: Likewise.
29548 * math/e_atan2l.c: Likewise.
29549 * math/e_atanhl.c: Likewise.
29550 * math/e_coshl.c: Likewise.
29551 * math/e_exp10.c: Likewise.
29552 * math/e_exp10f.c: Likewise.
29553 * math/e_exp10l.c: Likewise.
29554 * math/e_exp2l.c: Likewise.
29555 * math/e_fmodl.c: Likewise.
29556 * math/e_gammal_r.c: Likewise.
29557 * math/e_hypotl.c: Likewise.
29558 * math/e_j0l.c: Likewise.
29559 * math/e_j1l.c: Likewise.
29560 * math/e_jnl.c: Likewise.
29561 * math/e_lgammal_r.c: Likewise.
29562 * math/e_log10l.c: Likewise.
29563 * math/e_log2l.c: Likewise.
29564 * math/e_logl.c: Likewise.
29565 * math/e_powl.c: Likewise.
29566 * math/e_sinhl.c: Likewise.
29567 * math/e_sqrtl.c: Likewise.
29568 * math/e_scalb.c: Completely rewritten and optimized.
29569 * math/e_scalbf.c: Likewise.
29570 * math/e_scalbl.c: Likewise.
29571 * math/w_acos.c: Likewise.
29572 * math/w_acosf.c: Likewise.
29573 * math/w_acosl.c: Likewise.
29574 * math/w_acosh.c: Likewise.
29575 * math/w_acoshf.c: Likewise.
29576 * math/w_acoshl.c: Likewise.
29577 * math/w_asin.c: Likewise.
29578 * math/w_asinf.c: Likewise.
29579 * math/w_asinl.c: Likewise.
29580 * math/w_atan2.c: Likewise.
29581 * math/w_atan2f.c: Likewise.
29582 * math/w_atan2l.c: Likewise.
29583 * math/w_atanh.c: Likewise.
29584 * math/w_atanhf.c: Likewise.
29585 * math/w_atanhl.c: Likewise.
29586 * math/w_exp10.c: Likewise.
29587 * math/w_exp10f.c: Likewise.
29588 * math/w_exp10l.c: Likewise.
29589 * math/w_fmod.c: Likewise.
29590 * math/w_fmodf.c: Likewise.
29591 * math/w_fmodl.c: Likewise.
29592 * math/w_j0.c: Likewise.
29593 * math/w_j0f.c: Likewise.
29594 * math/w_j0l.c: Likewise.
29595 * math/w_j1.c: Likewise.
29596 * math/w_j1f.c: Likewise.
29597 * math/w_j1l.c: Likewise.
29598 * math/w_jn.c: Likewise.
29599 * math/w_jnf.c: Likewise.
29600 * math/w_log.c: Likewise.
29601 * math/w_logf.c: Likewise.
29602 * math/w_logl.c: Likewise.
29603 * math/w_log10.c: Likewise.
29604 * math/w_log10f.c: Likewise.
29605 * math/w_log10l.c: Likewise.
29606 * math/w_log2.c: Likewise.
29607 * math/w_log2f.c: Likewise.
29608 * math/w_log2l.c: Likewise.
29609 * math/w_pow.c: Likewise.
29610 * math/w_powf.c: Likewise.
29611 * math/w_powl.c: Likewise.
29612 * math/w_remainder.c: Likewise.
29613 * math/w_remainderf.c: Likewise.
29614 * math/w_remainderl.c: Likewise.
29615 * math/w_scalb.c: Likewise.
29616 * math/w_scalbf.c: Likewise.
29617 * math/w_scalbl.c: Likewise.
29618 * math/w_sqrt.c: Likewise.
29619 * math/w_sqrtf.c: Likewise.
29620 * math/w_sqrtl.c: Likewise.
29621 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29622 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29623 used.
29624 * math/math_private.h: Declare __kernel_standard_f.
29625 * math/w_cosh.c: Remove cruft and optimize a bit.
29626 * math/w_coshf.c: Likewise.
29627 * math/w_coshl.c: Likewise.
29628 * math/w_exp2.c: Likewise.
29629 * math/w_exp2f.c: Likewise.
29630 * math/w_exp2l.c: Likewise.
29631 * math/w_hypot.c: Likewise.
29632 * math/w_hypotf.c: Likewise.
29633 * math/w_hypotl.c: Likewise.
29634 * math/w_lgamma.c: Likewise.
29635 * math/w_lgamma_r.c: Likewise.
29636 * math/w_lgammaf.c: Likewise.
29637 * math/w_lgammaf_r.c: Likewise.
29638 * math/w_lgammal.c: Likewise.
29639 * math/w_lgammal_r.c: Likewise.
29640 * math/w_sinh.c: Likewise.
29641 * math/w_sinhf.c: Likewise.
29642 * math/w_sinhl.c: Likewise.
29643 * math/w_tgamma.c: Likewise.
29644 * math/w_tgammaf.c: Likewise.
29645 * math/w_tgammal.c: Likewise.
29646 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29648 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29649 Minor optimizations. Pretty printing. Remove cruft.
29650 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29651 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29652 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29653 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29654 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29655 * sysdeps/i386/fpu/e_asin.S: Likewise.
29656 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29657 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29658 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29659 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29660 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29661 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29662 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29663 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29664 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29665 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29666 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29667 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29668 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29669 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29670 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29671 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29672 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29673 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29674 * sysdeps/i386/fpu/e_log.S: Likewise.
29675 * sysdeps/i386/fpu/e_log10.S: Likewise.
29676 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29677 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29678 * sysdeps/i386/fpu/e_log2.S: Likewise.
29679 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29681 * sysdeps/i386/fpu/e_logf.S: Likewise.
29682 * sysdeps/i386/fpu/e_logl.S: Likewise.
29683 * sysdeps/i386/fpu/e_pow.S: Likewise.
29684 * sysdeps/i386/fpu/e_powf.S: Likewise.
29685 * sysdeps/i386/fpu/e_powl.S: Likewise.
29686 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29687 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29688 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29689 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29690 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29691 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29692 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29693 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29694 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29695 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29698 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29699 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29700 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29702 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29703 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29704 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29705 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29706 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29708 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29709 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29711 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29712 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29715 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29716 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29719 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29720 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29721 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29722 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29723 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29724 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29725 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29726 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29727 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29728 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29729 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29730 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29731 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29732 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29733 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29734 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29735 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29736 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29737 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29738 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29740 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29741 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29742 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29743 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29744 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29745 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29746 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29748 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29750 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29751 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29752 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29753 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29754 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29755 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29763 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29764 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29767 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29769 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29771 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29772 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29773 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29774 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29775 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29776 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29777 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29778 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29779 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29780 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29781 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29782 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29783 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29784 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29785 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29786 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29787 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29788 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29789 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29790 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29791 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29792 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29793 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29794 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29795 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29796 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29797 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29798 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29799 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29800 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29801 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29802 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29803 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29804 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29805 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29806 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29807 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29808 (__isnanf): Likewise.
29809 (__isinf_ns): Likewise.
29810 (__isinf_nsf): Likewise.
29811 (__finite): Likewise.
29812 (__finitef): Likewise.
29813 (__ieee754_sqrt): Define as macro.
29814 (__ieee754_sqrtf): Define as macro.
29815 (__ieee754_sqrtl): Define as macro.
29816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29817 inlined copy.
29818 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29819 __FINITE_MATH_ONLY__ consistent.
29820 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29821
29822 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29823
29824 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29825 of rawmemchr.
29826
29827 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29828
29829 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29830
29831 * po/ja.po: Update from translation team.
29832
29833 2011-10-08 Roland McGrath <roland@hack.frob.com>
29834
29835 * locale/programs/locarchive.c (prepare_address_space): New function.
29836 (create_archive, enlarge_archive, open_archive): Use it.
29837
29838 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29839 inside [SHARED], where it is used.
29840
29841 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29842
29843 * nss/getent.c (netgroup_keys): Remove unused variable.
29844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29845
29846 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29847
29848 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29849 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29852 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29853 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29854 * math/Makefile (libm-calls): Add s_isinf_ns.
29855 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29856 * math/multc3.c: Likewise.
29857 * math/s_casin.c: Likewise.
29858 * math/s_casinf.c: Likewise.
29859 * math/s_casinl.c: Likewise.
29860 * math/s_ccos.c: Likewise.
29861 * math/s_ccosf.c: Likewise.
29862 * math/s_ccosl.c: Likewise.
29863 * math/s_ctan.c: Likewise.
29864 * math/s_ctanf.c: Likewise.
29865 * math/s_ctanh.c: Likewise.
29866 * math/s_ctanhf.c: Likewise.
29867 * math/s_ctanhl.c: Likewise.
29868 * math/s_ctanl.c: Likewise.
29869 * math/w_fmod.c: Likewise.
29870 * math/w_fmodf.c: Likewise.
29871 * math/w_fmodl.c: Likewise.
29872 * math/w_remainder.c: Likewise.
29873 * math/w_remainderf.c: Likewise.
29874 * math/w_remainderl.c: Likewise.
29875 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29876 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29877 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29879 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29880 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29881 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29882 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29883
29884 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29885 of the number.
29886 * stdio-common/printf_fphex.c: Likewise.
29887 * stdio-common/printf_size.c: Likewise.
29888
29889 * math/e_exp10.c: Include math_private.h using <...> not "...".
29890 * math/e_exp10f.c: Likewise.
29891 * math/e_exp10l.c: Likewise.
29892 * math/e_exp2l.c: Likewise.
29893 * math/e_j0l.c: Likewise.
29894 * math/e_j1l.c: Likewise.
29895 * math/e_jnl.c: Likewise.
29896 * math/e_lgammal_r.c: Likewise.
29897 * math/e_rem_pio2l.c: Likewise.
29898 * math/e_scalb.c: Likewise.
29899 * math/e_scalbf.c: Likewise.
29900 * math/e_scalbl.c: Likewise.
29901 * math/k_cosl.c: Likewise.
29902 * math/k_sinl.c: Likewise.
29903 * math/k_tanl.c: Likewise.
29904 * math/s_cacoshf.c: Likewise.
29905 * math/s_catan.c: Likewise.
29906 * math/s_catanf.c: Likewise.
29907 * math/s_catanh.c: Likewise.
29908 * math/s_catanhf.c: Likewise.
29909 * math/s_catanhl.c: Likewise.
29910 * math/s_catanl.c: Likewise.
29911 * math/s_ccosh.c: Likewise.
29912 * math/s_ccoshf.c: Likewise.
29913 * math/s_ccoshl.c: Likewise.
29914 * math/s_cexp.c: Likewise.
29915 * math/s_cexpf.c: Likewise.
29916 * math/s_cexpl.c: Likewise.
29917 * math/s_clog.c: Likewise.
29918 * math/s_clog10.c: Likewise.
29919 * math/s_clog10f.c: Likewise.
29920 * math/s_clog10l.c: Likewise.
29921 * math/s_clogf.c: Likewise.
29922 * math/s_clogl.c: Likewise.
29923 * math/s_csin.c: Likewise.
29924 * math/s_csinf.c: Likewise.
29925 * math/s_csinh.c: Likewise.
29926 * math/s_csinhf.c: Likewise.
29927 * math/s_csinhl.c: Likewise.
29928 * math/s_csinl.c: Likewise.
29929 * math/s_csqrt.c: Likewise.
29930 * math/s_csqrtf.c: Likewise.
29931 * math/s_csqrtl.c: Likewise.
29932 * math/s_ctan.c: Likewise.
29933 * math/s_ctanf.c: Likewise.
29934 * math/s_ctanh.c: Likewise.
29935 * math/s_ctanhf.c: Likewise.
29936 * math/s_ctanhl.c: Likewise.
29937 * math/s_ctanl.c: Likewise.
29938 * math/s_ldexp.c: Likewise.
29939 * math/s_ldexpf.c: Likewise.
29940 * math/s_ldexpl.c: Likewise.
29941 * math/s_significand.c: Likewise.
29942 * math/s_significandf.c: Likewise.
29943 * math/s_significandl.c: Likewise.
29944 * math/w_acos.c: Likewise.
29945 * math/w_acosf.c: Likewise.
29946 * math/w_acosh.c: Likewise.
29947 * math/w_acoshf.c: Likewise.
29948 * math/w_acoshl.c: Likewise.
29949 * math/w_acosl.c: Likewise.
29950 * math/w_asin.c: Likewise.
29951 * math/w_asinf.c: Likewise.
29952 * math/w_asinl.c: Likewise.
29953 * math/w_atan2.c: Likewise.
29954 * math/w_atan2f.c: Likewise.
29955 * math/w_atan2l.c: Likewise.
29956 * math/w_atanh.c: Likewise.
29957 * math/w_atanhf.c: Likewise.
29958 * math/w_atanhl.c: Likewise.
29959 * math/w_cosh.c: Likewise.
29960 * math/w_coshf.c: Likewise.
29961 * math/w_coshl.c: Likewise.
29962 * math/w_dremf.c: Likewise.
29963 * math/w_exp10.c: Likewise.
29964 * math/w_exp10f.c: Likewise.
29965 * math/w_exp10l.c: Likewise.
29966 * math/w_exp2.c: Likewise.
29967 * math/w_exp2f.c: Likewise.
29968 * math/w_fmod.c: Likewise.
29969 * math/w_fmodf.c: Likewise.
29970 * math/w_fmodl.c: Likewise.
29971 * math/w_hypot.c: Likewise.
29972 * math/w_hypotf.c: Likewise.
29973 * math/w_hypotl.c: Likewise.
29974 * math/w_j0.c: Likewise.
29975 * math/w_j0f.c: Likewise.
29976 * math/w_j0l.c: Likewise.
29977 * math/w_j1.c: Likewise.
29978 * math/w_j1f.c: Likewise.
29979 * math/w_j1l.c: Likewise.
29980 * math/w_jn.c: Likewise.
29981 * math/w_jnf.c: Likewise.
29982 * math/w_jnl.c: Likewise.
29983 * math/w_lgamma.c: Likewise.
29984 * math/w_lgamma_r.c: Likewise.
29985 * math/w_lgammaf.c: Likewise.
29986 * math/w_lgammaf_r.c: Likewise.
29987 * math/w_lgammal.c: Likewise.
29988 * math/w_lgammal_r.c: Likewise.
29989 * math/w_log.c: Likewise.
29990 * math/w_log10.c: Likewise.
29991 * math/w_log10f.c: Likewise.
29992 * math/w_log10l.c: Likewise.
29993 * math/w_log2.c: Likewise.
29994 * math/w_log2f.c: Likewise.
29995 * math/w_log2l.c: Likewise.
29996 * math/w_logf.c: Likewise.
29997 * math/w_logl.c: Likewise.
29998 * math/w_pow.c: Likewise.
29999 * math/w_powf.c: Likewise.
30000 * math/w_powl.c: Likewise.
30001 * math/w_remainder.c: Likewise.
30002 * math/w_remainderf.c: Likewise.
30003 * math/w_remainderl.c: Likewise.
30004 * math/w_scalb.c: Likewise.
30005 * math/w_scalbf.c: Likewise.
30006 * math/w_scalbl.c: Likewise.
30007 * math/w_sinh.c: Likewise.
30008 * math/w_sinhf.c: Likewise.
30009 * math/w_sinhl.c: Likewise.
30010 * math/w_sqrt.c: Likewise.
30011 * math/w_sqrtf.c: Likewise.
30012 * math/w_sqrtl.c: Likewise.
30013 * math/w_tgamma.c: Likewise.
30014 * math/w_tgammaf.c: Likewise.
30015 * math/w_tgammal.c: Likewise.
30016
30017 * po/ja.po: Update from translation team.
30018
30019 2011-09-29 Andreas Jaeger <aj@suse.de>
30020
30021 [BZ #13179]
30022 * sunrpc/netname.c (netname2host): Fix logic.
30023
30024 [BZ #6779]
30025 [BZ #6783]
30026 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30027 correctly.
30028 * math/w_remainder.c (__remainder): Likewise.
30029 * math/w_remainderf.c (__remainderf): Likewise.
30030 * math/libm-test.inc (remainder_test): Add test cases.
30031
30032 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30033
30034 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30035 sdiv_qrnnd.
30036
30037 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30038
30039 * string/test-memcmp.c: Avoid unncessary #defines.
30040 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30041
30042 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30043
30044 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30045 Use new sse2 version for core i3 - i7 as it's faster
30046 than sse42 version.
30047 (bit_Prefer_PMINUB_for_stringop): New.
30048 * sysdeps/x86_64/rawmemchr.S: Update.
30049 Replace with faster SSE2 version.
30050 * sysdeps/x86_64/memrchr.S: New file.
30051 * sysdeps/x86_64/memchr.S: Update.
30052 Replace with faster SSE2 version.
30053
30054 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30055
30056 * elf/dl-load.c (lose): Add cast to avoid warning.
30057
30058 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30059
30060 * po/ca.po: Update from translation team.
30061
30062 * inet/getnetgrent_r.c: Hook up nscd.
30063 * nscd/Makefile (routines): Add nscd_netgroup.
30064 (nscd-modules): Add netgroupcache.
30065 (CFLAGS-netgroupcache.c): Define.
30066 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30067 (cache_search): Add const to second parameter.
30068 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30069 INNETGR.
30070 (dbs): Add netgrdb entry.
30071 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30072 (verify_persistent_db): Handle netgrdb.
30073 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30074 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30075 GETFDNETGR.
30076 (netgroup_response_header): Define.
30077 (innetgroup_response_header): Define.
30078 (datahead): Add netgroup_response_header and innetgroup_response_header
30079 elements.
30080 * nscd/nscd.conf: Add entries for netgroup cache.
30081 * nscd/nscd.h (dbtype): Add netgrdb.
30082 (_PATH_NSCD_NETGROUP_DB): Define.
30083 (netgroup_iov_disabled): Declare.
30084 (xmalloc, xcalloc, xrealloc): Move declarations here.
30085 (cache_search): Adjust prototype.
30086 Add netgroup-related prototypes.
30087 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30088 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30089 (__nscd_innetgr): Declare.
30090 * nscd/selinux.c (perms): Use access_vector_t as element type and
30091 add netgroup-related initializers.
30092 * nscd/netgroupcache.c: New file.
30093 * nscd/nscd_netgroup.c: New file.
30094 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30095 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30096 For four parameters use innetgr.
30097 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30098 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30099 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30100 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30101
30102 * nscd/connections.c (register_traced_file): Don't register file
30103 for disabled databases.
30104
30105 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30106
30107 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30108
30109 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30110 from tree and freeing node.
30111
30112 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30113
30114 * nss/nsswitch.c (__nss_database_lookup): Handle
30115 nss_parse_service_list out of memory case.
30116
30117 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30118
30119 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30120 out of memory case.
30121
30122 2011-10-04 Andreas Schwab <schwab@redhat.com>
30123
30124 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30125 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30126 pass it down.
30127 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30128 elf_machine_rela, elf_machine_lazy_rel.
30129 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30130 (ELF_DYNAMIC_DO_REL): Likewise.
30131 (ELF_DYNAMIC_DO_RELA): Likewise.
30132 (ELF_DYNAMIC_RELOCATE): Likewise.
30133 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30134 to ELF_DYNAMIC_DO_REL.
30135 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30136 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30137 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30138 elf_machine_rela.
30139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30140 skip_ifunc, don't call ifunc function if non-zero.
30141 (elf_machine_rela): Likewise.
30142 (elf_machine_lazy_rel): Likewise.
30143 (elf_machine_lazy_rela): Likewise.
30144 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30145 (elf_machine_lazy_rel): Likewise.
30146 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30147 Likewise.
30148 (elf_machine_lazy_rel): Likewise.
30149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30150 Likewise.
30151 (elf_machine_lazy_rel): Likewise.
30152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30153 (elf_machine_lazy_rel): Likewise.
30154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30155 (elf_machine_lazy_rel): Likewise.
30156 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30157 (elf_machine_lazy_rel): Likewise.
30158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30159 (elf_machine_lazy_rel): Likewise.
30160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30161 (elf_machine_lazy_rel): Likewise.
30162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30163 (elf_machine_lazy_rel): Likewise.
30164
30165 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30166
30167 * nss/nss_files/files-init.c (_nss_files_init): Use static
30168 initialization for all the *_traced_file variables.
30169
30170 2011-09-28 Andreas Schwab <schwab@redhat.com>
30171
30172 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30173
30174 2011-09-27 Roland McGrath <roland@hack.frob.com>
30175
30176 [BZ #13226]
30177 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30178
30179 2011-09-27 Andreas Schwab <schwab@redhat.com>
30180
30181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30182 Reread the line before reparsing it.
30183
30184 2011-09-26 Andreas Schwab <schwab@redhat.com>
30185
30186 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30187
30188 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30189 Maxim Kuvyrkov <maxim@codesourcery.com>
30190 Joseph Myers <joseph@codesourcery.com>
30191
30192 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30193 if needed for __stack_chk_guard.
30194
30195 2011-09-19 Roland McGrath <roland@hack.frob.com>
30196
30197 * sysdeps/posix/spawni.c (script_execute): Always define it.
30198 It will be optimized away if unused.
30199 (maybe_script_execute): New function.
30200 (__spawni): Call it.
30201
30202 * Makerules: Don't include tls.make.
30203 (config-tls): Always set to thread.
30204 * tls.make.c: File removed.
30205
30206 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30207
30208 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30209 * config.make.in (CPPFLAGS-config): New substituted variable.
30210
30211 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30212
30213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30214
30215 [BZ #13192]
30216 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30217 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30218
30219 2011-09-15 Roland McGrath <roland@hack.frob.com>
30220
30221 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30222 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30224 (CALL_FAIL): Likewise.
30225 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30226 (CALL_FAIL): Macro removed.
30227 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30228
30229 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30230
30231 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30232 for __FINITE_MATH_ONLY__ == 1.
30233
30234 2011-09-15 Andreas Schwab <schwab@redhat.com>
30235
30236 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30237 __ieee754_sqrt instead of sqrt.
30238 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30239 __ieee754_sqrtf instead of sqrtf.
30240 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30241 __floorf instead of floorf.
30242 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30243 __floorf, __truncf instead of floorf, truncf.
30244
30245 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30246
30247 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30248
30249 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30250 __extern_always_inline.
30251 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30252 32-bit.
30253
30254 2011-09-14 Andreas Schwab <schwab@redhat.com>
30255
30256 * elf/rtld.c (dl_main): Also relocate in dependency order when
30257 doing symbol dependency testing.
30258
30259 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30260
30261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30262 Always define `refsym'.
30263
30264 2011-09-13 Andreas Schwab <schwab@redhat.com>
30265
30266 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30267 (__FD_ELT): Renamed from __FDELT.
30268 * misc/bits/select2.h (__FD_ELT): Likewise.
30269 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30270 __FD_MASK instead of __FDELT, __FDMASK.
30271 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30272 Likewise.
30273 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30274 Likewise.
30275
30276 * elf/Makefile (gen-ldd): Fix pattern.
30277
30278 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30279 (init_tls): Likewise.
30280
30281 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30282
30283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30284
30285 2011-09-12 Andreas Schwab <schwab@redhat.com>
30286
30287 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30288 `struct cmsghdr *' instead of `void *'.
30289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30290 Likewise.
30291
30292 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30293
30294 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30295 if non-absolute.
30296 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30297 ldd_rewrite_script.
30298
30299 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30300
30301 * configure.in: Remove --with-tls option.
30302 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30303 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30304 out in case it is missing.
30305 * sysdeps/ia64/elf/configure.in: Likewise.
30306 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30307 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30308 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30309 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30310 * sysdeps/sh/elf/configure.in: Likewise.
30311 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30312 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30313 * sysdeps/x86_64/elf/configure.in: Likewise.
30314 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30315 * sysdeps/mach/hurd/tls.h: Likewise.
30316
30317 [BZ #13067]
30318 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30319
30320 [BZ #13090]
30321 * configure.in: Fix use of AC_INIT.
30322
30323 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30324
30325 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30326
30327 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30328 __set_errno.
30329 * malloc/hooks.c: Likewise.
30330
30331 [BZ #11929]
30332 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30333 variables statically.
30334 (narenas): Initialize.
30335 (list_lock): Initialize.
30336 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30337 initializtion of main_arena and list_lock. Small cleanups.
30338 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30339 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30340 Add initializers to main_arena and mp_.
30341 (malloc_state): Remove pagesize member. Change all users to use
30342 GLRO(dl_pagesize).
30343
30344 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30345 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30346 is always initialized.
30347
30348 * malloc/malloc.c: Removed unused configurations and dead code.
30349 * malloc/arena.c: Likewise.
30350 * malloc/hooks.c: Likewise.
30351 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30352
30353 * include/tls.h: Removed. USE___THREAD must always be defined.
30354 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30355 * elf/dl-libc.c: Likewise.
30356 * elf/dl-tsd.c: Likewise.
30357 * include/errno.h: Likewise.
30358 * include/netdb.h: Likewise.
30359 * include/resolv.h: Likewise.
30360 * inet/herrno-loc.c: Likewise.
30361 * inet/herrno.c: Likewise.
30362 * malloc/arena.c: Likewise.
30363 * malloc/hooks.c: Likewise.
30364 * malloc/malloc.c: Likewise.
30365 * resolv/res-state.c: Likewise.
30366 * resolv/res_libc.c: Likewise.
30367 * sysdeps/i386/dl-machine.h: Likewise.
30368 * sysdeps/ia64/dl-machine.h: Likewise.
30369 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30370 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30371 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30372 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30373 * sysdeps/sh/dl-machine.h: Likewise.
30374 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30375 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30376 * sysdeps/unix/i386/sysdep.S: Likewise.
30377 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30378 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30381 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30383 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30387 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30388 * sysdeps/x86_64/dl-machine.h: Likewise.
30389 * tls.make.c: Likewise.
30390
30391 * configure.in: Remove --with-__thread option. Make tests for
30392 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30393 tls_model attribute fail if no support is available. Remove
30394 USE_IN_LIBIO.
30395 * Makeconfig: Adjust for dropped configure option. All features are
30396 now mandatory.
30397 * Makerules: Likewise.
30398 * Versions.def: Likewise.
30399 * argp/argp-fmtstream.c: Likewise.
30400 * argp/argp-fmtstream.h: Likewise.
30401 * argp/argp-help.c: Likewise.
30402 * assert/assert.c: Likewise.
30403 * config.h.in: Likewise.
30404 * config.make.in: Likewise.
30405 * configure: Likewise.
30406 * configure.in: Likewise.
30407 * csu/Versions: Likewise.
30408 * csu/init.c: Likewise.
30409 * elf/tst-audit2.c: Likewise.
30410 * elf/tst-tls10.c: Likewise.
30411 * elf/tst-tls10.h: Likewise.
30412 * elf/tst-tls11.c: Likewise.
30413 * elf/tst-tls12.c: Likewise.
30414 * elf/tst-tls14.c: Likewise.
30415 * elf/tst-tlsmod11.c: Likewise.
30416 * elf/tst-tlsmod12.c: Likewise.
30417 * elf/tst-tlsmod13.c: Likewise.
30418 * elf/tst-tlsmod13a.c: Likewise.
30419 * elf/tst-tlsmod14a.c: Likewise.
30420 * elf/tst-tlsmod15b.c: Likewise.
30421 * elf/tst-tlsmod16a.c: Likewise.
30422 * elf/tst-tlsmod16b.c: Likewise.
30423 * elf/tst-tlsmod7.c: Likewise.
30424 * elf/tst-tlsmod8.c: Likewise.
30425 * elf/tst-tlsmod9.c: Likewise.
30426 * gmon/gmon.c: Likewise.
30427 * grp/fgetgrent_r.c: Likewise.
30428 * grp/putgrent.c: Likewise.
30429 * hurd/fopenport.c: Likewise.
30430 * include/libc-symbols.h: Likewise.
30431 * include/tls.h: Likewise.
30432 * intl/gettextP.h: Likewise.
30433 * intl/loadinfo.h: Likewise.
30434 * locale/global-locale.c: Likewise.
30435 * locale/localeinfo.h: Likewise.
30436 * mach/devstream.c: Likewise.
30437 * malloc/arena.c: Likewise.
30438 * malloc/set-freeres.c: Likewise.
30439 * misc/err.c: Likewise.
30440 * misc/getttyent.c: Likewise.
30441 * misc/mntent_r.c: Likewise.
30442 * posix/getopt.c: Likewise.
30443 * posix/wordexp.c: Likewise.
30444 * pwd/fgetpwent_r.c: Likewise.
30445 * resolv/Versions: Likewise.
30446 * resolv/res_hconf.c: Likewise.
30447 * shadow/fgetspent_r.c: Likewise.
30448 * shadow/putspent.c: Likewise.
30449 * stdio-common/printf_fphex.c: Likewise.
30450 * stdio-common/tmpfile.c: Likewise.
30451 * stdlib/abort.c: Likewise.
30452 * stdlib/fmtmsg.c: Likewise.
30453 * sunrpc/auth_unix.c: Likewise.
30454 * sunrpc/clnt_perr.c: Likewise.
30455 * sunrpc/clnt_tcp.c: Likewise.
30456 * sunrpc/clnt_udp.c: Likewise.
30457 * sunrpc/clnt_unix.c: Likewise.
30458 * sunrpc/openchild.c: Likewise.
30459 * sunrpc/svc_simple.c: Likewise.
30460 * sunrpc/svc_tcp.c: Likewise.
30461 * sunrpc/svc_udp.c: Likewise.
30462 * sunrpc/svc_unix.c: Likewise.
30463 * sunrpc/xdr.c: Likewise.
30464 * sunrpc/xdr_array.c: Likewise.
30465 * sunrpc/xdr_rec.c: Likewise.
30466 * sunrpc/xdr_ref.c: Likewise.
30467 * sunrpc/xdr_stdio.c: Likewise.
30468
30469 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30470
30471 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30472
30473 2011-07-03 Andreas Jaeger <aj@suse.de>
30474
30475 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30476 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30477 regenerate with gen-libm-tests.pl.
30478
30479 2010-05-12 Petr Baudis <pasky@suse.cz>
30480
30481 [BZ #11589]
30482 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30483 around j0() zero points by switching to j1().
30484 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30485 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30487 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30488
30489 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30490
30491 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30492 instead of 0.
30493 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30494 instead of 0.
30495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30496 Patch in part by Pavel Roskin <proski@gnu.org>.
30497
30498 [BZ #13138]
30499 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30500 realloc.
30501 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30502 Free memory block if necessary.
30503
30504 [BZ #12847]
30505 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30506 be NULL. Don't lock in this case.
30507
30508 2011-09-09 Roland McGrath <roland@hack.frob.com>
30509
30510 * elf/elf.h (ELFOSABI_GNU): New macro.
30511 (ELFOSABI_LINUX): Define to that.
30512
30513 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30514
30515 * string/strncat.c (strncat): Undef the symbol in case it has been
30516 defined in bits/string.h.
30517
30518 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30519
30520 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30521
30522 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30523 link map.
30524
30525 2011-08-17 Andreas Jaeger <aj@suse.de>
30526
30527 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30528
30529 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30530 Ian Lance Taylor <iant@google.com>
30531
30532 * math/libm-test.inc (lround_test): New testcase.
30533 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30534
30535 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30536
30537 * Makefile: Remove support for automatic cvs check-ins.
30538 * Makerules: Likewise.
30539 * config.make.in: Likewise.
30540 * configure.in: Likewise.
30541 * intl/Makefile: Likewise.
30542 * locale/Makefile: Likewise.
30543 * po/Makefile: Likewise.
30544 * posix/Makefile: Likewise.
30545 * sysdeps/gnu/Makefile: Likewise.
30546 * sysdeps/mach/hurd/Makefile: Likewise.
30547 * sysdeps/sparc/sparc32/Makefile: Likewise.
30548
30549 [BZ #13118]
30550 * posix/Makefile (bug-regex32-ENV): Define.
30551 Patch by John Stanley <jpsinthemix@verizon.net>.
30552
30553 * misc/Makefile (headers): Add bits/select2.h.
30554 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30555 * misc/bits/select2.h: New file.
30556 * include/bits/select2.h: New file.
30557 * debug/Makefile (routines): Add fdelt_chk.
30558 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30559 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30560 FD_ISSET.
30561 * debug/fdelt_chk.c: New file.
30562
30563 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30564 * wcsmbs/test-wmemcmp.c: Likewise.
30565 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30566 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30567
30568 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30569
30570 * string/Makefile (strop-tests): Add memcmp.
30571 * string/test-wmemcmp.c: New file.
30572 * string/test-memcmp.c: Add wmemcmp support.
30573
30574 2011-09-08 Roland McGrath <roland@hack.frob.com>
30575
30576 [BZ #13153]
30577 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30578 2011-07-19 change.
30579
30580 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30581 garbage value in a __mach_port_mod_refs call in the cases of the
30582 task-self and thread-self ports.
30583
30584 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30585
30586 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30587
30588 2011-09-08 Andreas Schwab <schwab@redhat.com>
30589
30590 * elf/dl-load.c (lose): Check for non-null L.
30591
30592 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30593
30594 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30595
30596 * elf/dl-libc.c (dlerror_run): Pass back error code from
30597 dl_catch_error.
30598
30599 [BZ #13123]
30600 * elf/dl-load.c (lose): Free l_origin if it is valid.
30601
30602 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30603 names.
30604 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30605 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30606 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30607 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30608 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30609 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30610
30611 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30612
30613 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30614 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30615 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30616 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30617 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30618 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30619 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30620 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30621 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30622 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30623
30624 2011-08-15 Alan Modra <amodra@gmail.com>
30625
30626 [BZ #13092]
30627 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30628 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30629 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30630 ppc_mcount to static-only-routines.
30631 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30632 __mcount_internal.
30633 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30634 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30635
30636 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30637
30638 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30639 for finite and infinity parameters.
30640
30641 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30642
30643 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30644 and add nop instructions for throughput optimization.
30645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30646
30647 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30648
30649 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30650 aligned copy for power7 with vector-scalar instructions.
30651 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30652
30653 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30654
30655 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30656 AVX check.
30657
30658 2011-09-07 Andreas Schwab <schwab@redhat.com>
30659
30660 [BZ #13144]
30661 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30662 last change.
30663
30664 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30665
30666 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30667 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30668 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30669 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30670 clock_gettime.
30671
30672 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30673
30674 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30675 Forgot to demangle the pointer.
30676
30677 * sysdeps/i386/sysdep.h: Define atom_text_section.
30678 * sysdeps/x86_64/sysdep.h: Likewise.
30679 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30680 section with atom_text_section.
30681 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30682 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30683 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30684 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30685 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30686
30687 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30688 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30689 already be defined. Change to take two parameters and don't assign
30690 result to variable. Adjust all users.
30691 Define INTERNAL_GETTIME if not already defined.
30692 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30693 call.
30694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30695 HAVE_CLOCK_GETTIME_VSYSCALL.
30696 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30697
30698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30699 gettimeofday vsyscall, just use time.
30700
30701 2011-09-06 Andreas Schwab <schwab@redhat.com>
30702
30703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30704 <errno.h>.
30705
30706 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30707
30708 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30709 syscall on x86-64.
30710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30711 syscall.
30712 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30714 syscall if possible.
30715
30716 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30717
30718 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30719 e_ident. Don't pass to find_mapsXX.
30720 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30721
30722 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30723
30724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30725 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30726 * sysdeps/x86_64/multiarch/strchr.S: Update.
30727 Check bit_slow_BSF bit.
30728 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30729 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30730 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30731
30732 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30733
30734 [BZ #13134]
30735 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30736 before glibc 2.15.
30737 (tryshell): Define.
30738 (__spawni): Change last parameter to be flag. Test
30739 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30740 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30741 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30742 * posix/spawni.c: Likewise.
30743 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30744 * posix/spawnp.c: Likewise. Change normal version to use
30745 SPAWN_XFLAGS_USE_PATH.
30746 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30747 SPAWN_XFLAGS_TRY_SHELL.
30748
30749 [BZ #13150]
30750 * posix/glob.h: Remove gcc 1.x support.
30751
30752 [BZ #13068]
30753 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30754
30755 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30756
30757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30758 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30759 strrchr-sse2-bsf
30760 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30761 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30762 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30763 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30764 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30765 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30766
30767 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30768
30769 * sysdeps/x86_64/wcscmp.S: New file.
30770
30771 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30772 wcscmp-c wcscmp-sse2
30773 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30774 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30775 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30776 * wcsmbs/wcscmp.c: Allow renaming.
30777
30778 2011-09-05 David S. Miller <davem@davemloft.net>
30779
30780 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30781 stack slot, rather than the struct return pointer slot.
30782 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30783 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30785 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30786
30787 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30788
30789 * po/ja.po: Update from translation team.
30790
30791 [BZ #13144]
30792 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30793 kernel in 64-bit binaries.
30794
30795 2011-09-01 David S. Miller <davem@davemloft.net>
30796
30797 * elf/elf.h (HWCAP_SPARC_*): Move to..
30798 * sysdeps/sparc/sysdep.h: this new file and add new values.
30799 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30800 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30801 _DL_HWCAP_COUNT to 24.
30802 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30803 entries.
30804 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30805 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30806 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30808 instead of magic constants.
30809 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30810
30811 2011-08-31 David S. Miller <davem@davemloft.net>
30812
30813 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30815 Reimplement to do errno handling inline.
30816 (SYSCALL_ERROR_HANDLER): New macro.
30817 (__SYSCALL_STRING): Do not do errno handling in asm.
30818 (__CLONE_SYSCALL_STRING): Delete.
30819 (__INTERNAL_SYSCALL_STRING): Delete.
30820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30821 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30822 (PSEUDO): Reimplement to do errno handling inline.
30823 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30824 (SYSCALL_ERROR_HANDLER): New macro.
30825 (__SYSCALL_STRING): Do not do errno handling in asm.
30826 (__CLONE_SYSCALL_STRING): Delete.
30827 (__INTERNAL_SYSCALL_STRING): Delete.
30828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30829 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30830 i386.
30831 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30832 (inline_syscall*): Add 'err' argument.
30833 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30834 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30835 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30836 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30837
30838 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30839 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30840
30841 2011-08-30 Andreas Schwab <schwab@redhat.com>
30842
30843 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30844
30845 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30846
30847 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30848 directive.
30849
30850 2011-08-24 David S. Miller <davem@davemloft.net>
30851
30852 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30853
30854 2011-08-24 Andreas Schwab <schwab@redhat.com>
30855
30856 * elf/Makefile: Add rules to build and run unload8 test.
30857 * elf/unload8.c: New file.
30858 * elf/unload8mod1.c: New file.
30859 * elf/unload8mod1x.c: New file.
30860 * elf/unload8mod2.c: New file.
30861 * elf/unload8mod3.c: New file.
30862
30863 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30864 it wasn't used.
30865
30866 2011-08-23 David S. Miller <davem@davemloft.net>
30867
30868 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30869 subtract stack bias.
30870 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30871 %sp not %fp in calculations.
30872 (_JMPBUF_UNWINDS_ADJ): Likewise.
30873
30874 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30875 (aio_suspend): Call it to force an exception region around the
30876 AIO_MISC_WAIT() invocation.
30877
30878 2011-08-23 Andreas Schwab <schwab@redhat.com>
30879
30880 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30881 backslash.
30882
30883 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30884
30885 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30886 protection macro.
30887 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30888 and <dl-machine.h>.
30889 (Elf64_FuncDesc): Remove.
30890
30891 2011-08-22 David S. Miller <davem@davemloft.net>
30892
30893 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30894 sigaltstack check, add missing cfi directives.
30895 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30896 missing cfi directives, and sigaltstack handling.
30897
30898 2011-08-16 Andreas Schwab <schwab@redhat.com>
30899
30900 [BZ #11724]
30901 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30902 object is seen twice.
30903 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30904
30905 * elf/Makefile (distribute): Add tst-initorder2.c.
30906 (tests): Add tst-initorder2.
30907 (modules-names): Add tst-initorder2a tst-initorder2b
30908 tst-initorder2c tst-initorder2d. Add rules to build them.
30909 ($(objpfx)tst-initorder2.out): New rule.
30910 * elf/tst-initorder2.c: New file.
30911 * elf/tst-initorder2.exp: New file.
30912
30913 2011-08-22 Andreas Schwab <schwab@redhat.com>
30914
30915 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30916
30917 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30918 dependencies back to end of function.
30919
30920 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30921 $(elfobjdir)/ld.so.
30922
30923 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30924
30925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30926 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30928 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30929 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30930 of __vdso_gettimeofday.
30931 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30932 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30933 attribute_hidden.
30934 (_libc_vdso_platform_setup): Remove initialization of
30935 __vdso_gettimeofday and __vdso_time.
30936
30937 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30938
30939 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30940 and fgetc_unlocked.
30941 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30942 getc_unlocked.
30943
30944 * elf/dl-open.c (add_to_global): Report additions to the global scope
30945 for LD_DEBUG=scopes.
30946 (dl_open_worker): Also print scope of newly loaded dependencies.
30947 (_dl_show_scope): Indicate if there is no scope.
30948
30949 [BZ #13114]
30950 * stdio-common/Makefile (tests): Add bug24.
30951 * stdio-common/bug24.c: New file.
30952
30953 2011-08-19 Andreas Jaeger <aj@suse.de>
30954
30955 [BZ #13114]
30956 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30957 non-existant file when using close-on-exec mode.
30958
30959 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30960
30961 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30962 the very first instruction.
30963
30964 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30965 the CFI state in the end.
30966 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30967 inclusion of dl-trampoline.h.
30968 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30969
30970 2011-08-19 Andreas Schwab <schwab@redhat.com>
30971
30972 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30973 expectations for long double.
30974
30975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30976 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30977
30978 2011-08-14 David S. Miller <davem@davemloft.net>
30979
30980 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30981 artificual limit depends upon the system page size.
30982
30983 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30984
30985 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30986 * resolv/Makefile: Define CFLAGS-libresolv.
30987
30988 2011-08-17 Andreas Schwab <schwab@redhat.com>
30989
30990 * nss/makedb.c (compute_tables): Make variables used in nested
30991 function static.
30992
30993 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30994
30995 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30996 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30997 if buffer was too small.
30998
30999 * elf/pldd.c (main): Attach to all threads in the process.
31000 Rewrite /proc handling to use *at functions.
31001
31002 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31003
31004 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31005 specifies first scope to show.
31006 (dl_open_worker): Update callers. Move printing scope of new
31007 object to before the relocation.
31008 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31009 * sysdeps/generic/ldsodefs.h: Update declaration.
31010
31011 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31012 string for the scope number.
31013
31014 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31015
31016 * nscd/servicescache.c (cache_addserv): Make sure written is always
31017 initialized.
31018
31019 2011-08-14 Roland McGrath <roland@hack.frob.com>
31020
31021 * sysdeps/i386/i486/bits/atomic.h
31022 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31023 statement expression, so as to suppress "set but not used" warning.
31024 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31025
31026 * string/strncat.c (STRNCAT): Use prototype definition.
31027
31028 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31029 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31030 -Iprograms here.
31031 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31032 (localedef-modules): Add localedef.
31033 (locale-modules): Add locale.
31034
31035 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31036 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31037 to avoid a warning.
31038
31039 2011-08-14 David S. Miller <davem@davemloft.net>
31040
31041 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31042 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31043
31044 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31045
31046 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31047 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31048 * elf/rtld.c (dl_main): Set l_name of vDSO.
31049 Call _dl_show_scope when DL_DEBUG_SCOPES.
31050 (process_dl_debug): Recognize scopes flag and also set it for all.
31051 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31052 Declare _dl_show_scope.
31053
31054 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31055 (do_dlopen): Pass caller_dlopen to dl_open.
31056 (__libc_dlopen_mode): Initialize caller_dlopen.
31057
31058 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31059 of libc. Make tolower call locale-independent. Optimize a bit by
31060 using isdigit instead of isalnum.
31061 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31062
31063 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31064
31065 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31066 was a dependency or dynamically loaded.
31067
31068 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31069
31070 * intl/l10nflist.c: Allow architecture-specific pop function.
31071 * sysdeps/x86_64/l10nflist.c: New file.
31072
31073 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31074 classification.
31075
31076 2011-08-10 Andreas Schwab <schwab@redhat.com>
31077
31078 * include/dirent.h: Add libc_hidden_proto for scandirat and
31079 scandirat64. Don't declare __scandirat64.
31080 * dirent/scandirat.c: Add libc_hidden_def.
31081 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31082 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31083
31084 2011-08-10 David S. Miller <davem@davemloft.net>
31085
31086 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31087 enum.
31088 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31090 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31091
31092 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31093
31094 * Versions.def [libc]: Add GLIBC_2.15.
31095 * dirent/Makefile (routines): Add scandirat and scandirat64.
31096 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31097 GLIBC_2.15.
31098 * dirent/dirent.h: Declare scandirat and scandirat64.
31099 * dirent/scandirat.c: New file.
31100 * dirent/scandirat64.c: New file.
31101 * sysdeps/wordsize-64/scandirat.c: New file.
31102 * sysdeps/wordsize-64/scandirat64.c: New file.
31103 * dirent/opendir.c: Define opendirat.
31104 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31105 using scandirat.
31106 * dirent/scandir64.c: Adjust for scandir.c change.
31107 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31108 __scandirat64, and __scandir_cancel_handler.
31109 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31110 additional parameter and use openat instead of open (outside of ld.so).
31111 Add new __opendir as wrapper around __opendirat.
31112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31113 here without requiring old scandirat implementation.
31114
31115 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31116
31117 * dirent/scandir.c (cancel_handler): Renamed to
31118 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31119 defined. Adjust users.
31120 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31121 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31122
31123 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31124
31125 * string/test-string.h (IMPL): Use __STRING to expand name and then
31126 stringify it.
31127
31128 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31129 of cleanups.
31130
31131 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31132
31133 * string/Makefile: Update.
31134 (strop-tests): Append strncat.
31135 * string/test-wcscmp.c: New file.
31136 New comprehensive test for wcscmp.
31137 * string/test-strcmp.c: Update.
31138 (WIDE): New define.
31139
31140 2011-07-22 Andreas Schwab <schwab@redhat.com>
31141
31142 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31143 line.
31144
31145 2011-07-26 Andreas Schwab <schwab@redhat.com>
31146
31147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31148 encoding to ACE if AI_IDN.
31149
31150 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31151
31152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31153 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31154
31155 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31156
31157 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31158 Fix overflow bug in strncat.
31159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31160
31161 * string/test-strncat.c: Update.
31162 Add new tests for checking overflow bugs.
31163
31164 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31165
31166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31167 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31168 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31169 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31171 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31172 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31173 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31174 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31175
31176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31177 (USE_AS_STRCAT): Define.
31178 Add strcat and strncat support.
31179 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31180
31181 2011-07-25 Andreas Schwab <schwab@redhat.com>
31182
31183 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31184 __n bigger than INT_MAX+1.
31185 (__strncmp_g): Likewise.
31186
31187 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31188
31189 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31190 * libio/stido.h: Likewise.
31191
31192 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31193 (AF_NFC): Define.
31194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31195 (AF_NFC): Define.
31196
31197 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31199 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31200 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31202
31203 [BZ #13021]
31204 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31205 installed.
31206
31207 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31208 typo.
31209 (_dl_x86_64_save_sse): Likewise.
31210
31211 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31212
31213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31214 OSXSAVE.
31215 (_dl_x86_64_save_sse): Likewise.
31216
31217 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31218
31219 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31220
31221 2011-07-21 Andreas Schwab <schwab@redhat.com>
31222
31223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31224 change.
31225 (_dl_x86_64_save_sse): Use correct AVX check.
31226
31227 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31228
31229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31230 bug in strncpy/strncat.
31231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31232
31233 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31234
31235 * string/tester.c (test_strcat): Add tests for different alignments
31236 of source and destination.
31237 (test_strncat): Likewise.
31238
31239 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31240
31241 [BZ #12852]
31242 * posix/glob.c (glob): Check passed in values before using them in
31243 expressions to avoid some overflows.
31244 (glob_in_dir): Likewise.
31245
31246 [BZ #13007]
31247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31248 check for AVX enablement so that we don't crash with old kernels and
31249 new hardware.
31250 * elf/tst-audit4.c: Add same checks here.
31251 * elf/tst-audit6.c: Likewise.
31252
31253 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31254
31255 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31256
31257 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31258
31259 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31260
31261 * po/cs.po: Update from translation team.
31262 * po/bg.po: Likewise.
31263
31264 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31265
31266 * misc/sys/cdefs.h: Add support for const attribute.
31267 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31268 to gnu_dev_{major,minor,makedev} functions.
31269
31270 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31271
31272 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31273
31274 2011-07-20 Andreas Schwab <schwab@redhat.com>
31275
31276 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31277 strlen results.
31278
31279 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31280
31281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31282 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31283 register in order to avoid conflicts with the soft frame pointer
31284 being held in r11 when necessary.
31285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31286 (INTERNAL_VSYSCALL_NCS): Likewise.
31287
31288 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31289
31290 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31291 * elf/dl-fini.c (_dl_fini): Adjust caller.
31292 * elf/dl-close.c (_dl_close_worker): Likewise.
31293 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31294
31295 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31296
31297 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31298 "aux_cache->nlibs < 0".
31299
31300 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31301 in the reload-count case.
31302
31303 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31304
31305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31306 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31307 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31308 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31309 * sysdeps/x86_64/multiarch/strcat.S: New file.
31310 * sysdeps/x86_64/multiarch/strncat.S: New file.
31311 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31312 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31313 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31314 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31315 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31316 (USE_AS_STRCAT): Define.
31317 Add strcat and strncat support.
31318 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31320 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31321 * string/strncat.c: Update.
31322 (USE_AS_STRNCAT): Define.
31323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31324 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31325 and i7.
31326 * sysdeps/x86_64/multiarch/init-arch.h
31327 (bit_Prefer_PMINUB_for_stringop): New.
31328 (index_Prefer_PMINUB_for_stringop): Likewise.
31329 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31330 bit_Prefer_PMINUB_for_stringop.
31331
31332 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31333
31334 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31335 buffer64.
31336 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31337 of casting of buffer.
31338 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31339 buffer32 and buffer64.
31340 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31341 writes instead of casting of buffer.
31342 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31343 buffer32.
31344 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31345 casting of buffer.
31346
31347 2011-07-19 Andreas Schwab <schwab@redhat.com>
31348
31349 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31350
31351 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31352
31353 * nscd/nscd.c (termination_handler): Don't do anything for a database
31354 if it has not yet been initialized.
31355
31356 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31357
31358 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31359
31360 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31361
31362 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31363
31364 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31365
31366 * po/nl.po: Update from translation team.
31367 * po/sv.po: Likewise.
31368
31369 2011-07-16 Roland McGrath <roland@hack.frob.com>
31370
31371 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31372 now disallowed by GCC.
31373
31374 * configure.in (use-default-link): Default to yes if a test -shared
31375 link meets our qualifications.
31376 * configure: Regenerated.
31377
31378 * config.make.in (output-format): New variable.
31379 * configure.in: Check for ld --print-output-format support.
31380 * configure: Regenerated.
31381 * Makerules ($(common-objpfx)format.lds)
31382 [$(output-format) != unknown]: Just use $(output-format),
31383 instead of the linker-script munging.
31384
31385 2011-07-14 Roland McGrath <roland@hack.frob.com>
31386
31387 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31388 of $(common-objpfx)shlib.lds.
31389 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31390
31391 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31392 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31393
31394 * configure.in (-z relro check): Adjust test code to add a large
31395 writable data section after it.
31396 * configure: Regenerated.
31397
31398 2011-07-11 Roland McGrath <roland@hack.frob.com>
31399
31400 * configure.in (-z relro check): Fix test code to make the variable
31401 truly const.
31402 * configure: Regenerated.
31403
31404 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31405
31406 * nscd/nscd.h (struct traced_file): Define.
31407 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31408 elements. Add traced_files.
31409 (inotify_fd): Declare.
31410 (register_traced_file): Declare.
31411 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31412 (inotify_fd): Export.
31413 (resolv_conf_descr): Remove.
31414 (nscd_init): Move inotify descriptor creation to main.
31415 Don't register files for notification here.
31416 (register_traced_file): New function.
31417 (invalidate_cache): Don't use reset_res to determine whether to call
31418 res_init, go through the list of registered files.
31419 (main_loop_poll): The inotify descriptors are now stored in the
31420 structures for the traced files.
31421 (main_loop_epoll): Likewise
31422 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31423 to __nss_disable_nscd.
31424 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31425 for a database anymore. Check the records for all the registered
31426 files instead.
31427 * nss/Makefile (libnss_files-routines): Add files-init.
31428 (libnss_db-routines): Add db-init.
31429 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31430 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31431 * nss/nss_db/db-init.c: New file.
31432 * nss/nss_files/files-init.c: New file.
31433 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31434 __nss_lookup_function.
31435 (__nss_lookup_function): Call nss_load_library.
31436 (nss_load_all_libraries): New function.
31437 (__nss_disable_nscd): Take parameter with callback function for files
31438 to register. Set is_nscd. Load all the DSOs for the NSS modules
31439 used for the cached services.
31440 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31441 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31442 options for features to all the files in nscd.
31443
31444 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31445
31446 2011-07-10 Roland McGrath <roland@hack.frob.com>
31447
31448 * csu/elf-init.c (__libc_csu_init): Comment typo.
31449
31450 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31451
31452 * po/pl.po: Update from translation team.
31453 * po/ja.po: Likewise.
31454 * po/ru.po: Likewise.
31455 * po/ko.po: Likewise.
31456 * po/fr.po: Likewise.
31457
31458 2011-07-09 Roland McGrath <roland@hack.frob.com>
31459
31460 * configure.in (.ctors/.dtors header and trailer check):
31461 Use an empirical test on a built program.
31462 * configure: Regenerated.
31463
31464 * configure.in (-z relro check): Use an empirical test on a built DSO.
31465 Detect, but do not require, on ia64.
31466 * configure: Regenerated.
31467
31468 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31469 Update tests that use readelf to use $READELF instead.
31470 * configure: Regenerated.
31471
31472 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31473
31474 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31475 if the result is not used.
31476
31477 2011-07-05 Andreas Jaeger <aj@suse.de>
31478
31479 [BZ#9696]
31480 * stdlib/tst-strtod.c: Add testcase.
31481
31482 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31483
31484 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31485 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31486 The latter has a higher limit. Take additional parameter to pass to
31487 the new function.
31488 (__pathconf): Pass file to __statfs_link_max.
31489 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31490 __statfs_link_max.
31491 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31492 __statfs_link_max.
31493
31494 [BZ #12868]
31495 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31497 Handle Lustre.
31498 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31499 (__statfs_filesize_max): Likewise.
31500 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31501
31502 2011-07-05 Andreas Jaeger <aj@suse.de>
31503
31504 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31505
31506 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31507
31508 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31509 `status' variable.
31510 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31511 Likewise.
31512
31513 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31514
31515 * Makefile (strop-tests): Add strncat.
31516 * string/test-strncat.c: New file.
31517
31518 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31519
31520 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31521
31522 2011-06-21 Andreas Jaeger <aj@suse.de>
31523
31524 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31525 Copy rule from iconvdata/Makefile.
31526
31527 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31528
31529 [BZ #12922]
31530 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31531 but no long options are defined, just return 'W'.
31532
31533 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31534
31535 [BZ #9696]
31536 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31537
31538 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31539
31540 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31541 netgroups to read.
31542 (innetgr): Likewise.
31543
31544 2011-07-05 Roland McGrath <roland@hack.frob.com>
31545
31546 * config.make.in (install_root): Default to $(DESTDIR).
31547
31548 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31549
31550 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31551
31552 2011-07-02 Roland McGrath <roland@hack.frob.com>
31553
31554 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31555
31556 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31557 containing directory rather than embedding absolute directory names.
31558
31559 * scripts/check-local-headers.sh: Rewritten using awk.
31560 Match by word, not by line. Print error messages for matches.
31561 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31562
31563 * Makerules [shlib-lds-flags empty]:
31564 ($(common-objpfx)libc_pic.opts): New target.
31565 ($(common-objpfx)libc_pic.os.clean): New target.
31566 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31567
31568 * config.make.in (OBJCOPY): New variable.
31569 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31570 * configure: Regenerated.
31571
31572 * config.make.in (use-default-link): New variable.
31573 * configure.in (use_default_link): Grok --with-default-link to set it.
31574 * configure: Regenerated.
31575 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31576 (shlib-lds, shlib-lds-flags): Define to empty.
31577
31578 * Makerules (shlib-lds): New variable.
31579 (shlib-lds-flags): New variable.
31580 (build-shlib, build-moduile, build-module-asneeded): Use it.
31581 ($(common-objpfx)libc.so): Use $(shlib-lds).
31582 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31583 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31584
31585 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31586 DT_FLAGS/DT_FLAGS_1 with zero flags.
31587
31588 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31589 linker script munging.
31590
31591 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31592
31593 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31594 as 128-bit value.
31595 * crypt/sha512.c (sha512_process_block): Perform total addition using
31596 128-bit if possible.
31597 (__sha512_finish_ctx): Likewise.
31598 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31599 as 64-bit value.
31600 * crypt/sha256.c (SWAP64): Define.
31601 (sha256_process_block): Perform total addition using 64-bit if
31602 possible.
31603 (__sha256_finish_ctx): Likewise.
31604
31605 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31606
31607 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31609 * nscd/hstcache.c (cache_addhst): Likewise.
31610 * nscd/grpcache.c (cache_addgr): Likewise.
31611 * nscd/aicache.c (addhstaiX): Likewise
31612 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31613
31614 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31615
31616 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31618 * nscd/hstcache.c (cache_addhst): Likewise.
31619 * nscd/grpcache.c (cache_addgr): Likewise.
31620 * nscd/aicache.c (addhstaiX): Likewise
31621
31622 2011-07-01 Andreas Schwab <schwab@redhat.com>
31623
31624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31625 domain only when needed.
31626
31627 2011-06-30 Andreas Schwab <schwab@redhat.com>
31628
31629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31630 is always restored.
31631
31632 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31633
31634 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31635 are re-adding the entry.
31636 * nscd/servicescache.c (cache_addserv): Likewise.
31637
31638 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31639
31640 * sysdeps/generic/dl-irel.h: fix protection against multiple
31641 inclusions.
31642 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31643
31644 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31645
31646 [BZ #12935]
31647 * malloc/memusage.sh: Fix quoting in message.
31648 * debug/xtrace.sh: Likewise.
31649
31650 * configure.in: Remove support for --experimental-malloc option, make
31651 it the default.
31652 * config.make.in: Likewise.
31653 * malloc/Makefile: Likewise.
31654
31655 2011-06-27 Andreas Schwab <schwab@redhat.com>
31656
31657 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31658 two-byte characters.
31659
31660 2011-06-27 Roland McGrath <roland@hack.frob.com>
31661
31662 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31663 AC_CACHE_CHECK invocation.
31664 * configure: Regenerated.
31665
31666 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31667
31668 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31669
31670 [BZ #12350]
31671 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31672 bit from old_res_options.
31673
31674 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31675
31676 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31677 value type for setfct.
31678
31679 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31680
31681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31682 __gettimeofday instead of gettimeofday.
31683
31684 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31685
31686 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31687
31688 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31689
31690 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31691
31692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31693 info.
31694
31695 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31696
31697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31698 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31699 strcpy-sse2-unaligned strncpy-sse2-unaligned
31700 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31701 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31702 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31703 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31704 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31707 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31708 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31709 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31710 (STRCPY): Support SSE2 and SSSE3 versions.
31711
31712 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31713
31714 [BZ #12874]
31715 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31716 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31717 kernels which artificially limit size of requests.
31718
31719 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31720
31721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31722 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31723 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31724 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31725 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31726 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31727 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31728 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31729 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31731 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31732 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31733 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31734 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31735 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31737 Enable unaligned load optimization for Intel Core i3, i5 and i7
31738 processors.
31739 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31740 Define.
31741 (index_Fast_Unaligned_Load): Define.
31742 (HAS_FAST_UNALIGNED_LOAD): Define.
31743
31744 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31745
31746 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31747
31748 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31749
31750 [BZ #12907]
31751 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31752 until it is clear that the information is realy needed.
31753 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31754
31755 2011-06-22 Andreas Schwab <schwab@redhat.com>
31756
31757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31758
31759 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31760
31761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31762 /sys/devices/system/cpu/online if it is usable.
31763
31764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31765 reading the information from the /proc filesystem to once a second.
31766
31767 2011-06-21 Andreas Jaeger <aj@suse.de>
31768
31769 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31770 NULL after inclusion of kernel headers.
31771
31772 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31773
31774 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31775 calls to internal_setent.
31776
31777 [BZ #12885]
31778 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31779 addresses using gethostbyname4_r ignore IPv4 addresses.
31780
31781 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31782 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31783
31784 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31785
31786 2011-06-20 David S. Miller <davem@davemloft.net>
31787
31788 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31789 inclusions.
31790 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31791
31792 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31793 (elf_irel): Use it.
31794 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31795 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31796 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31797 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31798 * sysdeps/x86_64/dl-irel.h: Likewise.
31799
31800 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31801 * elf/dl-sym.c: Likewise.
31802
31803 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31804
31805 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31806 need to dereference resplen2.
31807
31808 2011-06-14 Andreas Schwab <schwab@redhat.com>
31809
31810 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31811
31812 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31813
31814 * Makeconfig: Define vardbdir and inst_vardbdir.
31815 * nss/Makefile: Add rules to install db-Makefile.
31816
31817 * nss/nss_db/db-XXX.c: Cleanup.
31818
31819 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31820 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31821 GLIBC_PRIVATE.
31822 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31823 * nss/makedb.c: Implement -g option to specify that value strings
31824 are generated and should not be added to table iterated over for
31825 get*ent calls.
31826 * nss/nss_db/db-initgroups.c: New file.
31827
31828 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31829 interface.
31830
31831 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31832 (internal_getgrouplist): Adjust to name change.
31833 Update use_initgroups_entry if this is not the first call.
31834 * nss/databases.def: Add initgroups entry.
31835
31836 * nss/makedb.c (compute_tables): Check result of multiple hash table
31837 sizes to minimize maximum chain length.
31838
31839 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31840
31841 * Versions.def: Add entry for libnss_db.
31842 * shlib-versions: Likewise.
31843 * nss/Makefile: Add rules to build libnss_db.
31844 * nss/Versions: Add libnss_db information. Organize libnss_files
31845 entries better.
31846 * nss/db-Makefile: Add gshadow support. Change rules for the new
31847 makedb progra. Some minor improvements to generate smaller files.
31848 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31849 here from...
31850 * nss/makedb.c: ...here.
31851 Improve database format to be smaller and require less memory at
31852 runtime.
31853 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31854 db anymore.
31855 * nss/nss_db/db-netgrp.c: Likewise.
31856 * nss/nss_db/db-open.c: Likewise.
31857 * nss/nss_files/flies-XXX.x: Adjust comments.
31858 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31859 * nss/nss_files/files-grp.c: Likewise.
31860 * nss/nss_files/files-hosts.c: Likewise.
31861 * nss/nss_files/files-network.c: Likewise.
31862 * nss/nss_files/files-proto.c: Likewise.
31863 * nss/nss_files/files-pwd.c: Likewise.
31864 * nss/nss_files/files-rpc.c: Likewise.
31865 * nss/nss_files/files-service.c: Likewise.
31866 * nss/nss_files/files-sgrp.c: Likewise.
31867 * nss/nss_files/files-spwd.c: Likewise.
31868 * nss/nss_db/db-alias.c: Removed.
31869 * nss/nss_db/dummy-db.h: Removed.
31870
31871 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31872
31873 * nss/makedb.c: Rewritten to not use database library.
31874 * nss/Makefile: Update to build new makedb program.
31875
31876 2011-06-14 Andreas Jaeger <aj@suse.de>
31877
31878 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31879 memset declaration.
31880
31881 2011-06-10 Andreas Schwab <schwab@redhat.com>
31882
31883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31884 tmpbuf.
31885
31886 2011-06-10 Roland McGrath <roland@hack.frob.com>
31887
31888 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31889 * elf/Makefile ($(objpfx)ld.so): Likewise.
31890
31891 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31892 Don't list ld.so twice in dependencies.
31893
31894 * posix/bug-regex31.c: Include <stdlib.h>.
31895
31896 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31897
31898 * nis/nss_compat/compat-spwd.c
31899 (getspent_next_nss_netgr): Remove unused variable.
31900 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31901
31902 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31903 nonmembers" output to use the right array.
31904
31905 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31906
31907 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31908
31909 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31910 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31911 * catgets/gencat.c (read_input_file): Likewise.
31912 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31913
31914 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31915 variable definition inside #if's controlling its use.
31916
31917 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31918
31919 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31920
31921 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31922
31923 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31924 unreachable code.
31925
31926 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31927
31928 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31929 * configure: Regenerated.
31930
31931 * Makerules: Revert last change.
31932 * elf/Makefile: Likewise.
31933
31934 2011-06-09 Roland McGrath <roland@hack.frob.com>
31935
31936 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31937 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31938 (reloc-link): Likewise.
31939
31940 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31941
31942 * elf/Makefile: Add rules to build pldd.
31943 * elf/pldd.c: New file.
31944 * elf/pldd-xx.c: New file.
31945
31946 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31947
31948 * version.h: Update for 2.15 development version.
31949
31950 2011-06-07 David S. Miller <davem@davemloft.net>
31951
31952 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31953 ifuncs.
31954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31955 elf_machine_lazy_rel): Likewise.
31956 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31958 elf_machine_lazy_rel): Likewise.
31959 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31960 dl_hwcap via passed in argument.
31961 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31962 Likewise.
31963
31964 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31965
31966 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31967
31968 2011-06-06 Roland McGrath <roland@hack.frob.com>
31969
31970 [BZ #12849]
31971 * manual/fdl-1.1.texi: New file, verbatim from:
31972 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31973 * manual/lgpl-2.1.texi: New file, verbatim from:
31974 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31975 * manual/Makefile (licenses): New variable, list those new file names.
31976 (texis): Use it.
31977 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31978
31979 * manual/fdl.texi: File removed.
31980 * manual/lesser.texi: File removed.
31981 * manual/libc.texinfo (Copying, Documentation License):
31982 Use new @include file names, put @appendix directive before @include.
31983
31984 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31985
31986 [BZ #12841]
31987 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31988 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31989 (mq_open): Add __NTH.
31990
31991 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31992
31993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31994 Assume Intel Core i3/i5/i7 processor if AVX is available.
31995
31996 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31997
31998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31999 typo.
32000
32001 2011-05-31 Andreas Schwab <schwab@redhat.com>
32002
32003 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32004 memory. Use alloca_account. Fix memory leak when retrying.
32005
32006 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32007
32008 * version.h (RELEASE): Bump for 2.14 release.
32009 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32010
32011 * config.make.in (RANLIB): Remove entry.
32012
32013 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32014
32015 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32016 (libc.pot): Work around missing support for .ksh extension in xgettext.
32017
32018 [BZ #12684]
32019 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32020 if both request failed.
32021 (send_dg): In case of server errors clear resplen or *resplen2.
32022
32023 [BZ #12454]
32024 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32025 when there are multiple maps.
32026 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32027 (_dl_fini): Remove test here.
32028
32029 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32030
32031 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32032
32033 [BZ #12350]
32034 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32035 bit from old_res_options.
32036 (gaih_inet): Likewise.
32037
32038 [BZ #11099]
32039 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32040 as signed.
32041
32042 * resolv/res_init.c (res_setoptions): Make the code more compact.
32043
32044 [BZ #11558]
32045 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32046 set RES_USEVC.
32047
32048 [BZ #11634]
32049 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32050
32051 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32052
32053 [BZ #11781]
32054 * malloc/malloc.h: Declare malloc hook variables as volatile.
32055
32056 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32057 in last patch.
32058
32059 [BZ #11799]
32060 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32061 raise in the comment.
32062 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32063 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32064 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32065
32066 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32067
32068 [BZ #12811]
32069 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32070 grow the buffers more if it already has to be sufficient.
32071 (build_wcs_upper_buffer): Likewise.
32072 * posix/regexec.c (check_matching): Likewise.
32073 (clean_state_log_if_needed): Likewise.
32074 (extend_buffers): Don't enlarge buffers beyond size of the input
32075 buffer.
32076 Patches mostly by Emil Wojak <emil@wojak.eu>.
32077 * posix/bug-regex32.c: New file.
32078 * posix/Makefile (tests): Add bug-regex32.
32079
32080 * locale/findlocale.c (_nl_find_locale): Return right away if
32081 _nl_explode_name failed.
32082 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32083
32084 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32085
32086 * debug/xtrace.sh: Unify messages.
32087 * malloc/memusage.sh: Likewise.
32088
32089 [BZ #12813]
32090 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32091 time symbol from vDSO. Substitute with vsyscall if not available.
32092 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32093 __vdso_time.
32094
32095 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32096 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32097 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32098 Add sendmmsg and internal_sendmmsg.
32099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32100 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32101 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32102
32103 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32104 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32105 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32106
32107 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32108
32109 [BZ #12813]
32110 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32111 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32112 available.
32113 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32114 __vdso_getcpu.
32115
32116 [BZ #12814]
32117 * iconvdata/Makefile (tests): Add bug-iconv9.
32118 * iconvdata/bug-iconv9.c: New file.
32119
32120 2011-05-27 Andreas Schwab <schwab@redhat.com>
32121
32122 [BZ #12814]
32123 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32124
32125 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32126
32127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32128 (struct user_regs_struct): Change intcs field back to cs.
32129
32130 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32131
32132 * po/ja.po: Update from translation team.
32133
32134 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32135
32136 [BZ #12795]
32137 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32138 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32139
32140 2011-05-20 Andreas Schwab <schwab@redhat.com>
32141
32142 * stdlib/longlong.h: Update from GCC.
32143
32144 2011-05-23 Andreas Schwab <schwab@redhat.com>
32145
32146 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32147 parameter name.
32148 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32149 Add parameter name.
32150 (__sysconf): Pass it down.
32151
32152 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32153
32154 [BZ #12671]
32155 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32156 some situations.
32157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32158 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32159 add in in __libc_use_alloca calls. Adjust callers.
32160 (glob): Use malloc in some situations.
32161
32162 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32163 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32164 pltexit.
32165
32166 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32167
32168 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32169 and CLOCK_BOOTTIME_ALARM.
32170
32171 [BZ #12782]
32172 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32173 is returned.
32174
32175 * string/_strerror.c (__strerror_r): Print negative errors as signed
32176 numbers.
32177
32178 [BZ #12777]
32179 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32180 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32181 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32182
32183 * configure.in: Fix typo in redirection and correct removal of test
32184 files in two cases.
32185
32186 [BZ #12788]
32187 * locale/setlocale.c (new_composite_name): Fix test to check for
32188 identical name of all categories.
32189
32190 [BZ #12792]
32191 * libio/filedoalloc.c (local_isatty): New function.
32192 (_IO_file_doallocate): Use local_isatty.
32193 * stdio-common/perror.c (perror): In case a new stream is used
32194 forward the stream error.
32195 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32196 error flag.
32197
32198 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32199
32200 [BZ #11869]
32201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32202 alloca.
32203 * include/alloca.h (extend_alloca_account): Define.
32204
32205 [BZ #11857]
32206 * posix/regex.h: Fix comments with documentation of user-accessible
32207 fields after compilation and describe correct free'ing of pattern
32208 after re_compile_pattern.
32209 Patch by Reuben Thomas <rrt@sc3d.org>.
32210
32211 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32212
32213 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32214 and -mno-altivec to prevent the compiler from using Altivec and/or
32215 VSX instructions when the corresponding registers are not available.
32216
32217 2011-05-19 Andreas Schwab <schwab@redhat.com>
32218
32219 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32220
32221 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32222
32223 * libio/freopen.c (freopen): Use __dup2, not dup2.
32224 * libio/freopen64.c (freopen64): Likewise.
32225
32226 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32227
32228 [BZ #12775]
32229 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32230 * math/Makefile (tests): Add test-powl.
32231 (CFLAGS-test-powl.c): Define.
32232 * math/test-powl.c: New file.
32233
32234 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32235
32236 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32237
32238 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32239
32240 [BZ #11837]
32241 * iconvdata/gb18030.c: Update to GB18020-2005.
32242
32243 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32244
32245 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32246 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32247 Patch by Aharon Robbins <arnold@skeeve.com>.
32248
32249 [BZ #11892]
32250 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32251 on the stack.
32252
32253 [BZ #11895]
32254 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32255 through underflows.
32256
32257 [BZ #12766]
32258 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32259 point to strings before performing equality test for error_one_per_line
32260 mode.
32261
32262 [BZ #11697]
32263 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32264
32265 [BZ #11820]
32266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32267 (struct user_fpregs_struct): Avoid __uint*_t types.
32268
32269 [BZ #6420]
32270 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32271 symbol info. Use it instead of calling _dl_addr locally.
32272 (lock_and_info): New function.
32273 (tr_freehook): Call lock_and_info and pass symbol info as additional
32274 parameter to tr_where.
32275 (tr_mallochook): Likewise.
32276 (tr_reallochook): Likewise.
32277 (tr_memalignhook): Likewise.
32278
32279 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32280 used and couldn't be at all thread-safe.
32281
32282 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32283
32284 * libio/freopen.c (freopen): Don't close old file descriptor
32285 before the new one is opened. Instead dup the new file descriptor
32286 to the old one after the new stream is created.
32287 * libio/freopen64.c (freopen64): Likewise.
32288 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32289 * libio/fileops.c (_IO_new_file_close_it): Handle new
32290 _IO_FLAGS2_NOCLOSE flag.
32291 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32292 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32293 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32294 _IO_FLAGS2_NOCLOSE flag.
32295 * include/unistd.h: Add hidden_proto for dup3.
32296 Define __have_dup3.
32297 * io/dup3.c: Define hidden symbol.
32298 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32299
32300 [BZ #7101]
32301 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32302 when an incomplete long option is used.
32303 * posix/tst-getopt_long1.c: New file.
32304 * posix/Makefile (tests): Add tst-getopt_long1.
32305
32306 [BZ #10138]
32307 * scripts/config.guess: Update from autoconf-2.68.
32308 * scripts/config.sub: Likewise.
32309
32310 [BZ #10157]
32311 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32312 tests into ...
32313 (has_cpuclock): ...this. New function.
32314 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32315 macro here based on has_cpuclock code.
32316
32317 [BZ #10149]
32318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32319 First byte (not low byte) is now always NUL.
32320 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32321
32322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32323 Use non-cancelable interfaces.
32324
32325 [BZ #9809]
32326 * locale/iso-639.def: Add entry for Sorani.
32327
32328 [BZ #11901]
32329 * include/stdlib.h: Move include protection to the right place.
32330 Define abort_msg_s. Declare __abort_msg with it.
32331 * stdlib/abort.c (__abort_msg): Adjust type.
32332 * assert/assert.c (__assert_fail_base): New function. Majority
32333 of code from __assert_fail. Allocate memory for __abort_msg with
32334 mmap.
32335 (__assert_fail): Now call __assert_fail_base.
32336 * assert/assert-perr.c: Remove bulk of implementation. Use
32337 __assert_fail_base.
32338 * include/assert.hL Declare __assert_fail_base.
32339 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32340 mmap.
32341 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32342
32343 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32344
32345 [BZ #11952]
32346 [BZ #12453]
32347 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32348 until all modules are registered in the DTV.
32349 * elf/Makefile: Add rules to build and run tst-tls19.
32350 * elf/tst-tls19.c: New file.
32351 * elf/tst-tls19mod1.c: New file.
32352 * elf/tst-tls19mod2.c: New file.
32353 * elf/tst-tls19mod3.c: New file.
32354 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32355
32356 [BZ #12083]
32357 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32358 correctly.
32359
32360 [BZ #12601]
32361 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32362 two-byte sequence errors.
32363 * iconvdata/Makefile (tests): Add bug-iconv8.
32364 * iconvdata/bug-iconv8.c: New file.
32365
32366 [BZ #12626]
32367 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32368 buf2 definition.
32369
32370 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32371
32372 [BZ #12432]
32373 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32374 (dummy_getcfa): New function.
32375 (init): Get _Unwind_GetCFA address, use dummy if not found.
32376 (backtrace_helper): In recursion check, also check whether CFA changes.
32377 (__backtrace): Completely initialize arg.
32378
32379 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32380 storing incomplete byte sequence in state object. Avoid testing for
32381 guaranteed too small input if we know there is enough data available.
32382
32383 2011-05-11 Andreas Schwab <schwab@redhat.com>
32384
32385 * Makeconfig (+link-pie): Indent.
32386 * Rules (binaries-pie): Define if $(have-fpie) and
32387 $(build-shared).
32388 (binaries-shared): Also filter out $(binaries-pie).
32389 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32390 * nscd/Makefile (others-pie): Add nscd.
32391 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32392 ($(objpfx)nscd): Remove command override.
32393 * login/Makefile (others-pie): Add pt_chown.
32394 ($(objpfx)pt_chown): Remove command override.
32395 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32396 remove command overrides.
32397
32398 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32399
32400 * libio/tst_putwc.c: Fix error messages.
32401
32402 [BZ #12724]
32403 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32404 currently writing and seek to current position when not.
32405 * libio/Makefile (tests): Add bug-fclose1.
32406 * libio/bug-fclose1.c: New file.
32407
32408 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32409
32410 [BZ #12511]
32411 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32412 don't set DF_1_NODELETE here.
32413 (do_lookup_x): When entering new entry test for copy relocation
32414 and if necessary set DF_1_NODELETE flag.
32415 * elf/tst-unique4.cc: New file.
32416 * elf/tst-unique4.h: New file.
32417 * elf/tst-unique4lib.cc: New file.
32418 * elf/Makefile: Add rules to build and run tst-unique4.
32419 Patch by Piotr Bury <pbury@goahead.com>.
32420
32421 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32422
32423 [BZ #12052]
32424 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32425
32426 [BZ #12625]
32427 * misc/mntent_r.c (addmntent): Flush the stream after the output
32428
32429 [BZ #12393]
32430 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32431 (is_trusted_path_normalize): Skip initial colon. Append slash
32432 to empty buffer. Duplicate is_trusted_path code but allow
32433 constructed patch to be prefix.
32434 (is_dst): Allow $ORIGIN followed by /.
32435 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32436 Correct testing of result of is_trusted_path_normalize
32437 (decompose_rpath): Fix warning.
32438
32439 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32440
32441 [BZ #11257]
32442 * grp/initgroups.c (internal_getgrouplist): When we found the service
32443 list through the initgroups entry in nsswitch.conf do not always
32444 continue on a successful lookup. Don't always use the
32445 __nss_group_database value if it is set.
32446 * nss/nsswitch.conf (initgroups): Change action for successful db
32447 lookup to continue for compatibility.
32448
32449 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32450
32451 [BZ #11532]
32452 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32453 and CP774 modules.
32454 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32455 and CP774 modules.
32456 * iconvdata/tst-tables.sh: Likewise.
32457 * iconvdata/cp770.c: New file.
32458 * iconvdata/cp771.c: New file.
32459 * iconvdata/cp772.c: New file.
32460 * iconvdata/cp773.c: New file.
32461 * iconvdata/cp774.c: New file.
32462 * iconvdata/testdata/CP770: New file.
32463 * iconvdata/testdata/CP770..UTF8: New file.
32464 * iconvdata/testdata/CP771: New file.
32465 * iconvdata/testdata/CP771..UTF8: New file.
32466 * iconvdata/testdata/CP772: New file.
32467 * iconvdata/testdata/CP772..UTF8: New file.
32468 * iconvdata/testdata/CP773: New file.
32469 * iconvdata/testdata/CP773..UTF8: New file.
32470 * iconvdata/testdata/CP774: New file.
32471 * iconvdata/testdata/CP774..UTF8: New file.
32472
32473 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32474 END CHARMAP line.
32475 * iconvdata/gen-8bit-gap.sh: Likewise.
32476 * iconvdata/gen-8bit.sh: Likewise.
32477
32478 * locale/iso-639.def: Add ary entry.
32479
32480 [BZ #11258]
32481 * locale/C-translit.h.in: Add U20A1 transliteration.
32482
32483 [BZ #12178]
32484 * locale/iso-639.def: Add wae entry.
32485 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32486
32487 [BZ #12545]
32488 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32489 for n.
32490
32491 [BZ #12711]
32492 * locale/C-translit.h.in: Add entry for U20B9.
32493 Patch by pravin.d.s@gmail.com.
32494
32495 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32496
32497 [BZ #12713]
32498 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32499 ENAMETOOLONG use generic getcwd.
32500 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32501 in rtld. Use *stat64.
32502 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32503 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32504 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32505 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32506 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32507 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32508 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32509 __fstatat64 macros.
32510 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32511 * dirent/rewinddir.c: Add libc_hidden_def.
32512 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32513 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32514
32515 * include/dirent.h (__alloc_dir): Add flags parameter.
32516 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32517 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32518 __alloc_dir.
32519 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32520 from fdopendir if O_CLOEXEC is already set.
32521
32522 2011-03-15 Alan Modra <amodra@gmail.com>
32523
32524 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32525 l_tls_firstbyte_offset non-zero. Save padding offset in
32526 l_tls_firstbyte_offset for later use.
32527 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32528 freeing static tls block.
32529
32530 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32531
32532 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32533 where #ifdef was intended. The intent is to prevent ARG_MAX from
32534 being defined by the kernel headers.
32535
32536 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32537
32538 [BZ #12734]
32539 * resolv/resolv.h: Define RES_NOTLDQUERY.
32540 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32541 no-tld-query and set RES_NOTLDQUERY.
32542 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32543 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32544 modern BIND to search name as TLD unless forbidden.
32545
32546 2011-05-07 Petr Baudis <pasky@suse.cz>
32547 Ulrich Drepper <drepper@gmail.com>
32548
32549 [BZ #12393]
32550 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32551 (is_trusted_path): ...to here.
32552 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32553 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32554 using is_trusted_path_normalize() in setuid scripts.
32555
32556 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32557
32558 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32559 __BEGIN/__END_DECLS.
32560
32561 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32562
32563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32564 NSS_STATUS_NOTFOUND if no record was found.
32565
32566 2011-05-05 Andreas Schwab <schwab@redhat.com>
32567
32568 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32569 (headers-not-in-tirpc): Remove rpc/netdb.h
32570 * resolv/netdb.h: Revert last change.
32571
32572 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32573
32574 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32575 circular dependency between libgcc.a and libc.a.
32576
32577 2011-05-05 Andreas Schwab <schwab@redhat.com>
32578
32579 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32580 * nis/Makefile: Don't install rpcsvc/*.
32581 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32582 instead of <rpc/types.h>.
32583 (MAXHOSTNAMELEN): Define.
32584
32585 2011-05-03 Andreas Schwab <schwab@redhat.com>
32586
32587 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32588
32589 2011-04-28 Maciej Babinski <mbabinski@google.com>
32590
32591 [BZ #12714]
32592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32593 gethostbyname4_r when IPv6 results are possible.
32594
32595 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32596
32597 [BZ #12723]
32598 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32599 _PC_PIPE_BUF handling.
32600
32601 2011-04-30 Bruno Haible <bruno@clisp.org>
32602
32603 [BZ #12717]
32604 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32605 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32606 to 'int'.
32607 * inet/getnameinfo.c (getnameinfo): Likewise.
32608
32609 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32610
32611 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32612 to groups setting in database lookup.
32613 * nss/nsswitch.conf: Add initgroups entry.
32614
32615 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32616
32617 [BZ #12685]
32618 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32619 mode string.
32620 Patch by Eric Blake <eblake@redhat.com>.
32621
32622 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32623
32624 * sunrpc/Makefile (need-export-routines): Add svc_run.
32625 (routines): Remove svc_run.
32626 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32627 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32628 * sunrpc/svc_run.c (svc_run): Likewise.
32629 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32630
32631 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32632
32633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32634 problem in reallocation in last patch.
32635
32636 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32637
32638 * sunrpc/Makefile: Move inclusion of Rules.
32639
32640 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32641
32642 * nss/nss_files/files-initgroups.c: New file.
32643 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32644 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32645 _nss_files_initgroups_dyn.
32646
32647 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32648
32649 * elf/elf.h (R_ARM_IRELATIVE): Define.
32650
32651 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32652
32653 * po/ru.po: Update from translation team.
32654
32655 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32656
32657 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32658 dependencies.
32659
32660 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32661
32662 [BZ #12653]
32663 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32664 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32666 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32667 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32668
32669 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32670
32671 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32672 differing bytes.
32673 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32675 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32676
32677 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32678
32679 [BZ #12420]
32680 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32681 storing it.
32682 * stdlib/bug-getcontext.c: New file.
32683 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32684
32685 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32686
32687 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32688 instructions into .machine "z9-109".
32689 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32690 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32691
32692 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32693
32694 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32695 between environment variables and auxiliary vector.
32696
32697 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32698
32699 * Makefile: Add rules to build linkobj/libc.so.
32700 * include/libc-symbols.h: Define libc_hidden_nolink.
32701 * include/rpc/auth.h: Mark functions which are to be hidden.
32702 * include/rpc/auth_des.h: Likewise.
32703 * include/rpc/auth_unix.h: Likewise.
32704 * include/rpc/clnt.h: Likewise.
32705 * include/rpc/des_crypt.h: Likewise.
32706 * include/rpc/key_prot.h: Likewise.
32707 * include/rpc/pmap_clnt.h: Likewise.
32708 * include/rpc/pmap_prot.h: Likewise.
32709 * include/rpc/pmap_rmt.h: Likewise.
32710 * include/rpc/rpc_msg.h: Likewise.
32711 * include/rpc/svc.h: Likewise.
32712 * include/rpc/svc_auth.h: Likewise.
32713 * include/rpc/xdr.h: Likewise.
32714 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32715 * nss/Makefile: Likewise.
32716 * sunrpc/Makefile: Don't install headers. Build library with normal
32717 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32718 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32719 for the compat linking library. Remove use of INTDEF/INTUSE.
32720 * sunrpc/auth_none.c: Likewise.
32721 * sunrpc/auth_unix.c: Likewise.
32722 * sunrpc/authdes_prot.c: Likewise.
32723 * sunrpc/authuxprot.c: Likewise.
32724 * sunrpc/clnt_gen.c: Likewise.
32725 * sunrpc/clnt_perr.c: Likewise.
32726 * sunrpc/clnt_raw.c: Likewise.
32727 * sunrpc/clnt_simp.c: Likewise.
32728 * sunrpc/clnt_tcp.c: Likewise.
32729 * sunrpc/clnt_udp.c: Likewise.
32730 * sunrpc/clnt_unix.c: Likewise.
32731 * sunrpc/des_crypt.c: Likewise.
32732 * sunrpc/des_soft.c: Likewise.
32733 * sunrpc/get_myaddr.c: Likewise.
32734 * sunrpc/key_call.c: Likewise.
32735 * sunrpc/key_prot.c: Likewise.
32736 * sunrpc/netname.c: Likewise.
32737 * sunrpc/pm_getmaps.c: Likewise.
32738 * sunrpc/pm_getport.c: Likewise.
32739 * sunrpc/pmap_clnt.c: Likewise.
32740 * sunrpc/pmap_prot.c: Likewise.
32741 * sunrpc/pmap_prot2.c: Likewise.
32742 * sunrpc/pmap_rmt.c: Likewise.
32743 * sunrpc/publickey.c: Likewise.
32744 * sunrpc/rpc_cmsg.c: Likewise.
32745 * sunrpc/rpc_common.c: Likewise.
32746 * sunrpc/rpc_dtable.c: Likewise.
32747 * sunrpc/rpc_prot.c: Likewise.
32748 * sunrpc/rpc_thread.c: Likewise.
32749 * sunrpc/rtime.c: Likewise.
32750 * sunrpc/svc.c: Likewise.
32751 * sunrpc/svc_auth.c: Likewise.
32752 * sunrpc/svc_authux.c: Likewise.
32753 * sunrpc/svc_raw.c: Likewise.
32754 * sunrpc/svc_run.c: Likewise.
32755 * sunrpc/svc_simple.c: Likewise.
32756 * sunrpc/svc_tcp.c: Likewise.
32757 * sunrpc/svc_udp.c: Likewise.
32758 * sunrpc/svc_unix.c: Likewise.
32759 * sunrpc/svcauth_des.c: Likewise.
32760 * sunrpc/xcrypt.c: Likewise.
32761 * sunrpc/xdr.c: Likewise.
32762 * sunrpc/xdr_array.c: Likewise.
32763 * sunrpc/xdr_float.c: Likewise.
32764 * sunrpc/xdr_intXX_t.c: Likewise.
32765 * sunrpc/xdr_mem.c: Likewise.
32766 * sunrpc/xdr_rec.c: Likewise.
32767 * sunrpc/xdr_ref.c: Likewise.
32768 * sunrpc/xdr_sizeof.c: Likewise.
32769 * sunrpc/xdr_stdio.c: Likewise.
32770
32771 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32772
32773 [BZ #12650]
32774 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32775 * sysdeps/ia64/dl-tls.h: Likewise.
32776 * sysdeps/powerpc/dl-tls.h: Likewise.
32777 * sysdeps/s390/dl-tls.h: Likewise.
32778 * sysdeps/sh/dl-tls.h: Likewise.
32779 * sysdeps/sparc/dl-tls.h: Likewise.
32780 * sysdeps/x86_64/dl-tls.h: Likewise.
32781 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32782
32783 2011-03-14 Andreas Schwab <schwab@redhat.com>
32784
32785 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32786 rpath element also skip the following colon.
32787 (expand_dynamic_string_token): Add is_path parameter and pass
32788 down to DL_DST_REQUIRED and _dl_dst_substitute.
32789 (decompose_rpath): Call expand_dynamic_string_token with
32790 non-zero is_path. Ignore empty rpaths.
32791 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32792 with zero is_path.
32793
32794 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32795
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32797 Make cancelable.
32798
32799 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32800
32801 [BZ #12655]
32802 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32803 Patch by Filipe David Manana <fdmanana@apache.org>.
32804
32805 2011-04-07 Andreas Schwab <schwab@redhat.com>
32806
32807 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32808 Maintain aligned stack.
32809 (CHECK_RSP): Remove unused macro.
32810
32811 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32812
32813 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32814 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32815
32816 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32817
32818 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32819
32820 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32821
32822 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32823
32824 [BZ #12518]
32825 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32826 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32827 * sysdeps/x86_64/memmove.c: New file.
32828 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32829 (memcpy): Renamed to ...
32830 (__new_memcpy): This.
32831 (memcpy): Provide GLIBC_2_14 memcpy.
32832 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32833 (memcpy): Provide GLIBC_2_2_5 memcpy.
32834
32835 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32836
32837 [BZ #12631]
32838 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32839
32840 2011-03-30 Andreas Schwab <schwab@redhat.com>
32841
32842 * misc/syncfs.c: New file.
32843 * misc/Makefile (routines): Add syncfs.
32844 * posix/unistd.h: Declare syncfs.
32845 * sysdeps/unix/syscalls.list: Add syncfs.
32846
32847 2011-04-01 Andreas Schwab <schwab@redhat.com>
32848
32849 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32850 open_by_handle_at.
32851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32852 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32856 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32858
32859 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32860
32861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32862 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32863 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32865 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32868
32869 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32870 sync_file_range.c with -fexceptions.
32871 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32872 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32873 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32874 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32875 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32876 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32878 sync_file_range as cancellation point
32879 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32880 now a wrapper around __call_sync_file_range with cancellation handling.
32881 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32882 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32883 function name to __call_sync_file_range.
32884 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32885 Add call_sync_file_range.
32886
32887 2011-04-01 Andreas Schwab <schwab@redhat.com>
32888
32889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32890 bits/timex.h.
32891
32892 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32893
32894 * iconv/iconv.h: Fix typo in comment.
32895 * io/fcntl.h: Likewise.
32896 * libio/stdio.h: Likewise.
32897 * posix/spawn.h: Likewise.
32898 * posix/unistd.h: Likewise.
32899 * stdlib/stdlib.h: Likewise.
32900 * time/time.h: Likewise.
32901 * wcsmbs/wchar.h: Likewise.
32902
32903 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32904 open_by_handle): Add.
32905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32906 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32907 Augment a few comments.
32908 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32910 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32912 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32913 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32914 open_by_handle.
32915
32916 * io/fcntl.h (AT_EMPTY_PATH): Define.
32917
32918 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32919
32920 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32921 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32922 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32923 to...
32924 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32925 * Versions.def: Add GLIBC_2.14.
32926 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32927 Export.
32928
32929 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32930
32931 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32932 round counter.
32933 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32934
32935 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32936
32937 [BZ #12597]
32938 * string/test-strncmp.c (do_page_test): New function.
32939 (check2): Likewise.
32940 (test_main): Call check2.
32941 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32942
32943 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32944
32945 [BZ #12587]
32946 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32947 Handle cache information in CPU leaf 4.
32948 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32949
32950 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32951
32952 [BZ #12583]
32953 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32954 character representation.
32955 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32956
32957 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32958
32959 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32960 END(__isnan) to END(__isnanf) to match function entry point/label
32961 EALIGN(__isnanf,...).
32962
32963 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32964
32965 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32966
32967 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32968
32969 [BZ #12510]
32970 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32971 copy from the symbol referenced in the relocation to initialize the
32972 used variable.
32973 Patch by Piotr Bury <pbury@goahead.com>.
32974 * elf/Makefile: Add rules to build and tst-unique3.
32975 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32976 * elf/tst-unique3.cc: New file.
32977 * elf/tst-unique3.h: New file.
32978 * elf/tst-unique3lib.cc: New file.
32979 * elf/tst-unique3lib2.cc: New file.
32980
32981 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32982
32983 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32984
32985 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32986 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32987 to _start.
32988
32989 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32990
32991 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32992 to-be-loaded object along a path to loader is ld.so.
32993
32994 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32995 Ulrich Drepper <drepper@gmail.com>
32996
32997 * sysdeps/x86_64/memset.S: After aligning destination, code
32998 branches to different locations depending on the value of
32999 misalignment, when multiarch is enabled. Fix this.
33000
33001 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33002
33003 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33004 Set _x86_64_preferred_memory_instruction for AMD processsors.
33005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33006 Set bit_Prefer_SSE_for_memop for AMD processors.
33007
33008 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33009
33010 * libio/fmemopen.c (fmemopen): Optimize a bit.
33011
33012 2011-03-03 Andreas Schwab <schwab@redhat.com>
33013
33014 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33015
33016 2011-03-03 Roland McGrath <roland@redhat.com>
33017
33018 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33019
33020 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33021
33022 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33023 __bzero_ultra1 instead of __memset_ultra1.
33024
33025 2011-02-23 Andreas Schwab <schwab@redhat.com>
33026 Ulrich Drepper <drepper@gmail.com>
33027
33028 [BZ #12509]
33029 * include/link.h (struct link_map): Add l_orig_initfini.
33030 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33031 returning unsuccessfully.
33032 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33033 close of a file loaded at startup, restore the original l_initfini
33034 list.
33035 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33036 list, store the pointer.
33037 * elf/Makefile ($(objpfx)noload-mem): New rule.
33038 (noload-ENV): Define.
33039 (tests): Add $(objpfx)noload-mem.
33040 * elf/noload.c: Include <memcheck.h>.
33041 (main): Call mtrace. Close all opened handles.
33042
33043 2011-02-17 Andreas Schwab <schwab@redhat.com>
33044
33045 [BZ #12454]
33046 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33047 dependencies are missing.
33048
33049 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33050
33051 Fix __if_freereq crash: Unlike the generic version which uses free,
33052 Hurd needs munmap.
33053 * sysdeps/mach/hurd/ifreq.h: New file.
33054
33055 2011-01-27 Petr Baudis <pasky@suse.cz>
33056 Ulrich Drepper <drepper@gmail.com>
33057
33058 [BZ 12445]#
33059 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33060 to extend_alloca().
33061 * stdio-common/bug23.c: New file.
33062 * stdio-common/Makefile (tests): Add bug23.
33063
33064 2010-09-28 Andreas Schwab <schwab@redhat.com>
33065 Ulrich Drepper <drepper@gmail.com>
33066
33067 [BZ #12489]
33068 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33069 before performing relro protection. At old place add assertion
33070 to make sure nothing changed.
33071
33072 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33073 Glauber de Oliveira Costa <glommer@gmail.com>
33074
33075 * elf/elf.h: Add new ARM TLS relocs.
33076
33077 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33078
33079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33080 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33081 cast from r3.
33082 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33083 'tests' variable.
33084 * sysdeps/wordsize-64/tst-writev.c: New file.
33085
33086 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33087
33088 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33089 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33090 insns in _dl_start to prevent a TOC reference before relocs are
33091 resolved.
33092
33093 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33094
33095 [BZ #12469]
33096 * Makeconfig: Remove RANLIB definition.
33097 * Makerules: Don't use RANLIB.
33098 * aclocal.m4: Remove ranlib test.
33099 * configure.in: No need to check for ranlib.
33100 * elf/rtld-Rules: Don't use RANLIB.
33101
33102 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33103
33104 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33105 protection macro.
33106 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33107 inclusion protection macro.
33108
33109 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33110 SIGRTMIN and SIGRTMAX and print information in that case only when
33111 SIGRTMIN is defined.
33112
33113 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33114
33115 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33116 arginfo fn returning -1.
33117
33118 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33119 and thousands string is zero terminated.
33120
33121 2011-02-03 Andreas Schwab <schwab@redhat.com>
33122
33123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33124 sysdeps/unix/sysv/linux/bits/socket.h.
33125
33126 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33127
33128 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33129 (__CPU_COUNT): Remove old macros.
33130 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33131 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33132 (__CPU_ALLOC, __CPU_FREE): Add macros.
33133 (__sched_cpualloc, __sched_cpufree): Add declarations.
33134
33135 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33136
33137 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33138 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33139 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33140 (readdhstai): Return value of addhstaiX call.
33141 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33142 (addgrbyX): Return value returned by cache_addgr.
33143 (readdgrbyname): Return value returned by addgrbyX.
33144 (readdgrbygid): Likewise.
33145 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33146 (addpwbyX): Return value returned by cache_addpw.
33147 (readdpwbyname): Return value returned by addhstbyX.
33148 (readdpwbyuid): Likewise.
33149 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33150 (addservbyX): Return value returned by cache_addserv.
33151 (readdservbyname): Return value returned by addservbyX:
33152 (readdservbyport): Likewise.
33153 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33154 (addhstbyX): Return value returned by cache_addhst.
33155 (readdhstbyname): Return value returned by addhstbyX.
33156 (readdhstbyaddr): Likewise.
33157 (readdhstbynamev6): Likewise.
33158 (readdhstbyaddrv6): Likewise.
33159 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33160 (readdinitgroups): Return value returned by addinitgroupsX.
33161 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33162 (prune_cache): Keep track of timeout value of re-added entries.
33163 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33164 * nscd/nscd.h: Adjust prototypes of readd* functions.
33165
33166 2011-02-04 Roland McGrath <roland@redhat.com>
33167
33168 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33169 (nis_stats): Likewise.
33170 * nis/nis_modify.c (nis_modify): Likewise.
33171 * nis/nis_remove.c (nis_remove): Likewise.
33172 * nis/nis_add.c (nis_add): Likewise.
33173
33174 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33175
33176 * posix/fnmatch_loop.c: Add some consts.
33177
33178 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33179
33180 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33181
33182 [BZ #12460]
33183 * config.make.in (config-cflags-novzeroupper): Define.
33184 * configure.in: Substitute libc_cv_cc_novzeroupper.
33185 * elf/Makefile (AVX-CFLAGS): Define.
33186 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33187 (CFLAGS-tst-auditmod4a.c): Likewise.
33188 (CFLAGS-tst-auditmod4b.c): Likewise.
33189 (CFLAGS-tst-auditmod6b.c): Likewise.
33190 (CFLAGS-tst-auditmod6c.c): Likewise.
33191 (CFLAGS-tst-auditmod7b.c): Likewise.
33192 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33193
33194 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33195
33196 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33197 function to the callback.
33198 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33199
33200 2011-02-02 Andreas Schwab <schwab@redhat.com>
33201
33202 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33203 of errno.
33204
33205 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33206
33207 [BZ #11724]
33208 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33209 of constructors.
33210 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33211 of destructors.
33212 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33213
33214 [BZ #11724]
33215 * elf/Makefile: Add rules to build and run new test.
33216 * elf/tst-initorder.c: New file.
33217 * elf/tst-initorder.exp: New file.
33218 * elf/tst-initordera1.c: New file.
33219 * elf/tst-initordera2.c: New file.
33220 * elf/tst-initordera3.c: New file.
33221 * elf/tst-initordera4.c: New file.
33222 * elf/tst-initorderb1.c: New file.
33223 * elf/tst-initorderb2.c: New file.
33224 * elf/tst-order-a1.c: New file.
33225 * elf/tst-order-a2.c: New file.
33226 * elf/tst-order-a3.c: New file.
33227 * elf/tst-order-a4.c: New file.
33228 * elf/tst-order-b1.c: New file.
33229 * elf/tst-order-b2.c: New file.
33230 * elf/tst-order-main.c: New file.
33231 New test case by George Gensure <werkt0@gmail.com>.
33232
33233 2010-10-01 Andreas Schwab <schwab@redhat.com>
33234
33235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33236 decoding ACE if AI_CANONIDN.
33237
33238 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33239
33240 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33241
33242 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33243
33244 * version.h (RELEASE): Bump for 2.13 release.
33245 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33246
33247 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33248
33249 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33250 MADV_NOHUGEPAGE.
33251 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33253 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33254 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33255 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33256 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33257
33258 * posix/getconf.c: Update copyright year.
33259 * catgets/gencat.c: Likewise.
33260 * csu/version.c: Likewise.
33261 * debug/catchsegv.sh: Likewise.
33262 * debug/xtrace.sh: Likewise.
33263 * elf/ldconfig.c: Likewise.
33264 * elf/ldd.bash.in: Likewise.
33265 * elf/sprof.c (print_version): Likewise.
33266 * iconv/iconv_prog.c: Likewise.
33267 * iconv/iconvconfig.c: Likewise.
33268 * locale/programs/locale.c: Likewise.
33269 * locale/programs/localedef.c: Likewise.
33270 * malloc/memusage.sh: Likewise.
33271 * malloc/mtrace.pl: Likewise.
33272 * nscd/nscd.c (print_version): Likewise.
33273 * nss/getent.c: Likewise.
33274
33275 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33276 PF_CAIF, and PF_ALG.
33277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33278
33279 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33280
33281 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33282 (modules-names): Use them.
33283 (ifunc-test-modules, ifunc-pie-tests): Define.
33284 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33285 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33286 (test-extras): Likewise.
33287 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33288 $(compile-command.c).
33289 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33290 (all-built-dso): Define.
33291 (check-textrel.out, check-execstack.out): Depend on it.
33292
33293 * configure.in: Don't override --enable-multi-arch.
33294
33295 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33296
33297 [BZ #6812]
33298 * nscd/hstcache.c (tryagain): Define.
33299 (cache_addhst): Return tryagain not notfound for temporary errors.
33300 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33301 failed.
33302
33303 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33304
33305 [BZ #10563]
33306 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33307 to make the syscall.
33308 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33309
33310 [BZ #12378]
33311 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33312 and fall back to matching as normal character if the string ends before
33313 the matching ']' is found. This is what POSIX requires.
33314 * posix/testfnm.c: Adjust test result.
33315 * posix/globtest.sh: Adjust test result. Add new test.
33316 * posix/tst-fnmatch.input: Likewise.
33317 * posix/tst-fnmatch2.c: Add new test.
33318
33319 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33320
33321 * elf/Makefile (check-execstack): Revert last change. Depend on
33322 check-execstack.h.
33323 (check-execstack.h): New target.
33324 (generated): Add check-execstack.h.
33325 * elf/check-execstack.c: Include "check-execstack.h".
33326 (main): Revert last change.
33327 (handle_file): Return zero if GNU_STACK is absent and
33328 DEFAULT_STACK_PERMS doesn't include PF_X.
33329
33330 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33331
33332 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33333 in child fails because the descriptor is already closed.
33334 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33335 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33336 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33337
33338 [BZ #12397]
33339 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33340 syscall.
33341
33342 [BZ #10484]
33343 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33344 temporary buffer used to handle multi lookups locally.
33345 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33346
33347 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33348
33349 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33350 loader is ld.so.
33351
33352 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33353
33354 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33355 alignment for SSE2.
33356
33357 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33358
33359 [BZ #12394]
33360 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33361 characters. When rounding increased number of integer digits recompute
33362 number of groups.
33363 * stdio-common/tst-grouping.c: New file.
33364 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33365
33366 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33367
33368 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33369 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33370
33371 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33372 void.
33373 * bits/select.h: Likewise.
33374
33375 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33376
33377 * po/ja.po: Update from translation team.
33378
33379 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33380
33381 [BZ #11155]
33382 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33383 implementation just like for lxstat, fxstatat, et al.
33384
33385 2010-12-27 Jim Meyering <meyering@redhat.com>
33386
33387 [BZ #12348]
33388 * posix/regexec.c (build_trtable): Return failure indication upon
33389 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33390
33391 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33392
33393 [BZ #12201]
33394 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33395 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33396 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33397 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33398
33399 [BZ #12207]
33400 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33401
33402 [BZ #12204]
33403 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33404 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33405
33406 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33407
33408 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33409 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33410 script has SORT_BY_INIT_PRIORITY.
33411 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33412 NO_CTORS_DTORS_SECTIONS is defined.
33413 * elf/soinit.c: Likewise.
33414 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33415 NO_CTORS_DTORS_SECTIONS is defined.
33416 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33417 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33418 * sysdeps/sh/init-first.c: Likewise.
33419 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33420
33421 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33422
33423 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33424 always use the slow path.
33425
33426 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33427
33428 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33429 similar rule which adds the sysdep directories to the header search in
33430 order to pick up the correct platform stackinfo.h.
33431 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33432 perform test if it is, otherwise return successfully without testing.
33433 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33434 DEFAULT_STACK_PERMS define in stackinfo.h.
33435 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33436 defined in stackinfo.h.
33437 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33438 DEFAULT_STACK_PERMS defined in stackinfo.h.
33439 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33440 * sysdeps/ia64/stackinfo.h: Likewise.
33441 * sysdeps/s390/stackinfo.h: Likewise.
33442 * sysdeps/sh/stackinfo.h: Likewise.
33443 * sysdeps/sparc/stackinfo.h: Likewise.
33444 * sysdeps/x86_64/stackinfo.h: Likewise.
33445 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33446 PF_X for powerpc64. Retain PF_X for powerpc32.
33447
33448 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33449
33450 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33451 accurately.
33452 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33453 GETDENTS_64BIT_ALIGNED.
33454
33455 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33456
33457 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33458
33459 2010-12-10 Andreas Schwab <schwab@redhat.com>
33460
33461 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33462 _GNU_SOURCE.
33463
33464 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33465 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33466 Remove __restrict.
33467 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33468 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33469
33470 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33471
33472 [BZ #11655]
33473 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33474 are initialized.
33475
33476 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33477
33478 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33479
33480 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33481
33482 * po/it.po: Update from translation team.
33483
33484 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33485
33486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33487 unused codes.
33488
33489 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33490
33491 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33492
33493 2010-11-24 Andreas Schwab <schwab@redhat.com>
33494
33495 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33496 specially.
33497 (gaih_getanswer_slice): Likewise.
33498
33499 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33500
33501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33502
33503 2010-05-31 Petr Baudis <pasky@suse.cz>
33504
33505 [BZ #11149]
33506 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33507 silently even in the chroot mode.
33508
33509 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33510
33511 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33512 last patch a bit. Pretty printing
33513
33514 2010-05-31 Petr Baudis <pasky@suse.cz>
33515
33516 [BZ #10085]
33517 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33518 initialization of skip_initgroups_dyn.
33519
33520 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33521
33522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33524
33525 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33526
33527 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33528
33529 2010-11-11 Andreas Schwab <schwab@redhat.com>
33530
33531 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33532 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33533 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33534 ($(objpfx)tst-fnmatch-mem): New rule.
33535 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33536 * posix/tst-fnmatch.c (main): Call mtrace.
33537
33538 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33539
33540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33541 Support Intel processor model 6 and model 0x2c.
33542
33543 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33544
33545 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33546 signed comparison.
33547
33548 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33549
33550 [BZ #12205]
33551 * string/test-strncasecmp.c (check_result): New function.
33552 (do_one_test): Use it.
33553 (check1): New function.
33554 (test_main): Use it.
33555 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33556 Support strcasecmp and strncasecmp.
33557
33558 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33559
33560 [BZ #12194]
33561 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33563
33564 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33565
33566 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33567 IFUNC support.
33568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33569 memset-x86-64.
33570 * sysdeps/x86_64/multiarch/bzero.S: New file.
33571 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33572 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33573 * sysdeps/x86_64/multiarch/memset.S: New file.
33574 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33576 Set bit_Prefer_SSE_for_memop for Intel processors.
33577 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33578 Define.
33579 (index_Prefer_SSE_for_memop): Define.
33580 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33581
33582 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33583
33584 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33585 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33586
33587 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33588
33589 [BZ #12191]
33590 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33591 (__x86_64_raw_data_cache_size_half): Likewise.
33592 (__x86_64_raw_shared_cache_size): Likewise.
33593 (__x86_64_raw_shared_cache_size_half): Likewise.
33594
33595 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33596 (__x86_64_raw_data_cache_size_half): Likewise.
33597 (__x86_64_raw_shared_cache_size): Likewise.
33598 (__x86_64_raw_shared_cache_size_half): Likewise.
33599 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33600 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33601 and __x86_64_raw_shared_cache_size_half. Round
33602 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33603 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33604 to multiple of 256 bytes.
33605
33606 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33607
33608 [BZ #12167]
33609 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33610 of inacessible symlinks. Verify result of symlink before returning it.
33611 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33612 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33613
33614 2010-10-28 Erich Ritz <erichritz@gmail.com>
33615
33616 * math/math.h (isinf): Fix typo in comment.
33617
33618 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33619
33620 * po/da.po: Update from translation team.
33621
33622 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33623
33624 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33625 is added to the list.
33626
33627 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33628 Ulrich Drepper <drepper@gmail.com>
33629
33630 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33631 the global list here. Move code to...
33632 (_dl_add_to_namespace_list): ...here. New function.
33633 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33634 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33635 * elf/dl-load.c (lose): Don't remove the element from the list.
33636 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33637 (_dl_map_object): Likewise.
33638
33639 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33640
33641 [BZ #12159]
33642 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33643 into all bytes of SSE register.
33644 Patch by Richard Li <richardpku@gmail.com>.
33645
33646 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33647
33648 [BZ #12140]
33649 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33650 perturbing.
33651
33652 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33653
33654 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33655 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33656 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33657 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33659 submachine.
33660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33661
33662 2010-10-22 Andreas Schwab <schwab@redhat.com>
33663
33664 * include/dlfcn.h (__RTLD_SECURE): Define.
33665 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33666 mode & __RTLD_SECURE instead.
33667 (open_path): Rename preloaded parameter to secure.
33668 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33669 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33670 * elf/dl-deps.c (openaux): Likewise.
33671 * elf/rtld.c (struct map_args): Remove is_preloaded.
33672 (map_doit): Don't use it.
33673 (dl_main): Likewise.
33674 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33675 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33676
33677 2010-09-09 Andreas Schwab <schwab@redhat.com>
33678
33679 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33680 (sysd-rules-targets): Remove duplicates.
33681 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33682 rtld-%.$o dependency.
33683
33684 2010-10-18 Andreas Schwab <schwab@redhat.com>
33685
33686 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33687 _dl_map_object do it.
33688
33689 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33690
33691 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33692 fast fma builtins, define the macros in the C99 standard.
33693 (FP_FAST_FMAF): Likewise.
33694 (FP_FAST_FMAL): Likewise.
33695 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33696
33697 * bits/mathdef.h: Update copyright year.
33698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33699
33700 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33701
33702 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33703 builtins, define the macros in the C99 standard.
33704 (FP_FAST_FMAF): Likewise.
33705 (FP_FAST_FMAL): Likewise.
33706 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33707 multiply/add.
33708 (FP_FAST_FMAF): Likewise.
33709
33710 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33711
33712 [BZ #3268]
33713 * math/libm-test.inc (fma_test): Some new testcases.
33714 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33715 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33716 y and infinite z. Do multiplication by C already in long double.
33717 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33719 y and infinite z. Do bitwise or of inexact bit into u.d.
33720 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33721 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33722 * sysdeps/i386/fpu/s_fma.S: Removed.
33723 * sysdeps/i386/fpu/s_fmal.S: Removed.
33724
33725 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33726
33727 [BZ #3268]
33728 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33730 computation is not scheduled after fetestexcept. Fix value
33731 of minimum denormal long double.
33732
33733 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33734
33735 [BZ #3268]
33736 * math/libm-test.inc (fma_test): Add some more tests.
33737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33738 correctly.
33739
33740 2010-10-15 Andreas Schwab <schwab@redhat.com>
33741
33742 * scripts/data/localplt-s390-linux-gnu.data: New file.
33743 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33744
33745 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33746
33747 [BZ #3268]
33748 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33749 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33750 instead of dbl-64.
33751 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33752 inlines.
33753 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33755 if one of x and y is very large and the other is subnormal.
33756 * sysdeps/s390/fpu/s_fmaf.c: New file.
33757 * sysdeps/s390/fpu/s_fma.c: New file.
33758 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33759 * sysdeps/powerpc/fpu/s_fma.S: New file.
33760 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33761 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33762 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33763
33764 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33765
33766 [BZ #3268]
33767 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33768 fma tests.
33769 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33770 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33771 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33772 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33773 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33774 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33776
33777 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33778
33779 [BZ #12078]
33780 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33781 * posix/bug-regex31.input: Add test case.
33782
33783 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33784
33785 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33786 * posix/bug-regex31.input: New file.
33787
33788 [BZ #12078]
33789 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33790 (parse_sub_exp): Fix last change, use postorder.
33791
33792 * posix/bug-regex31.c: New file.
33793 * posix/Makefile: Add rules to build and run bug-regex31.
33794
33795 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33796
33797 [BZ #12078]
33798 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33799
33800 [BZ #12108]
33801 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33802 to have entries in sys_siglist.
33803
33804 [BZ #12093]
33805 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33806 be NULL.
33807
33808 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33809
33810 [BZ #3268]
33811 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33812 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33813 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33814 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33815 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33816 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33817 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33818 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33819 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33820 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33821 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33822 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33823 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33824 * math/ftestexcept.c (fetestexcept): Likewise.
33825 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33826 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33827 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33828 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33829 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33830 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33831 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33832
33833 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33834
33835 [BZ #12107]
33836 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33837 newline.
33838
33839 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33840
33841 * string/bug-strstr1.c: New file.
33842 * string/Makefile: Add rules to build and run bug-strstr1.
33843
33844 2010-10-05 Eric Blake <eblake@redhat.com>
33845
33846 [BZ #12092]
33847 * string/str-two-way.h (two_way_long_needle): Always clear memory
33848 when skipping input due to the shift table.
33849
33850 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33851
33852 [BZ #12005]
33853 * malloc/mcheck.c: Handle large requests.
33854
33855 [BZ #12077]
33856 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33857 for strncmp and strncasecmp.
33858 * string/stratcliff.c: Add tests for strcmp and strncmp.
33859 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33860
33861 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33862
33863 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33864 __set_fpscr.
33865
33866 2010-09-30 Andreas Jaeger <aj@suse.de>
33867
33868 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33869 (CGROUP_SUPER_MAGIC): Define.
33870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33871 Handle btrfs and cgroup file systems.
33872 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33873 Likewise.
33874
33875 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33876
33877 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33878 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33879
33880 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33881
33882 [BZ #12067]
33883 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33884 trying to locate the ELF header.
33885
33886 2010-09-27 Andreas Schwab <schwab@redhat.com>
33887
33888 [BZ #11611]
33889 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33890 Mask out sign-bit copies when constructing f_fsid.
33891
33892 2010-09-24 Petr Baudis <pasky@suse.cz>
33893
33894 * debug/stack_chk_fail_local.c: Add missing licence exception.
33895 * debug/warning-nop.c: Likewise.
33896
33897 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33898
33899 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33900 implementing getdents64 using getdents syscall, set d_type if
33901 __ASSUME_GETDENTS32_D_TYPE.
33902
33903 2010-09-16 Andreas Schwab <schwab@redhat.com>
33904
33905 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33906 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33907
33908 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33909
33910 [BZ #12037]
33911 * posix/unistd.h: Undo change of feature selection for ftruncate from
33912 2010-01-11.
33913
33914 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33915
33916 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33917 detection.
33918
33919 2010-09-20 Andreas Schwab <schwab@redhat.com>
33920
33921 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33922 fanotify_mark.
33923 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33924
33925 2010-09-14 Andreas Schwab <schwab@redhat.com>
33926
33927 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33928 variables after CHECK_SP call.
33929 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33930
33931 2010-09-13 Andreas Schwab <schwab@redhat.com>
33932 Ulrich Drepper <drepper@redhat.com>
33933
33934 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33935 re-relocationg ld.so.
33936 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33937 _dl_init_paths call.
33938 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33939 here anymore.
33940
33941 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33942
33943 * resolv/res_init.c (__res_vinit): Count the default server we added.
33944
33945 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33946 Ulrich Drepper <drepper@redhat.com>
33947
33948 [BZ #11968]
33949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33950 (____longjmp_chk): Use %ebx for saving value across system call.
33951 Add unwind info.
33952
33953 2010-09-06 Andreas Schwab <schwab@redhat.com>
33954
33955 * manual/Makefile: Don't mix pattern rules with normal rules.
33956
33957 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33958
33959 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33960 operation.
33961 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33962 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33963 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33964 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33965 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33966 Likewise.
33967
33968 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33969
33970 [BZ #11979]
33971 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33972 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33973
33974 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33975
33976 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33977 * sysdeps/x86_64/addmul_1.S: Likewise.
33978 * sysdeps/x86_64/lshift.S: Likewise.
33979 * sysdeps/x86_64/mul_1.S: Likewise.
33980 * sysdeps/x86_64/rshift.S: Likewise.
33981 * sysdeps/x86_64/sub_n.S: Likewise.
33982 * sysdeps/x86_64/submul_1.S: Likewise.
33983
33984 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33985
33986 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33987 Define __sched_param instead of SCHED_* and sched_param when
33988 <bits/sched.h> is included with __need_schedparam defined.
33989 * bits/sched.h [__need_schedparam]
33990 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33991 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33992 (__defined_schedparam): Define to 1.
33993 (__sched_param): New structure, identical to sched_param.
33994 (__need_schedparam): Undefine.
33995
33996 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33997
33998 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33999 (epoll_create1): Declare.
34000
34001 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34002
34003 2010-08-31 Andreas Schwab <schwab@redhat.com>
34004
34005 [BZ #7066]
34006 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34007 shifting retval into place.
34008
34009 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34010
34011 * nis/rpcsvc/nis.h: Update copyright notice.
34012 * nis/rpcsvc/nis.x: Likewise.
34013 * nis/rpcsvc/nis_callback.h: Likewise.
34014 * nis/rpcsvc/nis_callback.x: Likewise.
34015 * nis/rpcsvc/nis_object.x: Likewise.
34016 * nis/rpcsvc/nis_tags.h: Likewise.
34017 * nis/rpcsvc/yp.h: Likewise.
34018 * nis/rpcsvc/yp.x: Likewise.
34019 * nis/rpcsvc/ypupd.h: Likewise.
34020 * nis/yp_xdr.c: Likewise.
34021 * nis/ypupdate_xdr.c: Likewise.
34022
34023 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34024 mainly the body of pmap_getport. Add parameters to specify timeouts.
34025 (pmap_getport): Use __libc_rpc_getport.
34026 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34027 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34028 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34029
34030 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34031
34032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34033 fanotify_mark.
34034
34035 2010-08-27 Roland McGrath <roland@redhat.com>
34036
34037 * sysdeps/i386/i686/multiarch/Makefile
34038 (CFLAGS-varshift.c): New variable.
34039
34040 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34041
34042 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34043 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34044
34045 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34046
34047 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34048
34049 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34050
34051 * sysdeps/x86_64/strlen.S: Unroll the loop.
34052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34053 strlen-sse2 strlen-sse2-bsf.
34054 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34055 __strlen_no_bsf if bit_Slow_BSF is set.
34056 (__strlen_sse42): Removed.
34057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34058 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34059
34060 2010-08-25 Roland McGrath <roland@redhat.com>
34061
34062 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34063 * sysdeps/x86_64/multiarch/varshift.c: New file.
34064 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34065 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34066 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34067 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34068
34069 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34070
34071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34072 strlen-sse2 strlen-sse2-bsf.
34073 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34074 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34075 (__strlen_sse2): Removed.
34076 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34079 bit_Slow_BSF for Atom.
34080 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34081 (index_Slow_BSF): Define.
34082 (HAS_SLOW_BSF): Define.
34083
34084 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34085
34086 [BZ #10851]
34087 * resolv/res_init.c (__res_vinit): When no server address at all
34088 is given default to loopback.
34089
34090 2010-08-24 Roland McGrath <roland@redhat.com>
34091
34092 * configure.in: Remove config-name.h generation.
34093 * configure: Regenerated.
34094 * config-name.in: File removed.
34095 * scripts/config-uname.sh: New file.
34096 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34097 ($(objdir)config-name.h): New target.
34098
34099 * sunrpc/rpc_parse.h: Avoid nested comment.
34100
34101 2010-08-24 Richard Henderson <rth@redhat.com>
34102 Ulrich Drepper <drepper@redhat.com>
34103 H.J. Lu <hongjiu.lu@intel.com>
34104
34105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34107 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34108 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34109 _mm_alignr_epi8 with _mm_loadu_si128.
34110 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34111 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34112 (__m128i_shift_right): Removed.
34113 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34114 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34115 * sysdeps/x86_64/multiarch/varshift.h: New file.
34116 * sysdeps/x86_64/multiarch/varshift.S: New file.
34117
34118 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34119
34120 * configure.in: Move assembler checks to before sysdep dir checking.
34121
34122 2010-08-20 Petr Baudis <pasky@suse.cz>
34123
34124 * LICENSES: Sync the sunrpc license.
34125
34126 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34127
34128 * sunrpc/auth_des.c: Update copyright notice once again.
34129 * sunrpc/auth_none.c: Likewise.
34130 * sunrpc/auth_unix.c: Likewise.
34131 * sunrpc/authdes_prot.c: Likewise.
34132 * sunrpc/authuxprot.c: Likewise.
34133 * sunrpc/bindrsvprt.c: Likewise.
34134 * sunrpc/clnt_gen.c: Likewise.
34135 * sunrpc/clnt_perr.c: Likewise.
34136 * sunrpc/clnt_raw.c: Likewise.
34137 * sunrpc/clnt_simp.c: Likewise.
34138 * sunrpc/clnt_tcp.c: Likewise.
34139 * sunrpc/clnt_udp.c: Likewise.
34140 * sunrpc/clnt_unix.c: Likewise.
34141 * sunrpc/des_crypt.c: Likewise.
34142 * sunrpc/des_soft.c: Likewise.
34143 * sunrpc/get_myaddr.c: Likewise.
34144 * sunrpc/getrpcport.c: Likewise.
34145 * sunrpc/key_call.c: Likewise.
34146 * sunrpc/key_prot.c: Likewise.
34147 * sunrpc/openchild.c: Likewise.
34148 * sunrpc/pm_getmaps.c: Likewise.
34149 * sunrpc/pm_getport.c: Likewise.
34150 * sunrpc/pmap_clnt.c: Likewise.
34151 * sunrpc/pmap_prot.c: Likewise.
34152 * sunrpc/pmap_prot2.c: Likewise.
34153 * sunrpc/pmap_rmt.c: Likewise.
34154 * sunrpc/rpc/auth.h: Likewise.
34155 * sunrpc/rpc/auth_unix.h: Likewise.
34156 * sunrpc/rpc/clnt.h: Likewise.
34157 * sunrpc/rpc/des_crypt.h: Likewise.
34158 * sunrpc/rpc/key_prot.h: Likewise.
34159 * sunrpc/rpc/netdb.h: Likewise.
34160 * sunrpc/rpc/pmap_clnt.h: Likewise.
34161 * sunrpc/rpc/pmap_prot.h: Likewise.
34162 * sunrpc/rpc/pmap_rmt.h: Likewise.
34163 * sunrpc/rpc/rpc.h: Likewise.
34164 * sunrpc/rpc/rpc_des.h: Likewise.
34165 * sunrpc/rpc/rpc_msg.h: Likewise.
34166 * sunrpc/rpc/svc.h: Likewise.
34167 * sunrpc/rpc/svc_auth.h: Likewise.
34168 * sunrpc/rpc/types.h: Likewise.
34169 * sunrpc/rpc/xdr.h: Likewise.
34170 * sunrpc/rpc_clntout.c: Likewise.
34171 * sunrpc/rpc_cmsg.c: Likewise.
34172 * sunrpc/rpc_common.c: Likewise.
34173 * sunrpc/rpc_cout.c: Likewise.
34174 * sunrpc/rpc_dtable.c: Likewise.
34175 * sunrpc/rpc_hout.c: Likewise.
34176 * sunrpc/rpc_main.c: Likewise.
34177 * sunrpc/rpc_parse.c: Likewise.
34178 * sunrpc/rpc_parse.h: Likewise.
34179 * sunrpc/rpc_prot.c: Likewise.
34180 * sunrpc/rpc_sample.c: Likewise.
34181 * sunrpc/rpc_scan.c: Likewise.
34182 * sunrpc/rpc_scan.h: Likewise.
34183 * sunrpc/rpc_svcout.c: Likewise.
34184 * sunrpc/rpc_tblout.c: Likewise.
34185 * sunrpc/rpc_util.c: Likewise.
34186 * sunrpc/rpc_util.h: Likewise.
34187 * sunrpc/rpcinfo.c: Likewise.
34188 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34189 * sunrpc/rpcsvc/key_prot.x: Likewise.
34190 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34191 * sunrpc/rpcsvc/mount.x: Likewise.
34192 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34193 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34194 * sunrpc/rpcsvc/rex.x: Likewise.
34195 * sunrpc/rpcsvc/rstat.x: Likewise.
34196 * sunrpc/rpcsvc/rusers.x: Likewise.
34197 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34198 * sunrpc/rpcsvc/spray.x: Likewise.
34199 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34200 * sunrpc/rtime.c: Likewise.
34201 * sunrpc/svc.c: Likewise.
34202 * sunrpc/svc_auth.c: Likewise.
34203 * sunrpc/svc_authux.c: Likewise.
34204 * sunrpc/svc_raw.c: Likewise.
34205 * sunrpc/svc_run.c: Likewise.
34206 * sunrpc/svc_simple.c: Likewise.
34207 * sunrpc/svc_tcp.c: Likewise.
34208 * sunrpc/svc_udp.c: Likewise.
34209 * sunrpc/svc_unix.c: Likewise.
34210 * sunrpc/svcauth_des.c: Likewise.
34211 * sunrpc/xcrypt.c: Likewise.
34212 * sunrpc/xdr.c: Likewise.
34213 * sunrpc/xdr_array.c: Likewise.
34214 * sunrpc/xdr_float.c: Likewise.
34215 * sunrpc/xdr_mem.c: Likewise.
34216 * sunrpc/xdr_rec.c: Likewise.
34217 * sunrpc/xdr_ref.c: Likewise.
34218 * sunrpc/xdr_sizeof.c: Likewise.
34219 * sunrpc/xdr_stdio.c: Likewise.
34220
34221 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34222 handling.
34223
34224 2010-08-19 Andreas Schwab <schwab@redhat.com>
34225
34226 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34227
34228 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34229
34230 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34231 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34232 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34233 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34234 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34235 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34236 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34237 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34238 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34239 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34240 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34241 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34242 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34243 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34244
34245 2010-07-26 Anton Blanchard <anton@samba.org>
34246
34247 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34248 * malloc/arena.c (heap_trim): Likewise.
34249
34250 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34251
34252 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34253 here. Not...
34254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34255 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34256
34257 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34258
34259 * sysdeps/i386/elf/Makefile: New file.
34260
34261 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34262
34263 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34264 from fanotify_init.
34265 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34267
34268 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34269
34270 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34271 of strncasecmp_l.
34272 * sysdeps/multiarch/strcmp.S: Likewise.
34273
34274 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34275
34276 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34277 strncase_l-nonascii.
34278 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34279 Add strncase_l-ssse3.
34280 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34281 * sysdeps/x86_64/strcmp.S: Likewise.
34282 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34283 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34284 * sysdeps/x86_64/strncase.S: New file.
34285 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34286 * sysdeps/x86_64/strncase_l.S: New file.
34287 * string/Makefile (strop-tests): Add strncasecmp.
34288 * string/test-strncasecmp.c: New file.
34289
34290 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34291 warning.
34292
34293 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34294 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34295
34296 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34297
34298 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34299
34300 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34301
34302 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34303 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34304 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34305
34306 2010-05-01 Alan Modra <amodra@gmail.com>
34307
34308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34309 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34310 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34311 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34312 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34313 tidying. Don't tail-call __sigjmp_save for static lib.
34314 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34315 save location.
34316 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34317 (CALL_MCOUNT): Add eh info, and nop after bl.
34318 (TAIL_CALL_SYSCALL_ERROR): New macro.
34319 (PSEUDO_RET): Use it.
34320 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34321 Correct save location of integer regs and cr.
34322 (_dl_profile_resolve): Correct cr save location. Delete nops
34323 after bl when SHARED. Reduce cfi size a little by better
34324 placement of cfi directives.
34325 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34326 make a stack frame. Instead use parm save area as a temp.
34327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34328 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34330 Don't make a stack frame for parent, use parm save area.
34331 Increase child stack frame to 112 bytes. Don't save unused reg,
34332 and adjust reg usage. Set up cfi on error recovery and
34333 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34335 (__makecontext): Add dummy nop after jump to exit.
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34337 Use correct parm save area and cr save, reduce stack frame.
34338 Correct cfi for possible PSEUDO_RET frame setup.
34339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34340 Branch to local label emitted by PSEUDO_RET rather than
34341 __syscall_error.
34342
34343 2010-08-12 Andreas Schwab <schwab@redhat.com>
34344
34345 [BZ #11904]
34346 * locale/programs/locale.c (print_assignment): New function.
34347 (show_locale_vars): Use it.
34348
34349 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34350
34351 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34352 field.
34353 (struct statfs64): Likewise.
34354 (_STATFS_F_FLAGS): Define.
34355 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34356 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34357 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34358 (ST_VALID): Define locally.
34359 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34360 __statvfs_getflags, use the provided value.
34361 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34362 __ASSUME_STATFS_F_FLAGS.
34363
34364 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34365
34366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34367 Add sys/fanotify.h.
34368 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34369 fanotify_mask for GLIBC_2.13.
34370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34371 fanotify_init and fanotify_mark.
34372 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34373 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34374
34375 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34376 Add prlimit.
34377 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34378 prlimit64 for GLIBC_2.13.
34379 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34380 prlimit64.
34381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34382 syscall.
34383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34384 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34385 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34386 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34388 add prlimit alias.
34389 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34390
34391 [BZ #11903]
34392 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34393 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34394
34395 * nss/Makefile: Add rules to build and run tst-nss-test1.
34396 * shlib-versions: Add entry for libnss_test1.
34397 * nss/nss_test1.c: New file.
34398 * nss/tst-nss-test1.c: New file.
34399
34400 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34401 (__nss_configure_lookup): Set appropriate entry in
34402 __nss_configure_lookup to true.
34403 * nss/nsswitch.h: Define enum with indeces of databases in
34404 databases and __nss_database_custom arrays. Declare
34405 __nss_database_custom.
34406 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34407 to avoid using nscd when custom rules are installed.
34408 * nss/getXXbyYY_r.c: Likewise.
34409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34410
34411 * nss/nss_files/files-parse.c: Whitespace fixes.
34412
34413 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34414
34415 [BZ #11883]
34416 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34417 * posix/fnmatch_loop.c: Likewise.
34418
34419 2010-07-17 Andi Kleen <ak@linux.intel.com>
34420
34421 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34422 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34423 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34424 * Versions.def [GLIBC_2.13]: Add.
34425
34426 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34427
34428 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34429 Also fail if tpwd after pwuid call is NULL.
34430
34431 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34432
34433 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34434 when converting to ms.
34435
34436 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34437
34438 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34439 EOPNOTSUPP errors with ENOTTY.
34440 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34441 EOPNOTSUPP errors with ENOTTY.
34442
34443 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34444
34445 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34446 Add strcasecmp_l-ssse3.
34447 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34448 strcasecmp.
34449 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34450 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34451 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34452
34453 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34454
34455 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34456
34457 * string/Makefile (strop-tests): Add strcasecmp.
34458 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34459 strcasecmp_l-nonascii.
34460 (gen-as-const-headers): Add locale-defines.sym.
34461 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34462 * sysdeps/x86_64/strcasecmp.S: New file.
34463 * sysdeps/x86_64/strcasecmp_l.S: New file.
34464 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34465 * sysdeps/x86_64/locale-defines.sym: New file.
34466 * string/test-strcasecmp.c: New file.
34467
34468 * string/test-strcasestr.c: Test both ends of the range of characters.
34469 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34470
34471 2010-07-29 Roland McGrath <roland@redhat.com>
34472
34473 [BZ #11856]
34474 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34475
34476 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34477
34478 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34479 for ld.so.
34480
34481 2010-07-27 Andreas Schwab <schwab@redhat.com>
34482
34483 * manual/memory.texi (Malloc Tunable Parameters): Document
34484 M_PERTURB.
34485
34486 2010-07-26 Roland McGrath <roland@redhat.com>
34487
34488 [BZ #11840]
34489 * configure.in (-fgnu89-inline check): Set and substitute
34490 gnu89_inline, not libc_cv_gnu89_inline.
34491 * configure: Regenerated.
34492 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34493
34494 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34495
34496 * string/test-strnlen.c: New file.
34497 * string/Makefile (strop-tests): Add strnlen.
34498 * string/tester.c (test_strnlen): Add a few more test cases.
34499 * string/tst-strlen.c: Better error reporting.
34500
34501 * sysdeps/x86_64/strnlen.S: New file.
34502
34503 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34504
34505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34506 lower-latency instructions.
34507
34508 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34509
34510 * string/test-strcasestr.c: New file.
34511 * string/test-strstr.c: New file.
34512 * string/Makefile (strop-tests): Add strstr and strcasestr.
34513 * string/str-two-way.h: Don't undefine MAX.
34514 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34515
34516 2010-07-21 Andreas Schwab <schwab@redhat.com>
34517
34518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34519 strcasestr-nonascii.
34520 (CFLAGS-strcasestr-nonascii.c): Define.
34521 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34523 Remove unused attribute.
34524
34525 2010-07-20 Roland McGrath <roland@redhat.com>
34526
34527 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34528 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34529 ld.so.cache was broken. With it, there is no way to disable dsocaps
34530 like LD_HWCAP_MASK can disable hwcaps.
34531
34532 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34533
34534 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34535
34536 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34537
34538 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34539 call in strcasestr.
34540 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34541 __strcasestr_sse42_nonascii.
34542 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34543 strcasestr-nonascii.c.
34544 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34545
34546 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34547
34548 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34549 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34550 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34552
34553 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34554
34555 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34556 fcntl.
34557
34558 2010-07-06 Andreas Schwab <schwab@redhat.com>
34559
34560 [BZ #11577]
34561 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34562 dl_signal_cerror.
34563
34564 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34565
34566 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34567 _PC_PIPE_BUF using F_GETPIPE_SZ.
34568
34569 2010-07-05 Roland McGrath <roland@redhat.com>
34570
34571 * manual/arith.texi (Rounding Functions): Fix rint description
34572 implicit in round description.
34573
34574 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34575
34576 * elf/Makefile: Fix linking for a few tests to make recent linker
34577 happy.
34578
34579 2010-06-30 Andreas Schwab <schwab@redhat.com>
34580
34581 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34582 $(common-objpfx)libc_nonshared.a.
34583
34584 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34585
34586 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34587 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34588 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34589 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34590 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34591 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34592 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34593 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34608 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34609 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34610 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34611 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34612 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34613 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34614 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34615 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34616 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34617 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34618 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34619 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34634
34635 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34636
34637 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34638 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34639 * string/memmove.c (memmove): Renamed to ...
34640 (MEMMOVE): ...this. Default to memmove.
34641 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34642 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34643 (END_CHK): Define.
34644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34645 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34646 mempcpy-ssse3-back memmove-ssse3-back.
34647 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34648 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34649 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34650 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34651 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34652 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34653 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34654 * sysdeps/x86_64/multiarch/memmove.c: New file.
34655 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34656 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34657 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34658 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34659 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34660 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34661 Define.
34662 (index_Fast_Copy_Backward): Define.
34663 (HAS_ARCH_FEATURE): Define.
34664 (HAS_FAST_REP_STRING): Define.
34665 (HAS_FAST_COPY_BACKWARD): Define.
34666
34667 2010-06-21 Andreas Schwab <schwab@redhat.com>
34668
34669 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34670 Restore proper fallback handling.
34671
34672 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34673
34674 [BZ #11701]
34675 * posix/group_member.c (__group_member): Correct checking loop.
34676
34677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34678 OOM in getpwuid_r correctly. Return error number when the caller
34679 should return, otherwise -1.
34680 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34681 call returning > 0 value.
34682 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34683
34684 2010-06-07 Andreas Schwab <schwab@redhat.com>
34685
34686 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34687 libc_nonshared.a from targets in modules-names.
34688
34689 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34690
34691 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34692 requires it.
34693
34694 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34695
34696 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34697 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34698 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34700
34701 2010-06-02 Andreas Schwab <schwab@redhat.com>
34702
34703 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34704
34705 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34706
34707 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34708 and F_GETPIPE_SZ.
34709 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34713 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34714 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34715
34716 2010-06-14 Roland McGrath <roland@redhat.com>
34717
34718 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34719
34720 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34721
34722 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34723 __REDIRECT followed by __THROW.
34724 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34725 * posix/getopt.h (getopt): Likewise.
34726
34727 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34728
34729 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34730 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34731 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34732 in AT_FLAGS.
34733 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34734 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34735
34736 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34737
34738 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34739
34740 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34741
34742 [BZ #11640]
34743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34744 Properly check family and model.
34745
34746 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34747
34748 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34749
34750 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34751
34752 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34753
34754 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34755
34756 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34757 symbol reference.
34758
34759 2010-05-19 Andreas Schwab <schwab@redhat.com>
34760
34761 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34762 symbol reference.
34763
34764 2010-05-21 Andreas Schwab <schwab@redhat.com>
34765
34766 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34767 and internal_recvmmsg.
34768 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34769 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34770 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34771 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34772
34773 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34774 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34775 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34776
34777 2010-05-20 Andreas Schwab <schwab@redhat.com>
34778
34779 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34780
34781 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34782
34783 POWER7 optimizations.
34784 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34785 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34786
34787 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34788
34789 * version.h: Update for 2.13 development version.
34790
34791 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34792
34793 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34794 exceptions. Return 0.
34795
34796 2010-05-07 Roland McGrath <roland@redhat.com>
34797
34798 * elf/ldconfig.c (main): Add a const.
34799
34800 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34801
34802 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34803 (args_options): Add no-idn option.
34804 (ahosts_keys_int): Add idn_flags to ai_flags.
34805 (parse_option): Handle 'i' option to clear idn_flags.
34806
34807 * malloc/malloc.c (_int_free): Possible race in the most recently
34808 added check. Only act on the data if no current modification
34809 happened.
34810
34811 See ChangeLog.17 for earlier changes.